@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.cjs.js +9 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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.
|
122
|
+
/** version: 5.2.0 */
|
119
123
|
|
120
124
|
/**
|
121
125
|
* Copyright (C) 2023 salesforce.com, inc.
|
@@ -124,7 +128,8 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
124
128
|
if (!_globalThis.lwcRuntimeFlags) {
|
125
129
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
126
130
|
}
|
127
|
-
|
131
|
+
lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE = true;
|
132
|
+
/** version: 5.2.0 */
|
128
133
|
|
129
134
|
/*
|
130
135
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -4260,5 +4265,6 @@ defineProperty(Element.prototype, '$domManual$', {
|
|
4260
4265
|
},
|
4261
4266
|
configurable: true,
|
4262
4267
|
});
|
4263
|
-
/** version: 5.
|
4268
|
+
/** version: 5.2.0 */
|
4269
|
+
}
|
4264
4270
|
//# sourceMappingURL=index.cjs.js.map
|