@lwc/synthetic-shadow 5.1.0 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1,6 +1,10 @@
1
1
  /**
2
2
  * Copyright (C) 2023 salesforce.com, inc.
3
3
  */
4
+ if (!globalThis.lwcRuntimeFlags) {
5
+ Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: Object.create(null) });
6
+ }
7
+ if (!lwcRuntimeFlags.ENABLE_FORCE_SHADOW_MIGRATE_MODE) {
4
8
  /**
5
9
  * Copyright (C) 2023 salesforce.com, inc.
6
10
  */
@@ -113,7 +117,7 @@ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
113
117
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
114
118
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
115
119
  const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
116
- /** version: 5.1.0 */
120
+ /** version: 5.2.0 */
117
121
 
118
122
  /**
119
123
  * Copyright (C) 2023 salesforce.com, inc.
@@ -122,7 +126,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
122
126
  if (!_globalThis.lwcRuntimeFlags) {
123
127
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
124
128
  }
125
- /** version: 5.1.0 */
129
+ /** version: 5.2.0 */
126
130
 
127
131
  /*
128
132
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4258,5 +4262,6 @@ defineProperty(Element.prototype, '$domManual$', {
4258
4262
  },
4259
4263
  configurable: true,
4260
4264
  });
4261
- /** version: 5.1.0 */
4265
+ /** version: 5.2.0 */
4266
+ }
4262
4267
  //# sourceMappingURL=index.js.map