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

eshost

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eshost - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

hosts/api-ms-win-core-console-l1-1-0.dll

2

lib/D8Runner.js

@@ -8,3 +8,3 @@ 'use strict';

const errorRe = /^(.*?):(\d+): ((\w+): (.*))[\w\W]*\3((:?\s+at.*\r?\n)*)(\r?\n)+$/;
const errorRe = /(.*?):(\d+): ((\w+): (.*))[\w\W]*\3((:?\s+at.*\r?\n)*)(\r?\n)+$/;

@@ -11,0 +11,0 @@ const runtimeStr = inception(

{
"name": "eshost",
"version": "2.2.0",
"version": "2.2.1",
"description": "Invoke ECMAScript scripts in any command line JS engine.",

@@ -5,0 +5,0 @@ "main": "lib/eshost.js",

@@ -1,5 +0,6 @@

var vm = require('vm');
var obj = {};
var context = vm.createContext({console: console});
vm.runInContext('var x = 1', context);
vm.runInContext('console.log(x)', context);
var fs = require('fs');
var esh = require('./');
var runner = esh.getRunner('c:/users/brterlso/projects/v8/build/Release/d8.exe', 'd8');
runner.exec(fs.readFileSync('./proxy-test.js', 'utf8')).then(function(result) {
console.log(result);
});

Sorry, the diff of this file is not supported yet

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