New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mendel-exec

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mendel-exec - npm Package Compare versions

Comparing version 4.0.0-alpha.2 to 4.0.0-alpha.3

global-props.js

11

index.js

@@ -10,2 +10,3 @@ const debug = require('debug')('mendel:exec');

const errorMapper = require('./source-mapper');
const globalProps = require('./global-props');
const MendelResolver = require('mendel-resolver');

@@ -110,7 +111,2 @@

if (!sandbox.process) sandbox.process = require('process');
if (!sandbox.Buffer) sandbox.Buffer = global.Buffer;
if (!sandbox.setTimeout) sandbox.setTimeout = global.setTimeout;
if (!sandbox.clearTimeout) sandbox.clearTimeout = global.clearTimeout;
if (!sandbox.setInterval) sandbox.setInterval = global.setInterval;
if (!sandbox.clearInterval) sandbox.clearInterval = global.clearInterval;
if (!sandbox.debugFileMatching) {

@@ -120,2 +116,7 @@ sandbox.debugFileMatching = debugFileMatching;

globalProps.forEach((p) => {
if (sandbox[p]) return;
sandbox[p] = global[p];
});
// Let's pipe vm output to stdout this way

@@ -122,0 +123,0 @@ sandbox.console = console;

{
"name": "mendel-exec",
"version": "4.0.0-alpha.2",
"version": "4.0.0-alpha.3",
"description": "JavaScript executor using VM and Mendelv2 for custom variational resolving.",

@@ -24,3 +24,3 @@ "main": "index.js",

},
"gitHead": "3c1634b0bf3a8360cb17de39fa207fd9ca909b13"
"gitHead": "e91e97f8daa3d312490a239e3654f84cd632b545"
}
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