@angular/compiler 16.0.0-rc.4 → 16.0.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.
@@ -19,7 +19,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION = '12.0.0';
19
19
  export function compileDeclareClassMetadata(metadata) {
20
20
  const definitionMap = new DefinitionMap();
21
21
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
22
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
22
+ definitionMap.set('version', o.literal('16.0.0'));
23
23
  definitionMap.set('ngImport', o.importExpr(R3.core));
24
24
  definitionMap.set('type', metadata.type);
25
25
  definitionMap.set('decorators', metadata.decorators);
@@ -35,7 +35,7 @@ export function compileDeclareDirectiveFromMetadata(meta) {
35
35
  export function createDirectiveDefinitionMap(meta) {
36
36
  const definitionMap = new DefinitionMap();
37
37
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
38
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
38
+ definitionMap.set('version', o.literal('16.0.0'));
39
39
  // e.g. `type: MyDirective`
40
40
  definitionMap.set('type', meta.type.value);
41
41
  if (meta.isStandalone) {
@@ -21,7 +21,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION = '12.0.0';
21
21
  export function compileDeclareFactoryFunction(meta) {
22
22
  const definitionMap = new DefinitionMap();
23
23
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
24
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
24
+ definitionMap.set('version', o.literal('16.0.0'));
25
25
  definitionMap.set('ngImport', o.importExpr(R3.core));
26
26
  definitionMap.set('type', meta.type.value);
27
27
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -34,7 +34,7 @@ export function compileDeclareInjectableFromMetadata(meta) {
34
34
  export function createInjectableDefinitionMap(meta) {
35
35
  const definitionMap = new DefinitionMap();
36
36
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
37
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
37
+ definitionMap.set('version', o.literal('16.0.0'));
38
38
  definitionMap.set('ngImport', o.importExpr(R3.core));
39
39
  definitionMap.set('type', meta.type.value);
40
40
  // Only generate providedIn property if it has a non-null value
@@ -29,7 +29,7 @@ export function compileDeclareInjectorFromMetadata(meta) {
29
29
  function createInjectorDefinitionMap(meta) {
30
30
  const definitionMap = new DefinitionMap();
31
31
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
32
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
32
+ definitionMap.set('version', o.literal('16.0.0'));
33
33
  definitionMap.set('ngImport', o.importExpr(R3.core));
34
34
  definitionMap.set('type', meta.type.value);
35
35
  definitionMap.set('providers', meta.providers);
@@ -30,7 +30,7 @@ export function compileDeclareNgModuleFromMetadata(meta) {
30
30
  function createNgModuleDefinitionMap(meta) {
31
31
  const definitionMap = new DefinitionMap();
32
32
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
33
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
33
+ definitionMap.set('version', o.literal('16.0.0'));
34
34
  definitionMap.set('ngImport', o.importExpr(R3.core));
35
35
  definitionMap.set('type', meta.type.value);
36
36
  // We only generate the keys in the metadata if the arrays contain values.
@@ -32,7 +32,7 @@ export function compileDeclarePipeFromMetadata(meta) {
32
32
  export function createPipeDefinitionMap(meta) {
33
33
  const definitionMap = new DefinitionMap();
34
34
  definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
35
- definitionMap.set('version', o.literal('16.0.0-rc.4'));
35
+ definitionMap.set('version', o.literal('16.0.0'));
36
36
  definitionMap.set('ngImport', o.importExpr(R3.core));
37
37
  // e.g. `type: MyPipe`
38
38
  definitionMap.set('type', meta.type.value);
@@ -11,5 +11,5 @@
11
11
  * Entry point for all public APIs of the compiler package.
12
12
  */
13
13
  import { Version } from './util';
14
- export const VERSION = new Version('16.0.0-rc.4');
14
+ export const VERSION = new Version('16.0.0');
15
15
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.0.0-rc.4
2
+ * @license Angular v16.0.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -22625,7 +22625,7 @@ function publishFacade(global) {
22625
22625
  * @description
22626
22626
  * Entry point for all public APIs of the compiler package.
22627
22627
  */
22628
- const VERSION = new Version('16.0.0-rc.4');
22628
+ const VERSION = new Version('16.0.0');
22629
22629
 
22630
22630
  class CompilerConfig {
22631
22631
  constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
@@ -24553,7 +24553,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
24553
24553
  function compileDeclareClassMetadata(metadata) {
24554
24554
  const definitionMap = new DefinitionMap();
24555
24555
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
24556
- definitionMap.set('version', literal('16.0.0-rc.4'));
24556
+ definitionMap.set('version', literal('16.0.0'));
24557
24557
  definitionMap.set('ngImport', importExpr(Identifiers.core));
24558
24558
  definitionMap.set('type', metadata.type);
24559
24559
  definitionMap.set('decorators', metadata.decorators);
@@ -24656,7 +24656,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
24656
24656
  function createDirectiveDefinitionMap(meta) {
24657
24657
  const definitionMap = new DefinitionMap();
24658
24658
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
24659
- definitionMap.set('version', literal('16.0.0-rc.4'));
24659
+ definitionMap.set('version', literal('16.0.0'));
24660
24660
  // e.g. `type: MyDirective`
24661
24661
  definitionMap.set('type', meta.type.value);
24662
24662
  if (meta.isStandalone) {
@@ -24881,7 +24881,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
24881
24881
  function compileDeclareFactoryFunction(meta) {
24882
24882
  const definitionMap = new DefinitionMap();
24883
24883
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
24884
- definitionMap.set('version', literal('16.0.0-rc.4'));
24884
+ definitionMap.set('version', literal('16.0.0'));
24885
24885
  definitionMap.set('ngImport', importExpr(Identifiers.core));
24886
24886
  definitionMap.set('type', meta.type.value);
24887
24887
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -24916,7 +24916,7 @@ function compileDeclareInjectableFromMetadata(meta) {
24916
24916
  function createInjectableDefinitionMap(meta) {
24917
24917
  const definitionMap = new DefinitionMap();
24918
24918
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
24919
- definitionMap.set('version', literal('16.0.0-rc.4'));
24919
+ definitionMap.set('version', literal('16.0.0'));
24920
24920
  definitionMap.set('ngImport', importExpr(Identifiers.core));
24921
24921
  definitionMap.set('type', meta.type.value);
24922
24922
  // Only generate providedIn property if it has a non-null value
@@ -24967,7 +24967,7 @@ function compileDeclareInjectorFromMetadata(meta) {
24967
24967
  function createInjectorDefinitionMap(meta) {
24968
24968
  const definitionMap = new DefinitionMap();
24969
24969
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
24970
- definitionMap.set('version', literal('16.0.0-rc.4'));
24970
+ definitionMap.set('version', literal('16.0.0'));
24971
24971
  definitionMap.set('ngImport', importExpr(Identifiers.core));
24972
24972
  definitionMap.set('type', meta.type.value);
24973
24973
  definitionMap.set('providers', meta.providers);
@@ -24997,7 +24997,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
24997
24997
  function createNgModuleDefinitionMap(meta) {
24998
24998
  const definitionMap = new DefinitionMap();
24999
24999
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
25000
- definitionMap.set('version', literal('16.0.0-rc.4'));
25000
+ definitionMap.set('version', literal('16.0.0'));
25001
25001
  definitionMap.set('ngImport', importExpr(Identifiers.core));
25002
25002
  definitionMap.set('type', meta.type.value);
25003
25003
  // We only generate the keys in the metadata if the arrays contain values.
@@ -25048,7 +25048,7 @@ function compileDeclarePipeFromMetadata(meta) {
25048
25048
  function createPipeDefinitionMap(meta) {
25049
25049
  const definitionMap = new DefinitionMap();
25050
25050
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
25051
- definitionMap.set('version', literal('16.0.0-rc.4'));
25051
+ definitionMap.set('version', literal('16.0.0'));
25052
25052
  definitionMap.set('ngImport', importExpr(Identifiers.core));
25053
25053
  // e.g. `type: MyPipe`
25054
25054
  definitionMap.set('type', meta.type.value);