@lwc/synthetic-shadow 6.2.0 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/faux-shadow/events.d.ts +1 -0
- package/dist/faux-shadow/no-patch-utils.d.ts +2 -0
- package/dist/faux-shadow/node.d.ts +1 -0
- package/dist/index.cjs.js +153 -54
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +153 -54
- package/dist/index.js.map +1 -1
- package/dist/shared/node-ownership.d.ts +1 -0
- package/dist/shared/utils.d.ts +1 -0
- package/package.json +3 -3
@@ -7,5 +7,6 @@ export declare function getNodeKey(node: Node): number | undefined;
|
|
7
7
|
* This function does not traverse up for performance reasons, but is sufficient for most use
|
8
8
|
* cases. If we need to traverse up and verify those nodes that don't have owner key, use
|
9
9
|
* isNodeDeepShadowed instead.
|
10
|
+
* @param node
|
10
11
|
*/
|
11
12
|
export declare function isNodeShadowed(node: Node): boolean;
|
package/dist/shared/utils.d.ts
CHANGED
@@ -4,6 +4,7 @@ export declare function isGlobalPatchingSkipped(node: Node): boolean;
|
|
4
4
|
/**
|
5
5
|
* This utility should be used to convert NodeList and HTMLCollection into an array before we
|
6
6
|
* perform array operations on them. See issue #1545 for more details.
|
7
|
+
* @param collection
|
7
8
|
*/
|
8
9
|
export declare function arrayFromCollection<T extends NodeList>(collection: T): T extends NodeListOf<infer U> ? U[] : Node[];
|
9
10
|
export declare function arrayFromCollection<T extends HTMLCollection>(collection: T): T extends HTMLCollectionOf<infer U> ? U[] : Element[];
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
5
5
|
],
|
6
6
|
"name": "@lwc/synthetic-shadow",
|
7
|
-
"version": "6.2.
|
7
|
+
"version": "6.2.1",
|
8
8
|
"description": "Synthetic Shadow Root for LWC",
|
9
9
|
"keywords": [
|
10
10
|
"lwc"
|
@@ -42,8 +42,8 @@
|
|
42
42
|
}
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@lwc/features": "6.2.
|
46
|
-
"@lwc/shared": "6.2.
|
45
|
+
"@lwc/features": "6.2.1",
|
46
|
+
"@lwc/shared": "6.2.1"
|
47
47
|
},
|
48
48
|
"lwc": {
|
49
49
|
"modules": [
|