@jest/expect-utils
Advanced tools
Comparing version 29.0.0-alpha.0 to 29.0.0-alpha.1
@@ -11,2 +11,3 @@ 'use strict'; | ||
exports.isImmutableOrderedSet = isImmutableOrderedSet; | ||
exports.isImmutableRecord = isImmutableRecord; | ||
exports.isImmutableUnorderedKeyed = isImmutableUnorderedKeyed; | ||
@@ -248,2 +249,3 @@ exports.isImmutableUnorderedSet = isImmutableUnorderedSet; | ||
const IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@'; | ||
const IS_RECORD_SYMBOL = '@@__IMMUTABLE_RECORD__@@'; | ||
@@ -285,1 +287,5 @@ function isImmutableUnorderedKeyed(maybeKeyed) { | ||
} | ||
function isImmutableRecord(maybeSet) { | ||
return !!(maybeSet && maybeSet[IS_RECORD_SYMBOL]); | ||
} |
@@ -284,3 +284,4 @@ 'use strict'; | ||
!(0, _jasmineUtils.isImmutableOrderedKeyed)(a) && | ||
!(0, _jasmineUtils.isImmutableOrderedSet)(a) | ||
!(0, _jasmineUtils.isImmutableOrderedSet)(a) && | ||
!(0, _jasmineUtils.isImmutableRecord)(a) | ||
) { | ||
@@ -287,0 +288,0 @@ const aEntries = Object.entries(a); |
{ | ||
"name": "@jest/expect-utils", | ||
"version": "29.0.0-alpha.0", | ||
"version": "29.0.0-alpha.1", | ||
"repository": { | ||
@@ -24,3 +24,3 @@ "type": "git", | ||
"immutable": "^4.0.0", | ||
"jest-matcher-utils": "^29.0.0-alpha.0" | ||
"jest-matcher-utils": "^29.0.0-alpha.1" | ||
}, | ||
@@ -33,3 +33,3 @@ "engines": { | ||
}, | ||
"gitHead": "6862afb00307b52f32eedee977a9b3041355f184" | ||
"gitHead": "10f1e7f52d9f876e6fb7f20c1903fdcddd8db8b1" | ||
} |
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
25976
714