@mochabug/adaptkit 1.0.0-beta.5 → 1.0.0-beta.7
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/assets/inject.js +0 -7
- package/bin/index.js +9 -8
- package/bin/index.js.map +4 -4
- package/package.json +6 -8
package/assets/inject.js
CHANGED
|
@@ -9,13 +9,6 @@ import consoleModule from '@cloudflare/unenv-preset/runtime/node/console/index'
|
|
|
9
9
|
if (typeof globalThis.console === 'undefined') {
|
|
10
10
|
globalThis.console = consoleModule
|
|
11
11
|
}
|
|
12
|
-
import * as timers from '@cloudflare/unenv-preset/runtime/node/timers/index'
|
|
13
|
-
if (typeof globalThis.setImmediate === 'undefined') {
|
|
14
|
-
globalThis.setImmediate = timers.setImmediate
|
|
15
|
-
}
|
|
16
|
-
if (typeof globalThis.clearImmediate === 'undefined') {
|
|
17
|
-
globalThis.clearImmediate = timers.clearImmediate
|
|
18
|
-
}
|
|
19
12
|
import perfModule from 'unenv/runtime/polyfill/performance'
|
|
20
13
|
if (typeof globalThis.performance === 'undefined') {
|
|
21
14
|
globalThis.performance = perfModule
|