Skip to content

Commit

Permalink
nodejs: Fix npm audit warnings
Browse files Browse the repository at this point in the history
- upgrade xmldom to 0.8.0
- upgrade express to 4.18.x
  • Loading branch information
hfiguiere authored and pedropintosilva committed Sep 15, 2023
1 parent e5c0e84 commit 8e607a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webapp/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"body-parser": "^1.19.0",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"express": "~4.18.2",
"morgan": "~1.9.1",
"xmldom": "^0.4.0",
"@xmldom/xmldom": "^0.8.0",
"xpath": "0.0.32"
},
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion webapp/nodejs/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var express = require('express');
var router = express.Router();
var http = require('http');
var https = require('https');
var Dom = require('xmldom').DOMParser;
var Dom = require('@xmldom/xmldom').DOMParser;
var xpath = require('xpath');


Expand Down

0 comments on commit 8e607a3

Please sign in to comment.