jest-environment-node
Advanced tools
Comparing version 27.4.4 to 27.4.6
@@ -107,2 +107,6 @@ 'use strict'; | ||
global.AbortController = AbortController; | ||
} // AbortSignal is global in Node >= 15 | ||
if (typeof AbortSignal !== 'undefined') { | ||
global.AbortSignal = AbortSignal; | ||
} // Event is global in Node >= 15.4 | ||
@@ -116,2 +120,6 @@ | ||
global.EventTarget = EventTarget; | ||
} // performance is global in Node >= 16 | ||
if (typeof performance !== 'undefined') { | ||
global.performance = performance; | ||
} | ||
@@ -118,0 +126,0 @@ |
{ | ||
"name": "jest-environment-node", | ||
"version": "27.4.4", | ||
"version": "27.4.6", | ||
"repository": { | ||
@@ -20,11 +20,11 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/environment": "^27.4.4", | ||
"@jest/fake-timers": "^27.4.2", | ||
"@jest/environment": "^27.4.6", | ||
"@jest/fake-timers": "^27.4.6", | ||
"@jest/types": "^27.4.2", | ||
"@types/node": "*", | ||
"jest-mock": "^27.4.2", | ||
"jest-mock": "^27.4.6", | ||
"jest-util": "^27.4.2" | ||
}, | ||
"devDependencies": { | ||
"@jest/test-utils": "^27.4.2" | ||
"@jest/test-utils": "^27.4.6" | ||
}, | ||
@@ -37,3 +37,3 @@ "engines": { | ||
}, | ||
"gitHead": "e2316126b2e4b9b4272e5a0b651c3cb5b0306369" | ||
"gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" | ||
} |
7149
168
Updated@jest/environment@^27.4.6
Updated@jest/fake-timers@^27.4.6
Updatedjest-mock@^27.4.6