@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.
@@ -3144,15 +3144,6 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
3144
3144
  // the stylesheet, while internally, we have a replacement for it.
3145
3145
  stylesheet = getStyleOrSwappedStyle(stylesheet);
3146
3146
  }
3147
- // Check that this stylesheet was generated by our compiler
3148
- if (!isStylesheetRegistered(stylesheet)) {
3149
- if (process.env.NODE_ENV !== 'production') {
3150
- logWarnOnce(`TypeError: Unexpected LWC stylesheet content found for component <${vm.tagName.toLowerCase()}>.`);
3151
- }
3152
- report("UnexpectedStylesheetContent" /* ReportingEventId.UnexpectedStylesheetContent */, {
3153
- tagName: vm.tagName.toLowerCase(),
3154
- });
3155
- }
3156
3147
  const isScopedCss = stylesheet[shared.KEY__SCOPED_CSS];
3157
3148
  if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS &&
3158
3149
  !isScopedCss &&
@@ -3273,18 +3264,6 @@ function createStylesheet(vm, stylesheets) {
3273
3264
  }
3274
3265
  return null;
3275
3266
  }
3276
- const signedStylesheetSet = new Set();
3277
- /**
3278
- * INTERNAL: This function can only be invoked by compiled code. The compiler
3279
- * will prevent this function from being imported by userland code.
3280
- */
3281
- function registerStylesheet(stylesheet) {
3282
- signedStylesheetSet.add(stylesheet);
3283
- return stylesheet;
3284
- }
3285
- function isStylesheetRegistered(stylesheet) {
3286
- return signedStylesheetSet.has(stylesheet);
3287
- }
3288
3267
 
3289
3268
  /*
3290
3269
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6104,7 +6083,7 @@ function checkAndReportViolation(elm, prop, isSetter, setValue) {
6104
6083
  const vm = findVM(elm);
6105
6084
  if (process.env.NODE_ENV !== 'production') {
6106
6085
  logWarnOnce(`Element <${elm.tagName.toLowerCase()}> ` +
6107
- (shared.isUndefined(vm) ? '' : `owned by <${vm.tagName.toLowerCase()}> `) +
6086
+ (shared.isUndefined(vm) ? '' : `owned by <${vm.elm.tagName.toLowerCase()}> `) +
6108
6087
  `uses non-standard property "${prop}". This will be removed in a future version of LWC. ` +
6109
6088
  `See https://sfdc.co/deprecated-aria`);
6110
6089
  }
@@ -6892,7 +6871,6 @@ exports.readonly = readonly;
6892
6871
  exports.register = register;
6893
6872
  exports.registerComponent = registerComponent;
6894
6873
  exports.registerDecorators = registerDecorators;
6895
- exports.registerStylesheet = registerStylesheet;
6896
6874
  exports.registerTemplate = registerTemplate;
6897
6875
  exports.sanitizeAttribute = sanitizeAttribute;
6898
6876
  exports.setHooks = setHooks;
@@ -6902,5 +6880,5 @@ exports.swapTemplate = swapTemplate;
6902
6880
  exports.track = track;
6903
6881
  exports.unwrap = unwrap;
6904
6882
  exports.wire = wire;
6905
- /* version: 2.44.0 */
6883
+ /* version: 2.45.0 */
6906
6884
  //# sourceMappingURL=engine-core.cjs.js.map