htl
htl copied to clipboard
Hypertext Literal
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...
Exports a new function called `setWindowObject` which sets a singleton `windowObject`. All references to window are now replaced with this `windowObject`, e.g. `windowObject.document` or `windowObject.NodeList`. That way we can do...
It would be useful for nodejs and testing to have an option to use jsdom (or something else) as the provider of the dom. It could be an option to...
Hi, I installed the htl through npm, and want to use it in my browser. I have tried various methods and just could not make it work. Can anyone give...
The type definitions added by this commit are pretty basic, but enough to import and use the package from TypeScript.
It would be nice to have TypeScript typings included in the htl package. Adding an `index.d.ts` file with the following content should be sufficient to import and use the package:...
This: ```html My favorite currencies are &p${"ounds"};. ``` should produce this: ```html My favorite currencies are £s;. ``` However, it instead produces: ```html My favorite currencies are £s;. ``` I...
Modifying the renderHtml function (and likewise renderSvg) could greatly improve the performance of Hypertext Literal when rendering the same template over and over again. Something like: ```js const cache =...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...