enable-browser-mode
Advanced tools
Comparing version 1.23.0 to 1.24.0
@@ -38,3 +38,5 @@ const fs = require('fs'); | ||
global.Event = window.Event.bind(window); | ||
Event = window.Event.bind(window); | ||
requestAnimationFrame = (fn) => setTimeout(fn, 0); | ||
cancelAnimationFrame = (key) => clearTimeout(key); | ||
@@ -45,3 +47,3 @@ /** | ||
global.window = global; | ||
window = global; | ||
@@ -53,3 +55,3 @@ /** | ||
window.include = function (file) { | ||
include = function (file) { | ||
@@ -56,0 +58,0 @@ /** |
{ | ||
"name": "enable-browser-mode", | ||
"version": "1.23.0", | ||
"version": "1.24.0", | ||
"description": "Simulate the browser with ease by setting the global object to a JSDOM window and painlessly run browser JS without errors.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
407141
9198