Socket
Socket
Sign inDemoInstall

saxen

Package Overview
Dependencies
0
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

10.0.0

Diff

Changelog

Source

10.0.0

  • FEAT: turn into ES module
  • CHORE: require Node >= 18
  • CHORE: drop UMD distribution

Breaking Changes

  • No longer ships UMD distribution
  • Requires Node >= 18
nikku
published 9.0.0 •

Changelog

Source

9.0.0

  • FEAT: do not transform xsi:type attribute contents (#23)
  • FEAT: do not hardcode xsi namespace prefix (#23)

Breaking Changes

  • Moved xsi:type attribute manipulation by saxen and xsi prefix binding out of this library, to be handled by downstream libraries, this one is low-level (#23)
nikku
published 8.1.2 •

Changelog

Source

8.1.2

  • FIX: correct skipping of > in body tag (#22)
nikku
published 8.1.1 •

Changelog

Source

8.1.1

  • FIX: parse > in attribute names (#17, #20)
  • CHORE: drop leftover console.log statement
nikku
published 8.1.0 •

Changelog

Source

8.1.0

  • FEAT: warn on non-whitespace outside root node (#11, #12)
  • FEAT: allow dots in tag names
nikku
published 8.0.0 •

Changelog

Source

8.0.0

Breaking Changes

  • CHORE: rename ES module to dist/index.esm.js for improved bundler compatibility
  • FIX: drop browser field for better interoperability with module bundlers
nikku
published 7.0.1 •

Changelog

Source

7.0.1

  • FIX: allow . in attribute name part
nikku
published 7.0.0 •

Changelog

Source

7.0.0

Breaking Changes

  • FEAT: expose Parser and decode via single export only. Use import or destructuring to access it:

    var { Parser } = require('saxen');
    

Other Improvements

  • FEAT: generate pre-built distributions for CommonJS and Browser targets
  • FEAT: generate UMD bundle
  • CHORE: Migrate code base to ES6
nikku
published 6.0.1 •

Changelog

Source

6.0.1

This is a re-publish of the broken v6.0.0 version.

  • FEAT: recover from attribute parse errors (#13)
nikku
published 5.7.0 •

Changelog

Source

5.7.0

  • FEAT: detect and gracefully handle local attribute re-declarations that are forbidden via the XML spec: We'll now emit a warning and ignore the offending attribute (7d0c8629)
234Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc