Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ultrahtml

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ultrahtml - npm Package Versions

124

0.3.2

Diff

Changelog

Source

0.3.2

Patch Changes

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

Changelog

Source

0.3.1

Patch Changes

  • a105c5e: Fix CJS compat issue
natemoo-re
published 0.3.0 •

Changelog

Source

0.3.0

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");
    
natemoo-re
published 0.2.1 •

Changelog

Source

0.2.1

Patch Changes

  • 037711f: Update types
natemoo-re
published 0.2.0 •

Changelog

Source

0.2.0

Minor Changes

  • 97b297f: Add walkSync export
natemoo-re
published 0.1.3 •

Changelog

Source

0.1.3

Patch Changes

  • 123f7ea: Fix custom elements transform.
natemoo-re
published 0.1.2 •

Changelog

Source

0.1.2

Patch Changes

  • 758bbba: Improve documentation
natemoo-re
published 0.1.1 •

Changelog

Source

0.1.1

Patch Changes

  • 2f92e93: Export node types
natemoo-re
published 0.1.0 •

Changelog

Source

0.1.0

Minor Changes

  • 517e24d: Fix edge cases with text node detection, refactor for compactness
natemoo-re
published 0.0.5 •

Changelog

Source

0.0.5

Patch Changes

  • 23771a3: Fix walk function definition
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc