feat: default developer mode to nodevm and remove vm2 (#6187)

This commit is contained in:
lohit
2025-11-29 00:04:55 +05:30
committed by GitHub
parent 8c06a229e9
commit 4f8d2c0c67
24 changed files with 249 additions and 405 deletions

View File

@@ -15,12 +15,7 @@ assert {
}
tests {
const { doesUint8ArraysWorkAsExpected, getRandomValuesFunction, isUint8Array } = require('./scripting/inbuilt modules/utils.js');
if (!doesUint8ArraysWorkAsExpected()) {
console.warn('Uint8Array does not work as expected in vm2');
return;
}
const { getRandomValuesFunction, isUint8Array } = require('./scripting/inbuilt modules/utils.js');
// check if Uint8Array work as expected
test("should get random values", function() {