Socket
Socket
Sign inDemoInstall

@jest/expect-utils

Package Overview
Dependencies
Maintainers
6
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/expect-utils - npm Package Compare versions

Comparing version 28.1.0 to 28.1.1

9

build/jasmineUtils.js

@@ -9,2 +9,3 @@ 'use strict';

exports.isImmutableList = isImmutableList;
exports.isImmutableOrderedKeyed = isImmutableOrderedKeyed;
exports.isImmutableUnorderedKeyed = isImmutableUnorderedKeyed;

@@ -266,1 +267,9 @@ exports.isImmutableUnorderedSet = isImmutableUnorderedSet;

}
function isImmutableOrderedKeyed(maybeKeyed) {
return !!(
maybeKeyed &&
maybeKeyed[IS_KEYED_SENTINEL] &&
maybeKeyed[IS_ORDERED_SENTINEL]
);
}

5

build/utils.js

@@ -281,3 +281,6 @@ 'use strict';

if (!(0, _jasmineUtils.isImmutableList)(a)) {
if (
!(0, _jasmineUtils.isImmutableList)(a) &&
!(0, _jasmineUtils.isImmutableOrderedKeyed)(a)
) {
const aEntries = Object.entries(a);

@@ -284,0 +287,0 @@ const bEntries = Object.entries(b);

6

package.json
{
"name": "@jest/expect-utils",
"version": "28.1.0",
"version": "28.1.1",
"repository": {

@@ -24,3 +24,3 @@ "type": "git",

"immutable": "^4.0.0",
"jest-matcher-utils": "^28.1.0"
"jest-matcher-utils": "^28.1.1"
},

@@ -33,3 +33,3 @@ "engines": {

},
"gitHead": "f5db241312f46528389e55c38221e6b6968622cf"
"gitHead": "eb954f8874960920ac50a8f976bb333fbb06ada9"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc