Skip to content

Commit 1ac08e1

Browse files
committed
76c4a77 refactor(core): move TNode manipulation logic to its own file (#59601)
1 parent df21308 commit 1ac08e1

20 files changed

+39
-36
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Tue Jan 21 18:04:03 UTC 2025
2-
431166d93fd3eb827f312ea51d091ebf15d9557c
1+
Tue Jan 21 18:54:32 UTC 2025
2+
76c4a77af7b6afb6df6af8f995def9b0b926e384

bundles/chunk-A7ZGHZXP.js renamed to bundles/chunk-C7LUE5H7.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

bundles/chunk-AE2XCV3A.js renamed to bundles/chunk-E53LG5FO.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

bundles/chunk-ALZIG66W.js renamed to bundles/chunk-FTKLQ24G.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13759,7 +13759,7 @@ var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
1375913759
if (ts45.isCallExpression(parent)) {
1376013760
return parent.expression === node || parent.arguments.includes(node);
1376113761
}
13762-
if (ts45.isExpressionStatement(parent) || ts45.isPropertyAccessExpression(parent) || ts45.isComputedPropertyName(parent) || ts45.isTemplateSpan(parent) || ts45.isSpreadAssignment(parent) || ts45.isSpreadElement(parent) || ts45.isAwaitExpression(parent) || ts45.isNonNullExpression(parent) || ts45.isIfStatement(parent) || ts45.isDoStatement(parent) || ts45.isWhileStatement(parent) || ts45.isSwitchStatement(parent) || ts45.isCaseClause(parent) || ts45.isThrowStatement(parent)) {
13762+
if (ts45.isExpressionStatement(parent) || ts45.isPropertyAccessExpression(parent) || ts45.isComputedPropertyName(parent) || ts45.isTemplateSpan(parent) || ts45.isSpreadAssignment(parent) || ts45.isSpreadElement(parent) || ts45.isAwaitExpression(parent) || ts45.isNonNullExpression(parent) || ts45.isIfStatement(parent) || ts45.isDoStatement(parent) || ts45.isWhileStatement(parent) || ts45.isSwitchStatement(parent) || ts45.isCaseClause(parent) || ts45.isThrowStatement(parent) || ts45.isNewExpression(parent)) {
1376313763
return parent.expression === node;
1376413764
}
1376513765
if (ts45.isArrayLiteralExpression(parent)) {
@@ -13792,6 +13792,9 @@ var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
1379213792
if (ts45.isImportSpecifier(parent) || ts45.isExportSpecifier(parent)) {
1379313793
return (parent.propertyName || parent.name) === node;
1379413794
}
13795+
if (ts45.isConditionalExpression(parent)) {
13796+
return parent.condition === node || parent.whenFalse === node || parent.whenTrue === node;
13797+
}
1379513798
return false;
1379613799
}
1379713800
isTypeScriptNode(value) {
@@ -15515,4 +15518,4 @@ export {
1551515518
* Use of this source code is governed by an MIT-style license that can be
1551615519
* found in the LICENSE file at https://angular.dev/license
1551715520
*/
15518-
//# sourceMappingURL=chunk-ALZIG66W.js.map
15521+
//# sourceMappingURL=chunk-FTKLQ24G.js.map

bundles/chunk-ALZIG66W.js.map renamed to bundles/chunk-FTKLQ24G.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/chunk-QTCQJG7X.js renamed to bundles/chunk-RFP3I4Z5.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

bundles/chunk-T2HQMWRH.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)