Comparing version 0.6.0 to 0.6.1
@@ -12,3 +12,4 @@ 'use strict'; | ||
global.document = (0, _jsdom.jsdom)(actualDOM); | ||
global.window = document.defaultView; | ||
global.window = document.parentWindow; | ||
global.location = window.location; | ||
global.Element = window.Element; | ||
@@ -37,2 +38,6 @@ global.navigator = { | ||
window.close(); | ||
delete global.window; | ||
delete global.location; | ||
delete global.Element; | ||
delete global.navigator; | ||
delete global.document; | ||
@@ -39,0 +44,0 @@ documentRef = undefined; |
{ | ||
"name": "jsdomify", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Create a JSDom instance for browserless testing, exposing some handling methods", | ||
@@ -5,0 +5,0 @@ "main": "lib/jsdomify.js", |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
9951
137
0