@wllzhang/afsim-compiler 0.5.4 → 0.5.7
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/index.mjs +1 -1
- package/package.json +1 -1
- package/pkg/afsim_compiler_lib.js +9 -0
- package/pkg/{afsim_compiler_bg.js → afsim_compiler_lib_bg.js} +9 -0
- package/pkg/afsim_compiler_lib_bg.wasm +0 -0
- package/pkg/package.json +7 -7
- package/pkg/afsim_compiler.js +0 -9
- package/pkg/afsim_compiler_bg.wasm +0 -0
- /package/pkg/{afsim_compiler.d.ts → afsim_compiler_lib.d.ts} +0 -0
- /package/pkg/{afsim_compiler_bg.wasm.d.ts → afsim_compiler_lib_bg.wasm.d.ts} +0 -0
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -21,6 +21,15 @@ export function compile_json(input) {
|
|
|
21
21
|
wasm.__wbindgen_export3(deferred2_0, deferred2_1, 1);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
export function __wbg_error_7c5f5b5154c052d7(arg0, arg1) {
|
|
25
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
26
|
+
}
|
|
27
|
+
export function __wbg_log_7d8110815355c340(arg0, arg1) {
|
|
28
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
29
|
+
}
|
|
30
|
+
export function __wbg_warn_f2f01bad85a87234(arg0, arg1) {
|
|
31
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
32
|
+
}
|
|
24
33
|
let cachedDataViewMemory0 = null;
|
|
25
34
|
function getDataViewMemory0() {
|
|
26
35
|
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
Binary file
|
package/pkg/package.json
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
"description": "JSON to AFSIM DSL compiler",
|
|
5
5
|
"version": "0.1.0",
|
|
6
6
|
"files": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
7
|
+
"afsim_compiler_lib_bg.wasm",
|
|
8
|
+
"afsim_compiler_lib.js",
|
|
9
|
+
"afsim_compiler_lib_bg.js",
|
|
10
|
+
"afsim_compiler_lib.d.ts"
|
|
11
11
|
],
|
|
12
|
-
"main": "
|
|
13
|
-
"types": "
|
|
12
|
+
"main": "afsim_compiler_lib.js",
|
|
13
|
+
"types": "afsim_compiler_lib.d.ts",
|
|
14
14
|
"sideEffects": [
|
|
15
|
-
"./
|
|
15
|
+
"./afsim_compiler_lib.js",
|
|
16
16
|
"./snippets/*"
|
|
17
17
|
]
|
|
18
18
|
}
|
package/pkg/afsim_compiler.js
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|