@calcit/procs 0.6.0-a2 → 0.6.1

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.
@@ -303,7 +303,7 @@ let hashCirru = (base, x) => {
303
303
  return mergeValueHash(base, hashFunction(x));
304
304
  }
305
305
  else {
306
- for (let idx = 0; idx <= x.length; idx++) {
306
+ for (let idx = 0; idx < x.length; idx++) {
307
307
  base = mergeValueHash(base, hashCirru(base, x[idx]));
308
308
  }
309
309
  return base;
@@ -1,6 +1,6 @@
1
1
  var _a;
2
2
  // CALCIT VERSION
3
- export const calcit_version = "0.6.0-a2";
3
+ export const calcit_version = "0.6.1";
4
4
  import { parse } from "@cirru/parser.ts";
5
5
  import { writeCirruCode } from "@cirru/writer.ts";
6
6
  import "./js-primes.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.6.0-a2",
3
+ "version": "0.6.1",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^18.0.6",
@@ -335,7 +335,7 @@ let hashCirru = (base: number, x: CirruWriterNode) => {
335
335
  if (typeof x === "string") {
336
336
  return mergeValueHash(base, hashFunction(x));
337
337
  } else {
338
- for (let idx = 0; idx <= x.length; idx++) {
338
+ for (let idx = 0; idx < x.length; idx++) {
339
339
  base = mergeValueHash(base, hashCirru(base, x[idx]));
340
340
  }
341
341
  return base;
@@ -1,5 +1,5 @@
1
1
  // CALCIT VERSION
2
- export const calcit_version = "0.6.0-a2";
2
+ export const calcit_version = "0.6.1";
3
3
 
4
4
  import { parse, ICirruNode } from "@cirru/parser.ts";
5
5
  import { writeCirruCode } from "@cirru/writer.ts";
@@ -1,15 +0,0 @@
1
- > some notes about evaluating symbols
2
-
3
- There several kinds of symbols:
4
-
5
- - raw syntax symbols, `&` `?` `~` `~@`...
6
- - data symbol, probably created via `turn-symbol`
7
- - local variables
8
- - local definitions
9
- - imported variables
10
- - namespaced imported symbols
11
- - imported default variables
12
- - imported host variables
13
-
14
- Currently they are share the structure `Calcit::Symbol{..}`, which is buggy
15
- and requires refactor in future.
package/tsconfig.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "lib/",
4
- "allowSyntheticDefaultImports": true,
5
- "experimentalDecorators": true,
6
- "sourceMap": false,
7
- "noImplicitAny": true,
8
- "noImplicitThis": true,
9
- "strictNullChecks": false,
10
- "moduleResolution": "node",
11
- "module": "esnext",
12
- "target": "es2015",
13
- "jsx": "react",
14
- "lib": ["es2016", "dom"],
15
- "types": ["node"],
16
- "baseUrl": "./ts-src/",
17
- "importsNotUsedAsValues": "preserve"
18
- },
19
- "include": ["./ts-src/*"]
20
- }