Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Mar 28, 2021
1 parent c1b9ea1 commit 21c7671
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 101 deletions.
17 changes: 15 additions & 2 deletions lib/jsdom/living/events/MouseEvent-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@ const MouseEventInit = require("../generated/MouseEventInit");

class MouseEventImpl extends UIEventImpl {
initMouseEvent(
type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY,
ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget
type,
bubbles,
cancelable,
view,
detail,
screenX,
screenY,
clientX,
clientY,
ctrlKey,
altKey,
shiftKey,
metaKey,
button,
relatedTarget
) {
if (this._dispatchFlag) {
return;
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"repository": "jsdom/jsdom",
"dependencies": {
"abab": "^2.0.5",
"acorn": "^8.0.5",
"acorn": "^8.1.0",
"acorn-globals": "^6.0.0",
"cssom": "^0.4.4",
"cssstyle": "^2.3.0",
Expand All @@ -43,7 +43,7 @@
"webidl-conversions": "^6.1.0",
"whatwg-encoding": "^1.0.5",
"whatwg-mimetype": "^2.3.0",
"whatwg-url": "^8.0.0",
"whatwg-url": "^8.5.0",
"ws": "^7.4.4",
"xml-name-validator": "^3.0.0"
},
Expand All @@ -59,21 +59,21 @@
}
},
"devDependencies": {
"@domenic/eslint-config": "^1.0.0",
"@domenic/eslint-config": "^1.1.0",
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"chai": "^4.3.3",
"eslint": "^7.21.0",
"eslint-plugin-html": "^6.1.1",
"chai": "^4.3.4",
"eslint": "^7.23.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
"js-yaml": "^4.0.0",
"karma": "^6.1.1",
"karma": "^6.3.1",
"karma-browserify": "^8.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-webworker": "^1.3.0",
"minimatch": "^3.0.4",
"mocha": "^8.3.1",
"mocha": "^8.3.2",
"mocha-sugar-free": "^1.4.0",
"optimist": "0.6.1",
"rimraf": "^3.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
test(() => {
const doc = document.createElement("html");

// 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 = `<head><title>foo</title></head><body></body>`;

doc.innerHTML = "";

Expand Down
Loading

0 comments on commit 21c7671

Please sign in to comment.