jest-environment-jsdom 28.1.0 → 28.1.1

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.
Files changed (2) hide show
  1. package/build/index.js +2 -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.0",
3
+ "version": "28.1.1",
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.0",
21
- "@jest/fake-timers": "^28.1.0",
22
- "@jest/types": "^28.1.0",
20
+ "@jest/environment": "^28.1.1",
21
+ "@jest/fake-timers": "^28.1.1",
22
+ "@jest/types": "^28.1.1",
23
23
  "@types/jsdom": "^16.2.4",
24
24
  "@types/node": "*",
25
- "jest-mock": "^28.1.0",
26
- "jest-util": "^28.1.0",
25
+ "jest-mock": "^28.1.1",
26
+ "jest-util": "^28.1.1",
27
27
  "jsdom": "^19.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@jest/test-utils": "^28.1.0"
30
+ "@jest/test-utils": "^28.1.1"
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": "f5db241312f46528389e55c38221e6b6968622cf"
38
+ "gitHead": "eb954f8874960920ac50a8f976bb333fbb06ada9"
39
39
  }