@danielsimonjr/mathts-wasm 0.4.1 → 0.5.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/README.md +70 -0
- package/build/mathts-debug.d.ts +25 -0
- package/build/mathts-debug.js +575 -521
- package/build/mathts-debug.js.map +1 -1
- package/build/mathts-debug.wasm +0 -0
- package/build/mathts-debug.wasm.map +1 -1
- package/build/mathts-debug.wat +869 -406
- package/build/mathts.d.ts +25 -0
- package/build/mathts.js +244 -198
- package/build/mathts.js.map +1 -1
- package/build/mathts.wasm +0 -0
- package/build/mathts.wat +726 -381
- package/build/wasm-manifest.json +2 -2
- package/package.json +12 -5
package/build/wasm-manifest.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"mathts-debug.wasm": "sha384-
|
|
3
|
-
"mathts.wasm": "sha384-
|
|
2
|
+
"mathts-debug.wasm": "sha384-RYCgzTTtRxuT/5WM4obRBQrqDkS/NIO2jPwaq3OtVebz8ofN5g8veIH0NfxTyt59",
|
|
3
|
+
"mathts.wasm": "sha384-qgQzoDIofXtnpexPqmLlbf2sWK06qM4UN8MV0vnmgC1l8cxXxZIWIMhW+slQR5dc"
|
|
4
4
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielsimonjr/mathts-wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "MathTS WebAssembly module - high-performance numerical computing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/mathts.js",
|
|
@@ -12,10 +12,17 @@
|
|
|
12
12
|
"default": "./build/mathts.js"
|
|
13
13
|
},
|
|
14
14
|
"./wasm": {
|
|
15
|
-
"import": "./build/mathts.wasm"
|
|
15
|
+
"import": "./build/mathts.wasm",
|
|
16
|
+
"default": "./build/mathts.wasm"
|
|
16
17
|
},
|
|
17
18
|
"./debug": {
|
|
18
|
-
"import": "./build/mathts-debug.wasm"
|
|
19
|
+
"import": "./build/mathts-debug.wasm",
|
|
20
|
+
"default": "./build/mathts-debug.wasm"
|
|
21
|
+
},
|
|
22
|
+
"./debug.js": {
|
|
23
|
+
"types": "./build/mathts-debug.d.ts",
|
|
24
|
+
"import": "./build/mathts-debug.js",
|
|
25
|
+
"default": "./build/mathts-debug.js"
|
|
19
26
|
},
|
|
20
27
|
"./package.json": "./package.json"
|
|
21
28
|
},
|
|
@@ -27,10 +34,10 @@
|
|
|
27
34
|
"asbuild:debug": "asc src/index.ts --target debug",
|
|
28
35
|
"asbuild:release": "asc src/index.ts --target release",
|
|
29
36
|
"asbuild": "bun run asbuild:debug && bun run asbuild:release && bun run gen:manifest",
|
|
30
|
-
"gen:manifest": "node scripts/gen-wasm-manifest.mjs && node scripts/patch-dts.mjs",
|
|
37
|
+
"gen:manifest": "node scripts/gen-wasm-manifest.mjs && node scripts/patch-dts.mjs && node scripts/patch-glue.mjs",
|
|
31
38
|
"build": "bun run asbuild && node ../tools/ensure-js-sourcemaps.mjs",
|
|
32
39
|
"clean": "rm -rf build/",
|
|
33
|
-
"test": "node tests/run.js && node tests/f64-buffer-clone.test.mjs && node tests/special-numtheory.test.mjs && node tests/polynomial.test.mjs && node tests/signal.test.mjs && node tests/linalg.test.mjs && node tests/curvefit.test.mjs && node tests/optimization.test.mjs && node tests/approx.test.mjs && node tests/tensor.test.mjs && node tests/phase2-kernels.test.mjs && bun run test:diff",
|
|
40
|
+
"test": "node tests/run.js && node tests/f64-buffer-clone.test.mjs && node tests/complex-abs-1259.test.mjs && node tests/special-numtheory.test.mjs && node tests/polynomial.test.mjs && node tests/signal.test.mjs && node tests/linalg.test.mjs && node tests/curvefit.test.mjs && node tests/optimization.test.mjs && node tests/approx.test.mjs && node tests/tensor.test.mjs && node tests/phase2-kernels.test.mjs && node tests/glue-write-back.test.mjs && node tests/glue-table-sweep.test.mjs && node tests/qr-column-range.test.mjs && node tests/subpath-imports.test.mjs && bun run test:diff",
|
|
34
41
|
"test:diff": "node tests/diff-special.test.mjs && node tests/diff-decomposition.test.mjs",
|
|
35
42
|
"coverage:matrix": "python -X utf8 tests/audit/coverage_matrix.py",
|
|
36
43
|
"golden:gen": "python -X utf8 tests/golden/generate_goldens.py",
|