@angular/compiler 20.2.0 → 21.0.0-next.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.2.0
2
+ * @license Angular v21.0.0-next.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -421,6 +421,7 @@ var ViewEncapsulation$1;
421
421
  // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
422
422
  ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
423
423
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
424
+ ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
424
425
  })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
425
426
  var ChangeDetectionStrategy;
426
427
  (function (ChangeDetectionStrategy) {
@@ -529,6 +530,7 @@ var ViewEncapsulation;
529
530
  // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
530
531
  ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
531
532
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
533
+ ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
532
534
  })(ViewEncapsulation || (ViewEncapsulation = {}));
533
535
 
534
536
  /**
@@ -34300,7 +34302,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
34300
34302
  function compileDeclareClassMetadata(metadata) {
34301
34303
  const definitionMap = new DefinitionMap();
34302
34304
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
34303
- definitionMap.set('version', literal('20.2.0'));
34305
+ definitionMap.set('version', literal('21.0.0-next.0'));
34304
34306
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34305
34307
  definitionMap.set('type', metadata.type);
34306
34308
  definitionMap.set('decorators', metadata.decorators);
@@ -34318,7 +34320,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
34318
34320
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
34319
34321
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
34320
34322
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
34321
- definitionMap.set('version', literal('20.2.0'));
34323
+ definitionMap.set('version', literal('21.0.0-next.0'));
34322
34324
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34323
34325
  definitionMap.set('type', metadata.type);
34324
34326
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -34413,7 +34415,7 @@ function createDirectiveDefinitionMap(meta) {
34413
34415
  const definitionMap = new DefinitionMap();
34414
34416
  const minVersion = getMinimumVersionForPartialOutput(meta);
34415
34417
  definitionMap.set('minVersion', literal(minVersion));
34416
- definitionMap.set('version', literal('20.2.0'));
34418
+ definitionMap.set('version', literal('21.0.0-next.0'));
34417
34419
  // e.g. `type: MyDirective`
34418
34420
  definitionMap.set('type', meta.type.value);
34419
34421
  if (meta.isStandalone !== undefined) {
@@ -34829,7 +34831,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
34829
34831
  function compileDeclareFactoryFunction(meta) {
34830
34832
  const definitionMap = new DefinitionMap();
34831
34833
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
34832
- definitionMap.set('version', literal('20.2.0'));
34834
+ definitionMap.set('version', literal('21.0.0-next.0'));
34833
34835
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34834
34836
  definitionMap.set('type', meta.type.value);
34835
34837
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -34864,7 +34866,7 @@ function compileDeclareInjectableFromMetadata(meta) {
34864
34866
  function createInjectableDefinitionMap(meta) {
34865
34867
  const definitionMap = new DefinitionMap();
34866
34868
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
34867
- definitionMap.set('version', literal('20.2.0'));
34869
+ definitionMap.set('version', literal('21.0.0-next.0'));
34868
34870
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34869
34871
  definitionMap.set('type', meta.type.value);
34870
34872
  // Only generate providedIn property if it has a non-null value
@@ -34915,7 +34917,7 @@ function compileDeclareInjectorFromMetadata(meta) {
34915
34917
  function createInjectorDefinitionMap(meta) {
34916
34918
  const definitionMap = new DefinitionMap();
34917
34919
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
34918
- definitionMap.set('version', literal('20.2.0'));
34920
+ definitionMap.set('version', literal('21.0.0-next.0'));
34919
34921
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34920
34922
  definitionMap.set('type', meta.type.value);
34921
34923
  definitionMap.set('providers', meta.providers);
@@ -34948,7 +34950,7 @@ function createNgModuleDefinitionMap(meta) {
34948
34950
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
34949
34951
  }
34950
34952
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
34951
- definitionMap.set('version', literal('20.2.0'));
34953
+ definitionMap.set('version', literal('21.0.0-next.0'));
34952
34954
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34953
34955
  definitionMap.set('type', meta.type.value);
34954
34956
  // We only generate the keys in the metadata if the arrays contain values.
@@ -34999,7 +35001,7 @@ function compileDeclarePipeFromMetadata(meta) {
34999
35001
  function createPipeDefinitionMap(meta) {
35000
35002
  const definitionMap = new DefinitionMap();
35001
35003
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
35002
- definitionMap.set('version', literal('20.2.0'));
35004
+ definitionMap.set('version', literal('21.0.0-next.0'));
35003
35005
  definitionMap.set('ngImport', importExpr(Identifiers.core));
35004
35006
  // e.g. `type: MyPipe`
35005
35007
  definitionMap.set('type', meta.type.value);
@@ -35155,7 +35157,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
35155
35157
  * @description
35156
35158
  * Entry point for all public APIs of the compiler package.
35157
35159
  */
35158
- const VERSION = new Version('20.2.0');
35160
+ const VERSION = new Version('21.0.0-next.0');
35159
35161
 
35160
35162
  //////////////////////////////////////
35161
35163
  // THIS FILE HAS GLOBAL SIDE EFFECT //