jest-environment-jsdom 28.1.0 → 28.1.3
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 +8 -8
package/build/index.js
CHANGED
|
@@ -159,7 +159,7 @@ class JSDOMEnvironment {
|
|
|
159
159
|
config: projectConfig,
|
|
160
160
|
global: global
|
|
161
161
|
});
|
|
162
|
-
}
|
|
162
|
+
} // eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
163
163
|
|
|
164
164
|
async setup() {}
|
|
165
165
|
|
|
@@ -187,7 +187,7 @@ class JSDOMEnvironment {
|
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
this.errorEventListener = null; // @ts-expect-error
|
|
190
|
+
this.errorEventListener = null; // @ts-expect-error: this.global not allowed to be `null`
|
|
191
191
|
|
|
192
192
|
this.global = null;
|
|
193
193
|
this.dom = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-environment-jsdom",
|
|
3
|
-
"version": "28.1.
|
|
3
|
+
"version": "28.1.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/facebook/jest.git",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"./package.json": "./package.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@jest/environment": "^28.1.
|
|
21
|
-
"@jest/fake-timers": "^28.1.
|
|
22
|
-
"@jest/types": "^28.1.
|
|
20
|
+
"@jest/environment": "^28.1.3",
|
|
21
|
+
"@jest/fake-timers": "^28.1.3",
|
|
22
|
+
"@jest/types": "^28.1.3",
|
|
23
23
|
"@types/jsdom": "^16.2.4",
|
|
24
24
|
"@types/node": "*",
|
|
25
|
-
"jest-mock": "^28.1.
|
|
26
|
-
"jest-util": "^28.1.
|
|
25
|
+
"jest-mock": "^28.1.3",
|
|
26
|
+
"jest-util": "^28.1.3",
|
|
27
27
|
"jsdom": "^19.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@jest/test-utils": "^28.1.
|
|
30
|
+
"@jest/test-utils": "^28.1.3"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "2cce069800dab3fc8ca7c469b32d2e2b2f7e2bb1"
|
|
39
39
|
}
|