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.0.0 to 5.0.1

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

# 5.0.1
* `FIX`: return `{}` on non-existing attributes, too
# 5.0.0

@@ -11,0 +15,0 @@

2

package.json

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

],
"version": "5.0.0",
"version": "5.0.1",
"main": "./parser.js",

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

@@ -757,3 +757,5 @@ 'use strict';

cachedAttrs = true; // stop attribute processing
// don't process attributes;
// there are none
cachedAttrs = {};

@@ -835,3 +837,3 @@ //if (xml.charCodeAt(i+1) === 47) { // </...

if (cachedAttrs !== true) {
if (cachedAttrs === null) {
// quick check, whether there may be namespace

@@ -895,3 +897,2 @@ // declarations on the node; if that is the case

cachedAttrs = true;
}

@@ -898,0 +899,0 @@

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