@calcit/procs 0.6.18 → 0.6.20
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.procs.mjs +3 -2
- package/package.json +1 -1
- package/ts-src/calcit.procs.mts +3 -2
package/lib/calcit.procs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
// CALCIT VERSION
|
|
3
|
-
export const calcit_version = "0.6.
|
|
3
|
+
export const calcit_version = "0.6.20";
|
|
4
4
|
import { parse } from "@cirru/parser.ts";
|
|
5
5
|
import { writeCirruCode } from "@cirru/writer.ts";
|
|
6
6
|
import "./js-primes.mjs";
|
|
@@ -544,7 +544,8 @@ let idCounter = 0;
|
|
|
544
544
|
export let generate_id_$x_ = () => {
|
|
545
545
|
// TODO use nanoid.. this code is wrong
|
|
546
546
|
idCounter = idCounter + 1;
|
|
547
|
-
|
|
547
|
+
let time = Date.now();
|
|
548
|
+
return `gen_id_${idCounter}_${time}`;
|
|
548
549
|
};
|
|
549
550
|
export let _$n_display_stack = () => {
|
|
550
551
|
console.trace();
|
package/package.json
CHANGED
package/ts-src/calcit.procs.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// CALCIT VERSION
|
|
2
|
-
export const calcit_version = "0.6.
|
|
2
|
+
export const calcit_version = "0.6.20";
|
|
3
3
|
|
|
4
4
|
import { parse, ICirruNode } from "@cirru/parser.ts";
|
|
5
5
|
import { writeCirruCode } from "@cirru/writer.ts";
|
|
@@ -614,7 +614,8 @@ let idCounter = 0;
|
|
|
614
614
|
export let generate_id_$x_ = (): string => {
|
|
615
615
|
// TODO use nanoid.. this code is wrong
|
|
616
616
|
idCounter = idCounter + 1;
|
|
617
|
-
|
|
617
|
+
let time = Date.now();
|
|
618
|
+
return `gen_id_${idCounter}_${time}`;
|
|
618
619
|
};
|
|
619
620
|
|
|
620
621
|
export let _$n_display_stack = (): null => {
|