# ultrahtml ## 1.5.3 ### Patch Changes - ebc97e0: upgrades `dts-bundle-generator` to `9.2.1`, fixing an issue with `.d.ts` generation which led methods prefixed with two underscores to be incorrectly made private in the generated declaration file. ## 1.5.2 ### Patch Changes - 244be0a: Update `parsel-js` to latest ## 1.5.1 ### Patch Changes - a989b5a: Bundle type definitions in `.d.ts` files ## 1.5.0 ### Minor Changes - 7c93190: Add support for static media queries to `ultrahtml/transformers/inline`. You may now pass an `env` value to the transformer, for example: ```js import { transform } from "ultrahtml"; import inline from "ultrahtml/transformers/inline"; const output = await transform(input, [ // Acts as if the screen is 960px wide and 1280px tall inline({ env: { width: 960, height: 1280 } }), ]); ``` ## 1.4.0 ### Minor Changes - 8bbaeef: Allow elements inside of `` to be self-closing for compactness ### Patch Changes - 5715bc3: Fix `sanitize` transformer behavior when only using `allowElements` ## 1.3.0 ### Minor Changes - 0556b19: Add `renderSync` export ### Patch Changes - 3362aa2: Add `main` entrypoint ## 1.2.0 ### Minor Changes - 7792f5d: Add `useObjectSyntax` option to inline transformer. Note that this option is currently not compatible with `transform` ## 1.1.0 ### Minor Changes - d910619: Remove `resolveAsset` option from `inline` transformer, making it synchronous again. ## 1.0.4 ### Patch Changes - c5799aa: Update attribute handling to account for attributes with newlines ## 1.0.3 ### Patch Changes - d7cb17d: Fix another edge case with text inside script/styles ## 1.0.2 ### Patch Changes - c7a1ef6: Fix edge case with ` Demo /head>

Hello world!

`); const h1 = querySelector(doc, "h1"); const match = matches(h1, "h1"); ``` ## 0.2.1 ### Patch Changes - 037711f: Update types ## 0.2.0 ### Minor Changes - 97b297f: Add `walkSync` export ## 0.1.3 ### Patch Changes - 123f7ea: Fix custom elements transform. ## 0.1.2 ### Patch Changes - 758bbba: Improve documentation ## 0.1.1 ### Patch Changes - 2f92e93: Export node types ## 0.1.0 ### Minor Changes - 517e24d: Fix edge cases with text node detection, refactor for compactness ## 0.0.5 ### Patch Changes - 23771a3: Fix `walk` function definition ## 0.0.4 ### Patch Changes - 4d082b3: Ensure types are included ## 0.0.3 ### Patch Changes - e0e8a2b: Add `__unsafeHTML` export ## 0.0.2 ### Patch Changes - f6e3a71: Support async components