@lwc/engine-core 2.44.0 → 2.45.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.
@@ -3142,15 +3142,6 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
3142
3142
  // the stylesheet, while internally, we have a replacement for it.
3143
3143
  stylesheet = getStyleOrSwappedStyle(stylesheet);
3144
3144
  }
3145
- // Check that this stylesheet was generated by our compiler
3146
- if (!isStylesheetRegistered(stylesheet)) {
3147
- if (process.env.NODE_ENV !== 'production') {
3148
- logWarnOnce(`TypeError: Unexpected LWC stylesheet content found for component <${vm.tagName.toLowerCase()}>.`);
3149
- }
3150
- report("UnexpectedStylesheetContent" /* ReportingEventId.UnexpectedStylesheetContent */, {
3151
- tagName: vm.tagName.toLowerCase(),
3152
- });
3153
- }
3154
3145
  const isScopedCss = stylesheet[KEY__SCOPED_CSS];
3155
3146
  if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS &&
3156
3147
  !isScopedCss &&
@@ -3271,18 +3262,6 @@ function createStylesheet(vm, stylesheets) {
3271
3262
  }
3272
3263
  return null;
3273
3264
  }
3274
- const signedStylesheetSet = new Set();
3275
- /**
3276
- * INTERNAL: This function can only be invoked by compiled code. The compiler
3277
- * will prevent this function from being imported by userland code.
3278
- */
3279
- function registerStylesheet(stylesheet) {
3280
- signedStylesheetSet.add(stylesheet);
3281
- return stylesheet;
3282
- }
3283
- function isStylesheetRegistered(stylesheet) {
3284
- return signedStylesheetSet.has(stylesheet);
3285
- }
3286
3265
 
3287
3266
  /*
3288
3267
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6102,7 +6081,7 @@ function checkAndReportViolation(elm, prop, isSetter, setValue) {
6102
6081
  const vm = findVM(elm);
6103
6082
  if (process.env.NODE_ENV !== 'production') {
6104
6083
  logWarnOnce(`Element <${elm.tagName.toLowerCase()}> ` +
6105
- (isUndefined$1(vm) ? '' : `owned by <${vm.tagName.toLowerCase()}> `) +
6084
+ (isUndefined$1(vm) ? '' : `owned by <${vm.elm.tagName.toLowerCase()}> `) +
6106
6085
  `uses non-standard property "${prop}". This will be removed in a future version of LWC. ` +
6107
6086
  `See https://sfdc.co/deprecated-aria`);
6108
6087
  }
@@ -6861,6 +6840,6 @@ function readonly(obj) {
6861
6840
  return getReadOnlyProxy(obj);
6862
6841
  }
6863
6842
 
6864
- export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerStylesheet, registerTemplate, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
6865
- /* version: 2.44.0 */
6843
+ export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
6844
+ /* version: 2.45.0 */
6866
6845
  //# sourceMappingURL=engine-core.js.map