@danielsimonjr/mathts-matrix 0.7.8 → 0.7.9
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/index.js +6087 -8207
- package/dist/integrity-Hbf0W3mK.js +1 -0
- package/dist/resolve-BzZxSO28.js +1 -0
- package/package.json +18 -7
- package/dist/chunk-4VMDO6W2.js +0 -31
- package/dist/integrity-LIWCCDIJ.js +0 -13
- package/dist/resolve-DDCEWHWX.js +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { loadWasmManifest, verifyWasmIntegrity } from "@danielsimonjr/mathts-core/internal";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { defaultWasmLocation, resolvePackagedWasm } from "@danielsimonjr/mathts-core/internal";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielsimonjr/mathts-matrix",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"description": "Matrix operations for MathTS with WASM/WebGPU backend support",
|
|
5
5
|
"author": "Daniel Simon Jr.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"README.md"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "
|
|
22
|
+
"build": "tsdown src/index.ts --format esm && tsc -p tsconfig.dts.json && node scripts/copy-wasm.mjs",
|
|
23
23
|
"copy:wasm": "node scripts/copy-wasm.mjs",
|
|
24
|
-
"dev": "
|
|
24
|
+
"dev": "tsdown src/index.ts --format esm --watch --on-success \"tsc -p tsconfig.dts.json && node scripts/copy-wasm.mjs\"",
|
|
25
25
|
"test": "bun test --isolate --timeout 30000",
|
|
26
26
|
"test:watch": "vitest",
|
|
27
27
|
"test:coverage": "bun test --isolate --timeout 30000 --coverage",
|
|
@@ -29,16 +29,27 @@
|
|
|
29
29
|
"lint": "oxlint src",
|
|
30
30
|
"lint:fix": "oxlint src --fix",
|
|
31
31
|
"clean": "rm -rf dist",
|
|
32
|
-
"build:prod": "
|
|
32
|
+
"build:prod": "tsdown src/index.ts --format esm --minify && tsc -p tsconfig.dts.json && node scripts/copy-wasm.mjs"
|
|
33
|
+
},
|
|
34
|
+
"tsdown": {
|
|
35
|
+
"fixedExtension": false,
|
|
36
|
+
"dts": false,
|
|
37
|
+
"outputOptions": {
|
|
38
|
+
"comments": {
|
|
39
|
+
"legal": true,
|
|
40
|
+
"annotation": true,
|
|
41
|
+
"jsdoc": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
33
44
|
},
|
|
34
45
|
"dependencies": {
|
|
35
|
-
"@danielsimonjr/mathts-core": "^0.
|
|
46
|
+
"@danielsimonjr/mathts-core": "^0.19.0",
|
|
36
47
|
"@danielsimonjr/mathts-gpu": "^0.2.1",
|
|
37
|
-
"@danielsimonjr/mathts-parallel": "^0.6.
|
|
48
|
+
"@danielsimonjr/mathts-parallel": "^0.6.11"
|
|
38
49
|
},
|
|
39
50
|
"devDependencies": {
|
|
40
51
|
"@types/node": "^26.4.0",
|
|
41
|
-
"
|
|
52
|
+
"tsdown": "^0.23.0",
|
|
42
53
|
"typescript": "^7.0.2",
|
|
43
54
|
"vitest": "^5.0.0",
|
|
44
55
|
"@webgpu/types": "^0.1.72"
|
package/dist/chunk-4VMDO6W2.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __esm = (fn, res, err) => function __init() {
|
|
6
|
-
if (err) throw err[0];
|
|
7
|
-
try {
|
|
8
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
-
} catch (e) {
|
|
10
|
-
throw err = [e], e;
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
var __export = (target, all) => {
|
|
14
|
-
for (var name in all)
|
|
15
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
16
|
-
};
|
|
17
|
-
var __copyProps = (to, from, except, desc) => {
|
|
18
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
19
|
-
for (let key of __getOwnPropNames(from))
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
21
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
22
|
-
}
|
|
23
|
-
return to;
|
|
24
|
-
};
|
|
25
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
__esm,
|
|
29
|
-
__export,
|
|
30
|
-
__toCommonJS
|
|
31
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./chunk-4VMDO6W2.js";
|
|
2
|
-
|
|
3
|
-
// src/backends/wasm/integrity.ts
|
|
4
|
-
import {
|
|
5
|
-
sha384OfBuffer,
|
|
6
|
-
loadWasmManifest,
|
|
7
|
-
verifyWasmIntegrity
|
|
8
|
-
} from "@danielsimonjr/mathts-core/internal";
|
|
9
|
-
export {
|
|
10
|
-
loadWasmManifest,
|
|
11
|
-
sha384OfBuffer,
|
|
12
|
-
verifyWasmIntegrity
|
|
13
|
-
};
|