Socket
Socket
Sign inDemoInstall

@trysound/sax

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

10

lib/sax.js

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

if (c === ';') {
parser[buffer] += parseEntity(parser)
var parsedEntity = parseEntity(parser)
// Custom entities can contain tags, so we potentially need to parse the result
if (parser.state === S.TEXT_ENTITY && !sax.ENTITIES[parser.entity] && parsedEntity !== '&' + parser.entity + ';') {
chunk = chunk.slice(0, i) + parsedEntity + chunk.slice(i)
} else {
parser[buffer] += parsedEntity
}
parser.entity = ''

@@ -1382,0 +1390,0 @@ parser.state = returnState

2

package.json
{
"version": "0.1.0",
"version": "0.1.1",
"name": "@trysound/sax",

@@ -4,0 +4,0 @@ "description": "An evented streaming XML parser in JavaScript",

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