@angular/compiler-cli 17.0.8 → 17.0.9
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-GT7FGHLZ.js +1 -1
- package/bundles/{chunk-T6CN22EQ.js → chunk-HVFATYMH.js} +2 -2
- package/bundles/{chunk-KDLK7PF4.js → chunk-LDXHWSVM.js} +5 -3
- package/bundles/{chunk-KDLK7PF4.js.map → chunk-LDXHWSVM.js.map} +1 -1
- package/bundles/index.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +2 -2
- package/bundles/src/bin/ngc.js +2 -2
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- /package/bundles/{chunk-T6CN22EQ.js.map → chunk-HVFATYMH.js.map} +0 -0
|
@@ -267,7 +267,7 @@ import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSo
|
|
|
267
267
|
|
|
268
268
|
// bazel-out/darwin_arm64-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.0.
|
|
270
|
+
var PLACEHOLDER_VERSION = "17.0.9";
|
|
271
271
|
function wrapReference(wrapped) {
|
|
272
272
|
return { value: wrapped, type: wrapped };
|
|
273
273
|
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LDXHWSVM.js";
|
|
16
16
|
|
|
17
17
|
// bazel-out/darwin_arm64-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-HVFATYMH.js.map
|
|
@@ -7154,10 +7154,12 @@ var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
|
7154
7154
|
return [];
|
|
7155
7155
|
}
|
|
7156
7156
|
};
|
|
7157
|
+
function isSignal(symbol) {
|
|
7158
|
+
return ((symbol == null ? void 0 : symbol.escapedName) === "WritableSignal" || (symbol == null ? void 0 : symbol.escapedName) === "Signal") && symbol.parent.escapedName.includes("@angular/core");
|
|
7159
|
+
}
|
|
7157
7160
|
function buildDiagnosticForSignal(ctx, node, component) {
|
|
7158
|
-
var _a, _b;
|
|
7159
7161
|
const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
|
|
7160
|
-
if ((symbol == null ? void 0 : symbol.kind) === SymbolKind.Expression && ((
|
|
7162
|
+
if ((symbol == null ? void 0 : symbol.kind) === SymbolKind.Expression && (isSignal(symbol.tsType.symbol) || isSignal(symbol.tsType.aliasSymbol))) {
|
|
7161
7163
|
const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
|
|
7162
7164
|
const errorString = `${node.name} is a function and should be invoked: ${node.name}()`;
|
|
7163
7165
|
const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
|
|
@@ -8869,4 +8871,4 @@ export {
|
|
|
8869
8871
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8870
8872
|
* found in the LICENSE file at https://angular.io/license
|
|
8871
8873
|
*/
|
|
8872
|
-
//# sourceMappingURL=chunk-
|
|
8874
|
+
//# sourceMappingURL=chunk-LDXHWSVM.js.map
|