@jest/expect-utils 30.0.0-alpha.4 → 30.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +2 -2
- package/package.json +4 -4
package/build/index.js
CHANGED
@@ -184,7 +184,7 @@ function eq(a, b, aStack, bStack, customTesters, strictCheck) {
|
|
184
184
|
}
|
185
185
|
// A strict comparison is necessary because `null == undefined`.
|
186
186
|
if (a === null || b === null) {
|
187
|
-
return
|
187
|
+
return false;
|
188
188
|
}
|
189
189
|
const className = Object.prototype.toString.call(a);
|
190
190
|
if (className != Object.prototype.toString.call(b)) {
|
@@ -199,7 +199,7 @@ function eq(a, b, aStack, bStack, customTesters, strictCheck) {
|
|
199
199
|
return false;
|
200
200
|
} else if (typeof a !== 'object' && typeof b !== 'object') {
|
201
201
|
// both are proper primitives
|
202
|
-
return
|
202
|
+
return false;
|
203
203
|
} else {
|
204
204
|
// both are `new Primitive()`s
|
205
205
|
return Object.is(a.valueOf(), b.valueOf());
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jest/expect-utils",
|
3
|
-
"version": "30.0.0-alpha.
|
3
|
+
"version": "30.0.0-alpha.5",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/jestjs/jest.git",
|
@@ -19,11 +19,11 @@
|
|
19
19
|
"./package.json": "./package.json"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"jest-get-type": "30.0.0-alpha.
|
22
|
+
"jest-get-type": "30.0.0-alpha.5"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
25
|
"immutable": "^4.0.0",
|
26
|
-
"jest-matcher-utils": "30.0.0-alpha.
|
26
|
+
"jest-matcher-utils": "30.0.0-alpha.5"
|
27
27
|
},
|
28
28
|
"engines": {
|
29
29
|
"node": "^16.10.0 || ^18.12.0 || >=20.0.0"
|
@@ -31,5 +31,5 @@
|
|
31
31
|
"publishConfig": {
|
32
32
|
"access": "public"
|
33
33
|
},
|
34
|
-
"gitHead": "
|
34
|
+
"gitHead": "fa24a3bdd6682978d76799265016fb9d5bff135e"
|
35
35
|
}
|