@angular/compiler 15.0.0-rc.0 → 15.0.0-rc.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/esm2020/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2020/src/render3/partial/directive.mjs +1 -1
- package/esm2020/src/render3/partial/factory.mjs +1 -1
- package/esm2020/src/render3/partial/injectable.mjs +1 -1
- package/esm2020/src/render3/partial/injector.mjs +1 -1
- package/esm2020/src/render3/partial/ng_module.mjs +1 -1
- package/esm2020/src/render3/partial/pipe.mjs +1 -1
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +9 -9
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +9 -9
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
|
@@ -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('15.0.0-rc.
|
|
22
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
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('15.0.0-rc.
|
|
38
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
39
39
|
// e.g. `type: MyDirective`
|
|
40
40
|
definitionMap.set('type', meta.internalType);
|
|
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('15.0.0-rc.
|
|
24
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
25
25
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
26
26
|
definitionMap.set('type', meta.internalType);
|
|
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('15.0.0-rc.
|
|
37
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
38
38
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
39
39
|
definitionMap.set('type', meta.internalType);
|
|
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('15.0.0-rc.
|
|
32
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
33
33
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
34
34
|
definitionMap.set('type', meta.internalType);
|
|
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('15.0.0-rc.
|
|
33
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
34
34
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
35
35
|
definitionMap.set('type', meta.internalType);
|
|
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('15.0.0-rc.
|
|
35
|
+
definitionMap.set('version', o.literal('15.0.0-rc.2'));
|
|
36
36
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
37
37
|
// e.g. `type: MyPipe`
|
|
38
38
|
definitionMap.set('type', meta.internalType);
|
package/esm2020/src/version.mjs
CHANGED
|
@@ -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('15.0.0-rc.
|
|
14
|
+
export const VERSION = new Version('15.0.0-rc.2');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2015/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.0-rc.
|
|
2
|
+
* @license Angular v15.0.0-rc.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -20245,7 +20245,7 @@ function publishFacade(global) {
|
|
|
20245
20245
|
* Use of this source code is governed by an MIT-style license that can be
|
|
20246
20246
|
* found in the LICENSE file at https://angular.io/license
|
|
20247
20247
|
*/
|
|
20248
|
-
const VERSION = new Version('15.0.0-rc.
|
|
20248
|
+
const VERSION = new Version('15.0.0-rc.2');
|
|
20249
20249
|
|
|
20250
20250
|
/**
|
|
20251
20251
|
* @license
|
|
@@ -22271,7 +22271,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
22271
22271
|
function compileDeclareClassMetadata(metadata) {
|
|
22272
22272
|
const definitionMap = new DefinitionMap();
|
|
22273
22273
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
22274
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22274
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22275
22275
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22276
22276
|
definitionMap.set('type', metadata.type);
|
|
22277
22277
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -22389,7 +22389,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
22389
22389
|
var _a;
|
|
22390
22390
|
const definitionMap = new DefinitionMap();
|
|
22391
22391
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
22392
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22392
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22393
22393
|
// e.g. `type: MyDirective`
|
|
22394
22394
|
definitionMap.set('type', meta.internalType);
|
|
22395
22395
|
if (meta.isStandalone) {
|
|
@@ -22628,7 +22628,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
22628
22628
|
function compileDeclareFactoryFunction(meta) {
|
|
22629
22629
|
const definitionMap = new DefinitionMap();
|
|
22630
22630
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
22631
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22631
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22632
22632
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22633
22633
|
definitionMap.set('type', meta.internalType);
|
|
22634
22634
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -22670,7 +22670,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22670
22670
|
function createInjectableDefinitionMap(meta) {
|
|
22671
22671
|
const definitionMap = new DefinitionMap();
|
|
22672
22672
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
22673
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22673
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22674
22674
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22675
22675
|
definitionMap.set('type', meta.internalType);
|
|
22676
22676
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -22728,7 +22728,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22728
22728
|
function createInjectorDefinitionMap(meta) {
|
|
22729
22729
|
const definitionMap = new DefinitionMap();
|
|
22730
22730
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
22731
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22731
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22732
22732
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22733
22733
|
definitionMap.set('type', meta.internalType);
|
|
22734
22734
|
definitionMap.set('providers', meta.providers);
|
|
@@ -22765,7 +22765,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
22765
22765
|
function createNgModuleDefinitionMap(meta) {
|
|
22766
22766
|
const definitionMap = new DefinitionMap();
|
|
22767
22767
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
22768
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22768
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22769
22769
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22770
22770
|
definitionMap.set('type', meta.internalType);
|
|
22771
22771
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -22823,7 +22823,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
22823
22823
|
function createPipeDefinitionMap(meta) {
|
|
22824
22824
|
const definitionMap = new DefinitionMap();
|
|
22825
22825
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22826
|
-
definitionMap.set('version', literal('15.0.0-rc.
|
|
22826
|
+
definitionMap.set('version', literal('15.0.0-rc.2'));
|
|
22827
22827
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22828
22828
|
// e.g. `type: MyPipe`
|
|
22829
22829
|
definitionMap.set('type', meta.internalType);
|