Ultrahtml Versions Save

v1.5.3

2 months ago

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.

v1.5.2

7 months ago

Patch Changes

  • 244be0a: Update parsel-js to latest

v1.5.1

7 months ago

Patch Changes

  • a989b5a: Bundle type definitions in .d.ts files

v1.5.0

7 months ago

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:

    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 } })
    ]);
    

v1.4.0

8 months ago

Minor Changes

  • 8bbaeef: Allow elements inside of <svg> to be self-closing for compactness

Patch Changes

  • 5715bc3: Fix sanitize transformer behavior when only using allowElements

v1.3.0

9 months ago

Minor Changes

  • 0556b19: Add renderSync export

Patch Changes

  • 3362aa2: Add main entrypoint

v1.2.0

1 year ago

Minor Changes

  • 7792f5d: Add useObjectSyntax option to inline transformer. Note that this option is currently not compatible with transform

v1.1.0

1 year ago

Minor Changes

  • d910619: Remove resolveAsset option from inline transformer, making it synchronous again.

v1.0.4

1 year ago

Patch Changes

  • c5799aa: Update attribute handling to account for attributes with newlines

v1.0.3

1 year ago

Patch Changes

  • d7cb17d: Fix another edge case with text inside script/styles