Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate vm2 to isolated-vm #85

Merged
merged 2 commits into from
Mar 24, 2024
Merged

chore: migrate vm2 to isolated-vm #85

merged 2 commits into from
Mar 24, 2024

Conversation

echo094
Copy link
Owner

@echo094 echo094 commented Mar 24, 2024

The maintenance of vm2 has been discontinued due to critical security issues (patriksimek/vm2#533), and isolated-vm is suggested as replacement.

Quoted from the requirements of isolated-vm:

This project requires nodejs version 16.x (or later).

🚨 If you are using a version of nodejs 20.x or later, you must pass --no-node-snapshot to node.

Furthermore, to install this module you will need a compiler installed. If you run into errors while
running npm install isolated-vm it is likely you don't have a compiler set up, or your compiler is
too old.

  • Windows + OS X users should follow the instructions here: node-gyp
  • Ubuntu users should run: sudo apt-get install python g++ build-essential
  • Alpine users should run: sudo apk add python3 make g++
  • Amazon Linux AMI users should run: sudo yum install gcc72 gcc72-c++
  • Arch Linux users should run: sudo pacman -S make gcc python
  • Red Hat users should run: sudo dnf install python3 make gcc gcc-c++ zlib-devel brotli-devel openssl-devel

@echo094 echo094 merged commit 779c06b into main Mar 24, 2024
@echo094 echo094 deleted the isolated-vm branch March 24, 2024 04:47
@mgttt
Copy link

mgttt commented Mar 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants