Skip to content

Releases: natemoo-re/ultrahtml

v0.3.2

14 Oct 23:38
4c657c9
Compare
Choose a tag to compare

Patch Changes

  • 74010dd: Bundle parsel-js to avoid ESM/CJS issues
  • d7b514d: Fix CJS compat issue (again)

v0.3.1

14 Oct 22:51
72cec11
Compare
Choose a tag to compare

Patch Changes

v0.3.0

14 Oct 22:44
077e976
Compare
Choose a tag to compare

Minor Changes

  • 2de70f3: Add ultrahtml/selector module which exports querySelector, querySelectorAll, and matches functions.

    To use querySelectorAll, pass the root Node as the first argument and any valid CSS selector as the second argument. Note that if a CSS selector you need is not yet implemented, you are invited to open an issue.

    import { parse } from "ultrahtml";
    import { querySelectorAll, matches } from "ultrahtml/selector";
    
    const doc = parse(`
    <html>
        <head>
            <title>Demo</title>
        /head>
        <body>
            <h1>Hello world!</h1>
        </body>
    </html>
    `);
    const h1 = querySelector(doc, "h1");
    const match = matches(h1, "h1");

v0.2.1

11 Oct 13:16
5b8cbe3
Compare
Choose a tag to compare

Patch Changes

v0.2.0

11 Oct 13:03
a5d825d
Compare
Choose a tag to compare

Minor Changes

v0.1.3

11 Oct 12:07
cb3d7ef
Compare
Choose a tag to compare

Patch Changes

  • 123f7ea: Fix custom elements transform.

v0.1.2

11 Oct 11:24
47ce059
Compare
Choose a tag to compare

Patch Changes

v0.1.1

24 Sep 18:50
71e723f
Compare
Choose a tag to compare

Patch Changes

v0.1.0

24 Sep 18:21
81ecc01
Compare
Choose a tag to compare

Minor Changes

  • 517e24d: Fix edge cases with text node detection, refactor for compactness

v0.0.5

14 Sep 19:58
17e6310
Compare
Choose a tag to compare

Patch Changes

  • 23771a3: Fix walk function definition