Skip to content

Commit

Permalink
fix: secrurity
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Dec 1, 2023
1 parent f39c39b commit 3b34a55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@xmldom/xmldom": "0.8.10",
"acorn": "8.10.0",
"arrify": "2.0.1",
"axios": "1.3.3",
"axios": "1.6.2",
"chai": "4.3.8",
"chai-deep-match": "1.2.1",
"chai-exclude": "^2.1.0",
Expand Down Expand Up @@ -156,7 +156,7 @@
"wdio-docker-service": "1.5.0",
"webdriverio": "8.3.8",
"xml2js": "0.6.2",
"xmldom": "0.6.0",
"@xmldom/xmldom": "0.7.7",
"xpath": "0.0.33"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/html_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const { expect } = require('chai');
const xpath = require('xpath');
const Dom = require('xmldom').DOMParser;
const Dom = require('@xmldom/xmldom').DOMParser;
const {
scanForErrorMessages, removeNonInteractiveElements, minifyHtml, splitByChunks,
} = require('../../lib/html');
Expand Down Expand Up @@ -85,7 +85,7 @@ describe('HTML module', () => {
<path d="aaaa">aaa</path>
</svg>
</a>
</li>
</li>
</ul>
</div>`;
const result = minifyHtml(removeNonInteractiveElements(html, opts));
Expand Down
2 changes: 1 addition & 1 deletion test/unit/locator_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { expect } = require('chai');
const { DOMParser } = require('xmldom');
const { DOMParser } = require('@xmldom/xmldom');
const xpath = require('xpath');

const Locator = require('../../lib/locator');
Expand Down

0 comments on commit 3b34a55

Please sign in to comment.