Skip to content

Commit 689b188

Browse files
authored
chore(deps): upgrade to @xmldom/xmldom (#832)
1 parent 41f7f36 commit 689b188

File tree

4 files changed

+23
-37
lines changed

4 files changed

+23
-37
lines changed

package-lock.json

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

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
"url": "https://github.com/xdebug/vscode-php-debug/issues"
4444
},
4545
"dependencies": {
46+
"@vscode/debugadapter": "^1.57.0",
47+
"@vscode/debugprotocol": "^1.55.1",
48+
"@xmldom/xmldom": "^0.8.2",
4649
"file-url": "^3.0.0",
4750
"iconv-lite": "^0.6.3",
4851
"minimatch": "^5.1.0",
@@ -52,10 +55,7 @@
5255
"string-replace-async": "^2.0.0",
5356
"url-relative": "^1.0.0",
5457
"urlencode": "^1.1.0",
55-
"@vscode/debugadapter": "^1.57.0",
56-
"@vscode/debugprotocol": "^1.55.1",
57-
"which": "^2.0.2",
58-
"xmldom": "^0.6.0"
58+
"which": "^2.0.2"
5959
},
6060
"devDependencies": {
6161
"@commitlint/cli": "^16.3.0",
@@ -70,7 +70,7 @@
7070
"@types/urlencode": "^1.1.2",
7171
"@types/vscode": "^1.66.0",
7272
"@types/which": "^2.0.1",
73-
"@types/xmldom": "^0.1.31",
73+
"@vscode/debugadapter-testsupport": "^1.57.0",
7474
"chai": "^4.3.6",
7575
"chai-as-promised": "^7.1.1",
7676
"copyfiles": "^2.4.1",
@@ -83,8 +83,7 @@
8383
"tslint": "^5.20.1",
8484
"tslint-config-prettier": "^1.18.0",
8585
"typescript": "^4.6.3",
86-
"vsce": "^2.9.1",
87-
"@vscode/debugadapter-testsupport": "^1.57.0"
86+
"vsce": "^2.9.1"
8887
},
8988
"release": {
9089
"branches": [

src/dbgp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as net from 'net'
22
import { EventEmitter } from 'events'
33
import * as iconv from 'iconv-lite'
4-
import { DOMParser } from 'xmldom'
4+
import { DOMParser } from '@xmldom/xmldom'
55

66
/** The encoding all Xdebug messages are encoded with */
77
export const ENCODING = 'utf-8'

src/proxyConnect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Socket } from 'net'
2-
import { DOMParser } from 'xmldom'
2+
import { DOMParser } from '@xmldom/xmldom'
33
import { EventEmitter } from 'events'
44
import { decode } from 'iconv-lite'
55
import { ENCODING } from './dbgp'

0 commit comments

Comments
 (0)