🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

stream-xml

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-xml - npm Package Compare versions

Comparing version

to
0.4.0

2

dist/parser.js

@@ -165,3 +165,3 @@ "use strict";

const selfClosing = lastChar === TAG_CLOSE;
const endPos = i - (selfClosing ? 3 : 2);
const endPos = i - (selfClosing ? 1 : 0);
this.#attributeEndPos = endPos;

@@ -168,0 +168,0 @@ this.doTagEnd(this.#stateStartPos, endPos, true, selfClosing);

@@ -8,3 +8,3 @@ {

},
"version": "0.3.0",
"version": "0.4.0",
"main": "dist/index.js",

@@ -27,3 +27,4 @@ "license": "MIT",

"prepublishOnly": "rm -rf dist && tsc -p tsconfig.build.json",
"bench": "yarn --silent build && node dist/bench/index.js",
"bench": "yarn --silent build && LIB_ONLY=true node dist/bench/index.js",
"bench:all": "yarn --silent build && node dist/bench/index.js",
"test": "vitest run"

@@ -30,0 +31,0 @@ },