@typescript-deploys/pr-build 5.4.0-pr-56594-3 → 5.4.0-pr-57293-15
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 +237 -202
- package/lib/tsserver.js +238 -203
- package/lib/typescript.d.ts +13 -12
- package/lib/typescript.js +238 -203
- package/lib/typingsInstaller.js +40 -39
- package/package.json +2 -2
package/lib/typingsInstaller.js
CHANGED
|
@@ -1290,8 +1290,8 @@ Node ${formatSyntaxKind(node.kind)} was unexpected.`,
|
|
|
1290
1290
|
// for use with vscode-js-debug's new customDescriptionGenerator in launch.json
|
|
1291
1291
|
__tsDebuggerDisplay: {
|
|
1292
1292
|
value() {
|
|
1293
|
-
const typeHeader = this.flags & 67359327 /* Intrinsic */ ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 /* Nullable */ ? "NullableType" : this.flags & 384 /* StringOrNumberLiteral */ ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 /* BigIntLiteral */ ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 /* UniqueESSymbol */ ? "UniqueESSymbolType" : this.flags & 32 /* Enum */ ? "EnumType" : this.flags & 1048576 /* Union */ ? "UnionType" : this.flags & 2097152 /* Intersection */ ? "IntersectionType" : this.flags & 4194304 /* Index */ ? "IndexType" : this.flags & 8388608 /* IndexedAccess */ ? "IndexedAccessType" : this.flags & 16777216 /* Conditional */ ? "ConditionalType" : this.flags & 33554432 /* Substitution */ ? "SubstitutionType" : this.flags & 262144 /* TypeParameter */ ? "TypeParameter" : this.flags & 524288 /* Object */ ? this.objectFlags & 3 /* ClassOrInterface */ ? "InterfaceType" : this.objectFlags & 4 /* Reference */ ? "TypeReference" : this.objectFlags & 8 /* Tuple */ ? "TupleType" : this.objectFlags & 16 /* Anonymous */ ? "AnonymousType" : this.objectFlags & 32 /* Mapped */ ? "MappedType" : this.objectFlags &
|
|
1294
|
-
const remainingObjectFlags = this.flags & 524288 /* Object */ ? this.objectFlags & ~
|
|
1293
|
+
const typeHeader = this.flags & 67359327 /* Intrinsic */ ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 /* Nullable */ ? "NullableType" : this.flags & 384 /* StringOrNumberLiteral */ ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 /* BigIntLiteral */ ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 /* UniqueESSymbol */ ? "UniqueESSymbolType" : this.flags & 32 /* Enum */ ? "EnumType" : this.flags & 1048576 /* Union */ ? "UnionType" : this.flags & 2097152 /* Intersection */ ? "IntersectionType" : this.flags & 4194304 /* Index */ ? "IndexType" : this.flags & 8388608 /* IndexedAccess */ ? "IndexedAccessType" : this.flags & 16777216 /* Conditional */ ? "ConditionalType" : this.flags & 33554432 /* Substitution */ ? "SubstitutionType" : this.flags & 262144 /* TypeParameter */ ? "TypeParameter" : this.flags & 524288 /* Object */ ? this.objectFlags & 3 /* ClassOrInterface */ ? "InterfaceType" : this.objectFlags & 4 /* Reference */ ? "TypeReference" : this.objectFlags & 8 /* Tuple */ ? "TupleType" : this.objectFlags & 16 /* Anonymous */ ? "AnonymousType" : this.objectFlags & 32 /* Mapped */ ? "MappedType" : this.objectFlags & 2048 /* ReverseMapped */ ? "ReverseMappedType" : this.objectFlags & 512 /* EvolvingArray */ ? "EvolvingArrayType" : "ObjectType" : "Type";
|
|
1294
|
+
const remainingObjectFlags = this.flags & 524288 /* Object */ ? this.objectFlags & ~2623 /* ObjectTypeKindMask */ : 0;
|
|
1295
1295
|
return `${typeHeader}${this.symbol ? ` '${symbolName(this.symbol)}'` : ""}${remainingObjectFlags ? ` (${formatObjectFlags(remainingObjectFlags)})` : ""}`;
|
|
1296
1296
|
}
|
|
1297
1297
|
},
|
|
@@ -2387,7 +2387,7 @@ var tracingEnabled;
|
|
|
2387
2387
|
};
|
|
2388
2388
|
}
|
|
2389
2389
|
let reverseMappedProperties = {};
|
|
2390
|
-
if (objectFlags &
|
|
2390
|
+
if (objectFlags & 2048 /* ReverseMapped */) {
|
|
2391
2391
|
const reverseMappedType = type;
|
|
2392
2392
|
reverseMappedProperties = {
|
|
2393
2393
|
reverseMappedSourceType: (_l = reverseMappedType.source) == null ? void 0 : _l.id,
|
|
@@ -2396,7 +2396,7 @@ var tracingEnabled;
|
|
|
2396
2396
|
};
|
|
2397
2397
|
}
|
|
2398
2398
|
let evolvingArrayProperties = {};
|
|
2399
|
-
if (objectFlags &
|
|
2399
|
+
if (objectFlags & 512 /* EvolvingArray */) {
|
|
2400
2400
|
const evolvingArrayType = type;
|
|
2401
2401
|
evolvingArrayProperties = {
|
|
2402
2402
|
evolvingArrayElementType: evolvingArrayType.elementType.id,
|
|
@@ -3119,42 +3119,43 @@ var ObjectFlags = /* @__PURE__ */ ((ObjectFlags3) => {
|
|
|
3119
3119
|
ObjectFlags3[ObjectFlags3["Tuple"] = 8] = "Tuple";
|
|
3120
3120
|
ObjectFlags3[ObjectFlags3["Anonymous"] = 16] = "Anonymous";
|
|
3121
3121
|
ObjectFlags3[ObjectFlags3["Mapped"] = 32] = "Mapped";
|
|
3122
|
-
ObjectFlags3[ObjectFlags3["
|
|
3123
|
-
ObjectFlags3[ObjectFlags3["
|
|
3124
|
-
ObjectFlags3[ObjectFlags3["
|
|
3125
|
-
ObjectFlags3[ObjectFlags3["
|
|
3126
|
-
ObjectFlags3[ObjectFlags3["
|
|
3127
|
-
ObjectFlags3[ObjectFlags3["
|
|
3128
|
-
ObjectFlags3[ObjectFlags3["
|
|
3129
|
-
ObjectFlags3[ObjectFlags3["
|
|
3130
|
-
ObjectFlags3[ObjectFlags3["
|
|
3131
|
-
ObjectFlags3[ObjectFlags3["
|
|
3132
|
-
ObjectFlags3[ObjectFlags3["
|
|
3133
|
-
ObjectFlags3[ObjectFlags3["
|
|
3134
|
-
ObjectFlags3[ObjectFlags3["
|
|
3135
|
-
ObjectFlags3[ObjectFlags3["
|
|
3136
|
-
ObjectFlags3[ObjectFlags3["
|
|
3122
|
+
ObjectFlags3[ObjectFlags3["TypeAliasInstantiation"] = 64] = "TypeAliasInstantiation";
|
|
3123
|
+
ObjectFlags3[ObjectFlags3["Instantiated"] = 128] = "Instantiated";
|
|
3124
|
+
ObjectFlags3[ObjectFlags3["ObjectLiteral"] = 256] = "ObjectLiteral";
|
|
3125
|
+
ObjectFlags3[ObjectFlags3["EvolvingArray"] = 512] = "EvolvingArray";
|
|
3126
|
+
ObjectFlags3[ObjectFlags3["ObjectLiteralPatternWithComputedProperties"] = 1024] = "ObjectLiteralPatternWithComputedProperties";
|
|
3127
|
+
ObjectFlags3[ObjectFlags3["ReverseMapped"] = 2048] = "ReverseMapped";
|
|
3128
|
+
ObjectFlags3[ObjectFlags3["JsxAttributes"] = 4096] = "JsxAttributes";
|
|
3129
|
+
ObjectFlags3[ObjectFlags3["JSLiteral"] = 8192] = "JSLiteral";
|
|
3130
|
+
ObjectFlags3[ObjectFlags3["FreshLiteral"] = 16384] = "FreshLiteral";
|
|
3131
|
+
ObjectFlags3[ObjectFlags3["ArrayLiteral"] = 32768] = "ArrayLiteral";
|
|
3132
|
+
ObjectFlags3[ObjectFlags3["PrimitiveUnion"] = 65536] = "PrimitiveUnion";
|
|
3133
|
+
ObjectFlags3[ObjectFlags3["ContainsWideningType"] = 131072] = "ContainsWideningType";
|
|
3134
|
+
ObjectFlags3[ObjectFlags3["ContainsObjectOrArrayLiteral"] = 262144] = "ContainsObjectOrArrayLiteral";
|
|
3135
|
+
ObjectFlags3[ObjectFlags3["NonInferrableType"] = 524288] = "NonInferrableType";
|
|
3136
|
+
ObjectFlags3[ObjectFlags3["CouldContainTypeVariablesComputed"] = 1048576] = "CouldContainTypeVariablesComputed";
|
|
3137
|
+
ObjectFlags3[ObjectFlags3["CouldContainTypeVariables"] = 2097152] = "CouldContainTypeVariables";
|
|
3137
3138
|
ObjectFlags3[ObjectFlags3["ClassOrInterface"] = 3] = "ClassOrInterface";
|
|
3138
|
-
ObjectFlags3[ObjectFlags3["RequiresWidening"] =
|
|
3139
|
-
ObjectFlags3[ObjectFlags3["PropagatingFlags"] =
|
|
3140
|
-
ObjectFlags3[ObjectFlags3["InstantiatedMapped"] =
|
|
3141
|
-
ObjectFlags3[ObjectFlags3["ObjectTypeKindMask"] =
|
|
3142
|
-
ObjectFlags3[ObjectFlags3["ContainsSpread"] =
|
|
3143
|
-
ObjectFlags3[ObjectFlags3["ObjectRestType"] =
|
|
3144
|
-
ObjectFlags3[ObjectFlags3["InstantiationExpressionType"] =
|
|
3145
|
-
ObjectFlags3[ObjectFlags3["IsClassInstanceClone"] =
|
|
3146
|
-
ObjectFlags3[ObjectFlags3["IdenticalBaseTypeCalculated"] =
|
|
3147
|
-
ObjectFlags3[ObjectFlags3["IdenticalBaseTypeExists"] =
|
|
3148
|
-
ObjectFlags3[ObjectFlags3["IsGenericTypeComputed"] =
|
|
3149
|
-
ObjectFlags3[ObjectFlags3["IsGenericObjectType"] =
|
|
3150
|
-
ObjectFlags3[ObjectFlags3["IsGenericIndexType"] =
|
|
3151
|
-
ObjectFlags3[ObjectFlags3["IsGenericType"] =
|
|
3152
|
-
ObjectFlags3[ObjectFlags3["ContainsIntersections"] =
|
|
3153
|
-
ObjectFlags3[ObjectFlags3["IsUnknownLikeUnionComputed"] =
|
|
3154
|
-
ObjectFlags3[ObjectFlags3["IsUnknownLikeUnion"] =
|
|
3155
|
-
ObjectFlags3[ObjectFlags3["IsNeverIntersectionComputed"] =
|
|
3156
|
-
ObjectFlags3[ObjectFlags3["IsNeverIntersection"] =
|
|
3157
|
-
ObjectFlags3[ObjectFlags3["IsConstrainedTypeVariable"] =
|
|
3139
|
+
ObjectFlags3[ObjectFlags3["RequiresWidening"] = 393216] = "RequiresWidening";
|
|
3140
|
+
ObjectFlags3[ObjectFlags3["PropagatingFlags"] = 917504] = "PropagatingFlags";
|
|
3141
|
+
ObjectFlags3[ObjectFlags3["InstantiatedMapped"] = 160] = "InstantiatedMapped";
|
|
3142
|
+
ObjectFlags3[ObjectFlags3["ObjectTypeKindMask"] = 2623] = "ObjectTypeKindMask";
|
|
3143
|
+
ObjectFlags3[ObjectFlags3["ContainsSpread"] = 4194304] = "ContainsSpread";
|
|
3144
|
+
ObjectFlags3[ObjectFlags3["ObjectRestType"] = 8388608] = "ObjectRestType";
|
|
3145
|
+
ObjectFlags3[ObjectFlags3["InstantiationExpressionType"] = 16777216] = "InstantiationExpressionType";
|
|
3146
|
+
ObjectFlags3[ObjectFlags3["IsClassInstanceClone"] = 33554432] = "IsClassInstanceClone";
|
|
3147
|
+
ObjectFlags3[ObjectFlags3["IdenticalBaseTypeCalculated"] = 67108864] = "IdenticalBaseTypeCalculated";
|
|
3148
|
+
ObjectFlags3[ObjectFlags3["IdenticalBaseTypeExists"] = 134217728] = "IdenticalBaseTypeExists";
|
|
3149
|
+
ObjectFlags3[ObjectFlags3["IsGenericTypeComputed"] = 4194304] = "IsGenericTypeComputed";
|
|
3150
|
+
ObjectFlags3[ObjectFlags3["IsGenericObjectType"] = 8388608] = "IsGenericObjectType";
|
|
3151
|
+
ObjectFlags3[ObjectFlags3["IsGenericIndexType"] = 16777216] = "IsGenericIndexType";
|
|
3152
|
+
ObjectFlags3[ObjectFlags3["IsGenericType"] = 25165824] = "IsGenericType";
|
|
3153
|
+
ObjectFlags3[ObjectFlags3["ContainsIntersections"] = 33554432] = "ContainsIntersections";
|
|
3154
|
+
ObjectFlags3[ObjectFlags3["IsUnknownLikeUnionComputed"] = 67108864] = "IsUnknownLikeUnionComputed";
|
|
3155
|
+
ObjectFlags3[ObjectFlags3["IsUnknownLikeUnion"] = 134217728] = "IsUnknownLikeUnion";
|
|
3156
|
+
ObjectFlags3[ObjectFlags3["IsNeverIntersectionComputed"] = 33554432] = "IsNeverIntersectionComputed";
|
|
3157
|
+
ObjectFlags3[ObjectFlags3["IsNeverIntersection"] = 67108864] = "IsNeverIntersection";
|
|
3158
|
+
ObjectFlags3[ObjectFlags3["IsConstrainedTypeVariable"] = 134217728] = "IsConstrainedTypeVariable";
|
|
3158
3159
|
return ObjectFlags3;
|
|
3159
3160
|
})(ObjectFlags || {});
|
|
3160
3161
|
var SignatureFlags = /* @__PURE__ */ ((SignatureFlags4) => {
|
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": "5.4.0-pr-
|
|
5
|
+
"version": "5.4.0-pr-57293-15",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"node": "20.1.0",
|
|
115
115
|
"npm": "8.19.4"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "3dbd6f69b013d3b9cec29e716d719ca0a487e4c8"
|
|
118
118
|
}
|