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

typesxml

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typesxml - npm Package Compare versions

Comparing version

to
1.7.0

dist/test.d.ts

1

dist/XMLElement.d.ts

@@ -46,4 +46,5 @@ /*******************************************************************************

getChild(childName: string): XMLElement | undefined;
removeChild(child: XMLElement): void;
getText(): string;
getPI(target: string): ProcessingInstruction | undefined;
}

@@ -165,2 +165,14 @@ "use strict";

}
removeChild(child) {
let length = this.content.length;
for (let i = 0; i < length; i++) {
let node = this.content[i];
if (node instanceof XMLElement) {
if (node.equals(child)) {
this.content.splice(i, 1);
break;
}
}
}
}
getText() {

@@ -167,0 +179,0 @@ let result = '';

6

package.json
{
"name": "typesxml",
"productName": "TypesXML",
"version": "1.6.3",
"version": "1.7.0",
"description": "Open source XML library written in TypeScript",

@@ -32,5 +32,5 @@ "keywords": [

"devDependencies": {
"@types/node": "^22.10.5",
"typescript": "^5.7.2"
"@types/node": "^22.13.5",
"typescript": "^5.7.3"
}
}

Sorry, the diff of this file is not supported yet