@angular/compiler-cli 18.0.0-next.4 → 18.0.0-next.6
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/bundles/{chunk-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-VHKPES4D.js → chunk-5YGSPVK5.js} +31 -31
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-3XKDS7QX.js → chunk-A2LVDCHW.js} +78 -78
- package/bundles/{chunk-4WIV5B72.js → chunk-CU5WWBVV.js} +13 -13
- package/bundles/{chunk-72BAHUP4.js → chunk-HE4PX3Z3.js} +47 -47
- package/bundles/{chunk-72BAHUP4.js.map → chunk-HE4PX3Z3.js.map} +1 -1
- package/bundles/{chunk-VK6ST3OM.js → chunk-JJY5IERQ.js} +144 -121
- package/bundles/chunk-JJY5IERQ.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-QDR2AJXR.js → chunk-QWOTSGRF.js} +5 -5
- package/bundles/{chunk-75YFKYUJ.js → chunk-UM6JO3VZ.js} +7 -7
- package/bundles/{chunk-YUMIYLNL.js → chunk-XIYC7KSQ.js} +5 -5
- package/bundles/index.js +14 -12
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +9 -0
- package/src/ngtsc/docs/src/extractor.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +4 -0
- package/bundles/chunk-VK6ST3OM.js.map +0 -6
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-VHKPES4D.js.map → chunk-5YGSPVK5.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-3XKDS7QX.js.map → chunk-A2LVDCHW.js.map} +0 -0
- /package/bundles/{chunk-4WIV5B72.js.map → chunk-CU5WWBVV.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-QDR2AJXR.js.map → chunk-QWOTSGRF.js.map} +0 -0
- /package/bundles/{chunk-75YFKYUJ.js.map → chunk-UM6JO3VZ.js.map} +0 -0
- /package/bundles/{chunk-YUMIYLNL.js.map → chunk-XIYC7KSQ.js.map} +0 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
|
|
9
9
|
import { AstObject, AstValue } from '../../ast/ast_value';
|
|
10
|
-
export declare const PLACEHOLDER_VERSION = "18.0.0-next.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "18.0.0-next.6";
|
|
11
11
|
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
|
|
12
12
|
/**
|
|
13
13
|
* Parses the value of an enum from the AST value's symbol name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler-cli",
|
|
3
|
-
"version": "18.0.0-next.
|
|
3
|
+
"version": "18.0.0-next.6",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@babel/core": "7.24.
|
|
46
|
+
"@babel/core": "7.24.4",
|
|
47
47
|
"@jridgewell/sourcemap-codec": "^1.4.14",
|
|
48
48
|
"reflect-metadata": "^0.2.0",
|
|
49
49
|
"chokidar": "^3.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"yargs": "^17.2.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@angular/compiler": "18.0.0-next.
|
|
56
|
+
"@angular/compiler": "18.0.0-next.6",
|
|
57
57
|
"typescript": ">=5.4 <5.5"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
|
@@ -57,6 +57,14 @@ export interface GenericEntry {
|
|
|
57
57
|
constraint: string | undefined;
|
|
58
58
|
default: string | undefined;
|
|
59
59
|
}
|
|
60
|
+
export interface SourceEntry {
|
|
61
|
+
filePath: string;
|
|
62
|
+
startLine: number;
|
|
63
|
+
endLine: number;
|
|
64
|
+
}
|
|
65
|
+
export interface DocEntryWithSourceInfo extends DocEntry {
|
|
66
|
+
source: SourceEntry;
|
|
67
|
+
}
|
|
60
68
|
/** Base type for all documentation entities. */
|
|
61
69
|
export interface DocEntry {
|
|
62
70
|
entryType: EntryType;
|
|
@@ -168,3 +176,4 @@ export interface InitializerApiFunctionEntry extends DocEntry {
|
|
|
168
176
|
showTypesInSignaturePreview?: boolean;
|
|
169
177
|
};
|
|
170
178
|
}
|
|
179
|
+
export declare function isDocEntryWithSourceInfo(entry: DocEntry): entry is DocEntryWithSourceInfo;
|
|
@@ -22,7 +22,7 @@ export declare class DocsExtractor {
|
|
|
22
22
|
*
|
|
23
23
|
* @param sourceFile The file from which to extract documentable entries.
|
|
24
24
|
*/
|
|
25
|
-
extractAll(sourceFile: ts.SourceFile): DocEntry[];
|
|
25
|
+
extractAll(sourceFile: ts.SourceFile, rootDir: string): DocEntry[];
|
|
26
26
|
/** Extract the doc entry for a single declaration. */
|
|
27
27
|
private extractDeclaration;
|
|
28
28
|
/** Gets the list of exported declarations for doc extraction. */
|
|
@@ -294,6 +294,10 @@ export interface TypeCheckingConfig {
|
|
|
294
294
|
* Whether the type of two-way bindings should be widened to allow `WritableSignal`.
|
|
295
295
|
*/
|
|
296
296
|
allowSignalsInTwoWayBindings: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Whether to descend into the bodies of control flow blocks (`@if`, `@switch` and `@for`).
|
|
299
|
+
*/
|
|
300
|
+
checkControlFlowBodies: boolean;
|
|
297
301
|
}
|
|
298
302
|
export type TemplateSourceMapping = DirectTemplateSourceMapping | IndirectTemplateSourceMapping | ExternalTemplateSourceMapping;
|
|
299
303
|
/**
|