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

jest-environment-node

Package Overview
Dependencies
Maintainers
6
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 28.0.0-alpha.7 to 28.0.0-alpha.8

14

build/index.js

@@ -104,2 +104,10 @@ 'use strict';

global.EventTarget = EventTarget;
} // MessageChannel is global in Node >= 15
if (typeof MessageChannel !== 'undefined') {
global.MessageChannel = MessageChannel;
} // MessageEvent is global in Node >= 15
if (typeof MessageEvent !== 'undefined') {
global.MessageEvent = MessageEvent;
} // performance is global in Node >= 16

@@ -114,2 +122,8 @@

global.btoa = btoa;
} // structuredClone is global in Node >= 17
// @ts-expect-error type definition for structuredClone is missing
if (typeof structuredClone !== 'undefined') {
// @ts-expect-error type definition for structuredClone is missing
global.structuredClone = structuredClone;
}

@@ -116,0 +130,0 @@

16

package.json
{
"name": "jest-environment-node",
"version": "28.0.0-alpha.7",
"version": "28.0.0-alpha.8",
"repository": {

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

"dependencies": {
"@jest/environment": "^28.0.0-alpha.7",
"@jest/fake-timers": "^28.0.0-alpha.7",
"@jest/types": "^28.0.0-alpha.7",
"@jest/environment": "^28.0.0-alpha.8",
"@jest/fake-timers": "^28.0.0-alpha.8",
"@jest/types": "^28.0.0-alpha.8",
"@types/node": "*",
"jest-mock": "^28.0.0-alpha.7",
"jest-util": "^28.0.0-alpha.7"
"jest-mock": "^28.0.0-alpha.8",
"jest-util": "^28.0.0-alpha.8"
},
"devDependencies": {
"@jest/test-utils": "^28.0.0-alpha.7"
"@jest/test-utils": "^28.0.0-alpha.8"
},

@@ -37,3 +37,3 @@ "engines": {

},
"gitHead": "06f58f8ca70abc9c09d554967935b58ce85c48d6"
"gitHead": "d915e7df92b220dbe6e124585ba6459838a6c41c"
}
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