Skip to content

Commit 29f4fdf

Browse files
committed
Upgrade dependencies
1 parent e2f7639 commit 29f4fdf

File tree

5 files changed

+1129
-1879
lines changed

5 files changed

+1129
-1879
lines changed

lib/jsdom/living/domparsing/parse5-adapter-serialization.js

+4
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ exports.setNodeSourceCodeLocation = (node, location) => {
5757
};
5858

5959
exports.getNodeSourceCodeLocation = node => node.sourceCodeLocation;
60+
61+
exports.updateNodeSourceCodeLocation = (node, endLocation) => {
62+
Object.assign(node.sourceCodeLocation, endLocation);
63+
};

package.json

+22-23
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@
2020
"license": "MIT",
2121
"repository": "jsdom/jsdom",
2222
"dependencies": {
23-
"abab": "^2.0.3",
24-
"acorn": "^7.1.1",
23+
"abab": "^2.0.5",
24+
"acorn": "^8.0.5",
2525
"acorn-globals": "^6.0.0",
2626
"cssom": "^0.4.4",
27-
"cssstyle": "^2.2.0",
27+
"cssstyle": "^2.3.0",
2828
"data-urls": "^2.0.0",
29-
"decimal.js": "^10.2.0",
29+
"decimal.js": "^10.2.1",
3030
"domexception": "^2.0.1",
31-
"escodegen": "^1.14.1",
31+
"escodegen": "^2.0.0",
3232
"html-encoding-sniffer": "^2.0.1",
3333
"is-potential-custom-element-name": "^1.0.0",
3434
"nwsapi": "^2.2.0",
35-
"parse5": "5.1.1",
35+
"parse5": "6.0.1",
3636
"request": "^2.88.2",
37-
"request-promise-native": "^1.0.8",
38-
"saxes": "^5.0.0",
37+
"request-promise-native": "^1.0.9",
38+
"saxes": "^5.0.1",
3939
"symbol-tree": "^3.2.4",
40-
"tough-cookie": "^3.0.1",
40+
"tough-cookie": "^4.0.0",
4141
"w3c-hr-time": "^1.0.2",
4242
"w3c-xmlserializer": "^2.0.0",
4343
"webidl-conversions": "^6.1.0",
4444
"whatwg-encoding": "^1.0.5",
4545
"whatwg-mimetype": "^2.3.0",
4646
"whatwg-url": "^8.0.0",
47-
"ws": "^7.2.3",
47+
"ws": "^7.4.4",
4848
"xml-name-validator": "^3.0.0"
4949
},
5050
"_dependenciesComments": {
@@ -60,28 +60,27 @@
6060
},
6161
"devDependencies": {
6262
"benchmark": "^2.1.4",
63-
"browserify": "^16.5.0",
64-
"chai": "^4.2.0",
65-
"eslint": "^6.8.0",
66-
"eslint-find-rules": "^3.4.0",
67-
"eslint-plugin-html": "^6.0.0",
63+
"browserify": "^17.0.0",
64+
"chai": "^4.3.3",
65+
"eslint": "^7.21.0",
66+
"eslint-find-rules": "^3.6.1",
67+
"eslint-plugin-html": "^6.1.1",
6868
"eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
69-
"js-yaml": "^3.13.1",
70-
"karma": "^4.4.1",
71-
"karma-browserify": "^7.0.0",
69+
"js-yaml": "^4.0.0",
70+
"karma": "^6.1.1",
71+
"karma-browserify": "^8.0.0",
7272
"karma-chrome-launcher": "^3.1.0",
73-
"karma-mocha": "^1.3.0",
73+
"karma-mocha": "^2.0.1",
7474
"karma-mocha-webworker": "^1.3.0",
7575
"minimatch": "^3.0.4",
76-
"mocha": "^8.3.0",
76+
"mocha": "^8.3.1",
7777
"mocha-sugar-free": "^1.4.0",
7878
"optimist": "0.6.1",
79-
"portfinder": "^1.0.25",
8079
"rimraf": "^3.0.2",
8180
"server-destroy": "^1.0.1",
8281
"st": "^2.0.0",
83-
"watchify": "^3.11.1",
84-
"wd": "^1.12.1",
82+
"watchify": "^4.0.0",
83+
"wd": "^1.14.0",
8584
"webidl2js": "^16.2.0"
8685
},
8786
"browser": {

test/web-platform-tests/to-run.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,6 @@ percent-encoding.window.html: [fail, Depends on fetch]
11101110
toascii.window.html: [fail, Depends on fetch]
11111111
url-constructor.any.html: [fail, Depends on fetch]
11121112
url-origin.any.html: [fail, Depends on fetch]
1113-
url-setters-stripping.any.html: [fail, Unknown]
11141113
url-setters.html: [fail, Depends on fetch]
11151114
urlencoded-parser.any.html: [fail, Depends on fetch]
11161115

test/web-platform-tests/to-upstream/domparsing/innerhtml-08.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
test(() => {
1212
const doc = document.createElement("html");
13-
doc.innerHTML = "<head><title>foo</title></head><body></body>";
13+
14+
// Random templating is a workaround for https://github.com/BenoitZugmeyer/eslint-plugin-html/issues/141
15+
doc.innerHTML = `<head><title>foo</title></head><${"body"}></body>`;
1416

1517
doc.innerHTML = "";
1618

0 commit comments

Comments
 (0)