@typescript-deploys/pr-build 5.0.0-pr-50820-72 → 5.0.0-pr-50820-76
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 +11 -8
- package/lib/tsserver.js +11 -8
- package/lib/tsserverlibrary.js +11 -8
- package/lib/typescript.js +11 -8
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -87525,17 +87525,20 @@ function transformClassFields(context) {
|
|
|
87525
87525
|
createBrandCheckWeakSetForPrivateMethods();
|
|
87526
87526
|
}
|
|
87527
87527
|
}
|
|
87528
|
-
if (
|
|
87528
|
+
if (shouldTransformAutoAccessorsInCurrentClass()) {
|
|
87529
87529
|
for (const member of node.members) {
|
|
87530
87530
|
if (isAutoAccessorPropertyDeclaration(member)) {
|
|
87531
|
-
|
|
87532
|
-
|
|
87533
|
-
|
|
87534
|
-
|
|
87535
|
-
|
|
87536
|
-
|
|
87537
|
-
|
|
87531
|
+
const storageName = factory2.getGeneratedPrivateNameForNode(
|
|
87532
|
+
member.name,
|
|
87533
|
+
/*prefix*/
|
|
87534
|
+
void 0,
|
|
87535
|
+
"_accessor_storage"
|
|
87536
|
+
);
|
|
87537
|
+
if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) {
|
|
87538
87538
|
addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment);
|
|
87539
|
+
} else {
|
|
87540
|
+
const privateEnv = getPrivateIdentifierEnvironment();
|
|
87541
|
+
setPrivateIdentifier(privateEnv, storageName, { kind: "untransformed" });
|
|
87539
87542
|
}
|
|
87540
87543
|
}
|
|
87541
87544
|
}
|
package/lib/tsserver.js
CHANGED
|
@@ -92653,17 +92653,20 @@ function transformClassFields(context) {
|
|
|
92653
92653
|
createBrandCheckWeakSetForPrivateMethods();
|
|
92654
92654
|
}
|
|
92655
92655
|
}
|
|
92656
|
-
if (
|
|
92656
|
+
if (shouldTransformAutoAccessorsInCurrentClass()) {
|
|
92657
92657
|
for (const member of node.members) {
|
|
92658
92658
|
if (isAutoAccessorPropertyDeclaration(member)) {
|
|
92659
|
-
|
|
92660
|
-
|
|
92661
|
-
|
|
92662
|
-
|
|
92663
|
-
|
|
92664
|
-
|
|
92665
|
-
|
|
92659
|
+
const storageName = factory2.getGeneratedPrivateNameForNode(
|
|
92660
|
+
member.name,
|
|
92661
|
+
/*prefix*/
|
|
92662
|
+
void 0,
|
|
92663
|
+
"_accessor_storage"
|
|
92664
|
+
);
|
|
92665
|
+
if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) {
|
|
92666
92666
|
addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment);
|
|
92667
|
+
} else {
|
|
92668
|
+
const privateEnv = getPrivateIdentifierEnvironment();
|
|
92669
|
+
setPrivateIdentifier(privateEnv, storageName, { kind: "untransformed" });
|
|
92667
92670
|
}
|
|
92668
92671
|
}
|
|
92669
92672
|
}
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -90239,17 +90239,20 @@ ${lanes.join("\n")}
|
|
|
90239
90239
|
createBrandCheckWeakSetForPrivateMethods();
|
|
90240
90240
|
}
|
|
90241
90241
|
}
|
|
90242
|
-
if (
|
|
90242
|
+
if (shouldTransformAutoAccessorsInCurrentClass()) {
|
|
90243
90243
|
for (const member of node.members) {
|
|
90244
90244
|
if (isAutoAccessorPropertyDeclaration(member)) {
|
|
90245
|
-
|
|
90246
|
-
|
|
90247
|
-
|
|
90248
|
-
|
|
90249
|
-
|
|
90250
|
-
|
|
90251
|
-
|
|
90245
|
+
const storageName = factory2.getGeneratedPrivateNameForNode(
|
|
90246
|
+
member.name,
|
|
90247
|
+
/*prefix*/
|
|
90248
|
+
void 0,
|
|
90249
|
+
"_accessor_storage"
|
|
90250
|
+
);
|
|
90251
|
+
if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) {
|
|
90252
90252
|
addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment);
|
|
90253
|
+
} else {
|
|
90254
|
+
const privateEnv = getPrivateIdentifierEnvironment();
|
|
90255
|
+
setPrivateIdentifier(privateEnv, storageName, { kind: "untransformed" });
|
|
90253
90256
|
}
|
|
90254
90257
|
}
|
|
90255
90258
|
}
|
package/lib/typescript.js
CHANGED
|
@@ -90239,17 +90239,20 @@ ${lanes.join("\n")}
|
|
|
90239
90239
|
createBrandCheckWeakSetForPrivateMethods();
|
|
90240
90240
|
}
|
|
90241
90241
|
}
|
|
90242
|
-
if (
|
|
90242
|
+
if (shouldTransformAutoAccessorsInCurrentClass()) {
|
|
90243
90243
|
for (const member of node.members) {
|
|
90244
90244
|
if (isAutoAccessorPropertyDeclaration(member)) {
|
|
90245
|
-
|
|
90246
|
-
|
|
90247
|
-
|
|
90248
|
-
|
|
90249
|
-
|
|
90250
|
-
|
|
90251
|
-
|
|
90245
|
+
const storageName = factory2.getGeneratedPrivateNameForNode(
|
|
90246
|
+
member.name,
|
|
90247
|
+
/*prefix*/
|
|
90248
|
+
void 0,
|
|
90249
|
+
"_accessor_storage"
|
|
90250
|
+
);
|
|
90251
|
+
if (shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformPrivateStaticElementsInClass && hasStaticModifier(member)) {
|
|
90252
90252
|
addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment);
|
|
90253
|
+
} else {
|
|
90254
|
+
const privateEnv = getPrivateIdentifierEnvironment();
|
|
90255
|
+
setPrivateIdentifier(privateEnv, storageName, { kind: "untransformed" });
|
|
90253
90256
|
}
|
|
90254
90257
|
}
|
|
90255
90258
|
}
|
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.0.0-pr-50820-
|
|
5
|
+
"version": "5.0.0-pr-50820-76",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|