@calcit/procs 0.8.55 → 0.8.57
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/README.md +1 -1
- package/lib/js-cirru.mjs +2 -3
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/ts-src/js-cirru.mts +2 -3
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ cargo install calcit
|
|
|
35
35
|
- `caps`, for downloading dependencies declared in `deps.cirru`
|
|
36
36
|
- `bundle_calcit`, bundle code if you don't want to use Calcit Editor
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
To use Calcit in GitHub Actions, try [setup-cr](https://github.com/calcit-lang/setup-cr).
|
|
39
39
|
|
|
40
40
|
### Usage
|
|
41
41
|
|
package/lib/js-cirru.mjs
CHANGED
|
@@ -219,9 +219,8 @@ export let extract_cirru_edn = (x, options) => {
|
|
|
219
219
|
if (x.match(/^(-?)\d+(\.\d*$)?/)) {
|
|
220
220
|
return parseFloat(x);
|
|
221
221
|
}
|
|
222
|
-
//
|
|
223
|
-
|
|
224
|
-
return x;
|
|
222
|
+
// strict behavior as Rust semantics
|
|
223
|
+
throw new Error("unknown syntax for EDN");
|
|
225
224
|
}
|
|
226
225
|
if (x instanceof Array) {
|
|
227
226
|
if (x.length === 0) {
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
package/ts-src/js-cirru.mts
CHANGED
|
@@ -216,9 +216,8 @@ export let extract_cirru_edn = (x: CirruEdnFormat, options: CalcitValue): Calcit
|
|
|
216
216
|
if (x.match(/^(-?)\d+(\.\d*$)?/)) {
|
|
217
217
|
return parseFloat(x);
|
|
218
218
|
}
|
|
219
|
-
//
|
|
220
|
-
|
|
221
|
-
return x;
|
|
219
|
+
// strict behavior as Rust semantics
|
|
220
|
+
throw new Error("unknown syntax for EDN");
|
|
222
221
|
}
|
|
223
222
|
if (x instanceof Array) {
|
|
224
223
|
if (x.length === 0) {
|