The latest version 7.0.0 causes this error:
error [ERR_REQUIRE_ESM]: require() of ES Module /.../node_modules/queue/index.js from /mycode/sandbox.ts not supported.
Instead change the require of index.js in /mycode/sandbox.ts to a dynamic import() which is available in all CommonJS modules.
I didn't get this error in v6. I'm about to downgrade to v6. I don't have type: module in my package.json and cannot add that. All the other packages work without that.