@lwc/synthetic-shadow 5.1.1-alpha.0 → 5.2.0

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