@lwc/synthetic-shadow 5.1.1-alpha.0 → 5.2.1-alpha.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,8 @@ 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
+ lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE = true;
130
+ /** version: 5.2.0 */
126
131
 
127
132
  /*
128
133
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4258,5 +4263,6 @@ defineProperty(Element.prototype, '$domManual$', {
4258
4263
  },
4259
4264
  configurable: true,
4260
4265
  });
4261
- /** version: 5.1.0 */
4266
+ /** version: 5.2.0 */
4267
+ }
4262
4268
  //# sourceMappingURL=index.js.map