@thi.ng/wasm-api 2.5.1 → 2.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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/bridge.js +3 -3
  3. package/package.json +11 -11
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  > [!NOTE]
10
10
 
11
- > This is one of 216 standalone projects. LLM-free, human-made and
11
+ > This is one of 217 standalone projects. LLM-free, human-made and
12
12
  > cared for software, maintained as part of the
13
13
  > [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem and
14
14
  > anti-framework.
@@ -499,7 +499,7 @@ Browser ESM import:
499
499
 
500
500
  [JSDelivr documentation](https://www.jsdelivr.com/)
501
501
 
502
- Package sizes (brotli'd, pre-treeshake): ESM: 3.37 KB
502
+ Package sizes (brotli'd, pre-treeshake): ESM: 3.38 KB
503
503
 
504
504
  ## Dependencies
505
505
 
package/bridge.js CHANGED
@@ -179,7 +179,7 @@ let WasmBridge = class {
179
179
  if (isAsyncFunction(moduleImports[id])) {
180
180
  if (!("Suspending" in WebAssembly))
181
181
  unsupportedFeature(
182
- "async function in WASM module imports"
182
+ `async function in WASM module imports: ${id}`
183
183
  );
184
184
  moduleImports[id] = new WebAssembly["Suspending"](
185
185
  moduleImports[id]
@@ -221,7 +221,7 @@ let WasmBridge = class {
221
221
  if (item != null) {
222
222
  if (!("promising" in WebAssembly))
223
223
  unsupportedFeature(
224
- "async function in WASM module exports"
224
+ `async function in WASM module exports: ${id}`
225
225
  );
226
226
  exports = {
227
227
  ...exports,
@@ -229,7 +229,7 @@ let WasmBridge = class {
229
229
  };
230
230
  } else {
231
231
  this.logger.warn(
232
- `WASM export ${id} declared as async, but missing...`
232
+ `WASM export '${id}' declared as async, but missing...`
233
233
  );
234
234
  }
235
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api",
3
- "version": "2.5.1",
3
+ "version": "2.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",
@@ -43,17 +43,17 @@
43
43
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
44
  },
45
45
  "dependencies": {
46
- "@thi.ng/api": "^8.12.27",
47
- "@thi.ng/arrays": "^2.14.25",
48
- "@thi.ng/checks": "^3.11.0",
49
- "@thi.ng/errors": "^2.6.16",
50
- "@thi.ng/hex": "^2.4.19",
51
- "@thi.ng/idgen": "^2.2.101",
52
- "@thi.ng/logger": "^3.3.10"
46
+ "@thi.ng/api": "^8.12.28",
47
+ "@thi.ng/arrays": "^2.14.26",
48
+ "@thi.ng/checks": "^3.11.1",
49
+ "@thi.ng/errors": "^2.6.17",
50
+ "@thi.ng/hex": "^2.4.20",
51
+ "@thi.ng/idgen": "^2.2.102",
52
+ "@thi.ng/logger": "^3.3.11"
53
53
  },
54
54
  "devDependencies": {
55
- "esbuild": "^0.28.1",
56
- "typedoc": "^0.28.19",
55
+ "esbuild": "^0.28.2",
56
+ "typedoc": "^0.28.20",
57
57
  "typescript": "^6.0.3"
58
58
  },
59
59
  "keywords": [
@@ -128,5 +128,5 @@
128
128
  "tag": "wasm",
129
129
  "year": 2022
130
130
  },
131
- "gitHead": "fc5518f2823fb81e712b66ec018c8c819c0a506d"
131
+ "gitHead": "57ce96457ee0b8de5b17f9d371e6707780c64bd7"
132
132
  }