@angular/compiler 14.1.0-next.2 → 14.1.0-rc.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 v14.1.0-next.2
2
+ * @license Angular v14.1.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.1.0-next.2
2
+ * @license Angular v14.1.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2600,7 +2600,7 @@ class ConstantPool {
2600
2600
  }
2601
2601
  else {
2602
2602
  // Just declare and use the variable directly, without a function call
2603
- // indirection. This saves a few bytes and avoids an unncessary call.
2603
+ // indirection. This saves a few bytes and avoids an unnecessary call.
2604
2604
  definition = variable(name).set(literal);
2605
2605
  usage = variable(name);
2606
2606
  }
@@ -16014,7 +16014,7 @@ function setupRegistry() {
16014
16014
  *
16015
16015
  * @param index Instruction index of i18nStart, which initiates this context
16016
16016
  * @param ref Reference to a translation const that represents the content if thus context
16017
- * @param level Nestng level defined for child contexts
16017
+ * @param level Nesting level defined for child contexts
16018
16018
  * @param templateIndex Instruction index of a template which this context belongs to
16019
16019
  * @param meta Meta information (id, meaning, description, etc) associated with this context
16020
16020
  */
@@ -16129,7 +16129,7 @@ class I18nContext {
16129
16129
  const isTemplateTag = key.endsWith('NG-TEMPLATE');
16130
16130
  if (isTemplateTag) {
16131
16131
  // current template's content is placed before or after
16132
- // parent template tag, depending on the open/close atrribute
16132
+ // parent template tag, depending on the open/close attribute
16133
16133
  phs.splice(tmplIdx + (isCloseTag ? 0 : 1), 0, ...values);
16134
16134
  }
16135
16135
  else {
@@ -16824,7 +16824,7 @@ const GOOG_GET_MSG = 'goog.getMsg';
16824
16824
  * original_code: {
16825
16825
  * 'interpolation': '{{ sender }}',
16826
16826
  * 'startTagSpan': '<span class="receiver">',
16827
- * 'interploation_1': '{{ receiver }}',
16827
+ * 'interpolation_1': '{{ receiver }}',
16828
16828
  * 'closeTagSpan': '</span>',
16829
16829
  * },
16830
16830
  * },
@@ -19900,7 +19900,7 @@ function publishFacade(global) {
19900
19900
  * Use of this source code is governed by an MIT-style license that can be
19901
19901
  * found in the LICENSE file at https://angular.io/license
19902
19902
  */
19903
- const VERSION = new Version('14.1.0-next.2');
19903
+ const VERSION = new Version('14.1.0-rc.0');
19904
19904
 
19905
19905
  /**
19906
19906
  * @license
@@ -21933,7 +21933,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
21933
21933
  function compileDeclareClassMetadata(metadata) {
21934
21934
  const definitionMap = new DefinitionMap();
21935
21935
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
21936
- definitionMap.set('version', literal('14.1.0-next.2'));
21936
+ definitionMap.set('version', literal('14.1.0-rc.0'));
21937
21937
  definitionMap.set('ngImport', importExpr(Identifiers.core));
21938
21938
  definitionMap.set('type', metadata.type);
21939
21939
  definitionMap.set('decorators', metadata.decorators);
@@ -22050,7 +22050,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
22050
22050
  function createDirectiveDefinitionMap(meta) {
22051
22051
  const definitionMap = new DefinitionMap();
22052
22052
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
22053
- definitionMap.set('version', literal('14.1.0-next.2'));
22053
+ definitionMap.set('version', literal('14.1.0-rc.0'));
22054
22054
  // e.g. `type: MyDirective`
22055
22055
  definitionMap.set('type', meta.internalType);
22056
22056
  if (meta.isStandalone) {
@@ -22264,7 +22264,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
22264
22264
  function compileDeclareFactoryFunction(meta) {
22265
22265
  const definitionMap = new DefinitionMap();
22266
22266
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
22267
- definitionMap.set('version', literal('14.1.0-next.2'));
22267
+ definitionMap.set('version', literal('14.1.0-rc.0'));
22268
22268
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22269
22269
  definitionMap.set('type', meta.internalType);
22270
22270
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -22306,7 +22306,7 @@ function compileDeclareInjectableFromMetadata(meta) {
22306
22306
  function createInjectableDefinitionMap(meta) {
22307
22307
  const definitionMap = new DefinitionMap();
22308
22308
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
22309
- definitionMap.set('version', literal('14.1.0-next.2'));
22309
+ definitionMap.set('version', literal('14.1.0-rc.0'));
22310
22310
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22311
22311
  definitionMap.set('type', meta.internalType);
22312
22312
  // Only generate providedIn property if it has a non-null value
@@ -22364,7 +22364,7 @@ function compileDeclareInjectorFromMetadata(meta) {
22364
22364
  function createInjectorDefinitionMap(meta) {
22365
22365
  const definitionMap = new DefinitionMap();
22366
22366
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
22367
- definitionMap.set('version', literal('14.1.0-next.2'));
22367
+ definitionMap.set('version', literal('14.1.0-rc.0'));
22368
22368
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22369
22369
  definitionMap.set('type', meta.internalType);
22370
22370
  definitionMap.set('providers', meta.providers);
@@ -22401,7 +22401,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
22401
22401
  function createNgModuleDefinitionMap(meta) {
22402
22402
  const definitionMap = new DefinitionMap();
22403
22403
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
22404
- definitionMap.set('version', literal('14.1.0-next.2'));
22404
+ definitionMap.set('version', literal('14.1.0-rc.0'));
22405
22405
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22406
22406
  definitionMap.set('type', meta.internalType);
22407
22407
  // We only generate the keys in the metadata if the arrays contain values.
@@ -22459,7 +22459,7 @@ function compileDeclarePipeFromMetadata(meta) {
22459
22459
  function createPipeDefinitionMap(meta) {
22460
22460
  const definitionMap = new DefinitionMap();
22461
22461
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
22462
- definitionMap.set('version', literal('14.1.0-next.2'));
22462
+ definitionMap.set('version', literal('14.1.0-rc.0'));
22463
22463
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22464
22464
  // e.g. `type: MyPipe`
22465
22465
  definitionMap.set('type', meta.internalType);