@angular/compiler 15.1.0-next.2 → 15.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.
- package/esm2020/src/expression_parser/lexer.mjs +3 -4
- package/esm2020/src/ml_parser/html_tags.mjs +13 -7
- package/esm2020/src/ml_parser/parser.mjs +2 -2
- 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/selector.mjs +1 -15
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +4068 -4692
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +3 -22
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/compiler.mjs +4075 -4707
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +3 -22
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +3 -4
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
package/fesm2020/testing.mjs
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.0-
|
|
2
|
+
* @license Angular v15.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* @license
|
|
9
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10
|
-
*
|
|
11
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
12
|
-
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/
|
|
14
7
|
/**
|
|
15
8
|
* @module
|
|
16
9
|
* @description
|
|
@@ -33,22 +26,10 @@
|
|
|
33
26
|
// This export ensures this package is not empty.
|
|
34
27
|
const unusedExport = true;
|
|
35
28
|
|
|
36
|
-
|
|
37
|
-
* @license
|
|
38
|
-
* Copyright Google LLC All Rights Reserved.
|
|
39
|
-
*
|
|
40
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
41
|
-
* found in the LICENSE file at https://angular.io/license
|
|
42
|
-
*/
|
|
29
|
+
/// <reference types="node" />
|
|
43
30
|
// This file only reexports content of the `src` folder. Keep it that way.
|
|
44
31
|
|
|
45
|
-
|
|
46
|
-
* @license
|
|
47
|
-
* Copyright Google LLC All Rights Reserved.
|
|
48
|
-
*
|
|
49
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
50
|
-
* found in the LICENSE file at https://angular.io/license
|
|
51
|
-
*/
|
|
32
|
+
// This file is not used to build this module. It is only used during editing
|
|
52
33
|
|
|
53
34
|
/**
|
|
54
35
|
* Generated bundle index. Do not edit.
|
package/fesm2020/testing.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["../../../../../../packages/compiler/testing/src/testing.ts","../../../../../../packages/compiler/testing/public_api.ts","../../../../../../packages/compiler/testing/index.ts","../../../../../../packages/compiler/testing/testing.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all APIs of the compiler package.\n *\n * <div class=\"callout is-critical\">\n * <header>Unstable APIs</header>\n * <p>\n * All compiler apis are currently considered experimental and private!\n * </p>\n * <p>\n * We expect the APIs in this package to keep on changing. Do not rely on them.\n * </p>\n * </div>\n */\n\n// TODO(alxhub): @angular/compiler/testing is unused in Ivy. A placeholder\n// is left here because the components repo still depends on this package\n// directly. It will be cleaned up at a later date.\n//\n// This export ensures this package is not empty.\nexport const unusedExport = true;\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/// <reference types=\"node\" />\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/testing';\n\n// This file only reexports content of the `src` folder. Keep it that way.\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"testing.mjs","sources":["../../../../../../packages/compiler/testing/src/testing.ts","../../../../../../packages/compiler/testing/public_api.ts","../../../../../../packages/compiler/testing/index.ts","../../../../../../packages/compiler/testing/testing.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all APIs of the compiler package.\n *\n * <div class=\"callout is-critical\">\n * <header>Unstable APIs</header>\n * <p>\n * All compiler apis are currently considered experimental and private!\n * </p>\n * <p>\n * We expect the APIs in this package to keep on changing. Do not rely on them.\n * </p>\n * </div>\n */\n\n// TODO(alxhub): @angular/compiler/testing is unused in Ivy. A placeholder\n// is left here because the components repo still depends on this package\n// directly. It will be cleaned up at a later date.\n//\n// This export ensures this package is not empty.\nexport const unusedExport = true;\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/// <reference types=\"node\" />\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/testing';\n\n// This file only reexports content of the `src` folder. Keep it that way.\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAQA;;;;;;;;;;;;;;AAcG;AAEH;AACA;AACA;AACA;AACA;AACO,MAAM,YAAY,GAAG;;ACrB5B;AASA;;ACTA;;ACRA;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.0-
|
|
2
|
+
* @license Angular v15.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -813,8 +813,6 @@ export declare class CssSelector {
|
|
|
813
813
|
isElementSelector(): boolean;
|
|
814
814
|
hasElementSelector(): boolean;
|
|
815
815
|
setElement(element?: string | null): void;
|
|
816
|
-
/** Gets a template string for an element that matches the selector. */
|
|
817
|
-
getMatchingElementTemplate(): string;
|
|
818
816
|
getAttrs(): string[];
|
|
819
817
|
addAttribute(name: string, value?: string): void;
|
|
820
818
|
addClassName(name: string): void;
|
|
@@ -1304,7 +1302,7 @@ export declare class HtmlTagDefinition implements TagDefinition {
|
|
|
1304
1302
|
ignoreFirstLf: boolean;
|
|
1305
1303
|
canSelfClose: boolean;
|
|
1306
1304
|
preventNamespaceInheritance: boolean;
|
|
1307
|
-
constructor({ closedByChildren, implicitNamespacePrefix, contentType, closedByParent, isVoid, ignoreFirstLf, preventNamespaceInheritance }?: {
|
|
1305
|
+
constructor({ closedByChildren, implicitNamespacePrefix, contentType, closedByParent, isVoid, ignoreFirstLf, preventNamespaceInheritance, canSelfClose, }?: {
|
|
1308
1306
|
closedByChildren?: string[];
|
|
1309
1307
|
closedByParent?: boolean;
|
|
1310
1308
|
implicitNamespacePrefix?: string;
|
|
@@ -1315,6 +1313,7 @@ export declare class HtmlTagDefinition implements TagDefinition {
|
|
|
1315
1313
|
isVoid?: boolean;
|
|
1316
1314
|
ignoreFirstLf?: boolean;
|
|
1317
1315
|
preventNamespaceInheritance?: boolean;
|
|
1316
|
+
canSelfClose?: boolean;
|
|
1318
1317
|
});
|
|
1319
1318
|
isClosedByChild(name: string): boolean;
|
|
1320
1319
|
getContentType(prefix?: string): TagContentType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler",
|
|
3
|
-
"version": "15.1.0-
|
|
3
|
+
"version": "15.1.0-rc.0",
|
|
4
4
|
"description": "Angular - the compiler library",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/core": "15.1.0-
|
|
14
|
+
"@angular/core": "15.1.0-rc.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"@angular/core": {
|
package/testing/index.d.ts
CHANGED