Socket
Socket
Sign inDemoInstall

saxen

Package Overview
Dependencies
0
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 5.0.0

8

CHANGELOG.md

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

# 5.0.0
* `CHORE`: don't return `true` on empty attrs [`f7360b11`](https://github.com/nikku/saxen/commit/f7360b115b651b9eb9ca3488a48e827d974deae1)
## 4.0.1
* `DOCS`: improve readme
## 4.0.0

@@ -11,0 +19,0 @@

2

package.json

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

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

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

@@ -327,3 +327,3 @@ 'use strict';

* Return semantics: (1) `false` on attribute parse error,
* (2) true on no attributes, (3) object hash on extracted attrs.
* (2) object hash on extracted attrs.
*

@@ -351,3 +351,2 @@ * @return {boolean|Object}

attrs = {},
ok,
w,

@@ -390,3 +389,2 @@ j;

name = s.substring(i, j);
ok = true;

@@ -537,7 +535,2 @@ if (name === 'xmlns:xmlns') {

if (!ok) {
// could not parse attributes, skipping
return cachedAttrs = true;
}
// handle deferred, possibly namespaced attributes

@@ -544,0 +537,0 @@ if (maybeNS) {

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