node_modules: upgrade

This commit is contained in:
Dawid Dziurla
2024-01-17 10:08:10 +01:00
parent 9ff0bc8d99
commit 00765f79cf
320 changed files with 31840 additions and 1039 deletions

View File

@@ -1,6 +1,5 @@
import type { Document } from '../doc/Document.js';
import type { stringify } from '../stringify/stringify.js';
import { Node } from './Node.js';
import type { Node } from './Node.js';
export interface AnchorData {
aliasCount: number;
count: number;
@@ -8,14 +7,12 @@ export interface AnchorData {
}
export interface ToJSContext {
anchors: Map<Node, AnchorData>;
doc: Document;
doc: Document<Node, boolean>;
keep: boolean;
mapAsMap: boolean;
mapKeyWarned: boolean;
maxAliasCount: number;
onCreate?: (res: unknown) => void;
/** Requiring this directly in Pair would create circular dependencies */
stringify: typeof stringify;
}
/**
* Recursively convert any node or its contents to native JavaScript