isolated-vm
Advanced tools
Comparing version 3.3.3 to 3.3.4
{ | ||
"name": "isolated-vm", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "Access to multiple isolates", | ||
@@ -5,0 +5,0 @@ "main": "isolated-vm.js", |
@@ -40,3 +40,3 @@ [![npm version](https://badgen.now.sh/npm/v/isolated-vm)](https://www.npmjs.com/package/isolated-vm) | ||
* Windows + OS X users should follow the instuctions here: [node-gyp](https://github.com/nodejs/node-gyp) | ||
* Ubuntu users should run: `sudo apt-get install g++ build-essential` | ||
* Ubuntu users should run: `sudo apt-get install python g++ build-essential` | ||
* Alpine users should run: `sudo apk add python make g++` | ||
@@ -61,3 +61,3 @@ * Amazon Linux AMI users should run: `sudo yum install gcc72 gcc72-c++` | ||
* [Tripadvisor](https://www.tripadvisor.com) - Tripadvisor is the world’s largest travel platform. | ||
* [Tripadvisor](https://www.tripadvisor.com) - Tripadvisor is the world’s largest travel platform. | ||
They use `isolated-vm` to server-side render thousands of React pages per second. | ||
@@ -130,2 +130,8 @@ | ||
**Note**: `createSnapshot` does not provide the same isolate protection like the rest of | ||
isolated-vm. If the script passed to `createSnapshot` uses too much memory the process will crash, | ||
and if it has an infinite loop it will stall the process. Furthermore newer v8 features may simply | ||
fail when attempting to take a snapshot that uses them. It is best to snapshot code that only | ||
defines functions, class, and simple data structures. | ||
**Please note that versions of nodejs 10.4.0 - 10.9.0 may crash while using the snapshot feature. | ||
@@ -132,0 +138,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
495054
145
670