Socket
Socket
Sign inDemoInstall

saxen

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

saxen - npm Package Compare versions

Comparing version 5.3.1 to 5.3.2

2

package.json

@@ -16,3 +16,3 @@ {

],
"version": "5.3.1",
"version": "5.3.2",
"main": "./parser.js",

@@ -19,0 +19,0 @@ "bugs": {

@@ -65,4 +65,2 @@ 'use strict';

function decodeEntities(s) {
s = ('' + s);
if (s.length > 3 && s.indexOf('&') !== -1) {

@@ -307,7 +305,6 @@ return s.replace(/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/ig, replaceEntities);

*
* @param {string} str
* @param {string} xml
*/
function parse(str) {
var xml = ('' + str),
nsMatrixStack = isNamespace ? [] : null,
function parse(xml) {
var nsMatrixStack = isNamespace ? [] : null,
nsMatrix = isNamespace ? buildNsMatrix(nsUriToPrefix) : null,

@@ -314,0 +311,0 @@ _nsMatrix,

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