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 2.2.0-beta.5 to 2.2.0-beta.6

24

dist/load.js

@@ -42,3 +42,3 @@ "use strict";

function requireWithFakeGlobalScope(params) {
const resolved = (0, import_path.resolve)(params.path);
const resolved = params.path;
const getModuleCode = `(function(module,exports,require,__dirname,__filename,globalThis,${Object.keys(

@@ -84,3 +84,3 @@ params.scopedContext

context,
path: (0, import_path.resolve)(__dirname, "./encoding.js"),
path: (0, import_path.join)(__dirname, "./encoding.js"),
scopedContext

@@ -96,3 +96,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./console.js"),
path: (0, import_path.join)(__dirname, "./console.js"),
scopedContext

@@ -103,3 +103,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./events.js"),
path: (0, import_path.join)(__dirname, "./events.js"),
scopedContext

@@ -116,3 +116,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./streams.js"),
path: (0, import_path.join)(__dirname, "./streams.js"),
scopedContext: { ...scopedContext }

@@ -122,3 +122,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./text-encoding-streams.js"),
path: (0, import_path.join)(__dirname, "./text-encoding-streams.js"),
scopedContext: { ...streamsImpl, ...scopedContext }

@@ -138,3 +138,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./abort-controller.js"),
path: (0, import_path.join)(__dirname, "./abort-controller.js"),
scopedContext: { ...eventsImpl, ...scopedContext }

@@ -149,3 +149,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./url.js"),
path: (0, import_path.join)(__dirname, "./url.js"),
scopedContext: { ...scopedContext }

@@ -160,3 +160,3 @@ });

context,
path: (0, import_path.resolve)(__dirname, "./blob.js"),
path: (0, import_path.join)(__dirname, "./blob.js"),
scopedContext: { ...streamsImpl, ...scopedContext }

@@ -168,3 +168,3 @@ });

const structuredCloneImpl = requireWithFakeGlobalScope({
path: (0, import_path.resolve)(__dirname, "./structured-clone.js"),
path: (0, import_path.join)(__dirname, "./structured-clone.js"),
context,

@@ -178,3 +178,3 @@ scopedContext: { ...streamsImpl, ...scopedContext }

context,
path: (0, import_path.resolve)(__dirname, "./fetch.js"),
path: (0, import_path.join)(__dirname, "./fetch.js"),
cache: /* @__PURE__ */ new Map([

@@ -232,3 +232,3 @@ ["abort-controller", { exports: abortControllerImpl }],

context,
path: (0, import_path.resolve)(__dirname, "./crypto.js"),
path: (0, import_path.join)(__dirname, "./crypto.js"),
scopedContext: {

@@ -235,0 +235,0 @@ ...scopedContext

@@ -5,3 +5,3 @@ {

"homepage": "https://edge-runtime.vercel.app/packages/primitives",
"version": "2.2.0-beta.5",
"version": "2.2.0-beta.6",
"main": "dist/index.js",

@@ -8,0 +8,0 @@ "repository": {

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