@angular/compiler-cli 17.1.0-next.2 → 17.1.0-next.3
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-UHYH6BYB.js → chunk-3O3O4L34.js} +1 -1
- package/bundles/{chunk-54K5L6NG.js → chunk-5ASJ74IM.js} +30 -30
- package/bundles/{chunk-TNVYLY25.js → chunk-5JRMFWYO.js} +4 -4
- package/bundles/{chunk-SBDNBITT.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-OYL5JDZA.js → chunk-DV5CKGO6.js} +147 -122
- package/bundles/chunk-DV5CKGO6.js.map +6 -0
- package/bundles/{chunk-RLZPCAR3.js → chunk-EVIA54WP.js} +28 -27
- package/bundles/{chunk-RLZPCAR3.js.map → chunk-EVIA54WP.js.map} +1 -1
- package/bundles/{chunk-QPMYDNZG.js → chunk-I3M5LXMW.js} +7 -7
- package/bundles/{chunk-R4KQI5XI.js → chunk-JOIB3454.js} +5 -5
- package/bundles/{chunk-VOXK3NAL.js → chunk-LJKJD6DP.js} +77 -77
- package/bundles/{chunk-WCD6LVCP.js → chunk-WMUBJYYX.js} +7 -7
- package/bundles/{chunk-6GUXR7F5.js → chunk-XI2N3MV4.js} +11 -11
- package/bundles/{chunk-QWNQBN2Z.js → chunk-ZH5AJH3B.js} +5 -5
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- 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 +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- 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/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +2 -1
- package/src/ngtsc/typecheck/api/api.d.ts +4 -0
- package/src/ngtsc/typecheck/extended/index.d.ts +1 -0
- package/src/ngtsc/typecheck/src/oob.d.ts +3 -2
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +2 -1
- package/bundles/chunk-OYL5JDZA.js.map +0 -6
- /package/bundles/{chunk-UHYH6BYB.js.map → chunk-3O3O4L34.js.map} +0 -0
- /package/bundles/{chunk-54K5L6NG.js.map → chunk-5ASJ74IM.js.map} +0 -0
- /package/bundles/{chunk-TNVYLY25.js.map → chunk-5JRMFWYO.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-QPMYDNZG.js.map → chunk-I3M5LXMW.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-JOIB3454.js.map} +0 -0
- /package/bundles/{chunk-VOXK3NAL.js.map → chunk-LJKJD6DP.js.map} +0 -0
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-WMUBJYYX.js.map} +0 -0
- /package/bundles/{chunk-6GUXR7F5.js.map → chunk-XI2N3MV4.js.map} +0 -0
- /package/bundles/{chunk-QWNQBN2Z.js.map → chunk-ZH5AJH3B.js.map} +0 -0
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XI2N3MV4.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WMUBJYYX.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver2 from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,16 +258,16 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
import semver from "semver";
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
266
266
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
269
269
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
270
|
-
var PLACEHOLDER_VERSION = "17.1.0-next.
|
|
270
|
+
var PLACEHOLDER_VERSION = "17.1.0-next.3";
|
|
271
271
|
function wrapReference(wrapped) {
|
|
272
272
|
return { value: wrapped, type: wrapped };
|
|
273
273
|
}
|
|
@@ -314,7 +314,7 @@ function extractForwardRef(expr) {
|
|
|
314
314
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
// bazel-out/
|
|
317
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
318
318
|
var PartialDirectiveLinkerVersion1 = class {
|
|
319
319
|
constructor(sourceUrl, code) {
|
|
320
320
|
this.sourceUrl = sourceUrl;
|
|
@@ -444,7 +444,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
444
444
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
448
448
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
449
449
|
return {
|
|
450
450
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -660,7 +660,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
660
660
|
return enumValue;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
// bazel-out/
|
|
663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
664
664
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
665
665
|
var PartialFactoryLinkerVersion1 = class {
|
|
666
666
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -696,7 +696,7 @@ function getDependencies(metaObj, propName) {
|
|
|
696
696
|
return null;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
// bazel-out/
|
|
699
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
700
700
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
701
701
|
var PartialInjectableLinkerVersion1 = class {
|
|
702
702
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -734,7 +734,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
734
734
|
return meta;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
-
// bazel-out/
|
|
737
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
738
738
|
import { compileInjector } from "@angular/compiler";
|
|
739
739
|
var PartialInjectorLinkerVersion1 = class {
|
|
740
740
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -756,7 +756,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
-
// bazel-out/
|
|
759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
760
760
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
761
761
|
var PartialNgModuleLinkerVersion1 = class {
|
|
762
762
|
constructor(emitInline) {
|
|
@@ -828,7 +828,7 @@ function wrapReferences(values) {
|
|
|
828
828
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// bazel-out/
|
|
831
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
832
832
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
833
833
|
var PartialPipeLinkerVersion1 = class {
|
|
834
834
|
constructor() {
|
|
@@ -857,7 +857,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
// bazel-out/
|
|
860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
861
861
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
862
862
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
863
863
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -951,7 +951,7 @@ function getRange(comparator, versionStr) {
|
|
|
951
951
|
return new semver2.Range(`${comparator}${version.format()}`);
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
// bazel-out/
|
|
954
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
955
955
|
var FileLinker = class {
|
|
956
956
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
957
957
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -994,14 +994,14 @@ var FileLinker = class {
|
|
|
994
994
|
}
|
|
995
995
|
};
|
|
996
996
|
|
|
997
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
998
998
|
var DEFAULT_LINKER_OPTIONS = {
|
|
999
999
|
sourceMapping: true,
|
|
1000
1000
|
linkerJitMode: false,
|
|
1001
1001
|
unknownDeclarationVersionHandling: "error"
|
|
1002
1002
|
};
|
|
1003
1003
|
|
|
1004
|
-
// bazel-out/
|
|
1004
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1005
1005
|
var Translator = class {
|
|
1006
1006
|
constructor(factory) {
|
|
1007
1007
|
this.factory = factory;
|
|
@@ -1014,7 +1014,7 @@ var Translator = class {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
// bazel-out/
|
|
1017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1018
1018
|
var LinkerEnvironment = class {
|
|
1019
1019
|
constructor(fileSystem, logger, host, factory, options) {
|
|
1020
1020
|
this.fileSystem = fileSystem;
|
|
@@ -1035,7 +1035,7 @@ var LinkerEnvironment = class {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
};
|
|
1037
1037
|
|
|
1038
|
-
// bazel-out/
|
|
1038
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1039
1039
|
function needsLinking(path, source) {
|
|
1040
1040
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1041
1041
|
}
|
|
@@ -1056,4 +1056,4 @@ export {
|
|
|
1056
1056
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1057
1057
|
* found in the LICENSE file at https://angular.io/license
|
|
1058
1058
|
*/
|
|
1059
|
-
//# sourceMappingURL=chunk-
|
|
1059
|
+
//# sourceMappingURL=chunk-5ASJ74IM.js.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
TypeScriptReflectionHost,
|
|
7
7
|
isAliasImportDeclaration,
|
|
8
8
|
loadIsReferencedAliasDeclarationPatch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EVIA54WP.js";
|
|
10
10
|
|
|
11
|
-
// bazel-out/
|
|
11
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
12
12
|
import ts from "typescript";
|
|
13
13
|
function isAngularDecorator(decorator, isCore) {
|
|
14
14
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -311,7 +311,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
311
311
|
return ts.setOriginalNode(clone, node);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
315
315
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
316
316
|
ngDevMode: false,
|
|
317
317
|
ngI18nClosureMode: false
|
|
@@ -344,4 +344,4 @@ export {
|
|
|
344
344
|
* Use of this source code is governed by an MIT-style license that can be
|
|
345
345
|
* found in the LICENSE file at https://angular.io/license
|
|
346
346
|
*/
|
|
347
|
-
//# sourceMappingURL=chunk-
|
|
347
|
+
//# sourceMappingURL=chunk-5JRMFWYO.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-CF2CT7RQ.js.map
|