@angular/core 14.1.1 → 14.1.2

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/fesm2020/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.1.1
2
+ * @license Angular v14.1.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -967,7 +967,6 @@ function extractDirectiveDef(type) {
967
967
  function nonNull(value) {
968
968
  return value !== null;
969
969
  }
970
- const autoRegisterModuleById = {};
971
970
  /**
972
971
  * @codeGenApi
973
972
  */
@@ -983,9 +982,6 @@ function ɵɵdefineNgModule(def) {
983
982
  schemas: def.schemas || null,
984
983
  id: def.id || null,
985
984
  };
986
- if (def.id != null) {
987
- autoRegisterModuleById[def.id] = def.type;
988
- }
989
985
  return res;
990
986
  });
991
987
  }
@@ -7258,7 +7254,7 @@ class Version {
7258
7254
  /**
7259
7255
  * @publicApi
7260
7256
  */
7261
- const VERSION = new Version('14.1.1');
7257
+ const VERSION = new Version('14.1.2');
7262
7258
 
7263
7259
  /**
7264
7260
  * @license
@@ -13099,13 +13095,15 @@ function refreshContainsDirtyView(lView) {
13099
13095
  for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
13100
13096
  for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
13101
13097
  const embeddedLView = lContainer[i];
13102
- if (embeddedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {
13103
- const embeddedTView = embeddedLView[TVIEW];
13104
- ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
13105
- refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
13106
- }
13107
- else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
13108
- refreshContainsDirtyView(embeddedLView);
13098
+ if (viewAttachedToChangeDetector(embeddedLView)) {
13099
+ if (embeddedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {
13100
+ const embeddedTView = embeddedLView[TVIEW];
13101
+ ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
13102
+ refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
13103
+ }
13104
+ else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
13105
+ refreshContainsDirtyView(embeddedLView);
13106
+ }
13109
13107
  }
13110
13108
  }
13111
13109
  }