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

jest-environment-node

Package Overview
Dependencies
Maintainers
4
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-environment-node - npm Package Compare versions

Comparing version 13.0.0 to 13.1.0

13

build/index.js

@@ -19,2 +19,4 @@ /**

const isNaN = global.isNaN;
class NodeEnvironment {

@@ -28,8 +30,10 @@

vm.createContext(this.global);
global.setTimeout = setTimeout;
global.clearInterval = clearInterval;
global.clearTimeout = clearTimeout;
global.setInterval = setInterval;
global.clearInterval = clearInterval;
global.setTimeout = setTimeout;
global.isNaN = isNaN;
global.ArrayBuffer = ArrayBuffer;
global.JSON = JSON;
global.Promise = Promise;
global.JSON = JSON;
installCommonGlobals(global, config.globals);

@@ -40,2 +44,5 @@ this.fakeTimers = new FakeTimers(global);}

dispose() {
if (this.fakeTimers) {
this.fakeTimers.clearAllTimers();}
this.global = null;

@@ -42,0 +49,0 @@ this.fakeTimers = null;}

{
"name": "jest-environment-node",
"version": "13.0.0",
"version": "13.1.0",
"repository": {

@@ -11,3 +11,3 @@ "type": "git",

"dependencies": {
"jest-util": "^13.0.0"
"jest-util": "^13.1.0"
},

@@ -14,0 +14,0 @@ "jest": {

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