@jest/expect-utils
Advanced tools
Comparing version 28.1.0 to 28.1.1
@@ -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] | ||
); | ||
} |
@@ -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); |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25467
699