@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 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
- For Ubuntu latest, try binaries from [Releases](https://github.com/calcit-lang/calcit/releases), which are provided for [CI usages](https://github.com/calcit-lang/respo-calcit-workflow/blob/main/.github/workflows/upload.yaml#L28-L37).
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
- // allow things cannot be parsed accepted as raw strings
223
- // turned on since Cirru nodes passed from macros uses this
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.8.55",
3
+ "version": "0.8.57",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^20.11.28",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.8.55",
3
+ "version": "0.8.57",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^20.11.28",
@@ -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
- // allow things cannot be parsed accepted as raw strings
220
- // turned on since Cirru nodes passed from macros uses this
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) {