jsdom
Advanced tools
Comparing version 21.1.0 to 21.1.1
@@ -98,2 +98,3 @@ "use strict"; | ||
document._origin = whatwgURL.serializeURLOrigin(document._URL); | ||
this[window]._sessionHistory.currentEntry.url = url; | ||
} | ||
@@ -100,0 +101,0 @@ } |
"use strict"; | ||
const cssom = require("cssom"); | ||
const cssom = require("rrweb-cssom"); | ||
const cssstyle = require("cssstyle"); | ||
@@ -4,0 +4,0 @@ |
"use strict"; | ||
const cssom = require("cssom"); | ||
const cssom = require("rrweb-cssom"); | ||
const { CSSStyleDeclaration } = require("cssstyle"); | ||
@@ -4,0 +4,0 @@ const defaultStyleSheet = require("../../browser/default-stylesheet"); |
"use strict"; | ||
const cssom = require("cssom"); | ||
const cssom = require("rrweb-cssom"); | ||
const whatwgEncoding = require("whatwg-encoding"); | ||
@@ -4,0 +4,0 @@ const whatwgURL = require("whatwg-url"); |
@@ -185,14 +185,10 @@ "use strict"; | ||
if (copyURL.scheme === "javascript") { | ||
const input = v[0] === "#" ? v.substring(1) : v; | ||
copyURL.fragment = ""; | ||
whatwgURL.basicURLParse(input, { url: copyURL, stateOverride: "fragment" }); | ||
if (copyURL.fragment === this._url.fragment) { | ||
return; | ||
} | ||
if (v === "") { | ||
copyURL.fragment = null; | ||
} else { | ||
const input = v[0] === "#" ? v.substring(1) : v; | ||
copyURL.fragment = ""; | ||
whatwgURL.basicURLParse(input, { url: copyURL, stateOverride: "fragment" }); | ||
} | ||
this._locationObjectSetterNavigate(copyURL); | ||
@@ -199,0 +195,0 @@ } |
{ | ||
"name": "jsdom", | ||
"version": "21.1.0", | ||
"version": "21.1.1", | ||
"description": "A JavaScript implementation of many web standards", | ||
@@ -24,8 +24,7 @@ "keywords": [ | ||
"abab": "^2.0.6", | ||
"acorn": "^8.8.1", | ||
"acorn": "^8.8.2", | ||
"acorn-globals": "^7.0.0", | ||
"cssom": "^0.5.0", | ||
"cssstyle": "^2.3.0", | ||
"data-urls": "^3.0.2", | ||
"decimal.js": "^10.4.2", | ||
"cssstyle": "^3.0.0", | ||
"data-urls": "^4.0.0", | ||
"decimal.js": "^10.4.3", | ||
"domexception": "^4.0.0", | ||
@@ -39,3 +38,4 @@ "escodegen": "^2.0.0", | ||
"nwsapi": "^2.2.2", | ||
"parse5": "^7.1.1", | ||
"parse5": "^7.1.2", | ||
"rrweb-cssom": "^0.6.0", | ||
"saxes": "^6.0.0", | ||
@@ -48,4 +48,4 @@ "symbol-tree": "^3.2.4", | ||
"whatwg-mimetype": "^3.0.0", | ||
"whatwg-url": "^11.0.0", | ||
"ws": "^8.11.0", | ||
"whatwg-url": "^12.0.1", | ||
"ws": "^8.13.0", | ||
"xml-name-validator": "^4.0.0" | ||
@@ -66,3 +66,3 @@ }, | ||
"chai": "^4.3.7", | ||
"eslint": "^8.28.0", | ||
"eslint": "^8.36.0", | ||
"eslint-plugin-html": "^7.1.0", | ||
@@ -76,11 +76,11 @@ "eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin", | ||
"karma-mocha-webworker": "^1.3.0", | ||
"minimatch": "^5.1.0", | ||
"mocha": "^10.1.0", | ||
"minimatch": "^7.4.2", | ||
"mocha": "^10.2.0", | ||
"mocha-sugar-free": "^1.4.0", | ||
"pngjs": "^6.0.0", | ||
"rimraf": "^3.0.2", | ||
"pngjs": "^7.0.0", | ||
"rimraf": "^4.4.0", | ||
"server-destroy": "^1.0.1", | ||
"watchify": "^4.0.0", | ||
"webidl2js": "^17.1.0", | ||
"yargs": "^17.6.2" | ||
"yargs": "^17.7.1" | ||
}, | ||
@@ -87,0 +87,0 @@ "browser": { |
2871088
76787
+ Addedrrweb-cssom@^0.6.0
+ Addedcssstyle@3.0.0(transitive)
+ Addeddata-urls@4.0.0(transitive)
+ Addedrrweb-cssom@0.6.0(transitive)
+ Addedtr46@4.1.1(transitive)
+ Addedwhatwg-url@12.0.1(transitive)
- Removedcssom@^0.5.0
- Removedcssom@0.3.80.5.0(transitive)
- Removedcssstyle@2.3.0(transitive)
- Removeddata-urls@3.0.2(transitive)
- Removedtr46@3.0.0(transitive)
- Removedwhatwg-url@11.0.0(transitive)
Updatedacorn@^8.8.2
Updatedcssstyle@^3.0.0
Updateddata-urls@^4.0.0
Updateddecimal.js@^10.4.3
Updatedparse5@^7.1.2
Updatedwhatwg-url@^12.0.1
Updatedws@^8.13.0