@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.
- package/lib/calcit-data.mjs +1 -1
- package/lib/calcit.procs.mjs +1 -1
- package/package.json +1 -1
- package/ts-src/calcit-data.mts +1 -1
- package/ts-src/calcit.procs.mts +1 -1
- package/docs/symbol-spec.md +0 -15
- package/tsconfig.json +0 -20
package/lib/calcit-data.mjs
CHANGED
|
@@ -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
|
|
306
|
+
for (let idx = 0; idx < x.length; idx++) {
|
|
307
307
|
base = mergeValueHash(base, hashCirru(base, x[idx]));
|
|
308
308
|
}
|
|
309
309
|
return base;
|
package/lib/calcit.procs.mjs
CHANGED
package/package.json
CHANGED
package/ts-src/calcit-data.mts
CHANGED
|
@@ -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
|
|
338
|
+
for (let idx = 0; idx < x.length; idx++) {
|
|
339
339
|
base = mergeValueHash(base, hashCirru(base, x[idx]));
|
|
340
340
|
}
|
|
341
341
|
return base;
|
package/ts-src/calcit.procs.mts
CHANGED
package/docs/symbol-spec.md
DELETED
|
@@ -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
|
-
}
|