@mirascript/wasm 0.1.61 → 0.1.62-alpha.11

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CloudPSS
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/lib/wasm.js CHANGED
@@ -357,11 +357,10 @@ export function compile_buffer(script, config) {
357
357
  export function main() {
358
358
  wasm.main();
359
359
  }
360
-
361
360
  function __wbg_get_imports() {
362
361
  const import0 = {
363
362
  __proto__: null,
364
- __wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
363
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
365
364
  throw new Error(getStringFromWasm0(arg0, arg1));
366
365
  },
367
366
  __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
package/lib/wasm_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirascript/wasm",
3
- "version": "0.1.61",
3
+ "version": "0.1.62-alpha.11",
4
4
  "author": "CloudPSS",
5
5
  "license": "MIT",
6
6
  "description": "MiraScript compiler for WebAssembly",
@@ -17,15 +17,15 @@
17
17
  }
18
18
  },
19
19
  "devDependencies": {
20
- "@types/node": "^25.5.2",
20
+ "@types/node": "^25.6.0",
21
21
  "nodemon": "^3.1.14",
22
- "@mirascript/constants": "~0.1.61"
22
+ "@mirascript/constants": "~0.1.62-alpha.11"
23
23
  },
24
24
  "scripts": {
25
25
  "wasm": "wasm-pack build --target web --out-dir ../../packages/wasm/lib --no-pack ../../crates/wasm",
26
26
  "watch": "nodemon -e rs,js,ts --watch ../../crates/wasm --watch ../../crates/core --watch ./src --exec 'pnpm build:dev'",
27
- "build:dev": "pnpm wasm --dev && tsc",
28
- "build": "pnpm wasm --release && tsc",
27
+ "build:dev": "pnpm wasm --dev && tsc && rimraf lib/.gitignore",
28
+ "build": "pnpm wasm --release && tsc && rimraf lib/.gitignore",
29
29
  "clean": "rimraf dist lib"
30
30
  }
31
31
  }