Skip to content

Commit 57b7e4c

Browse files
committed
[forgive] Add basic codelens provider (#32476)
Adds a first codelens provider for successfully compiled functions. A later PR will add an actual command that will fire when the codelens is clicked ![Screenshot 2025-02-25 at 6 40 20 PM](https://github.com/user-attachments/assets/924586e0-f70a-45d1-b0e6-a89af9371c8d) DiffTrain build for [92e65ca](92e65ca)
1 parent bcae4ac commit 57b7e4c

23 files changed

+548
-548
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.1.0-native-fb-2e4db334-20250225
1+
19.1.0-native-fb-92e65ca6-20250225

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<f029b34909bd2ef9a0e75d2f9304f3d1>>
10+
* @generated SignedSource<<56436c579d87368984d7eb14c779d096>>
1111
*/
1212

1313
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
404404
exports.useFormStatus = function () {
405405
return resolveDispatcher().useHostTransitionStatus();
406406
};
407-
exports.version = "19.1.0-native-fb-2e4db334-20250225";
407+
exports.version = "19.1.0-native-fb-92e65ca6-20250225";
408408
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<cdc7768374a1521bfdd600b5c9588c59>>
10+
* @generated SignedSource<<e4b9cf98d3b16cc2b748b73213bfc465>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.1.0-native-fb-2e4db334-20250225";
206+
exports.version = "19.1.0-native-fb-92e65ca6-20250225";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<cdc7768374a1521bfdd600b5c9588c59>>
10+
* @generated SignedSource<<e4b9cf98d3b16cc2b748b73213bfc465>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.1.0-native-fb-2e4db334-20250225";
206+
exports.version = "19.1.0-native-fb-92e65ca6-20250225";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

Lines changed: 167 additions & 167 deletions
Large diffs are not rendered by default.

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<1751b688cf717ea8cc7c1508460e9578>>
10+
* @generated SignedSource<<8c4f6be6880b7120a83f6c67762cf32a>>
1111
*/
1212

1313
/*
@@ -12465,20 +12465,20 @@ function extractEvents$1(
1246512465
}
1246612466
}
1246712467
for (
12468-
var i$jscomp$inline_1537 = 0;
12469-
i$jscomp$inline_1537 < simpleEventPluginEvents.length;
12470-
i$jscomp$inline_1537++
12468+
var i$jscomp$inline_1539 = 0;
12469+
i$jscomp$inline_1539 < simpleEventPluginEvents.length;
12470+
i$jscomp$inline_1539++
1247112471
) {
12472-
var eventName$jscomp$inline_1538 =
12473-
simpleEventPluginEvents[i$jscomp$inline_1537],
12474-
domEventName$jscomp$inline_1539 =
12475-
eventName$jscomp$inline_1538.toLowerCase(),
12476-
capitalizedEvent$jscomp$inline_1540 =
12477-
eventName$jscomp$inline_1538[0].toUpperCase() +
12478-
eventName$jscomp$inline_1538.slice(1);
12472+
var eventName$jscomp$inline_1540 =
12473+
simpleEventPluginEvents[i$jscomp$inline_1539],
12474+
domEventName$jscomp$inline_1541 =
12475+
eventName$jscomp$inline_1540.toLowerCase(),
12476+
capitalizedEvent$jscomp$inline_1542 =
12477+
eventName$jscomp$inline_1540[0].toUpperCase() +
12478+
eventName$jscomp$inline_1540.slice(1);
1247912479
registerSimpleEvent(
12480-
domEventName$jscomp$inline_1539,
12481-
"on" + capitalizedEvent$jscomp$inline_1540
12480+
domEventName$jscomp$inline_1541,
12481+
"on" + capitalizedEvent$jscomp$inline_1542
1248212482
);
1248312483
}
1248412484
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15999,16 +15999,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1599915999
0 === i && attemptExplicitHydrationTarget(target);
1600016000
}
1600116001
};
16002-
var isomorphicReactPackageVersion$jscomp$inline_1785 = React.version;
16002+
var isomorphicReactPackageVersion$jscomp$inline_1787 = React.version;
1600316003
if (
16004-
"19.1.0-native-fb-2e4db334-20250225" !==
16005-
isomorphicReactPackageVersion$jscomp$inline_1785
16004+
"19.1.0-native-fb-92e65ca6-20250225" !==
16005+
isomorphicReactPackageVersion$jscomp$inline_1787
1600616006
)
1600716007
throw Error(
1600816008
formatProdErrorMessage(
1600916009
527,
16010-
isomorphicReactPackageVersion$jscomp$inline_1785,
16011-
"19.1.0-native-fb-2e4db334-20250225"
16010+
isomorphicReactPackageVersion$jscomp$inline_1787,
16011+
"19.1.0-native-fb-92e65ca6-20250225"
1601216012
)
1601316013
);
1601416014
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16028,24 +16028,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1602816028
null === componentOrElement ? null : componentOrElement.stateNode;
1602916029
return componentOrElement;
1603016030
};
16031-
var internals$jscomp$inline_2245 = {
16031+
var internals$jscomp$inline_2248 = {
1603216032
bundleType: 0,
16033-
version: "19.1.0-native-fb-2e4db334-20250225",
16033+
version: "19.1.0-native-fb-92e65ca6-20250225",
1603416034
rendererPackageName: "react-dom",
1603516035
currentDispatcherRef: ReactSharedInternals,
16036-
reconcilerVersion: "19.1.0-native-fb-2e4db334-20250225"
16036+
reconcilerVersion: "19.1.0-native-fb-92e65ca6-20250225"
1603716037
};
1603816038
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16039-
var hook$jscomp$inline_2246 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16039+
var hook$jscomp$inline_2249 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
1604016040
if (
16041-
!hook$jscomp$inline_2246.isDisabled &&
16042-
hook$jscomp$inline_2246.supportsFiber
16041+
!hook$jscomp$inline_2249.isDisabled &&
16042+
hook$jscomp$inline_2249.supportsFiber
1604316043
)
1604416044
try {
16045-
(rendererID = hook$jscomp$inline_2246.inject(
16046-
internals$jscomp$inline_2245
16045+
(rendererID = hook$jscomp$inline_2249.inject(
16046+
internals$jscomp$inline_2248
1604716047
)),
16048-
(injectedHook = hook$jscomp$inline_2246);
16048+
(injectedHook = hook$jscomp$inline_2249);
1604916049
} catch (err) {}
1605016050
}
1605116051
exports.createRoot = function (container, options) {
@@ -16137,4 +16137,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1613716137
listenToAllSupportedEvents(container);
1613816138
return new ReactDOMHydrationRoot(initialChildren);
1613916139
};
16140-
exports.version = "19.1.0-native-fb-2e4db334-20250225";
16140+
exports.version = "19.1.0-native-fb-92e65ca6-20250225";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<0d8a6d1562ba020cf8efbc0ab357709d>>
10+
* @generated SignedSource<<fac7e6b85f4727aba785c691344ba2fe>>
1111
*/
1212

1313
/*
@@ -13107,20 +13107,20 @@ function extractEvents$1(
1310713107
}
1310813108
}
1310913109
for (
13110-
var i$jscomp$inline_1630 = 0;
13111-
i$jscomp$inline_1630 < simpleEventPluginEvents.length;
13112-
i$jscomp$inline_1630++
13110+
var i$jscomp$inline_1632 = 0;
13111+
i$jscomp$inline_1632 < simpleEventPluginEvents.length;
13112+
i$jscomp$inline_1632++
1311313113
) {
13114-
var eventName$jscomp$inline_1631 =
13115-
simpleEventPluginEvents[i$jscomp$inline_1630],
13116-
domEventName$jscomp$inline_1632 =
13117-
eventName$jscomp$inline_1631.toLowerCase(),
13118-
capitalizedEvent$jscomp$inline_1633 =
13119-
eventName$jscomp$inline_1631[0].toUpperCase() +
13120-
eventName$jscomp$inline_1631.slice(1);
13114+
var eventName$jscomp$inline_1633 =
13115+
simpleEventPluginEvents[i$jscomp$inline_1632],
13116+
domEventName$jscomp$inline_1634 =
13117+
eventName$jscomp$inline_1633.toLowerCase(),
13118+
capitalizedEvent$jscomp$inline_1635 =
13119+
eventName$jscomp$inline_1633[0].toUpperCase() +
13120+
eventName$jscomp$inline_1633.slice(1);
1312113121
registerSimpleEvent(
13122-
domEventName$jscomp$inline_1632,
13123-
"on" + capitalizedEvent$jscomp$inline_1633
13122+
domEventName$jscomp$inline_1634,
13123+
"on" + capitalizedEvent$jscomp$inline_1635
1312413124
);
1312513125
}
1312613126
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -16649,16 +16649,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1664916649
0 === i && attemptExplicitHydrationTarget(target);
1665016650
}
1665116651
};
16652-
var isomorphicReactPackageVersion$jscomp$inline_1880 = React.version;
16652+
var isomorphicReactPackageVersion$jscomp$inline_1882 = React.version;
1665316653
if (
16654-
"19.1.0-native-fb-2e4db334-20250225" !==
16655-
isomorphicReactPackageVersion$jscomp$inline_1880
16654+
"19.1.0-native-fb-92e65ca6-20250225" !==
16655+
isomorphicReactPackageVersion$jscomp$inline_1882
1665616656
)
1665716657
throw Error(
1665816658
formatProdErrorMessage(
1665916659
527,
16660-
isomorphicReactPackageVersion$jscomp$inline_1880,
16661-
"19.1.0-native-fb-2e4db334-20250225"
16660+
isomorphicReactPackageVersion$jscomp$inline_1882,
16661+
"19.1.0-native-fb-92e65ca6-20250225"
1666216662
)
1666316663
);
1666416664
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16678,12 +16678,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1667816678
null === componentOrElement ? null : componentOrElement.stateNode;
1667916679
return componentOrElement;
1668016680
};
16681-
var internals$jscomp$inline_1887 = {
16681+
var internals$jscomp$inline_1889 = {
1668216682
bundleType: 0,
16683-
version: "19.1.0-native-fb-2e4db334-20250225",
16683+
version: "19.1.0-native-fb-92e65ca6-20250225",
1668416684
rendererPackageName: "react-dom",
1668516685
currentDispatcherRef: ReactSharedInternals,
16686-
reconcilerVersion: "19.1.0-native-fb-2e4db334-20250225",
16686+
reconcilerVersion: "19.1.0-native-fb-92e65ca6-20250225",
1668716687
getLaneLabelMap: function () {
1668816688
for (
1668916689
var map = new Map(), lane = 1, index$294 = 0;
@@ -16701,16 +16701,16 @@ var internals$jscomp$inline_1887 = {
1670116701
}
1670216702
};
1670316703
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16704-
var hook$jscomp$inline_2305 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16704+
var hook$jscomp$inline_2308 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
1670516705
if (
16706-
!hook$jscomp$inline_2305.isDisabled &&
16707-
hook$jscomp$inline_2305.supportsFiber
16706+
!hook$jscomp$inline_2308.isDisabled &&
16707+
hook$jscomp$inline_2308.supportsFiber
1670816708
)
1670916709
try {
16710-
(rendererID = hook$jscomp$inline_2305.inject(
16711-
internals$jscomp$inline_1887
16710+
(rendererID = hook$jscomp$inline_2308.inject(
16711+
internals$jscomp$inline_1889
1671216712
)),
16713-
(injectedHook = hook$jscomp$inline_2305);
16713+
(injectedHook = hook$jscomp$inline_2308);
1671416714
} catch (err) {}
1671516715
}
1671616716
exports.createRoot = function (container, options) {
@@ -16802,4 +16802,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1680216802
listenToAllSupportedEvents(container);
1680316803
return new ReactDOMHydrationRoot(initialChildren);
1680416804
};
16805-
exports.version = "19.1.0-native-fb-2e4db334-20250225";
16805+
exports.version = "19.1.0-native-fb-92e65ca6-20250225";

0 commit comments

Comments
 (0)