jest-environment-node
Advanced tools
Comparing version 28.0.0-alpha.7 to 28.0.0-alpha.8
@@ -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 @@ |
{ | ||
"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" | ||
} |
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
8144
183