@lwc/synthetic-shadow 5.1.1-alpha.0 → 5.2.0
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.cjs.js +8 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
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.
|
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.
|
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.
|
4265
|
+
/** version: 5.2.0 */
|
4266
|
+
}
|
4262
4267
|
//# sourceMappingURL=index.js.map
|