From f4c6777938102518dd4aba9a132d0b45142bcd21 Mon Sep 17 00:00:00 2001 From: Dylan Myers Date: Sat, 21 Aug 2021 00:06:06 +0100 Subject: [PATCH 1/2] Switched xmldom to patch vulnerabilities --- dist/plist-parse.js | 2 +- dist/plist.js | 2 +- lib/parse.js | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/plist-parse.js b/dist/plist-parse.js index 13f1619..c5ff7cf 100644 --- a/dist/plist-parse.js +++ b/dist/plist-parse.js @@ -4,7 +4,7 @@ * Module dependencies. */ -var DOMParser = require('xmldom').DOMParser; +var DOMParser = require('@xmldom/xmldom').DOMParser; /** * Module exports. diff --git a/dist/plist.js b/dist/plist.js index 19cefaf..42913c0 100644 --- a/dist/plist.js +++ b/dist/plist.js @@ -160,7 +160,7 @@ function walk_obj(next, next_child) { * Module dependencies. */ -var DOMParser = require('xmldom').DOMParser; +var DOMParser = require('@xmldom/xmldom').DOMParser; /** * Module exports. diff --git a/lib/parse.js b/lib/parse.js index 76f7cf6..d717137 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -2,7 +2,7 @@ * Module dependencies. */ -var DOMParser = require('xmldom').DOMParser; +var DOMParser = require('@xmldom/xmldom').DOMParser; /** * Module exports. diff --git a/package.json b/package.json index 289f7ce..fef47f2 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dependencies": { "base64-js": "^1.5.1", "xmlbuilder": "^9.0.7", - "xmldom": "^0.6.0" + "@xmldom/xmldom": "^0.7.0" }, "devDependencies": { "browserify": "^16.5.2", From 9776e44d283f37d0f890ee47a21b0398b1fdf1ec Mon Sep 17 00:00:00 2001 From: Dylan Myers Date: Wed, 25 Aug 2021 02:04:49 +0100 Subject: [PATCH 2/2] version bump 0.7.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fef47f2..35d54c9 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dependencies": { "base64-js": "^1.5.1", "xmlbuilder": "^9.0.7", - "@xmldom/xmldom": "^0.7.0" + "@xmldom/xmldom": "^0.7.2" }, "devDependencies": { "browserify": "^16.5.2",