@typescript-deploys/pr-build 6.0.0-pr-62669-3 → 6.0.0-pr-62673-3
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/lib/_tsc.js +18 -1
- package/lib/typescript.js +18 -1
- package/package.json +1 -1
package/lib/_tsc.js
CHANGED
|
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
// src/compiler/corePublic.ts
|
|
20
20
|
var versionMajorMinor = "6.0";
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20251028`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -71617,9 +71617,26 @@ function createTypeChecker(host) {
|
|
|
71617
71617
|
function markIdentifierAliasReferenced(location) {
|
|
71618
71618
|
const symbol = getResolvedSymbol(location);
|
|
71619
71619
|
if (symbol && symbol !== argumentsSymbol && symbol !== unknownSymbol && !isThisInTypeQuery(location)) {
|
|
71620
|
+
if (isIdentifierInAbstractMemberComputedPropertyName(location)) {
|
|
71621
|
+
return;
|
|
71622
|
+
}
|
|
71620
71623
|
markAliasReferenced(symbol, location);
|
|
71621
71624
|
}
|
|
71622
71625
|
}
|
|
71626
|
+
function isIdentifierInAbstractMemberComputedPropertyName(node) {
|
|
71627
|
+
let parent = node.parent;
|
|
71628
|
+
while (parent) {
|
|
71629
|
+
if (isComputedPropertyName(parent)) {
|
|
71630
|
+
const memberParent = parent.parent;
|
|
71631
|
+
if ((isMethodDeclaration(memberParent) || isMethodSignature(memberParent) || isPropertyDeclaration(memberParent) || isPropertySignature(memberParent)) && hasSyntacticModifier(memberParent, 64 /* Abstract */)) {
|
|
71632
|
+
return true;
|
|
71633
|
+
}
|
|
71634
|
+
return false;
|
|
71635
|
+
}
|
|
71636
|
+
parent = parent.parent;
|
|
71637
|
+
}
|
|
71638
|
+
return false;
|
|
71639
|
+
}
|
|
71623
71640
|
function markPropertyAliasReferenced(location, propSymbol, parentType) {
|
|
71624
71641
|
const left = isPropertyAccessExpression(location) ? location.expression : location.left;
|
|
71625
71642
|
if (isThisIdentifier(left) || !isIdentifier(left)) {
|
package/lib/typescript.js
CHANGED
|
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2286
2286
|
|
|
2287
2287
|
// src/compiler/corePublic.ts
|
|
2288
2288
|
var versionMajorMinor = "6.0";
|
|
2289
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2289
|
+
var version = `${versionMajorMinor}.0-insiders.20251028`;
|
|
2290
2290
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2291
2291
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2292
2292
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -76223,9 +76223,26 @@ function createTypeChecker(host) {
|
|
|
76223
76223
|
function markIdentifierAliasReferenced(location) {
|
|
76224
76224
|
const symbol = getResolvedSymbol(location);
|
|
76225
76225
|
if (symbol && symbol !== argumentsSymbol && symbol !== unknownSymbol && !isThisInTypeQuery(location)) {
|
|
76226
|
+
if (isIdentifierInAbstractMemberComputedPropertyName(location)) {
|
|
76227
|
+
return;
|
|
76228
|
+
}
|
|
76226
76229
|
markAliasReferenced(symbol, location);
|
|
76227
76230
|
}
|
|
76228
76231
|
}
|
|
76232
|
+
function isIdentifierInAbstractMemberComputedPropertyName(node) {
|
|
76233
|
+
let parent2 = node.parent;
|
|
76234
|
+
while (parent2) {
|
|
76235
|
+
if (isComputedPropertyName(parent2)) {
|
|
76236
|
+
const memberParent = parent2.parent;
|
|
76237
|
+
if ((isMethodDeclaration(memberParent) || isMethodSignature(memberParent) || isPropertyDeclaration(memberParent) || isPropertySignature(memberParent)) && hasSyntacticModifier(memberParent, 64 /* Abstract */)) {
|
|
76238
|
+
return true;
|
|
76239
|
+
}
|
|
76240
|
+
return false;
|
|
76241
|
+
}
|
|
76242
|
+
parent2 = parent2.parent;
|
|
76243
|
+
}
|
|
76244
|
+
return false;
|
|
76245
|
+
}
|
|
76229
76246
|
function markPropertyAliasReferenced(location, propSymbol, parentType) {
|
|
76230
76247
|
const left = isPropertyAccessExpression(location) ? location.expression : location.left;
|
|
76231
76248
|
if (isThisIdentifier(left) || !isIdentifier(left)) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "6.0.0-pr-
|
|
5
|
+
"version": "6.0.0-pr-62673-3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|