jest-message-util
Advanced tools
Comparing version 28.0.0-alpha.3 to 28.0.0-alpha.4
@@ -78,50 +78,6 @@ 'use strict'; | ||
var global = (function () { | ||
if (typeof globalThis !== 'undefined') { | ||
return globalThis; | ||
} else if (typeof global !== 'undefined') { | ||
return global; | ||
} else if (typeof self !== 'undefined') { | ||
return self; | ||
} else if (typeof window !== 'undefined') { | ||
return window; | ||
} else { | ||
return Function('return this')(); | ||
} | ||
})(); | ||
var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; | ||
var global = (function () { | ||
if (typeof globalThis !== 'undefined') { | ||
return globalThis; | ||
} else if (typeof global !== 'undefined') { | ||
return global; | ||
} else if (typeof self !== 'undefined') { | ||
return self; | ||
} else if (typeof window !== 'undefined') { | ||
return window; | ||
} else { | ||
return Function('return this')(); | ||
} | ||
})(); | ||
var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; | ||
var global = (function () { | ||
if (typeof globalThis !== 'undefined') { | ||
return globalThis; | ||
} else if (typeof global !== 'undefined') { | ||
return global; | ||
} else if (typeof self !== 'undefined') { | ||
return self; | ||
} else if (typeof window !== 'undefined') { | ||
return window; | ||
} else { | ||
return Function('return this')(); | ||
} | ||
})(); | ||
var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol; | ||
var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol; | ||
var jestReadFile = | ||
global[Symbol.for('jest-native-read-file')] || fs.readFileSync; | ||
globalThis[Symbol.for('jest-native-read-file')] || fs.readFileSync; | ||
// stack utils tries to create pretty stack by making paths relative. | ||
@@ -128,0 +84,0 @@ const stackUtils = new _stackUtils.default({ |
{ | ||
"name": "jest-message-util", | ||
"version": "28.0.0-alpha.3", | ||
"version": "28.0.0-alpha.4", | ||
"repository": { | ||
@@ -24,3 +24,3 @@ "type": "git", | ||
"@babel/code-frame": "^7.12.13", | ||
"@jest/types": "^28.0.0-alpha.3", | ||
"@jest/types": "^28.0.0-alpha.4", | ||
"@types/stack-utils": "^2.0.0", | ||
@@ -30,3 +30,3 @@ "chalk": "^4.0.0", | ||
"micromatch": "^4.0.4", | ||
"pretty-format": "^28.0.0-alpha.3", | ||
"pretty-format": "^28.0.0-alpha.4", | ||
"slash": "^3.0.0", | ||
@@ -43,3 +43,3 @@ "stack-utils": "^2.0.3" | ||
}, | ||
"gitHead": "fc30b27bd94bb7ebeaadc72626ebbdba535150d2" | ||
"gitHead": "c13dab19491ba6b57c2d703e7d7c4b20189e1e17" | ||
} |
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
0
16871
428
Updated@jest/types@^28.0.0-alpha.4