jest-environment-node
Advanced tools
Comparing version 27.0.6 to 27.1.0
@@ -107,2 +107,10 @@ 'use strict'; | ||
global.AbortController = AbortController; | ||
} // Event is global in Node >= 15.4 | ||
if (typeof Event !== 'undefined') { | ||
global.Event = Event; | ||
} // EventTarget is global in Node >= 15.4 | ||
if (typeof EventTarget !== 'undefined') { | ||
global.EventTarget = EventTarget; | ||
} | ||
@@ -109,0 +117,0 @@ |
{ | ||
"name": "jest-environment-node", | ||
"version": "27.0.6", | ||
"version": "27.1.0", | ||
"repository": { | ||
@@ -17,11 +17,11 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/environment": "^27.0.6", | ||
"@jest/fake-timers": "^27.0.6", | ||
"@jest/types": "^27.0.6", | ||
"@jest/environment": "^27.1.0", | ||
"@jest/fake-timers": "^27.1.0", | ||
"@jest/types": "^27.1.0", | ||
"@types/node": "*", | ||
"jest-mock": "^27.0.6", | ||
"jest-util": "^27.0.6" | ||
"jest-mock": "^27.1.0", | ||
"jest-util": "^27.1.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/test-utils": "^27.0.6" | ||
"@jest/test-utils": "^27.1.0" | ||
}, | ||
@@ -34,3 +34,3 @@ "engines": { | ||
}, | ||
"gitHead": "d257d1c44ba62079bd4307ae78ba226d47c56ac9" | ||
"gitHead": "5ef792e957e83428d868a18618b8629e32719993" | ||
} |
6816
162
Updated@jest/environment@^27.1.0
Updated@jest/fake-timers@^27.1.0
Updated@jest/types@^27.1.0
Updatedjest-mock@^27.1.0
Updatedjest-util@^27.1.0