mol_vary 0.0.58 → 0.0.60
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/node.d.ts +1 -1
- package/node.js +1 -1
- package/node.js.map +1 -1
- package/node.mjs +1 -1
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
- package/web.mjs +1 -1
- package/web.test.js +1 -1
- package/web.test.js.map +1 -1
package/README.md
CHANGED
package/node.d.ts
CHANGED
|
@@ -561,7 +561,7 @@ declare namespace $ {
|
|
|
561
561
|
pack(data: readonly unknown[]): Uint8Array<ArrayBuffer>;
|
|
562
562
|
take(array: Uint8Array<ArrayBuffer>): unknown;
|
|
563
563
|
rich_index: Map<string | null, any>;
|
|
564
|
-
|
|
564
|
+
zone(): $mol_vary_class;
|
|
565
565
|
rich_node(keys: readonly string[]): Map<string | null, any>;
|
|
566
566
|
lean_find(val: any): any;
|
|
567
567
|
type<const Instance extends object, const Keys extends readonly any[], const Vals extends readonly any[]>({ type, keys, rich, lean }: {
|
package/node.js
CHANGED
|
@@ -2823,7 +2823,7 @@ var $;
|
|
|
2823
2823
|
rich_index = new Map([
|
|
2824
2824
|
[null, () => ({})]
|
|
2825
2825
|
]);
|
|
2826
|
-
|
|
2826
|
+
zone() {
|
|
2827
2827
|
const room = new $mol_vary_class;
|
|
2828
2828
|
Object.setPrototypeOf(room, this);
|
|
2829
2829
|
const index_clone = (map) => new Map([...map].map(([k, v]) => [k, k === null ? v : index_clone(v)]));
|