Socket
Socket
Sign inDemoInstall

sax

Package Overview
Dependencies
0
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.6 to 1.2.1

2

lib/sax.js

@@ -30,2 +30,3 @@ ;(function (sax) { // wrapper for non-node envs

'comment',
'opentagstart',
'attribute',

@@ -707,2 +708,3 @@ 'opentag',

parser.attribList.length = 0
emitNode(parser, 'onopentagstart', tag)
}

@@ -709,0 +711,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"version": "1.1.6",
"version": "1.2.1",
"main": "lib/sax.js",

@@ -8,0 +8,0 @@ "license": "ISC",

@@ -171,2 +171,7 @@ # sax js

`opentagstart` - Emitted immediately when the tag name is available,
but before any attributes are encountered. Argument: object with a
`name` field and an empty `attributes` set. Note that this is the
same object that will later be emitted in the `opentag` event.
`opentag` - An opening tag. Argument: object with `name` and `attributes`.

@@ -173,0 +178,0 @@ In non-strict mode, tag names are uppercased, unless the `lowercase`

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