Socket
Socket
Sign inDemoInstall

jest-matcher-utils

Package Overview
Dependencies
13
Maintainers
6
Versions
229
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.5.0 to 29.6.0

13

build/deepCyclicCopyReplaceable.js

@@ -55,3 +55,14 @@ 'use strict';

const newObject = Object.create(Object.getPrototypeOf(object));
const descriptors = Object.getOwnPropertyDescriptors(object);
let descriptors = {};
let obj = object;
do {
descriptors = Object.assign(
{},
Object.getOwnPropertyDescriptors(obj),
descriptors
);
} while (
(obj = Object.getPrototypeOf(obj)) &&
obj !== Object.getPrototypeOf({})
);
cycles.set(object, newObject);

@@ -58,0 +69,0 @@ const newDescriptors = [

@@ -66,2 +66,5 @@ 'use strict';

];
// subset of Chalk type
const EXPECTED_COLOR = _chalk.default.green;

@@ -68,0 +71,0 @@ exports.EXPECTED_COLOR = EXPECTED_COLOR;

10

package.json
{
"name": "jest-matcher-utils",
"description": "A set of utility functions for expect and related packages",
"version": "29.5.0",
"version": "29.6.0",
"repository": {

@@ -25,8 +25,8 @@ "type": "git",

"chalk": "^4.0.0",
"jest-diff": "^29.5.0",
"jest-diff": "^29.6.0",
"jest-get-type": "^29.4.3",
"pretty-format": "^29.5.0"
"pretty-format": "^29.6.0"
},
"devDependencies": {
"@jest/test-utils": "^29.5.0",
"@jest/test-utils": "^29.6.0",
"@types/node": "*"

@@ -37,3 +37,3 @@ },

},
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c"
"gitHead": "c1e5b8a38ef54bb138409f89831942ebf6a7a67e"
}
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