@thi.ng/wasm-api-bindgen
Advanced tools
Comparing version 0.3.8 to 0.4.0
# Change Log | ||
- **Last updated**: 2023-03-14T13:27:20Z | ||
- **Last updated**: 2023-03-27T19:05:48Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-bindgen@0.4.0) (2023-03-27) | ||
#### 🚀 Features | ||
- update codegen for TS 5.0 ([93bf2e2](https://github.com/thi-ng/umbrella/commit/93bf2e2)) | ||
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-bindgen@0.3.0) (2023-02-05) | ||
@@ -14,0 +20,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { flag, oneOf, oneOfMulti, parse, ParseError, string, strings, usage, } from "@thi.ng/args"; | ||
import { ParseError, flag, oneOf, oneOfMulti, parse, string, strings, usage, } from "@thi.ng/args"; | ||
import { isArray, isPlainObject, isString } from "@thi.ng/checks"; | ||
@@ -8,6 +8,6 @@ import { illegalArgs } from "@thi.ng/errors"; | ||
import { dirname, resolve } from "path"; | ||
import { C11 } from "./c11.js"; | ||
import { generateTypes } from "./codegen.js"; | ||
import { C11 } from "./c11.js"; | ||
import { isOpaque, isPadding, isSizeT, isWasmPrim, isWasmString, } from "./internal/utils.js"; | ||
import { TYPESCRIPT } from "./typescript.js"; | ||
import { isOpaque, isPadding, isSizeT, isWasmPrim, isWasmString, } from "./internal/utils.js"; | ||
import { ZIG } from "./zig.js"; | ||
@@ -14,0 +14,0 @@ const GENERATORS = { c11: C11, ts: TYPESCRIPT, zig: ZIG }; |
@@ -1,2 +0,2 @@ | ||
import { CodeGenOpts, ICodeGen, TypeColl } from "./api.js"; | ||
import { type CodeGenOpts, type ICodeGen, type TypeColl } from "./api.js"; | ||
export declare const DEFAULT_CODEGEN_OPTS: CodeGenOpts; | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@thi.ng/wasm-api-bindgen", | ||
"version": "0.3.8", | ||
"version": "0.4.0", | ||
"description": "Polyglot bindings code generators for hybrid JS & WebAssembly projects", | ||
@@ -39,23 +39,23 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.7.4", | ||
"@thi.ng/args": "^2.2.22", | ||
"@thi.ng/arrays": "^2.5.8", | ||
"@thi.ng/binary": "^3.3.21", | ||
"@thi.ng/checks": "^3.3.10", | ||
"@thi.ng/compare": "^2.1.27", | ||
"@thi.ng/defmulti": "^2.1.33", | ||
"@thi.ng/errors": "^2.2.13", | ||
"@thi.ng/file-io": "^0.5.6", | ||
"@thi.ng/logger": "^1.4.11", | ||
"@thi.ng/paths": "^5.1.33", | ||
"@thi.ng/strings": "^3.4.2", | ||
"@thi.ng/wasm-api": "^1.4.4" | ||
"@thi.ng/api": "^8.7.5", | ||
"@thi.ng/args": "^2.2.23", | ||
"@thi.ng/arrays": "^2.5.9", | ||
"@thi.ng/binary": "^3.3.22", | ||
"@thi.ng/checks": "^3.3.11", | ||
"@thi.ng/compare": "^2.1.28", | ||
"@thi.ng/defmulti": "^2.1.34", | ||
"@thi.ng/errors": "^2.2.14", | ||
"@thi.ng/file-io": "^0.5.7", | ||
"@thi.ng/logger": "^1.4.12", | ||
"@thi.ng/paths": "^5.1.34", | ||
"@thi.ng/strings": "^3.4.3", | ||
"@thi.ng/wasm-api": "^1.4.5" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.34.4", | ||
"@thi.ng/testament": "^0.3.13", | ||
"rimraf": "^4.4.0", | ||
"@thi.ng/testament": "^0.3.14", | ||
"rimraf": "^4.4.1", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.23.26", | ||
"typescript": "^4.9.5" | ||
"typedoc": "^0.23.28", | ||
"typescript": "^5.0.2" | ||
}, | ||
@@ -124,3 +124,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "cc46c097a3a173fb1ef41f57a858d03037063141\n" | ||
"gitHead": "83b15b34326d480cbca0472b20390d4d3bbb792a\n" | ||
} |
@@ -737,3 +737,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
Package sizes (brotli'd, pre-treeshake): ESM: 5.96 KB | ||
Package sizes (brotli'd, pre-treeshake): ESM: 5.97 KB | ||
@@ -740,0 +740,0 @@ ## Dependencies |
@@ -30,3 +30,3 @@ import { BIGINT_ARRAY_CTORS, BIT_SHIFTS, TYPEDARRAY_CTORS, } from "@thi.ng/api/typedarray"; | ||
"// @ts-ignore possibly includes unused imports", | ||
`import { MemorySlice, Pointer, ${__stringImpl(globalOpts)}, WasmTypeBase, WasmTypeConstructor } from "@thi.ng/wasm-api";`, | ||
`import { Pointer, ${__stringImpl(globalOpts)}, type MemorySlice, type WasmTypeBase, type WasmTypeConstructor } from "@thi.ng/wasm-api";`, | ||
]; | ||
@@ -33,0 +33,0 @@ if (opts.pre) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135026
Updated@thi.ng/api@^8.7.5
Updated@thi.ng/args@^2.2.23
Updated@thi.ng/arrays@^2.5.9
Updated@thi.ng/binary@^3.3.22
Updated@thi.ng/checks@^3.3.11
Updated@thi.ng/compare@^2.1.28
Updated@thi.ng/defmulti@^2.1.34
Updated@thi.ng/errors@^2.2.14
Updated@thi.ng/file-io@^0.5.7
Updated@thi.ng/logger@^1.4.12
Updated@thi.ng/paths@^5.1.34
Updated@thi.ng/strings@^3.4.3
Updated@thi.ng/wasm-api@^1.4.5