@lwc/synthetic-shadow 8.28.2 → 9.0.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/dist/index.js CHANGED
@@ -195,7 +195,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
195
195
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
196
196
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
197
197
  const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
198
- /** version: 8.28.2 */
198
+ /** version: 9.0.1 */
199
199
 
200
200
  /**
201
201
  * Copyright (c) 2026 Salesforce, Inc.
@@ -203,7 +203,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
203
203
  if (!globalThis.lwcRuntimeFlags) {
204
204
  Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
205
205
  }
206
- /** version: 8.28.2 */
206
+ /** version: 9.0.1 */
207
207
 
208
208
  /*
209
209
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2957,8 +2957,6 @@ function patchedTargetGetter() {
2957
2957
  return retarget(doc, composedPath);
2958
2958
  }
2959
2959
  else if (originalCurrentTarget === doc || originalCurrentTarget === doc.body) {
2960
- // TODO [#1530]: If currentTarget is document or document.body (Third party libraries that have global event listeners)
2961
- // and the originalTarget is not a keyed element, do not retarget
2962
2960
  if (isUndefined(getNodeOwnerKey(originalTarget))) {
2963
2961
  return originalTarget;
2964
2962
  }
@@ -4362,6 +4360,6 @@ defineProperty(Element.prototype, '$domManual$', {
4362
4360
  },
4363
4361
  configurable: true,
4364
4362
  });
4365
- /** version: 8.28.2 */
4363
+ /** version: 9.0.1 */
4366
4364
  }
4367
4365
  //# sourceMappingURL=index.js.map
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": "8.28.2",
7
+ "version": "9.0.1",
8
8
  "description": "Synthetic Shadow Root for LWC",
9
9
  "keywords": [
10
10
  "lwc"
@@ -19,13 +19,17 @@
19
19
  "url": "https://github.com/salesforce/lwc/issues"
20
20
  },
21
21
  "license": "MIT",
22
+ "type": "module",
22
23
  "publishConfig": {
23
24
  "access": "public"
24
25
  },
26
+ "engines": {
27
+ "node": ">=16.6.0"
28
+ },
25
29
  "volta": {
26
30
  "extends": "../../../package.json"
27
31
  },
28
- "main": "dist/index.cjs.js",
32
+ "main": "dist/index.js",
29
33
  "module": "dist/index.js",
30
34
  "types": "dist/index.d.ts",
31
35
  "files": [
@@ -46,8 +50,8 @@
46
50
  }
47
51
  },
48
52
  "devDependencies": {
49
- "@lwc/features": "8.28.2",
50
- "@lwc/shared": "8.28.2"
53
+ "@lwc/features": "9.0.1",
54
+ "@lwc/shared": "9.0.1"
51
55
  },
52
56
  "lwc": {
53
57
  "modules": [