@angular/compiler-cli 14.0.0-rc.3 → 14.0.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-7XY4OMWJ.js +2 -2
- package/bundles/{chunk-KAZROYQX.js → chunk-DIXBUYVP.js} +3 -3
- package/bundles/{chunk-KAZROYQX.js.map → chunk-DIXBUYVP.js.map} +0 -0
- package/bundles/{chunk-EN4WVK2E.js → chunk-EBIPNBQL.js} +2 -2
- package/bundles/{chunk-EN4WVK2E.js.map → chunk-EBIPNBQL.js.map} +0 -0
- package/bundles/{chunk-GWA6QBDZ.js → chunk-N5CM3LUE.js} +6 -3
- package/bundles/{chunk-GWA6QBDZ.js.map → chunk-N5CM3LUE.js.map} +1 -1
- package/bundles/{chunk-AWUSLKAS.js → chunk-XDCGNQL5.js} +12 -32
- package/bundles/chunk-XDCGNQL5.js.map +6 -0
- package/bundles/{chunk-I7TI6THJ.js → chunk-Z7J7RXFF.js} +3 -3
- package/bundles/{chunk-I7TI6THJ.js.map → chunk-Z7J7RXFF.js.map} +0 -0
- package/bundles/index.js +3 -3
- package/bundles/ngcc/index.js +4 -4
- package/bundles/ngcc/main-ngcc.js +4 -4
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.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/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/program.d.ts +1 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -3
- package/src/perform_compile.d.ts +2 -1
- package/src/transformers/api.d.ts +2 -1
- package/bundles/chunk-AWUSLKAS.js.map +0 -6
|
@@ -828,7 +828,7 @@ var declarationFunctions = [
|
|
|
828
828
|
];
|
|
829
829
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
830
830
|
const linkers = /* @__PURE__ */ new Map();
|
|
831
|
-
const LATEST_VERSION_RANGE = getRange("<=", "14.0.
|
|
831
|
+
const LATEST_VERSION_RANGE = getRange("<=", "14.0.2");
|
|
832
832
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
833
833
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
834
834
|
]);
|
|
@@ -875,7 +875,7 @@ var PartialLinkerSelector = class {
|
|
|
875
875
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
876
876
|
}
|
|
877
877
|
const linkerRanges = this.linkers.get(functionName);
|
|
878
|
-
if (version === "14.0.
|
|
878
|
+
if (version === "14.0.2") {
|
|
879
879
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
880
880
|
}
|
|
881
881
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ImportGraph,
|
|
9
9
|
isShim,
|
|
10
10
|
readConfiguration
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XDCGNQL5.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
TypeCheckScopeRegistry,
|
|
33
33
|
forwardRefResolver,
|
|
34
34
|
readBaseClass
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-N5CM3LUE.js";
|
|
36
36
|
import {
|
|
37
37
|
ClassMemberKind,
|
|
38
38
|
KnownDeclaration,
|
|
@@ -5186,4 +5186,4 @@ export {
|
|
|
5186
5186
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5187
5187
|
* found in the LICENSE file at https://angular.io/license
|
|
5188
5188
|
*/
|
|
5189
|
-
//# sourceMappingURL=chunk-
|
|
5189
|
+
//# sourceMappingURL=chunk-DIXBUYVP.js.map
|
|
File without changes
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
formatDiagnostics,
|
|
15
15
|
performCompilation,
|
|
16
16
|
readConfiguration
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XDCGNQL5.js";
|
|
18
18
|
import {
|
|
19
19
|
__spreadProps,
|
|
20
20
|
__spreadValues
|
|
@@ -379,4 +379,4 @@ export {
|
|
|
379
379
|
* Use of this source code is governed by an MIT-style license that can be
|
|
380
380
|
* found in the LICENSE file at https://angular.io/license
|
|
381
381
|
*/
|
|
382
|
-
//# sourceMappingURL=chunk-
|
|
382
|
+
//# sourceMappingURL=chunk-EBIPNBQL.js.map
|
|
File without changes
|
|
@@ -4828,7 +4828,10 @@ var NgModuleDecoratorHandler = class {
|
|
|
4828
4828
|
schemas: []
|
|
4829
4829
|
};
|
|
4830
4830
|
const rawProviders = ngModule.has("providers") ? ngModule.get("providers") : null;
|
|
4831
|
-
|
|
4831
|
+
let wrappedProviders = null;
|
|
4832
|
+
if (rawProviders !== null && (!ts22.isArrayLiteralExpression(rawProviders) || rawProviders.elements.length > 0)) {
|
|
4833
|
+
wrappedProviders = new WrappedNodeExpr6(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(rawProviders) : rawProviders);
|
|
4834
|
+
}
|
|
4832
4835
|
const topLevelImports = [];
|
|
4833
4836
|
if (ngModule.has("imports")) {
|
|
4834
4837
|
const rawImports2 = unwrapExpression(ngModule.get("imports"));
|
|
@@ -4860,7 +4863,7 @@ var NgModuleDecoratorHandler = class {
|
|
|
4860
4863
|
name,
|
|
4861
4864
|
type,
|
|
4862
4865
|
internalType,
|
|
4863
|
-
providers:
|
|
4866
|
+
providers: wrappedProviders
|
|
4864
4867
|
};
|
|
4865
4868
|
const factoryMetadata = {
|
|
4866
4869
|
name,
|
|
@@ -6578,4 +6581,4 @@ export {
|
|
|
6578
6581
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6579
6582
|
* found in the LICENSE file at https://angular.io/license
|
|
6580
6583
|
*/
|
|
6581
|
-
//# sourceMappingURL=chunk-
|
|
6584
|
+
//# sourceMappingURL=chunk-N5CM3LUE.js.map
|