Skip to content

Commit 9ab976e

Browse files
committed
Update simple-plist to fix plist parsing vuln
1 parent 7f60f52 commit 9ab976e

File tree

3 files changed

+172
-34
lines changed

3 files changed

+172
-34
lines changed

package-lock.json

Lines changed: 167 additions & 34 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"ts-loader": "^6.0.0",
122122
"ts-node": "^8.4.1",
123123
"typescript": "^4.4.3",
124+
"umd-compat-loader": "^2.1.2",
124125
"undici": "^4.9.5",
125126
"unirest": "^0.6.0",
126127
"webpack": "^4.46.0",

webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ module.exports = {
4040
include: /node_modules/,
4141
type: "javascript/auto",
4242
},
43+
{
44+
test: /node_modules[\\|/]simple-plist[\\|/]dist/,
45+
use: { loader: 'umd-compat-loader' }
46+
},
4347
{
4448
// Some browser launchers (Opera) use resource files from within the browser-launcher
4549
// module. We need to reroute that to point to the unbundled files:

0 commit comments

Comments
 (0)