Skip to content

Commit a890af1

Browse files
committed
chore: upgrade isolated-vm to 5.x to support nodejs v22 (laverdet/isolated-vm#468)
Signed-off-by: echo094 <20028238+echo094@users.noreply.github.com>
1 parent d8b870f commit a890af1

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ An AST analyzer and processor based on Babel that can handle the following situa
2222

2323
**If problems occur during installation and execution, please check the requirements of [isolated-vm](https://github.com/laverdet/isolated-vm?tab=readme-ov-file#requirements) first**
2424

25-
1. 准备一个nodejs环境 (18.x以上)
25+
1. 准备一个nodejs环境 (22.x以上)
2626

27-
Prepare a nodejs environment (>=18.x)
27+
Prepare a nodejs environment (>=22.x)
2828

2929
2. 通过`npm i`安装依赖
3030

package-lock.json

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"eslint": "^8.23.0",
1818
"eslint-config-prettier": "^8.5.0",
1919
"eslint-plugin-prettier": "^4.2.1",
20-
"isolated-vm": "^4.7.2",
20+
"isolated-vm": "^5.0.4",
2121
"prettier": "^2.7.1"
2222
},
2323
"devDependencies": {

0 commit comments

Comments
 (0)