@lexical/utils 0.10.0 → 0.11.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/LexicalUtils.dev.js +1 -1
- package/index.d.ts +1 -1
- package/package.json +5 -5
package/LexicalUtils.dev.js
CHANGED
|
@@ -200,7 +200,7 @@ function $getNearestNodeOfType(node, klass) {
|
|
|
200
200
|
return null;
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
-
*Returns the element node of the nearest ancestor, otherwise throws an error.
|
|
203
|
+
* Returns the element node of the nearest ancestor, otherwise throws an error.
|
|
204
204
|
* @param startNode - The starting node of the search
|
|
205
205
|
* @returns The ancestor node found
|
|
206
206
|
*/
|
package/index.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export declare function $dfs(startingNode?: LexicalNode, endingNode?: LexicalNod
|
|
|
74
74
|
*/
|
|
75
75
|
export declare function $getNearestNodeOfType<T extends ElementNode>(node: LexicalNode, klass: Klass<T>): T | null;
|
|
76
76
|
/**
|
|
77
|
-
*Returns the element node of the nearest ancestor, otherwise throws an error.
|
|
77
|
+
* Returns the element node of the nearest ancestor, otherwise throws an error.
|
|
78
78
|
* @param startNode - The starting node of the search
|
|
79
79
|
* @returns The ancestor node found
|
|
80
80
|
*/
|
package/package.json
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"utils"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.11.1",
|
|
12
12
|
"main": "LexicalUtils.js",
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"lexical": "0.
|
|
14
|
+
"lexical": "0.11.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@lexical/list": "0.
|
|
18
|
-
"@lexical/table": "0.
|
|
19
|
-
"@lexical/selection": "0.
|
|
17
|
+
"@lexical/list": "0.11.1",
|
|
18
|
+
"@lexical/table": "0.11.1",
|
|
19
|
+
"@lexical/selection": "0.11.1"
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|