jest-environment-jsdom 28.0.0-alpha.8 → 28.0.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 +4 -5
  2. package/package.json +8 -8
package/build/index.js CHANGED
@@ -130,15 +130,14 @@ class JSDOMEnvironment {
130
130
  };
131
131
 
132
132
  this.moduleMocker = new (_jestMock().ModuleMocker)(global);
133
- const timerConfig = {
134
- idToRef: id => id,
135
- refToId: ref => ref
136
- };
137
133
  this.fakeTimers = new (_fakeTimers().LegacyFakeTimers)({
138
134
  config: projectConfig,
139
135
  global: global,
140
136
  moduleMocker: this.moduleMocker,
141
- timerConfig
137
+ timerConfig: {
138
+ idToRef: id => id,
139
+ refToId: ref => ref
140
+ }
142
141
  });
143
142
  this.fakeTimersModern = new (_fakeTimers().ModernFakeTimers)({
144
143
  config: projectConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jest-environment-jsdom",
3
- "version": "28.0.0-alpha.8",
3
+ "version": "28.0.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.0.0-alpha.8",
21
- "@jest/fake-timers": "^28.0.0-alpha.8",
22
- "@jest/types": "^28.0.0-alpha.8",
20
+ "@jest/environment": "^28.0.1",
21
+ "@jest/fake-timers": "^28.0.1",
22
+ "@jest/types": "^28.0.1",
23
23
  "@types/jsdom": "^16.2.4",
24
24
  "@types/node": "*",
25
- "jest-mock": "^28.0.0-alpha.8",
26
- "jest-util": "^28.0.0-alpha.8",
25
+ "jest-mock": "^28.0.1",
26
+ "jest-util": "^28.0.1",
27
27
  "jsdom": "^19.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@jest/test-utils": "^28.0.0-alpha.8"
30
+ "@jest/test-utils": "^28.0.1"
31
31
  },
32
32
  "engines": {
33
33
  "node": "^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "d915e7df92b220dbe6e124585ba6459838a6c41c"
38
+ "gitHead": "0a08639e4299f07becf1020a761adfec83536018"
39
39
  }