Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@n8n/vm2

Package Overview
Dependencies
Maintainers
5
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@n8n/vm2 - npm Package Compare versions

Comparing version 3.9.22 to 3.9.23

10

lib/setup-sandbox.js

@@ -13,3 +13,2 @@ /* global host, bridge, data, context */

Function: localFunction,
Promise: localPromise,
eval: localEval

@@ -33,8 +32,3 @@ } = global;

const PromiseCtor = Promise;
const speciesSymbol = Symbol.species;
const localReflectApply = (target, thisArg, args) => {
if (thisArg instanceof PromiseCtor && thisArg.constructor[speciesSymbol] !== PromiseCtor) {
throw new Error('Sandbox escape attempt blocked');
}
return apply(target, thisArg, args);

@@ -78,2 +72,3 @@ };

class localPromise extends global.Promise {}
Object.defineProperties(global, {

@@ -85,2 +80,3 @@ global: {value: global, writable: true, configurable: true, enumerable: true},

Error: {value: LocalError},
Promise: {value: localPromise},
Proxy: {value: undefined}

@@ -546,2 +542,4 @@ });

Object.freeze(localPromise);
Object.freeze(PromisePrototype);
}

@@ -548,0 +546,0 @@

2

package.json

@@ -12,3 +12,3 @@ {

],
"version": "3.9.22",
"version": "3.9.23",
"main": "index.js",

@@ -15,0 +15,0 @@ "sideEffects": false,

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