@angular/compiler-cli 18.2.1 → 18.2.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/bundles/chunk-B4ZOGV3N.js +1 -1
- package/bundles/{chunk-NOUP24WG.js → chunk-C5NJ4RJW.js} +2 -2
- package/bundles/{chunk-ZHJO7SMX.js → chunk-GWDW5CWS.js} +2 -2
- package/bundles/{chunk-5I46MBAD.js → chunk-J46GT65M.js} +10 -8
- package/bundles/chunk-J46GT65M.js.map +6 -0
- package/bundles/{chunk-56IXZIL6.js → chunk-T7RBRO42.js} +10 -5
- package/bundles/chunk-T7RBRO42.js.map +6 -0
- package/bundles/{chunk-4GMJ67OV.js → chunk-XQOVJNXK.js} +2 -2
- package/bundles/index.js +5 -5
- package/bundles/private/migrations.js +1 -1
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +4 -4
- package/bundles/src/bin/ngc.js +4 -4
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
- package/src/ngtsc/core/api/src/public_options.d.ts +7 -0
- package/bundles/chunk-56IXZIL6.js.map +0 -6
- package/bundles/chunk-5I46MBAD.js.map +0 -6
- /package/bundles/{chunk-NOUP24WG.js.map → chunk-C5NJ4RJW.js.map} +0 -0
- /package/bundles/{chunk-ZHJO7SMX.js.map → chunk-GWDW5CWS.js.map} +0 -0
- /package/bundles/{chunk-4GMJ67OV.js.map → chunk-XQOVJNXK.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.2.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "18.2.2";
|
|
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.2.
|
|
3
|
+
"version": "18.2.2",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"yargs": "^17.2.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@angular/compiler": "18.2.
|
|
56
|
+
"@angular/compiler": "18.2.2",
|
|
57
57
|
"typescript": ">=5.4 <5.6"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
|
@@ -68,7 +68,8 @@ export declare class ComponentDecoratorHandler implements DecoratorHandler<Decor
|
|
|
68
68
|
private readonly enableLetSyntax;
|
|
69
69
|
private readonly localCompilationExtraImportsTracker;
|
|
70
70
|
private readonly jitDeclarationRegistry;
|
|
71
|
-
|
|
71
|
+
private readonly i18nPreserveSignificantWhitespace;
|
|
72
|
+
constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaRegistry: MetadataRegistry, metaReader: MetadataReader, scopeReader: ComponentScopeReader, dtsScopeReader: DtsModuleScopeResolver, scopeRegistry: LocalModuleScopeRegistry, typeCheckScopeRegistry: TypeCheckScopeRegistry, resourceRegistry: ResourceRegistry, isCore: boolean, strictCtorDeps: boolean, resourceLoader: ResourceLoader, rootDirs: ReadonlyArray<string>, defaultPreserveWhitespaces: boolean, i18nUseExternalIds: boolean, enableI18nLegacyMessageIdFormat: boolean, usePoisonedData: boolean, i18nNormalizeLineEndingsInICUs: boolean, moduleResolver: ModuleResolver, cycleAnalyzer: CycleAnalyzer, cycleHandlingStrategy: CycleHandlingStrategy, refEmitter: ReferenceEmitter, referencesRegistry: ReferencesRegistry, depTracker: DependencyTracker | null, injectableRegistry: InjectableClassRegistry, semanticDepGraphUpdater: SemanticDepGraphUpdater | null, annotateForClosureCompiler: boolean, perf: PerfRecorder, hostDirectivesResolver: HostDirectivesResolver, importTracker: ImportedSymbolsTracker, includeClassMetadata: boolean, compilationMode: CompilationMode, deferredSymbolTracker: DeferredSymbolTracker, forbidOrphanRendering: boolean, enableBlockSyntax: boolean, enableLetSyntax: boolean, localCompilationExtraImportsTracker: LocalCompilationExtraImportsTracker | null, jitDeclarationRegistry: JitDeclarationRegistry, i18nPreserveSignificantWhitespace: boolean);
|
|
72
73
|
private literalCache;
|
|
73
74
|
private elementSchemaRegistry;
|
|
74
75
|
/**
|
|
@@ -101,6 +101,7 @@ export interface ExtractTemplateOptions {
|
|
|
101
101
|
i18nNormalizeLineEndingsInICUs: boolean;
|
|
102
102
|
enableBlockSyntax: boolean;
|
|
103
103
|
enableLetSyntax: boolean;
|
|
104
|
+
preserveSignificantWhitespace?: boolean;
|
|
104
105
|
}
|
|
105
106
|
export declare function extractTemplate(node: ClassDeclaration, template: TemplateDeclaration, evaluator: PartialEvaluator, depTracker: DependencyTracker | null, resourceLoader: ResourceLoader, options: ExtractTemplateOptions, compilationMode: CompilationMode): ParsedTemplateWithSource;
|
|
106
107
|
export declare function parseTemplateDeclaration(node: ClassDeclaration, decorator: Decorator, component: Map<string, ts.Expression>, containingFile: string, evaluator: PartialEvaluator, depTracker: DependencyTracker | null, resourceLoader: ResourceLoader, defaultPreserveWhitespaces: boolean): TemplateDeclaration;
|
|
@@ -357,6 +357,13 @@ export interface I18nOptions {
|
|
|
357
357
|
* The default is `false`, but this will be switched in a future major release.
|
|
358
358
|
*/
|
|
359
359
|
i18nNormalizeLineEndingsInICUs?: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* Whether or not to preserve whitespace when extracting messages with the legacy (View Engine)
|
|
362
|
+
* pipeline.
|
|
363
|
+
*
|
|
364
|
+
* Defaults to `true`.
|
|
365
|
+
*/
|
|
366
|
+
i18nPreserveWhitespaceForLegacyExtraction?: boolean;
|
|
360
367
|
}
|
|
361
368
|
/**
|
|
362
369
|
* Options that specify compilation target.
|