tapewasm 0.1.0 → 0.1.1
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/LICENSE-MIT +21 -0
- package/README.md +1 -1
- package/package.json +3 -3
- package/pkg/LICENSE-MIT +21 -0
- package/pkg/README.md +1 -1
- package/pkg/package.json +2 -2
- package/pkg/tapewasm.js +10 -10
- package/pkg/tapewasm_bg.wasm +0 -0
- /package/{LICENSE → LICENSE-APACHE} +0 -0
- /package/pkg/{LICENSE → LICENSE-APACHE} +0 -0
- /package/pkg/snippets/{tapewasm-86b4af57c39247cc → tapewasm-efcc61b460c384cc}/js/aot_bridge.js +0 -0
package/LICENSE-MIT
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 habakan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -7,4 +7,4 @@ See the [repository](https://github.com/habakan/tapewasm) for what this is for
|
|
|
7
7
|
and how a front end uses it. The npm package of the same name is this crate
|
|
8
8
|
built with `wasm-pack`.
|
|
9
9
|
|
|
10
|
-
Licensed under Apache-2.0.
|
|
10
|
+
Licensed under either of Apache-2.0 or MIT, at your option.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tapewasm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Compile an autodiff tape to a WebAssembly module and sample it with nuts-rs, in the browser.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"./pkg/*": "./pkg/*"
|
|
15
15
|
},
|
|
16
|
-
"files": ["index.js", "index.d.ts", "pkg/", "LICENSE", "README.md"],
|
|
16
|
+
"files": ["index.js", "index.d.ts", "pkg/", "LICENSE-APACHE", "LICENSE-MIT", "README.md"],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build:wasm": "make -C .. wasm"
|
|
19
19
|
},
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/habakan/tapewasm#readme",
|
|
25
25
|
"keywords": ["autodiff", "gradient", "bayesian", "mcmc", "nuts", "webassembly", "wasm"],
|
|
26
|
-
"license": "Apache-2.0"
|
|
26
|
+
"license": "MIT OR Apache-2.0"
|
|
27
27
|
}
|
package/pkg/LICENSE-MIT
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 habakan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/pkg/README.md
CHANGED
|
@@ -7,4 +7,4 @@ See the [repository](https://github.com/habakan/tapewasm) for what this is for
|
|
|
7
7
|
and how a front end uses it. The npm package of the same name is this crate
|
|
8
8
|
built with `wasm-pack`.
|
|
9
9
|
|
|
10
|
-
Licensed under Apache-2.0.
|
|
10
|
+
Licensed under either of Apache-2.0 or MIT, at your option.
|
package/pkg/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "tapewasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Compile an autodiff tape to a wasm module and sample it with nuts-rs, in the browser. The wasm-bindgen API over tapewasm-codegen.",
|
|
5
|
-
"version": "0.1.
|
|
6
|
-
"license": "Apache-2.0",
|
|
5
|
+
"version": "0.1.1",
|
|
6
|
+
"license": "MIT OR Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/habakan/tapewasm"
|
package/pkg/tapewasm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* @ts-self-types="./tapewasm.d.ts" */
|
|
2
|
-
import { aot_logp } from './snippets/tapewasm-
|
|
3
|
-
import * as import1 from "./snippets/tapewasm-
|
|
4
|
-
import * as import2 from "./snippets/tapewasm-
|
|
5
|
-
import * as import3 from "./snippets/tapewasm-
|
|
6
|
-
import * as import4 from "./snippets/tapewasm-
|
|
2
|
+
import { aot_logp } from './snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js';
|
|
3
|
+
import * as import1 from "./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js"
|
|
4
|
+
import * as import2 from "./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js"
|
|
5
|
+
import * as import3 from "./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js"
|
|
6
|
+
import * as import4 from "./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js"
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -253,7 +253,7 @@ function __wbg_get_imports() {
|
|
|
253
253
|
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
254
254
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
255
255
|
},
|
|
256
|
-
|
|
256
|
+
__wbg_aot_logp_f9a6d0f4683f5890: function(arg0, arg1, arg2, arg3) {
|
|
257
257
|
const ret = aot_logp(arg0 >>> 0, arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
258
258
|
return ret;
|
|
259
259
|
},
|
|
@@ -292,10 +292,10 @@ function __wbg_get_imports() {
|
|
|
292
292
|
return {
|
|
293
293
|
__proto__: null,
|
|
294
294
|
"./tapewasm_bg.js": import0,
|
|
295
|
-
"./snippets/tapewasm-
|
|
296
|
-
"./snippets/tapewasm-
|
|
297
|
-
"./snippets/tapewasm-
|
|
298
|
-
"./snippets/tapewasm-
|
|
295
|
+
"./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js": import1,
|
|
296
|
+
"./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js": import2,
|
|
297
|
+
"./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js": import3,
|
|
298
|
+
"./snippets/tapewasm-efcc61b460c384cc/js/aot_bridge.js": import4,
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
|
package/pkg/tapewasm_bg.wasm
CHANGED
|
Binary file
|
|
File without changes
|
|
File without changes
|
/package/pkg/snippets/{tapewasm-86b4af57c39247cc → tapewasm-efcc61b460c384cc}/js/aot_bridge.js
RENAMED
|
File without changes
|