@thi.ng/wasm-api 1.5.1 → 1.5.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-04-22T10:34:01Z
3
+ - **Last updated**: 2024-04-23T07:02:17Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -474,7 +474,7 @@ folder):
474
474
  # compile WASM binary (zig v0.12)
475
475
  zig build-exe \
476
476
  -fno-entry -fstrip -OReleaseSmall -target wasm32-freestanding \
477
- --name main -rdynamic --import-symbols \
477
+ --name hello -rdynamic --import-symbols \
478
478
  --dep wasm-api \
479
479
  -Mroot=hello.zig \
480
480
  -Mwasm-api=node_modules/@thi.ng/wasm-api/zig/lib.zig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -27,7 +27,7 @@
27
27
  "build": "yarn build:esbuild && yarn build:decl",
28
28
  "build:decl": "tsc --declaration --emitDeclarationOnly",
29
29
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
30
- "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
30
+ "clean": "bun ../../tools/src/clean-package.ts",
31
31
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
32
32
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
33
33
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
@@ -37,18 +37,17 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/api": "^8.11.0",
41
- "@thi.ng/arrays": "^2.9.4",
42
- "@thi.ng/checks": "^3.6.2",
43
- "@thi.ng/errors": "^2.5.5",
44
- "@thi.ng/hex": "^2.3.44",
45
- "@thi.ng/idgen": "^2.2.39",
46
- "@thi.ng/logger": "^3.0.10"
40
+ "@thi.ng/api": "^8.11.1",
41
+ "@thi.ng/arrays": "^2.9.5",
42
+ "@thi.ng/checks": "^3.6.3",
43
+ "@thi.ng/errors": "^2.5.6",
44
+ "@thi.ng/hex": "^2.3.45",
45
+ "@thi.ng/idgen": "^2.2.40",
46
+ "@thi.ng/logger": "^3.0.11"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@microsoft/api-extractor": "^7.43.0",
50
50
  "esbuild": "^0.20.2",
51
- "rimraf": "^5.0.5",
52
51
  "typedoc": "^0.25.12",
53
52
  "typescript": "^5.4.3"
54
53
  },
@@ -116,5 +115,5 @@
116
115
  "status": "alpha",
117
116
  "year": 2022
118
117
  },
119
- "gitHead": "7d3339310c56ac7fd3572fb3487b6f34f1de57ca\n"
118
+ "gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n"
120
119
  }
@@ -1,8 +1,10 @@
1
1
  //! DEPRECATED build helpers for using modules/packages distributed via NPM
2
2
  //! Intended for use with https://thi.ng/wasm-api and support packages
3
3
  //!
4
- //! This version of the script is only compatible with Zig v0.10.1 or older
5
- //! Use build-v0.11.zig (in this same directory) for newer Zig versions
4
+ //! This version of the script is only compatible with:
5
+ //! Zig v0.10.1 or older
6
+ //!
7
+ //! Use other build.zig files in this same directory for newer Zig versions
6
8
 
7
9
  const std = @import("std");
8
10
 
@@ -1,10 +1,10 @@
1
- //! Build helpers for using modules/packages distributed via NPM
1
+ //! DEPRECATED build helpers for using modules/packages distributed via NPM
2
2
  //! Intended for use with https://thi.ng/wasm-api and support packages
3
3
  //!
4
4
  //! This version of the script is only compatible with:
5
- //! Zig 0.11.0-dev.3857+7322aa118 or newer
5
+ //! Zig v0.11.0
6
6
  //!
7
- //! Use build.zig (in this same directory) for earlier Zig versions
7
+ //! Use other build.zig files in this same directory for other Zig versions
8
8
 
9
9
  const std = @import("std");
10
10
  const Build = std.Build;
package/zig/build.zig CHANGED
@@ -2,9 +2,9 @@
2
2
  //! Intended for use with https://thi.ng/wasm-api and support packages
3
3
  //!
4
4
  //! This version of the script is only compatible with:
5
- //! Zig 0.11.0-dev.3857+7322aa118 or newer
5
+ //! Zig v0.12.0 or newer
6
6
  //!
7
- //! Use build.zig (in this same directory) for earlier Zig versions
7
+ //! Use other build.zig files in this same directory for older Zig versions
8
8
 
9
9
  const std = @import("std");
10
10
  const Build = std.Build;
File without changes
File without changes
File without changes
File without changes
File without changes