Socket
Socket
Sign inDemoInstall

saxes

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saxes - npm Package Compare versions

Comparing version 3.1.4 to 3.1.5

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="3.1.5"></a>
## [3.1.5](https://github.com/lddubeau/saxes/compare/v3.1.4...v3.1.5) (2019-01-08)
### Bug Fixes
* generate an error on prefix with empty local name ([89a3b86](https://github.com/lddubeau/saxes/commit/89a3b86)), closes [#5](https://github.com/lddubeau/saxes/issues/5)
<a name="3.1.4"></a>

@@ -2,0 +12,0 @@ ## [3.1.4](https://github.com/lddubeau/saxes/compare/v3.1.3...v3.1.4) (2018-12-03)

13

lib/saxes.js

@@ -1661,16 +1661,9 @@ "use strict";

// A colon at the start of the name is illegal.
if (colon === 0) {
this.fail(`malformed name: ${name}.`);
}
const local = name.substring(colon + 1);
if (local.indexOf(":") !== -1) {
const prefix = name.substring(0, colon);
if (prefix === "" || local === "" || local.indexOf(":") !== -1) {
this.fail(`malformed name: ${name}.`);
}
return {
prefix: name.substring(0, colon),
local,
};
return { prefix, local };
}

@@ -1677,0 +1670,0 @@

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

"author": "Louis-Dominique Dubeau <ldd@lddubeau.com>",
"version": "3.1.4",
"version": "3.1.5",
"main": "lib/saxes.js",

@@ -31,5 +31,5 @@ "types": "lib/saxes.d.ts",

"conventional-changelog-cli": "^2.0.11",
"eslint": "^5.9.0",
"eslint": "^5.12.0",
"eslint-config-lddubeau-base": "^3.0.1",
"husky": "^1.2.0",
"husky": "^1.3.1",
"mocha": "^5.2.0",

@@ -36,0 +36,0 @@ "xml-conformance-suite": "^1.1.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