@jest/expect-utils 28.0.0-alpha.0 → 28.0.0-alpha.4
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/utils.js +1 -15
- package/package.json +4 -4
package/build/utils.js
CHANGED
@@ -21,21 +21,7 @@ var _jestGetType = require('jest-get-type');
|
|
21
21
|
|
22
22
|
var _jasmineUtils = require('./jasmineUtils');
|
23
23
|
|
24
|
-
var
|
25
|
-
if (typeof globalThis !== 'undefined') {
|
26
|
-
return globalThis;
|
27
|
-
} else if (typeof global !== 'undefined') {
|
28
|
-
return global;
|
29
|
-
} else if (typeof self !== 'undefined') {
|
30
|
-
return self;
|
31
|
-
} else if (typeof window !== 'undefined') {
|
32
|
-
return window;
|
33
|
-
} else {
|
34
|
-
return Function('return this')();
|
35
|
-
}
|
36
|
-
})();
|
37
|
-
|
38
|
-
var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol;
|
24
|
+
var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol;
|
39
25
|
|
40
26
|
/**
|
41
27
|
* Checks if `hasOwnProperty(object, key)` up the prototype chain, stopping at `Object.prototype`.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jest/expect-utils",
|
3
|
-
"version": "28.0.0-alpha.
|
3
|
+
"version": "28.0.0-alpha.4",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/facebook/jest.git",
|
@@ -17,10 +17,10 @@
|
|
17
17
|
"./package.json": "./package.json"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"jest-get-type": "^28.0.0-alpha.
|
20
|
+
"jest-get-type": "^28.0.0-alpha.3"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
|
-
"jest-matcher-utils": "^28.0.0-alpha.
|
23
|
+
"jest-matcher-utils": "^28.0.0-alpha.4"
|
24
24
|
},
|
25
25
|
"engines": {
|
26
26
|
"node": "^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"
|
@@ -28,5 +28,5 @@
|
|
28
28
|
"publishConfig": {
|
29
29
|
"access": "public"
|
30
30
|
},
|
31
|
-
"gitHead": "
|
31
|
+
"gitHead": "c13dab19491ba6b57c2d703e7d7c4b20189e1e17"
|
32
32
|
}
|