Socket
Socket
Sign inDemoInstall

@edge-runtime/primitives

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edge-runtime/primitives - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

dist/timers.js.LEGAL.txt

10

dist/load.js

@@ -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,

2

package.json

@@ -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 @@ /**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc