Skip to content

Commit 60aef5d

Browse files
committed
fix: upgrade fast-xml-parser to 5.3.4 to resolve DoS vulnerability
Upgrades fast-xml-parser from 4.5.2 to 5.3.4 to fix GHSA-37qj-frw5-hhjh (RangeError DoS via numeric entities). The new version provides a CommonJS build that works with pkg bundling despite the package switching to ESM by default. Also removes fast-xml-parser from .ncurc.js reject list since the upgrade path is now compatible with the build toolchain.
1 parent 1a6514a commit 60aef5d

File tree

3 files changed

+65
-66
lines changed

3 files changed

+65
-66
lines changed

.ncurc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module.exports = {
33
reject: [
44
// only works as ESM
55
'chai',
6-
'fast-xml-parser',
76
'yargs'
87
]
98
};

package-lock.json

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@
4242
"license-report": "6.8.1",
4343
"mbox-reader": "1.2.0",
4444
"mocha": "11.7.5",
45-
"prettier": "3.7.4",
45+
"prettier": "3.8.1",
4646
"resedit": "3.0.1"
4747
},
4848
"dependencies": {
4949
"@postalsys/vmc": "1.1.2",
50-
"fast-xml-parser": "4.5.2",
50+
"fast-xml-parser": "5.3.4",
5151
"ipaddr.js": "2.3.0",
5252
"joi": "18.0.2",
5353
"libmime": "5.3.7",
54-
"nodemailer": "7.0.11",
54+
"nodemailer": "7.0.13",
5555
"punycode.js": "2.3.1",
56-
"tldts": "7.0.19",
57-
"undici": "7.16.0",
56+
"tldts": "7.0.21",
57+
"undici": "7.19.2",
5858
"yargs": "17.7.2"
5959
},
6060
"engines": {

0 commit comments

Comments
 (0)