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

isolated-vm

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isolated-vm - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

2

package.json
{
"name": "isolated-vm",
"version": "1.4.1",
"version": "1.4.2",
"description": "Access to multiple isolates",

@@ -5,0 +5,0 @@ "main": "isolated-vm.js",

@@ -12,2 +12,28 @@ [![npm version](https://img.shields.io/npm/v/isolated-vm.svg)](https://www.npmjs.com/package/isolated-vm) [![isc license](https://img.shields.io/npm/l/isolated-vm.svg)](https://github.com/laverdet/isolated-vm/blob/master/LICENSE) [![travis build](https://img.shields.io/travis/laverdet/isolated-vm/master.svg)](https://travis-ci.org/laverdet/isolated-vm)

An important note about bugs in v8
----------------------------------
There are currently some bugs in v8 that are out of my control that affect this project. This
project *is* production ready, though you will need to run a special version of nodejs for the time
being.
The first is [v8 issue #6933](https://bugs.chromium.org/p/v8/issues/detail?id=6933). This bug causes
v8 to generate some infinite loops which will not respond to termination requests. The result is
that if a script running in isolated-vm times out (via the `timeout` parameter) it may refuse to
terminate which causes this library to panic. This bug has been fixed in node v8.10.0 which is good
news, however v8.10.0 introduced a different v8 bug..
[v8 issue #7573](https://bugs.chromium.org/p/v8/issues/detail?id=7573) / [nodejs issue #19274](https://github.com/nodejs/node/issues/19274)
causes v8 to segfault when running the same isolate concurrently from different threads which can
sometimes happen by using isolated-vm's API. This bug will be backported to the node v8.10.x branch,
though that will take some time to be released.
I have a forked copy of nodejs v8.9.4 on github available at [laverdet/node branch:tailcall-backport](https://github.com/laverdet/node/tree/tailcall-backport).
This includes a single cherry-pick'd commit which fixes the infinite loop bug mentioned above. This
version has been well-tested in a production environment under load.
If you are just playing around with isolated-vm then you won't need to worry about this for now, as
these issues only pop up under increased load.
API DOCUMENTATION

@@ -14,0 +40,0 @@ -----------------

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

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