Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enable-browser-mode

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enable-browser-mode - npm Package Compare versions

Comparing version 1.23.0 to 1.24.0

8

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc