Skip to content

Commit

Permalink
Merge pull request #24 from sebastianwessel/23-fails-to-run-on-nodejs…
Browse files Browse the repository at this point in the history
…-due-to-use-of-the-using-keyword

fix: Fails to run on nodeJS due to use of the "using" keyword #23
  • Loading branch information
sebastianwessel authored Jul 11, 2024
2 parents 4db52d2 + 23eb3cf commit eb2e632
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.2.0",
"description": "A typescript package to execute javascript code in a webassembly quickjs sandbox",
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"typescript",
"quickjs",
Expand Down Expand Up @@ -57,13 +60,13 @@
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@hono/swagger-ui": "^0.3.0",
"@hono/zod-openapi": "^0.14.8",
"@hono/zod-openapi": "^0.14.9",
"@types/autocannon": "^7.12.5",
"@types/bun": "^1.1.6",
"@types/node": "^20.14.10",
"autocannon": "^7.15.0",
"chai": "^5.1.1",
"hono": "^4.4.12",
"hono": "^4.4.13",
"poolifier-web-worker": "^0.4.14",
"quickjs-emscripten": "^0.29.2",
"tshy": "^1.18.0",
Expand Down
7 changes: 3 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"compilerOptions": {
"outDir": "dist",
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"lib": ["ES2023"],
"target": "ES2022",
"module": "node16",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,

"moduleResolution": "bundler",
Expand Down

0 comments on commit eb2e632

Please sign in to comment.