Socket
Socket
Sign inDemoInstall

jest-util

Package Overview
Dependencies
9
Maintainers
2
Versions
260
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.1 to 10.0.2

lib/__tests__/FakeTimers-test.js

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;

1

lib/formatMessages.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc