chore: migrate Node.js implementation for js-sandbox to isolated-vm (#3973)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
James George
2024-04-19 08:38:46 -07:00
committed by GitHub
parent a079e0f04b
commit 22c6eabd13
52 changed files with 1028 additions and 285 deletions

View File

@@ -30,7 +30,7 @@
"scripts": {
"lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
"lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
"test": "pnpm exec jest",
"test": "vitest run",
"build": "vite build && tsc --emitDeclarationOnly",
"clean": "pnpm tsc --build --clean",
"postinstall": "pnpm run build",
@@ -69,10 +69,18 @@
"eslint-config-prettier": "8.6.0",
"eslint-plugin-prettier": "4.2.1",
"io-ts": "2.2.16",
"jest": "27.5.1",
"prettier": "2.8.4",
"ts-jest": "27.1.5",
"typescript": "4.9.5",
"vite": "5.0.5"
"vite": "5.0.5",
"vitest": "0.34.6"
},
"peerDependencies": {
"isolated-vm": "4.7.2"
},
"peerDependenciesMeta": {
"isolated-vm": {
"optional": true
}
}
}