@loopdive/js2 0.57.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/runtime.js CHANGED
@@ -1,12 +1,12 @@
1
- import { b, j, k, l, m, o, p, q, w } from "./runtime-C-4q_KwU.js";
1
+ import { d, k, l, m, n, p, q, s, w } from "./runtime-UuI75J3h.js";
2
2
  export {
3
- b as buildImports,
4
- j as buildStringConstants,
5
- k as buildWasiPolyfill,
6
- l as checkPolicy,
7
- m as compileAndInstantiate,
8
- o as instantiateWasm,
9
- p as instantiateWasmStreaming,
10
- q as jsString,
3
+ d as buildImports,
4
+ k as buildStringConstants,
5
+ l as buildWasiPolyfill,
6
+ m as checkPolicy,
7
+ n as compileAndInstantiate,
8
+ p as instantiateWasm,
9
+ q as instantiateWasmStreaming,
10
+ s as jsString,
11
11
  w as wrapExports
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loopdive/js2",
3
- "version": "0.57.0",
3
+ "version": "0.59.0",
4
4
  "description": "Direct AOT compilation from JavaScript and TypeScript to WebAssembly GC",
5
5
  "keywords": [
6
6
  "webassembly",
@@ -74,45 +74,6 @@
74
74
  "optional": true
75
75
  }
76
76
  },
77
- "dependencies": {
78
- "typescript": "^5.7"
79
- },
80
- "devDependencies": {
81
- "@biomejs/biome": "^1",
82
- "@bytecodealliance/componentize-js": "^0.20.0",
83
- "@types/lodash": "^4.17.24",
84
- "@types/lodash-es": "^4.17.12",
85
- "@types/node": "^22",
86
- "@typescript/native-preview": "^7.0.0-dev.20260502.1",
87
- "axios": "^1.16.1",
88
- "binaryen": "^125.0.0",
89
- "bun": "1.3.14",
90
- "deno": "2.8.1",
91
- "esbuild": "^0.25.12",
92
- "eslint": "^10.0.3",
93
- "hono": "^4.12.16",
94
- "husky": "^9.1.7",
95
- "lint-staged": "^16.4.0",
96
- "lodash": "^4.18.1",
97
- "lodash-es": "^4.18.1",
98
- "marked": "^18.0.2",
99
- "monaco-editor": "^0.55.1",
100
- "prettier": "^3.8.1",
101
- "react": "^19.2.6",
102
- "shiki": "^4.0.2",
103
- "ts-morph": "^27.0.2",
104
- "vite": "^6",
105
- "vite-plugin-dts": "^4",
106
- "vitest": "^3",
107
- "wabt": "^1.0.39"
108
- },
109
- "lint-staged": {
110
- "*.{ts,js,mjs}": [
111
- "prettier --write",
112
- "biome lint --diagnostic-level=error --no-errors-on-unmatched"
113
- ],
114
- "*.json": "prettier --write"
115
- },
116
77
  "scripts": {
117
78
  "release": "node scripts/release.mjs",
118
79
  "new:issue-id": "node scripts/next-issue-id.mjs",
@@ -143,6 +104,7 @@
143
104
  "test:diff:triage": "npx tsx scripts/diff-triage.ts",
144
105
  "test:diff:gate": "npx tsx scripts/diff-test-gate.ts",
145
106
  "dogfood:acorn": "npx tsx tests/dogfood/acorn-harness.mjs",
107
+ "prepublishOnly": "pnpm run build",
146
108
  "refresh:benchmarks": "npx tsx --experimental-wasm-stringref --experimental-wasm-custom-descriptors benchmarks/run.ts && pnpm run build:compiler-bundle && node --experimental-wasm-stringref --experimental-wasm-custom-descriptors scripts/generate-playground-benchmark-sidebar.mjs && node --experimental-wasm-stringref --experimental-wasm-custom-descriptors scripts/generate-playground-benchmark-sidebar-no-jit.mjs && pnpm run generate:size-benchmarks && node scripts/generate-browser-runtime-benchmarks.mjs",
147
109
  "refresh:benchmarks:no-jit": "pnpm run build:compiler-bundle && node --experimental-wasm-stringref --experimental-wasm-custom-descriptors scripts/generate-playground-benchmark-sidebar-no-jit.mjs",
148
110
  "refresh:benchmarks:wasmtime": "pnpm run build:compiler-bundle && node --experimental-wasm-stringref --experimental-wasm-custom-descriptors scripts/generate-wasmtime-hot-runtime.mjs",
@@ -167,6 +129,7 @@
167
129
  "build:pages": "node scripts/run-pages-build.mjs",
168
130
  "deploy:registry-home": "mkdir -p .registry-home && cp website/index.html .registry-home/index.html && node ../file-registry-cli/dist/bin/main.js commit .registry-home -r users/tt/projects/ts2wasm && node ../file-registry-cli/dist/bin/main.js push .registry-home -r users/tt/projects/ts2wasm --public",
169
131
  "upload": "pnpm run build:playground && node ../file-registry-cli/dist/bin/main.js commit && node ../file-registry-cli/dist/bin/main.js push",
132
+ "prepare": "git config core.hooksPath .husky || true",
170
133
  "reconcile:tasks": "node scripts/reconcile-tasklist.mjs",
171
134
  "issues:pr-status": "node scripts/poll-merged-pr-issues.mjs --once --sync-artifacts",
172
135
  "issues:pr-status:watch": "node scripts/poll-merged-pr-issues.mjs --sync-artifacts",
@@ -183,5 +146,45 @@
183
146
  "check:issue-ids:staged": "node scripts/check-issue-ids.mjs --staged",
184
147
  "check:issue-ids:against-main": "node scripts/check-issue-ids.mjs --against-main",
185
148
  "new:issue-id:allocate": "node scripts/claim-issue.mjs --allocate"
186
- }
187
- }
149
+ },
150
+ "dependencies": {
151
+ "typescript": "^5.7"
152
+ },
153
+ "devDependencies": {
154
+ "@biomejs/biome": "^1",
155
+ "@bytecodealliance/componentize-js": "^0.20.0",
156
+ "@types/lodash": "^4.17.24",
157
+ "@types/lodash-es": "^4.17.12",
158
+ "@types/node": "^22",
159
+ "@typescript/native-preview": "^7.0.0-dev.20260502.1",
160
+ "axios": "^1.16.1",
161
+ "binaryen": "^125.0.0",
162
+ "bun": "1.3.14",
163
+ "deno": "2.8.1",
164
+ "esbuild": "^0.25.12",
165
+ "eslint": "^10.0.3",
166
+ "hono": "^4.12.16",
167
+ "husky": "^9.1.7",
168
+ "lint-staged": "^16.4.0",
169
+ "lodash": "^4.18.1",
170
+ "lodash-es": "^4.18.1",
171
+ "marked": "^18.0.2",
172
+ "monaco-editor": "^0.55.1",
173
+ "prettier": "^3.8.1",
174
+ "react": "^19.2.6",
175
+ "shiki": "^4.0.2",
176
+ "ts-morph": "^27.0.2",
177
+ "vite": "^6",
178
+ "vite-plugin-dts": "^4",
179
+ "vitest": "^3",
180
+ "wabt": "^1.0.39"
181
+ },
182
+ "lint-staged": {
183
+ "*.{ts,js,mjs}": [
184
+ "prettier --write",
185
+ "biome lint --diagnostic-level=error --no-errors-on-unmatched"
186
+ ],
187
+ "*.json": "prettier --write"
188
+ },
189
+ "packageManager": "pnpm@10.30.2+sha512.36cdc707e7b7940a988c9c1ecf88d084f8514b5c3f085f53a2e244c2921d3b2545bc20dd4ebe1fc245feec463bb298aecea7a63ed1f7680b877dc6379d8d0cb4"
190
+ }