Socket
Socket
Sign inDemoInstall

saxes

Package Overview
Dependencies
1
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

6.0.0

Diff

lddubeau
published 6.0.0-rc.1 •

Changelog

Source

6.0.0-rc.1 (2021-11-07)

Bug Fixes

  • fixing linting errors for eslint 8 (cd4b5c9)
  • we don't support node 10 anymore (f2aa1a8)

BREAKING CHANGES

  • we don't support node 10.

<a name="5.0.1"></a>

lddubeau
published 5.0.1 •

Changelog

Source

5.0.1 (2020-04-10)

Bug Fixes

  • fix corrupted attribute values when there is no text handler (e135f11), closes #38

<a name="5.0.0"></a>

lddubeau
published 5.0.0 •

Changelog

Source

5.0.0 (2020-02-28)

<a name="5.0.0-rc.2"></a>

lddubeau
published 5.0.0-rc.2 •

Changelog

Source

5.0.0-rc.2 (2020-02-12)

<a name="5.0.0-rc.1"></a>

lddubeau
published 5.0.0-rc.1 •

Changelog

Source

5.0.0-rc.1 (2020-02-12)

Bug Fixes

  • disallow BOM characters at the beginning of subsequent chunks (66d07b6)
  • fix some typing mistakes (f2a1d5e)
  • handle column computation over characters in the astral plane (cefc8f7)

Features

  • add makeError method (50fa39a)
  • add xmldecl event (a2e677f)
  • formal method for setting event listeners (f346150)
  • reinstating the attribute events (7c80f7b)
  • saxes is now implemented in TS (664ba69)

Performance Improvements

  • add topNS for faster namespace processing (1a33a57)

BREAKING CHANGES

  • The individually named event handlers no longer exist. You now must use the methods on and off to set handlers. Upcoming features require that saxes know when handlers are added and removed, and it may be necessary in the future to qualify how to add or remove a handler. Getters/setters are too restrictives so we bite the bullet now and move to actual methods.
  • The fix to column number reporting changes the meaning of the column field. If you need the old behavior of column you can use the new columnIndex field which behaves like the old column and may be useful in some contexts. Ultimately you should decide whether your application needs to know column numbers by Unicode character count or by JavaScript index. (And you need to know the difference between the two. You can see this page for a detailed discussion of the Unicode problem in JavaScript. Note that the numbers put in the error messages that fail produce are still based on the column field and thus use the new meaning of column. If you want error message that use columnIndex you may override the fail method.

<a name="4.0.2"></a>

lddubeau
published 4.0.2 •

Changelog

Source

4.0.2 (2019-10-14)

<a name="4.0.1"></a>

lddubeau
published 4.0.1 •

Changelog

Source

4.0.1 (2019-10-14)

<a name="4.0.0"></a>

lddubeau
published 4.0.0 •

Changelog

Source

4.0.0 (2019-10-14)

<a name="4.0.0-rc.4"></a>

lddubeau
published 4.0.0-rc.4 •

Changelog

Source

4.0.0-rc.4 (2019-10-11)

Bug Fixes

  • fix a bug in EOL handling (bed38a8)
  • implement attribute normalization (be51114), closes #24

Performance Improvements

<a name="4.0.0-rc.3"></a>

23Next
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