@angular/compiler 19.0.0-next.7 → 19.0.0-next.8

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.0-next.7
2
+ * @license Angular v19.0.0-next.8
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2829,6 +2829,7 @@ class Identifiers {
2829
2829
  }; }
2830
2830
  static { this.forwardRef = { name: 'forwardRef', moduleName: CORE }; }
2831
2831
  static { this.resolveForwardRef = { name: 'resolveForwardRef', moduleName: CORE }; }
2832
+ static { this.replaceMetadata = { name: 'ɵɵreplaceMetadata', moduleName: CORE }; }
2832
2833
  static { this.ɵɵdefineInjectable = { name: 'ɵɵdefineInjectable', moduleName: CORE }; }
2833
2834
  static { this.declareInjectable = { name: 'ɵɵngDeclareInjectable', moduleName: CORE }; }
2834
2835
  static { this.InjectableDeclaration = {
@@ -29987,7 +29988,7 @@ function publishFacade(global) {
29987
29988
  * @description
29988
29989
  * Entry point for all public APIs of the compiler package.
29989
29990
  */
29990
- const VERSION = new Version('19.0.0-next.7');
29991
+ const VERSION = new Version('19.0.0-next.8');
29991
29992
 
29992
29993
  class CompilerConfig {
29993
29994
  constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
@@ -31638,7 +31639,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
31638
31639
  function compileDeclareClassMetadata(metadata) {
31639
31640
  const definitionMap = new DefinitionMap();
31640
31641
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
31641
- definitionMap.set('version', literal('19.0.0-next.7'));
31642
+ definitionMap.set('version', literal('19.0.0-next.8'));
31642
31643
  definitionMap.set('ngImport', importExpr(Identifiers.core));
31643
31644
  definitionMap.set('type', metadata.type);
31644
31645
  definitionMap.set('decorators', metadata.decorators);
@@ -31656,7 +31657,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
31656
31657
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
31657
31658
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
31658
31659
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
31659
- definitionMap.set('version', literal('19.0.0-next.7'));
31660
+ definitionMap.set('version', literal('19.0.0-next.8'));
31660
31661
  definitionMap.set('ngImport', importExpr(Identifiers.core));
31661
31662
  definitionMap.set('type', metadata.type);
31662
31663
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -31751,7 +31752,7 @@ function createDirectiveDefinitionMap(meta) {
31751
31752
  const definitionMap = new DefinitionMap();
31752
31753
  const minVersion = getMinimumVersionForPartialOutput(meta);
31753
31754
  definitionMap.set('minVersion', literal(minVersion));
31754
- definitionMap.set('version', literal('19.0.0-next.7'));
31755
+ definitionMap.set('version', literal('19.0.0-next.8'));
31755
31756
  // e.g. `type: MyDirective`
31756
31757
  definitionMap.set('type', meta.type.value);
31757
31758
  if (meta.isStandalone) {
@@ -32173,7 +32174,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
32173
32174
  function compileDeclareFactoryFunction(meta) {
32174
32175
  const definitionMap = new DefinitionMap();
32175
32176
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
32176
- definitionMap.set('version', literal('19.0.0-next.7'));
32177
+ definitionMap.set('version', literal('19.0.0-next.8'));
32177
32178
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32178
32179
  definitionMap.set('type', meta.type.value);
32179
32180
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -32208,7 +32209,7 @@ function compileDeclareInjectableFromMetadata(meta) {
32208
32209
  function createInjectableDefinitionMap(meta) {
32209
32210
  const definitionMap = new DefinitionMap();
32210
32211
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
32211
- definitionMap.set('version', literal('19.0.0-next.7'));
32212
+ definitionMap.set('version', literal('19.0.0-next.8'));
32212
32213
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32213
32214
  definitionMap.set('type', meta.type.value);
32214
32215
  // Only generate providedIn property if it has a non-null value
@@ -32259,7 +32260,7 @@ function compileDeclareInjectorFromMetadata(meta) {
32259
32260
  function createInjectorDefinitionMap(meta) {
32260
32261
  const definitionMap = new DefinitionMap();
32261
32262
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
32262
- definitionMap.set('version', literal('19.0.0-next.7'));
32263
+ definitionMap.set('version', literal('19.0.0-next.8'));
32263
32264
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32264
32265
  definitionMap.set('type', meta.type.value);
32265
32266
  definitionMap.set('providers', meta.providers);
@@ -32292,7 +32293,7 @@ function createNgModuleDefinitionMap(meta) {
32292
32293
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
32293
32294
  }
32294
32295
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
32295
- definitionMap.set('version', literal('19.0.0-next.7'));
32296
+ definitionMap.set('version', literal('19.0.0-next.8'));
32296
32297
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32297
32298
  definitionMap.set('type', meta.type.value);
32298
32299
  // We only generate the keys in the metadata if the arrays contain values.
@@ -32343,7 +32344,7 @@ function compileDeclarePipeFromMetadata(meta) {
32343
32344
  function createPipeDefinitionMap(meta) {
32344
32345
  const definitionMap = new DefinitionMap();
32345
32346
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
32346
- definitionMap.set('version', literal('19.0.0-next.7'));
32347
+ definitionMap.set('version', literal('19.0.0-next.8'));
32347
32348
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32348
32349
  // e.g. `type: MyPipe`
32349
32350
  definitionMap.set('type', meta.type.value);