@lwc/engine-core 2.7.0 → 2.7.1

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.
@@ -3773,10 +3773,6 @@ function createComponentDef(Ctor) {
3773
3773
 
3774
3774
  shared.assert.isTrue(Ctor.constructor, `Missing ${ctorName}.constructor, ${ctorName} should have a "constructor" property.`);
3775
3775
 
3776
- if (!features.runtimeFlags.ENABLE_MIXED_SHADOW_MODE) {
3777
- shared.assert.isFalse('shadowSupportMode' in Ctor, `${ctorName || 'Anonymous class'} is an invalid LWC component. The shadowSupportMode static property is not available in this environment.`);
3778
- }
3779
-
3780
3776
  if (!shared.isUndefined(ctorShadowSupportMode)) {
3781
3777
  shared.assert.invariant(ctorShadowSupportMode === "any"
3782
3778
  /* Any */
@@ -7221,4 +7217,4 @@ exports.swapTemplate = swapTemplate;
7221
7217
  exports.track = track;
7222
7218
  exports.unwrap = unwrap;
7223
7219
  exports.wire = wire;
7224
- /* version: 2.7.0 */
7220
+ /* version: 2.7.1 */
@@ -3770,10 +3770,6 @@ function createComponentDef(Ctor) {
3770
3770
 
3771
3771
  assert.isTrue(Ctor.constructor, `Missing ${ctorName}.constructor, ${ctorName} should have a "constructor" property.`);
3772
3772
 
3773
- if (!runtimeFlags.ENABLE_MIXED_SHADOW_MODE) {
3774
- assert.isFalse('shadowSupportMode' in Ctor, `${ctorName || 'Anonymous class'} is an invalid LWC component. The shadowSupportMode static property is not available in this environment.`);
3775
- }
3776
-
3777
3773
  if (!isUndefined$1(ctorShadowSupportMode)) {
3778
3774
  assert.invariant(ctorShadowSupportMode === "any"
3779
3775
  /* Any */
@@ -7185,4 +7181,4 @@ function setHooks(hooks) {
7185
7181
  }
7186
7182
 
7187
7183
  export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, connectRootElement, createContextProvider, createVM, disconnectRootElement, getAssociatedVMIfPresent, getComponentDef, getComponentInternalDef, getUpgradableConstructor, hydrateRootElement, isComponentConstructor, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
7188
- /* version: 2.7.0 */
7184
+ /* version: 2.7.1 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lwc/engine-core",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Core LWC engine APIs.",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
@@ -24,8 +24,8 @@
24
24
  "types/"
25
25
  ],
26
26
  "dependencies": {
27
- "@lwc/features": "2.7.0",
28
- "@lwc/shared": "2.7.0"
27
+ "@lwc/features": "2.7.1",
28
+ "@lwc/shared": "2.7.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "observable-membrane": "2.0.0"
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "656663a9f95f90bd648c6fc2200201afc0156393"
36
+ "gitHead": "1b2e246e03c6bfbc80bea3def43b7d0281a1de21"
37
37
  }