Skip to content

Commit ca050c6

Browse files
committed
Now using npm package @xmldom/xmldom instead of xmldom because of security issue
1 parent 8c617f3 commit ca050c6

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,12 @@
428428
},
429429
"dependencies": {
430430
"@types/xmldom": "^0.1.31",
431+
"@xmldom/xmldom": "^0.7.4",
431432
"browserslist": ">=4.16.8",
432433
"js-base64": "^3.6.1",
433434
"npm-registry-fetch": "^11.0.0",
434435
"prettify-xml": "^1.2.0",
435436
"tscpaths": "0.0.9",
436-
"xmldom": "^0.6.0",
437437
"xmlserializer": "^0.6.1"
438438
}
439439
}

src/commands/showHierarchyBase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Base64 } from 'js-base64';
55
import * as fs from 'fs';
66
import * as path from 'path';
77
import * as vscode from 'vscode';
8-
import * as xmldom from 'xmldom';
8+
import * as xmldom from '@xmldom/xmldom';
99

1010
const prettifyXml = require('prettify-xml');
1111
const xmlSerializer = require('xmlserializer');

0 commit comments

Comments
 (0)