jest-util
Advanced tools
Comparing version 10.0.1 to 10.0.2
14
index.js
@@ -25,19 +25,5 @@ /** | ||
function deepCopy(obj) { | ||
const newObj = {}; | ||
let value; | ||
for (const key in obj) { | ||
value = obj[key]; | ||
if (typeof value === 'object' && value !== null) { | ||
value = deepCopy(value); | ||
} | ||
newObj[key] = value; | ||
} | ||
return newObj; | ||
} | ||
exports.cleanStackTrace = formatMessages.cleanStackTrace; | ||
exports.deepCopy = deepCopy; | ||
exports.escapeStrForRegex = escapeStrForRegex; | ||
exports.formatFailureMessage = formatMessages.formatFailureMessage; | ||
exports.replacePathSepForRegex = replacePathSepForRegex; |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
'use strict'; | ||
@@ -11,0 +10,0 @@ |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
'use strict'; | ||
@@ -11,0 +10,0 @@ |
{ | ||
"name": "jest-util", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/jest.git" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"main": "index.js", | ||
"dependencies": { | ||
"chalk": "^1.1.1", | ||
"graceful-fs": "^4.1.3" | ||
"graceful-fs": "^4.1.3", | ||
"jest-mock": "10.0.2" | ||
}, | ||
"scripts": { | ||
"test": "../../bin/jest.js" | ||
}, | ||
"jest": { | ||
"testEnvironment": "node" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
52835
9
0
1472
0
3
1
+ Addedjest-mock@10.0.2
+ Addedjest-mock@10.0.2(transitive)