Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Mar 7, 2021
1 parent e2f7639 commit 29f4fdf
Show file tree
Hide file tree
Showing 5 changed files with 1,129 additions and 1,879 deletions.
4 changes: 4 additions & 0 deletions lib/jsdom/living/domparsing/parse5-adapter-serialization.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ exports.setNodeSourceCodeLocation = (node, location) => {
};

exports.getNodeSourceCodeLocation = node => node.sourceCodeLocation;

exports.updateNodeSourceCodeLocation = (node, endLocation) => {
Object.assign(node.sourceCodeLocation, endLocation);
};
45 changes: 22 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,31 @@
"license": "MIT",
"repository": "jsdom/jsdom",
"dependencies": {
"abab": "^2.0.3",
"acorn": "^7.1.1",
"abab": "^2.0.5",
"acorn": "^8.0.5",
"acorn-globals": "^6.0.0",
"cssom": "^0.4.4",
"cssstyle": "^2.2.0",
"cssstyle": "^2.3.0",
"data-urls": "^2.0.0",
"decimal.js": "^10.2.0",
"decimal.js": "^10.2.1",
"domexception": "^2.0.1",
"escodegen": "^1.14.1",
"escodegen": "^2.0.0",
"html-encoding-sniffer": "^2.0.1",
"is-potential-custom-element-name": "^1.0.0",
"nwsapi": "^2.2.0",
"parse5": "5.1.1",
"parse5": "6.0.1",
"request": "^2.88.2",
"request-promise-native": "^1.0.8",
"saxes": "^5.0.0",
"request-promise-native": "^1.0.9",
"saxes": "^5.0.1",
"symbol-tree": "^3.2.4",
"tough-cookie": "^3.0.1",
"tough-cookie": "^4.0.0",
"w3c-hr-time": "^1.0.2",
"w3c-xmlserializer": "^2.0.0",
"webidl-conversions": "^6.1.0",
"whatwg-encoding": "^1.0.5",
"whatwg-mimetype": "^2.3.0",
"whatwg-url": "^8.0.0",
"ws": "^7.2.3",
"ws": "^7.4.4",
"xml-name-validator": "^3.0.0"
},
"_dependenciesComments": {
Expand All @@ -60,28 +60,27 @@
},
"devDependencies": {
"benchmark": "^2.1.4",
"browserify": "^16.5.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-find-rules": "^3.4.0",
"eslint-plugin-html": "^6.0.0",
"browserify": "^17.0.0",
"chai": "^4.3.3",
"eslint": "^7.21.0",
"eslint-find-rules": "^3.6.1",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
"js-yaml": "^3.13.1",
"karma": "^4.4.1",
"karma-browserify": "^7.0.0",
"js-yaml": "^4.0.0",
"karma": "^6.1.1",
"karma-browserify": "^8.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-mocha": "^2.0.1",
"karma-mocha-webworker": "^1.3.0",
"minimatch": "^3.0.4",
"mocha": "^8.3.0",
"mocha": "^8.3.1",
"mocha-sugar-free": "^1.4.0",
"optimist": "0.6.1",
"portfinder": "^1.0.25",
"rimraf": "^3.0.2",
"server-destroy": "^1.0.1",
"st": "^2.0.0",
"watchify": "^3.11.1",
"wd": "^1.12.1",
"watchify": "^4.0.0",
"wd": "^1.14.0",
"webidl2js": "^16.2.0"
},
"browser": {
Expand Down
1 change: 0 additions & 1 deletion test/web-platform-tests/to-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,6 @@ percent-encoding.window.html: [fail, Depends on fetch]
toascii.window.html: [fail, Depends on fetch]
url-constructor.any.html: [fail, Depends on fetch]
url-origin.any.html: [fail, Depends on fetch]
url-setters-stripping.any.html: [fail, Unknown]
url-setters.html: [fail, Depends on fetch]
urlencoded-parser.any.html: [fail, Depends on fetch]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

test(() => {
const doc = document.createElement("html");
doc.innerHTML = "<head><title>foo</title></head><body></body>";

// Random templating is a workaround for https://github.com/BenoitZugmeyer/eslint-plugin-html/issues/141
doc.innerHTML = `<head><title>foo</title></head><${"body"}></body>`;

doc.innerHTML = "";

Expand Down
Loading

0 comments on commit 29f4fdf

Please sign in to comment.