@calcit/procs 0.13.5 → 0.13.6
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/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Untyped FFI access warning and JS codegen readability
|
|
2
|
+
|
|
3
|
+
- Added opt-in `W_JS_FFI_UNTYPED_ACCESS` diagnostic (enabled with
|
|
4
|
+
`--warn-dyn-method`): raw `.-`/`.!`/`aget`/`aset`/`js-get`/`js-set` on a bare
|
|
5
|
+
`JsObject` receiver with a literal key now suggests declaring an
|
|
6
|
+
external-object trait. Dynamic keys and typed/ nullable receivers are
|
|
7
|
+
skipped; silent by default.
|
|
8
|
+
- Improved generated JavaScript readability without a real formatter: function
|
|
9
|
+
bodies and nested statement blocks are indented one level (reusing
|
|
10
|
+
`indent_block`, O(n)), top-level functions are separated by a blank line, and
|
|
11
|
+
a stray-space typo in raised-error codegen was fixed.
|
|
12
|
+
- Documented both in `docs/features/js-interop.md` and the repo `Agents.md`.
|
|
13
|
+
|
|
14
|
+
Validation:
|
|
15
|
+
|
|
16
|
+
- `cargo test -q`(366 lib + 192 integration)
|
|
17
|
+
- `cargo clippy --lib --bin cr -- -D warnings`
|
|
18
|
+
- `cargo fmt --check`
|
|
19
|
+
- `yarn compile` / `yarn check-all`
|
|
20
|
+
- `yarn check-agent-interface`
|
|
21
|
+
- `cr docs check-md docs/features/js-interop.md --entry calcit/test.cirru`
|
|
22
|
+
- Respo: `cr js` + `yarn test`
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Release 0.13.6
|
|
2
|
+
|
|
3
|
+
- Bumped the Calcit package versions in `Cargo.toml`, `package.json`, and
|
|
4
|
+
`Cargo.lock` from 0.13.5 to 0.13.6.
|
|
5
|
+
- Releases the opt-in `W_JS_FFI_UNTYPED_ACCESS` warning (behind
|
|
6
|
+
`--warn-dyn-method`) for untyped raw JS FFI access on bare `JsObject`, plus
|
|
7
|
+
the cheap JS codegen readability improvements (line-based indentation, blank
|
|
8
|
+
lines between top-level functions, verbatim `&raw-code` preservation).
|
|
9
|
+
- Verified with formatting, tests, clippy, compilation, full checks, agent
|
|
10
|
+
interface smoke checks, and Markdown example checks.
|
package/lib/package.json
CHANGED