@angular/compiler-cli 17.0.0-rc.3 → 17.0.1
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-N7FTHCOD.js → chunk-3L3QP7PC.js} +2 -2
- package/bundles/{chunk-2I2I3FLR.js → chunk-HKIDKKUJ.js} +11 -6
- package/bundles/{chunk-2I2I3FLR.js.map → chunk-HKIDKKUJ.js.map} +1 -1
- package/bundles/{chunk-SKLJR6LO.js → chunk-VBLBTWOL.js} +5 -4
- package/bundles/{chunk-SKLJR6LO.js.map → chunk-VBLBTWOL.js.map} +1 -1
- package/bundles/chunk-Z4QM3XT4.js +1 -1
- package/bundles/index.js +3 -3
- package/bundles/private/migrations.js +1 -1
- package/bundles/src/bin/ng_xi18n.js +3 -3
- package/bundles/src/bin/ngc.js +3 -3
- 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/src/compiler.d.ts +1 -0
- /package/bundles/{chunk-N7FTHCOD.js.map → chunk-3L3QP7PC.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VBLBTWOL.js";
|
|
16
16
|
|
|
17
17
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
18
18
|
import ts2 from "typescript";
|
|
@@ -342,4 +342,4 @@ export {
|
|
|
342
342
|
* Use of this source code is governed by an MIT-style license that can be
|
|
343
343
|
* found in the LICENSE file at https://angular.io/license
|
|
344
344
|
*/
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-3L3QP7PC.js.map
|
|
@@ -5959,7 +5959,8 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
5959
5959
|
escapedString,
|
|
5960
5960
|
enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
|
|
5961
5961
|
i18nNormalizeLineEndingsInICUs,
|
|
5962
|
-
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
|
|
5962
|
+
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
|
|
5963
|
+
enableBlockSyntax: options.enableBlockSyntax
|
|
5963
5964
|
});
|
|
5964
5965
|
const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
|
|
5965
5966
|
preserveWhitespaces: true,
|
|
@@ -5970,7 +5971,8 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
5970
5971
|
enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
|
|
5971
5972
|
i18nNormalizeLineEndingsInICUs,
|
|
5972
5973
|
leadingTriviaChars: [],
|
|
5973
|
-
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
|
|
5974
|
+
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
|
|
5975
|
+
enableBlockSyntax: options.enableBlockSyntax
|
|
5974
5976
|
});
|
|
5975
5977
|
return {
|
|
5976
5978
|
...parsedTemplate,
|
|
@@ -6343,7 +6345,7 @@ var EMPTY_ARRAY2 = [];
|
|
|
6343
6345
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
6344
6346
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
6345
6347
|
var ComponentDecoratorHandler = class {
|
|
6346
|
-
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering) {
|
|
6348
|
+
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax) {
|
|
6347
6349
|
this.reflector = reflector;
|
|
6348
6350
|
this.evaluator = evaluator;
|
|
6349
6351
|
this.metaRegistry = metaRegistry;
|
|
@@ -6377,6 +6379,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6377
6379
|
this.compilationMode = compilationMode;
|
|
6378
6380
|
this.deferredSymbolTracker = deferredSymbolTracker;
|
|
6379
6381
|
this.forbidOrphanRendering = forbidOrphanRendering;
|
|
6382
|
+
this.enableBlockSyntax = enableBlockSyntax;
|
|
6380
6383
|
this.literalCache = /* @__PURE__ */ new Map();
|
|
6381
6384
|
this.elementSchemaRegistry = new DomElementSchemaRegistry();
|
|
6382
6385
|
this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
|
|
@@ -6386,7 +6389,8 @@ var ComponentDecoratorHandler = class {
|
|
|
6386
6389
|
this.extractTemplateOptions = {
|
|
6387
6390
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
6388
6391
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
6389
|
-
usePoisonedData: this.usePoisonedData
|
|
6392
|
+
usePoisonedData: this.usePoisonedData,
|
|
6393
|
+
enableBlockSyntax: this.enableBlockSyntax
|
|
6390
6394
|
};
|
|
6391
6395
|
}
|
|
6392
6396
|
detect(node, decorators) {
|
|
@@ -6539,7 +6543,8 @@ var ComponentDecoratorHandler = class {
|
|
|
6539
6543
|
template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
|
|
6540
6544
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
6541
6545
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
6542
|
-
usePoisonedData: this.usePoisonedData
|
|
6546
|
+
usePoisonedData: this.usePoisonedData,
|
|
6547
|
+
enableBlockSyntax: this.enableBlockSyntax
|
|
6543
6548
|
}, this.compilationMode);
|
|
6544
6549
|
}
|
|
6545
6550
|
const templateResource = template.declaration.isInline ? { path: null, expression: component.get("template") } : {
|
|
@@ -7619,4 +7624,4 @@ export {
|
|
|
7619
7624
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7620
7625
|
* found in the LICENSE file at https://angular.io/license
|
|
7621
7626
|
*/
|
|
7622
|
-
//# sourceMappingURL=chunk-
|
|
7627
|
+
//# sourceMappingURL=chunk-HKIDKKUJ.js.map
|