@angular/compiler-cli
Advanced tools
Comparing version 19.1.3 to 19.2.0-next.0
@@ -9,3 +9,3 @@ | ||
constructorParametersDownlevelTransform | ||
} from "./chunk-C7LUE5H7.js"; | ||
} from "./chunk-IVYDKMDU.js"; | ||
import { | ||
@@ -37,3 +37,3 @@ DEFAULT_ERROR_CODE, | ||
readConfiguration | ||
} from "./chunk-E53LG5FO.js"; | ||
} from "./chunk-BQBPEWUM.js"; | ||
import { | ||
@@ -43,7 +43,7 @@ angularJitApplicationTransform, | ||
getInitializerApiJitTransform | ||
} from "./chunk-RFP3I4Z5.js"; | ||
} from "./chunk-E4OAEK7A.js"; | ||
import { | ||
OptimizeFor, | ||
TsCreateProgramDriver | ||
} from "./chunk-FTKLQ24G.js"; | ||
} from "./chunk-L6PLONOG.js"; | ||
import { | ||
@@ -53,3 +53,3 @@ ErrorCode, | ||
ngErrorCode | ||
} from "./chunk-MMGTGRB2.js"; | ||
} from "./chunk-J3VFQRNB.js"; | ||
import { | ||
@@ -89,3 +89,3 @@ ActivePerfRecorder, | ||
import { Version } from "@angular/compiler"; | ||
var VERSION = new Version("19.1.3"); | ||
var VERSION = new Version("19.2.0-next.0"); | ||
@@ -92,0 +92,0 @@ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs |
@@ -11,4 +11,4 @@ | ||
isFatalLinkerError | ||
} from "../../chunk-T2HQMWRH.js"; | ||
import "../../chunk-MMGTGRB2.js"; | ||
} from "../../chunk-BYC2LPQI.js"; | ||
import "../../chunk-J3VFQRNB.js"; | ||
import { | ||
@@ -116,4 +116,7 @@ ConsoleLogger, | ||
createTaggedTemplate(tag, template) { | ||
return t.taggedTemplateExpression(tag, this.createTemplateLiteral(template)); | ||
} | ||
createTemplateLiteral(template) { | ||
const elements = template.elements.map((element, i) => this.setSourceMapRange(t.templateElement(element, i === template.elements.length - 1), element.range)); | ||
return t.taggedTemplateExpression(tag, t.templateLiteral(elements, template.expressions)); | ||
return t.templateLiteral(elements, template.expressions); | ||
} | ||
@@ -120,0 +123,0 @@ createThrowStatement = t.throwStatement; |
@@ -13,4 +13,4 @@ | ||
needsLinking | ||
} from "../chunk-T2HQMWRH.js"; | ||
import "../chunk-MMGTGRB2.js"; | ||
} from "../chunk-BYC2LPQI.js"; | ||
import "../chunk-J3VFQRNB.js"; | ||
import "../chunk-77D5CI2U.js"; | ||
@@ -17,0 +17,0 @@ import "../chunk-37JMVF7H.js"; |
@@ -12,3 +12,3 @@ | ||
forwardRefResolver | ||
} from "../chunk-FTKLQ24G.js"; | ||
} from "../chunk-L6PLONOG.js"; | ||
import { | ||
@@ -19,3 +19,3 @@ ImportManager, | ||
reflectObjectLiteral | ||
} from "../chunk-MMGTGRB2.js"; | ||
} from "../chunk-J3VFQRNB.js"; | ||
import "../chunk-Q2WE7ECN.js"; | ||
@@ -22,0 +22,0 @@ import "../chunk-37JMVF7H.js"; |
@@ -9,6 +9,6 @@ | ||
constructorParametersDownlevelTransform | ||
} from "../chunk-C7LUE5H7.js"; | ||
import "../chunk-RFP3I4Z5.js"; | ||
import "../chunk-FTKLQ24G.js"; | ||
import "../chunk-MMGTGRB2.js"; | ||
} from "../chunk-IVYDKMDU.js"; | ||
import "../chunk-E4OAEK7A.js"; | ||
import "../chunk-L6PLONOG.js"; | ||
import "../chunk-J3VFQRNB.js"; | ||
import "../chunk-Q2WE7ECN.js"; | ||
@@ -15,0 +15,0 @@ import "../chunk-37JMVF7H.js"; |
@@ -9,9 +9,9 @@ #!/usr/bin/env node | ||
readCommandLineAndConfiguration | ||
} from "../../chunk-XJHTEQ76.js"; | ||
} from "../../chunk-YBMV7GU7.js"; | ||
import { | ||
EmitFlags | ||
} from "../../chunk-E53LG5FO.js"; | ||
import "../../chunk-RFP3I4Z5.js"; | ||
import "../../chunk-FTKLQ24G.js"; | ||
import "../../chunk-MMGTGRB2.js"; | ||
} from "../../chunk-BQBPEWUM.js"; | ||
import "../../chunk-E4OAEK7A.js"; | ||
import "../../chunk-L6PLONOG.js"; | ||
import "../../chunk-J3VFQRNB.js"; | ||
import "../../chunk-Q2WE7ECN.js"; | ||
@@ -18,0 +18,0 @@ import { |
@@ -8,7 +8,7 @@ #!/usr/bin/env node | ||
main | ||
} from "../../chunk-XJHTEQ76.js"; | ||
import "../../chunk-E53LG5FO.js"; | ||
import "../../chunk-RFP3I4Z5.js"; | ||
import "../../chunk-FTKLQ24G.js"; | ||
import "../../chunk-MMGTGRB2.js"; | ||
} from "../../chunk-YBMV7GU7.js"; | ||
import "../../chunk-BQBPEWUM.js"; | ||
import "../../chunk-E4OAEK7A.js"; | ||
import "../../chunk-L6PLONOG.js"; | ||
import "../../chunk-J3VFQRNB.js"; | ||
import "../../chunk-Q2WE7ECN.js"; | ||
@@ -15,0 +15,0 @@ import { |
@@ -41,2 +41,3 @@ /** | ||
createTaggedTemplate(tag: t.Expression, template: TemplateLiteral<t.Expression>): t.Expression; | ||
createTemplateLiteral(template: TemplateLiteral<t.Expression>): t.TemplateLiteral; | ||
createThrowStatement: typeof t.throwStatement; | ||
@@ -43,0 +44,0 @@ createTypeOfExpression(expression: t.Expression): t.Expression; |
@@ -10,3 +10,3 @@ /** | ||
import { AstObject, AstValue } from '../../ast/ast_value'; | ||
export declare const PLACEHOLDER_VERSION = "19.1.3"; | ||
export declare const PLACEHOLDER_VERSION = "19.2.0-next.0"; | ||
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference; | ||
@@ -13,0 +13,0 @@ /** |
{ | ||
"name": "@angular/compiler-cli", | ||
"version": "19.1.3", | ||
"version": "19.2.0-next.0", | ||
"description": "Angular - the compiler CLI for Node.js", | ||
@@ -56,3 +56,3 @@ "typings": "index.d.ts", | ||
"peerDependencies": { | ||
"@angular/compiler": "19.1.3", | ||
"@angular/compiler": "19.2.0-next.0", | ||
"typescript": ">=5.5 <5.8" | ||
@@ -59,0 +59,0 @@ }, |
@@ -178,2 +178,13 @@ /** | ||
/** | ||
* Create an untagged template literal | ||
* | ||
* ``` | ||
* `str1${expr1}str2${expr2}str3` | ||
* ``` | ||
* | ||
* @param template the collection of strings and expressions that constitute an interpolated | ||
* template literal. | ||
*/ | ||
createTemplateLiteral(template: TemplateLiteral<TExpression>): TExpression; | ||
/** | ||
* Create a throw statement (e.g. `throw expr;`). | ||
@@ -180,0 +191,0 @@ * |
@@ -37,3 +37,4 @@ /** | ||
visitInvokeFunctionExpr(ast: o.InvokeFunctionExpr, context: Context): TExpression; | ||
visitTaggedTemplateExpr(ast: o.TaggedTemplateExpr, context: Context): TExpression; | ||
visitTaggedTemplateLiteralExpr(ast: o.TaggedTemplateLiteralExpr, context: Context): TExpression; | ||
visitTemplateLiteralExpr(ast: o.TemplateLiteralExpr, context: Context): TExpression; | ||
visitInstantiateExpr(ast: o.InstantiateExpr, context: Context): TExpression; | ||
@@ -60,2 +61,3 @@ visitLiteralExpr(ast: o.LiteralExpr, _context: Context): TExpression; | ||
visitCommaExpr(ast: o.CommaExpr, context: Context): never; | ||
visitTemplateLiteralElementExpr(ast: o.TemplateLiteralElementExpr, context: any): void; | ||
visitWrappedNodeExpr(ast: o.WrappedNodeExpr<any>, _context: Context): any; | ||
@@ -67,2 +69,3 @@ visitTypeofExpr(ast: o.TypeofExpr, context: Context): TExpression; | ||
private attachComments; | ||
private getTemplateLiteralFromAst; | ||
} |
@@ -39,2 +39,3 @@ /** | ||
createTaggedTemplate(tag: ts.Expression, template: TemplateLiteral<ts.Expression>): ts.Expression; | ||
createTemplateLiteral(template: TemplateLiteral<ts.Expression>): ts.TemplateLiteral; | ||
createThrowStatement: (expression: ts.Expression) => ts.ThrowStatement; | ||
@@ -41,0 +42,0 @@ createTypeOfExpression: (expression: ts.Expression) => ts.TypeOfExpression; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2635595
44178
1