Socket
Socket
Sign inDemoInstall

edge-runtime

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-runtime - npm Package Compare versions

Comparing version 0.12.9 to 0.12.10

54

dist/cli/repl.js

@@ -6,51 +6,13 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const format_1 = require("@edge-runtime/format");
const repl_1 = __importDefault(require("repl"));
const edge_runtime_1 = require("../edge-runtime");
const repl_1 = __importDefault(require("repl"));
const repl = repl_1.default.start({ prompt: 'ƒ => ' });
const format = (0, format_1.createFormat)();
const writer = (output) => {
return typeof output === 'function' ? output.toString() : format(output);
};
const repl = repl_1.default.start({ prompt: 'ƒ => ', writer });
Object.getOwnPropertyNames(repl.context).forEach((mod) => delete repl.context[mod]);
const runtime = new edge_runtime_1.EdgeRuntime();
Object.assign(repl.context, runtime.context);
[
'require',
'assert',
'async_hooks',
'buffer',
'child_process',
'cluster',
'console',
'constants',
'crypto',
'dgram',
'diagnostics_channel',
'dns',
'domain',
'events',
'fs',
'http',
'http2',
'https',
'inspector',
'module',
'net',
'os',
'path',
'perf_hooks',
'process',
'punycode',
'querystring',
'readline',
'repl',
'stream',
'string_decoder',
'sys',
'timers',
'tls',
'trace_events',
'tty',
'url',
'util',
'v8',
'vm',
'worker_threads',
'zlib',
].forEach((mod) => delete repl.context[mod]);
//# sourceMappingURL=repl.js.map

2

dist/version.d.ts

@@ -1,1 +0,1 @@

export declare const VERSION = "0.12.9";
export declare const VERSION = "0.12.10";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = "0.12.9";
exports.VERSION = "0.12.10";
//# sourceMappingURL=version.js.map

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

"homepage": "https://edge-runtime.vercel.app/packages/runtime",
"version": "0.12.9",
"version": "0.12.10",
"main": "dist/index.js",

@@ -25,3 +25,4 @@ "bin": {

"dependencies": {
"@edge-runtime/vm": "^0.12.9",
"@edge-runtime/format": "^0.12.5",
"@edge-runtime/vm": "^0.12.10",
"event-target-shim": "6.0.2",

@@ -65,3 +66,3 @@ "exit-hook": "2.2.1",

"types": "dist/index.d.ts",
"gitHead": "9e447a77e708f1a72b9e2d46960f1f0c0d3bdc22"
"gitHead": "fc641f74863078229ecaa4c9998a2d93caa3d34a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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