@thi.ng/wasm-api
Advanced tools
Comparing version 0.17.0 to 0.17.1
# Change Log | ||
- **Last updated**: 2022-10-29T20:34:04Z | ||
- **Last updated**: 2022-10-30T12:26:06Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,10 @@ | ||
### [0.17.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api@0.17.1) (2022-10-30) | ||
#### ♻️ Refactoring | ||
- update zig codegen to ignore uppercase enum config ([3258f91](https://github.com/thi-ng/umbrella/commit/3258f91)) | ||
- idiomatic zig enums are lowercase | ||
- update config docs | ||
## [0.17.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api@0.17.0) (2022-10-29) | ||
@@ -14,0 +22,0 @@ |
import { isNumber } from "@thi.ng/checks"; | ||
import { isString } from "@thi.ng/checks/is-string"; | ||
import { unsupported } from "@thi.ng/errors/unsupported"; | ||
import { defaultValue, ensureLines, enumName, isPadding, isStringSlice, isWasmString, prefixLines, withIndentation, } from "./utils.js"; | ||
import { defaultValue, ensureLines, isPadding, isStringSlice, isWasmString, prefixLines, withIndentation, } from "./utils.js"; | ||
/** | ||
@@ -31,3 +31,3 @@ * Zig code generator. Call with options and then pass to {@link generateTypes} | ||
v.doc && gen.doc(v.doc, lines, opts); | ||
line = enumName(opts, v.name); | ||
line = v.name; | ||
if (v.value != null) | ||
@@ -37,3 +37,3 @@ line += ` = ${v.value}`; | ||
else { | ||
line = enumName(opts, v); | ||
line = v; | ||
} | ||
@@ -40,0 +40,0 @@ lines.push(line + ","); |
{ | ||
"name": "@thi.ng/wasm-api", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "Generic, modular, extensible API bridge, polyglot glue code and bindings code generators for hybrid JS & WebAssembly projects", | ||
@@ -144,3 +144,3 @@ "type": "module", | ||
}, | ||
"gitHead": "0402675247b1c312e4dd3d9bc6c01af5cc837c5d\n" | ||
"gitHead": "78682fcd936495fefa1345db5a8dfd709eace2c8\n" | ||
} |
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
185235