@edge-runtime/primitives
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -98,2 +98,12 @@ "use strict"; | ||
assign(context, { console: consoleImpl.console }); | ||
const timersImpl = requireWithFakeGlobalScope({ | ||
context, | ||
id: "timers.js", | ||
sourceCode: require("./timers.js.text.js"), | ||
scopedContext | ||
}); | ||
assign(context, { | ||
setTimeout: timersImpl.setTimeout, | ||
setInterval: timersImpl.setInterval | ||
}); | ||
const eventsImpl = requireWithFakeGlobalScope({ | ||
@@ -100,0 +110,0 @@ context, |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://edge-runtime.vercel.app/packages/primitives", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"main": "dist/index.js", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -10,2 +10,3 @@ export { AbortController, AbortSignal, DOMException } from './abort-controller.d.js'; | ||
export { URL, URLPattern, URLSearchParams } from './url.d.js'; | ||
export { setInterval, setTimeout } from './timers.d.js'; | ||
@@ -12,0 +13,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
751202
40
751