@angular/compiler-cli 13.1.0-next.3 → 13.2.0-next.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-JJMLEEKA.js → chunk-AUFNJGZ6.js} +6 -6
- package/bundles/{chunk-JJMLEEKA.js.map → chunk-AUFNJGZ6.js.map} +0 -0
- package/bundles/{chunk-QDWL7SZJ.js → chunk-BPCUCINV.js} +2 -2
- package/bundles/{chunk-QDWL7SZJ.js.map → chunk-BPCUCINV.js.map} +0 -0
- package/bundles/{chunk-UIKTHF6Z.js → chunk-DJRTTRF3.js} +40 -40
- package/bundles/{chunk-UIKTHF6Z.js.map → chunk-DJRTTRF3.js.map} +0 -0
- package/bundles/{chunk-IESRH26X.js → chunk-FXVUPJ6A.js} +57 -57
- package/bundles/{chunk-IESRH26X.js.map → chunk-FXVUPJ6A.js.map} +0 -0
- package/bundles/{chunk-GLCRIILX.js → chunk-J6CW3T62.js} +5 -5
- package/bundles/{chunk-GLCRIILX.js.map → chunk-J6CW3T62.js.map} +0 -0
- package/bundles/{chunk-SKBLJA43.js → chunk-JTYUTYS2.js} +3 -3
- package/bundles/{chunk-SKBLJA43.js.map → chunk-JTYUTYS2.js.map} +0 -0
- package/bundles/{chunk-7HBAJSZA.js → chunk-KWZNY2SK.js} +76 -83
- package/bundles/chunk-KWZNY2SK.js.map +6 -0
- package/bundles/{chunk-HDZS2JG2.js → chunk-O5ZEI3UY.js} +19 -19
- package/bundles/chunk-O5ZEI3UY.js.map +6 -0
- package/bundles/{chunk-MFCLQBFK.js → chunk-OOIW53QX.js} +31 -31
- package/bundles/{chunk-MFCLQBFK.js.map → chunk-OOIW53QX.js.map} +0 -0
- package/bundles/{chunk-COAETSNP.js → chunk-P5ZW5MI4.js} +105 -190
- package/bundles/chunk-P5ZW5MI4.js.map +6 -0
- package/bundles/{chunk-QL6ZC3U3.js → chunk-PF3ZPGF5.js} +7 -7
- package/bundles/{chunk-QL6ZC3U3.js.map → chunk-PF3ZPGF5.js.map} +0 -0
- package/bundles/{chunk-UMUIU7TE.js → chunk-QFB4WK55.js} +4 -4
- package/bundles/{chunk-UMUIU7TE.js.map → chunk-QFB4WK55.js.map} +0 -0
- package/bundles/{chunk-EP5JHXG2.js → chunk-TI3THPMZ.js} +7 -7
- package/bundles/{chunk-EP5JHXG2.js.map → chunk-TI3THPMZ.js.map} +0 -0
- package/bundles/{chunk-7HVF6UHR.js → chunk-W5CGOJQ4.js} +13 -7
- package/bundles/chunk-W5CGOJQ4.js.map +6 -0
- package/bundles/{chunk-4EDYFHXN.js → chunk-X46CEINM.js} +6 -6
- package/bundles/chunk-X46CEINM.js.map +6 -0
- package/bundles/index.js +12 -27
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- 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 +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/index.d.ts +0 -2
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +3 -3
- package/src/ngtsc/core/src/host.d.ts +1 -1
- package/src/ngtsc/program.d.ts +3 -6
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
- package/src/ngtsc/util/src/typescript.d.ts +0 -5
- package/src/perform_compile.d.ts +5 -10
- package/src/perform_watch.d.ts +4 -4
- package/src/transformers/api.d.ts +3 -30
- package/src/transformers/util.d.ts +4 -6
- package/bundles/chunk-4EDYFHXN.js.map +0 -6
- package/bundles/chunk-7HBAJSZA.js.map +0 -6
- package/bundles/chunk-7HVF6UHR.js.map +0 -6
- package/bundles/chunk-COAETSNP.js.map +0 -6
- package/bundles/chunk-HDZS2JG2.js.map +0 -6
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PF3ZPGF5.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O5ZEI3UY.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
16
16
|
} from "./chunk-XA5IZLLC.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
19
19
|
var FatalLinkerError = class extends Error {
|
|
20
20
|
constructor(node, message) {
|
|
21
21
|
super(message);
|
|
@@ -27,14 +27,14 @@ function isFatalLinkerError(e) {
|
|
|
27
27
|
return e && e.type === "FatalLinkerError";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
31
31
|
function assert(node, predicate, expected) {
|
|
32
32
|
if (!predicate(node)) {
|
|
33
33
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
38
38
|
import {
|
|
39
39
|
WrappedNodeExpr
|
|
40
40
|
} from "@angular/compiler";
|
|
@@ -162,10 +162,10 @@ var AstValue = class {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
166
166
|
import { ConstantPool } from "@angular/compiler";
|
|
167
167
|
|
|
168
|
-
// bazel-out/
|
|
168
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
169
169
|
var LinkerImportGenerator = class {
|
|
170
170
|
constructor(ngImport) {
|
|
171
171
|
this.ngImport = ngImport;
|
|
@@ -185,7 +185,7 @@ var LinkerImportGenerator = class {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
189
189
|
var EmitScope = class {
|
|
190
190
|
constructor(ngImport, translator) {
|
|
191
191
|
this.ngImport = ngImport;
|
|
@@ -201,7 +201,7 @@ var EmitScope = class {
|
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
|
|
204
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/iife_emit_scope.mjs
|
|
205
205
|
var IifeEmitScope = class extends EmitScope {
|
|
206
206
|
constructor(ngImport, translator, factory) {
|
|
207
207
|
super(ngImport, translator);
|
|
@@ -219,10 +219,10 @@ var IifeEmitScope = class extends EmitScope {
|
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
// bazel-out/
|
|
222
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
223
223
|
import semver from "semver";
|
|
224
224
|
|
|
225
|
-
// bazel-out/
|
|
225
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
226
226
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
227
227
|
if (loader === null) {
|
|
228
228
|
return () => null;
|
|
@@ -237,7 +237,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
// bazel-out/
|
|
240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
241
241
|
import { compileClassMetadata } from "@angular/compiler";
|
|
242
242
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
243
243
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -254,13 +254,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
258
258
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, ViewEncapsulation } from "@angular/compiler";
|
|
259
259
|
|
|
260
|
-
// bazel-out/
|
|
260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
261
261
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
262
262
|
|
|
263
|
-
// bazel-out/
|
|
263
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
264
264
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
265
265
|
function wrapReference(wrapped) {
|
|
266
266
|
return { value: wrapped, type: wrapped };
|
|
@@ -308,7 +308,7 @@ function extractForwardRef(expr) {
|
|
|
308
308
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
// bazel-out/
|
|
311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
312
312
|
var PartialDirectiveLinkerVersion1 = class {
|
|
313
313
|
constructor(sourceUrl, code) {
|
|
314
314
|
this.sourceUrl = sourceUrl;
|
|
@@ -406,7 +406,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
406
406
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
// bazel-out/
|
|
409
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
410
410
|
var PartialComponentLinkerVersion1 = class {
|
|
411
411
|
constructor(getSourceFile, sourceUrl, code) {
|
|
412
412
|
this.getSourceFile = getSourceFile;
|
|
@@ -563,7 +563,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
563
563
|
return enumValue;
|
|
564
564
|
}
|
|
565
565
|
|
|
566
|
-
// bazel-out/
|
|
566
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
567
567
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
568
568
|
var PartialFactoryLinkerVersion1 = class {
|
|
569
569
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -601,7 +601,7 @@ function getDependencies(metaObj, propName) {
|
|
|
601
601
|
return null;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
|
-
// bazel-out/
|
|
604
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
605
605
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
606
606
|
var PartialInjectableLinkerVersion1 = class {
|
|
607
607
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -641,7 +641,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
641
641
|
return meta;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
// bazel-out/
|
|
644
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
645
645
|
import { compileInjector } from "@angular/compiler";
|
|
646
646
|
var PartialInjectorLinkerVersion1 = class {
|
|
647
647
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -665,7 +665,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
// bazel-out/
|
|
668
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
669
669
|
import { compileNgModule } from "@angular/compiler";
|
|
670
670
|
var PartialNgModuleLinkerVersion1 = class {
|
|
671
671
|
constructor(emitInline) {
|
|
@@ -737,7 +737,7 @@ function wrapReferences(values) {
|
|
|
737
737
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
// bazel-out/
|
|
740
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
741
741
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
742
742
|
var PartialPipeLinkerVersion1 = class {
|
|
743
743
|
constructor() {
|
|
@@ -766,7 +766,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
766
766
|
};
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
-
// bazel-out/
|
|
769
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
770
770
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
771
771
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
772
772
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -787,7 +787,7 @@ var declarationFunctions = [
|
|
|
787
787
|
];
|
|
788
788
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
789
789
|
const linkers = new Map();
|
|
790
|
-
const LATEST_VERSION_RANGE = getRange("<=", "13.
|
|
790
|
+
const LATEST_VERSION_RANGE = getRange("<=", "13.2.0-next.1");
|
|
791
791
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
792
792
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
793
793
|
]);
|
|
@@ -834,7 +834,7 @@ var PartialLinkerSelector = class {
|
|
|
834
834
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
835
835
|
}
|
|
836
836
|
const linkerRanges = this.linkers.get(functionName);
|
|
837
|
-
if (version === "13.
|
|
837
|
+
if (version === "13.2.0-next.1") {
|
|
838
838
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
839
839
|
}
|
|
840
840
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -860,7 +860,7 @@ function getRange(comparator, versionStr) {
|
|
|
860
860
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
// bazel-out/
|
|
863
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
864
864
|
var FileLinker = class {
|
|
865
865
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
866
866
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -903,14 +903,14 @@ var FileLinker = class {
|
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
|
|
906
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
907
907
|
var DEFAULT_LINKER_OPTIONS = {
|
|
908
908
|
sourceMapping: true,
|
|
909
909
|
linkerJitMode: false,
|
|
910
910
|
unknownDeclarationVersionHandling: "error"
|
|
911
911
|
};
|
|
912
912
|
|
|
913
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
914
914
|
var Translator = class {
|
|
915
915
|
constructor(factory) {
|
|
916
916
|
this.factory = factory;
|
|
@@ -923,7 +923,7 @@ var Translator = class {
|
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
925
|
|
|
926
|
-
// bazel-out/
|
|
926
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
927
927
|
var LinkerEnvironment = class {
|
|
928
928
|
constructor(fileSystem, logger, host, factory, options) {
|
|
929
929
|
this.fileSystem = fileSystem;
|
|
@@ -944,7 +944,7 @@ var LinkerEnvironment = class {
|
|
|
944
944
|
}
|
|
945
945
|
};
|
|
946
946
|
|
|
947
|
-
// bazel-out/
|
|
947
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
948
948
|
function needsLinking(path, source) {
|
|
949
949
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
950
950
|
}
|
|
@@ -965,4 +965,4 @@ export {
|
|
|
965
965
|
* Use of this source code is governed by an MIT-style license that can be
|
|
966
966
|
* found in the LICENSE file at https://angular.io/license
|
|
967
967
|
*/
|
|
968
|
-
//# sourceMappingURL=chunk-
|
|
968
|
+
//# sourceMappingURL=chunk-OOIW53QX.js.map
|
|
File without changes
|