Update debugger-frontend from 6e249b3...7f25433 (#54560)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54560

Changelog: [Internal] - Update `react-native/debugger-frontend` from 6e249b3...7f25433

Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](https://github.com/facebook/react-native-devtools-frontend/compare/6e249b361c744f1e1774e0f83091d5f1ee921670...7f2543355b81b7e57266a76c96d0e25bcfdde000).

### Changelog

| Commit | Author | Date/Time | Subject |
| ------ | ------ | --------- | ------- |
| [7f2543355](https://github.com/facebook/react-native-devtools-frontend/commit/7f2543355) | Ruslan Lesiutin (28902667+hoxyq@users.noreply.github.com) | 2025-11-17T14:44:00Z | [upgrade(react-devtools): cherry-pick search query fix (#223)](https://github.com/facebook/react-native-devtools-frontend/commit/7f2543355) |

Reviewed By: vzaidman

Differential Revision: D87229802

fbshipit-source-id: edae697da173b4f019e11f490cf533b44645135f
This commit is contained in:
Ruslan Lesiutin authored and meta-codesync[bot] committed 2025-11-17 08:27:53 -08:00
1 parent cbbba7b9a5
commit c6571aabb4
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
@generated SignedSource<<99075505013dc57bbff93badedc77a0f>>
Git revision: 6e249b361c744f1e1774e0f83091d5f1ee921670
@generated SignedSource<<751aedacf03b8419823a1c8bf43404e2>>
Git revision: 7f2543355b81b7e57266a76c96d0e25bcfdde000
Built with --nohooks: false
Is local checkout: false
Remote URL: https://github.com/facebook/react-native-devtools-frontend
@@ -38,4 +38,4 @@ var n=t(147);function a(e){var r="https://react.dev/errors/"+e;if(1<arguments.le
*/
function t(e,r){var t=e.length;e.push(r);e:for(;0<t;){var n=t-1>>>1,a=e[n];if(!(0<i(a,r)))break e;e[n]=r,e[t]=a,t=n}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var r=e[0],t=e.pop();if(t!==r){e[0]=t;e:for(var n=0,a=e.length,o=a>>>1;n<o;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,t))c<a&&0>i(u,l)?(e[n]=u,e[c]=t,n=c):(e[n]=l,e[s]=t,n=s);else{if(!(c<a&&0>i(u,t)))break e;e[n]=u,e[c]=t,n=c}}}return r}function i(e,r){var t=e.sortIndex-r.sortIndex;return 0!==t?t:e.id-r.id}if(r.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;r.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();r.unstable_now=function(){return s.now()-l}}var c=[],u=[],f=1,d=null,v=3,h=!1,m=!1,p=!1,_="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,S="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var r=n(u);null!==r;){if(null===r.callback)a(u);else{if(!(r.startTime<=e))break;a(u),r.sortIndex=r.expirationTime,t(c,r)}r=n(u)}}function w(e){if(p=!1,b(e),!m)if(null!==n(c))m=!0,y||(y=!0,k());else{var r=n(u);null!==r&&T(w,r.startTime-e)}}var k,y=!1,E=-1,D=5,A=-1;function C(){if(y){var e=r.unstable_now();A=e;var t=!0;try{e:{m=!1,p&&(p=!1,g(E),E=-1),h=!0;var i=v;try{r:{for(b(e),d=n(c);null!==d;){var o=d.callback;if("function"==typeof o){d.callback=null,v=d.priorityLevel;var s=o(d.expirationTime<=e);if(e=r.unstable_now(),"function"==typeof s){d.callback=s,b(e),t=!0;break r}d===n(c)&&a(c),b(e)}else a(c);if(null===(d=n(c))||d.expirationTime>e)break}if(null!==d)t=!0;else{var l=n(u);null!==l&&T(w,l.startTime-e),t=!1}}break e}finally{d=null,v=i,h=!1}t=void 0}}finally{t?k():y=!1}}}if("function"==typeof S)k=function(){S(C)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=C,k=function(){x.postMessage(null)}}else k=function(){_(C,0)};function T(e,t){E=_((function(){e(r.unstable_now())}),t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return v},r.unstable_next=function(e){switch(v){case 1:case 2:case 3:var r=3;break;default:r=v}var t=v;v=r;try{return e()}finally{v=t}},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=v;v=e;try{return r()}finally{v=t}},r.unstable_scheduleCallback=function(e,a,i){var o=r.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?o+i:o:i=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>o?(e.sortIndex=i,t(u,e),null===n(c)&&e===n(u)&&(p?(g(E),E=-1):p=!0,T(w,i-o))):(e.sortIndex=s,t(c,e),m||h||(m=!0,y||(y=!0,k()))),e},r.unstable_shouldYield=function(){return!(r.unstable_now()-A<D)},r.unstable_wrapCallback=function(e){var r=v;return function(){var t=v;v=r;try{return e.apply(this,arguments)}finally{v=t}}}},572:(e,r,t)=>{e.exports=t(350)},496:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.importFromOldV8CPUProfile=r.importFromChromeCPUProfile=r.importFromChromeTimeline=r.isChromeTimeline=void 0;const n=t(211),a=t(844),i=t(218),o=t(320);r.isChromeTimeline=function(e){if(!Array.isArray(e))return!1;if(e.length<1)return!1;const r=e[0];return"pid"in r&&"tid"in r&&"ph"in r&&"cat"in r&&!!e.find((e=>"CpuProfile"===e.name||"Profile"===e.name||"ProfileChunk"===e.name))},r.importFromChromeTimeline=function(e,r){const t=new Map,n=new Map,i=new Map;a.sortBy(e,(e=>e.ts));for(let r of e){if("CpuProfile"===r.name){const e=`${r.pid}:${r.tid}`,a=r.id||e;t.set(a,r.args.data.cpuProfile),n.set(a,e)}if("Profile"===r.name){const e=`${r.pid}:${r.tid}`;t.set(r.id||e,Object.assign({startTime:0,endTime:0,nodes:[],samples:[],timeDeltas:[]},r.args.data)),r.id&&n.set(r.id,`${r.pid}:${r.tid}`)}if("thread_name"===r.name&&i.set(`${r.pid}:${r.tid}`,r.args.name),"ProfileChunk"===r.name){const e=`${r.pid}:${r.tid}`,n=t.get(r.id||e);if(n){const e=r.args.data;e.cpuProfile&&(e.cpuProfile.nodes&&(n.nodes=n.nodes.concat(e.cpuProfile.nodes)),e.cpuProfile.samples&&(n.samples=n.samples.concat(e.cpuProfile.samples))),e.timeDeltas&&(n.timeDeltas=n.timeDeltas.concat(e.timeDeltas)),null!=e.startTime&&(n.startTime=e.startTime),null!=e.endTime&&(n.endTime=e.endTime)}else console.warn(`Ignoring ProfileChunk for undeclared Profile with id ${r.id||e}`)}}if(t.size>0){const e=[];let o=0;return a.itForEach(t.keys(),(a=>{let s=null,l=n.get(a);l&&(s=i.get(l)||null);cLine truncated
/*! promise-polyfill 2.0.1 */
function(r){function t(e,r){return function(){e.apply(r,arguments)}}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],c(e,t(i,this),t(o,this))}function a(e){var r=this;return null===this._state?void this._deferreds.push(e):void u((function(){var t=r._state?e.onFulfilled:e.onRejected;if(null!==t){var n;try{n=t(r._value)}catch(r){return void e.reject(r)}e.resolve(n)}else(r._state?e.resolve:e.reject)(r._value)}))}function i(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void c(t(r,e),t(i,this),t(o,this))}this._state=!0,this._value=e,s.call(this)}catch(e){o.call(this,e)}}function o(e){this._state=!1,this._value=e,s.call(this)}function s(){for(var e=0,r=this._deferreds.length;r>e;e++)a.call(this,this._deferreds[e]);this._deferreds=null}function l(e,r,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof r?r:null,this.resolve=t,this.reject=n}function c(e,r,t){var n=!1;try{e((function(e){n||(n=!0,r(e))}),(function(e){n||(n=!0,t(e))}))}catch(e){if(n)return;n=!0,t(e)}}var u=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},f=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,r){var t=this;return new n((function(n,i){a.call(t,new l(e,r,n,i))}))},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&f(arguments[0])?arguments[0]:arguments);return new n((function(r,t){function n(i,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,(function(e){n(i,e)}),t)}e[i]=o,0==--a&&r(e)}catch(e){t(e)}}if(0===e.length)return r([]);for(var a=e.length,i=0;i<e.length;i++)n(i,e[i])}))},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n((function(r){r(e)}))},n.reject=function(e){return new n((function(r,t){t(e)}))},n.race=function(e){return new n((function(r,t){for(var n=0,a=e.length;a>n;n++)e[n].then(r,t)}))},e.exports?e.exports=n:r.Promise||(r.Promise=n)}(this),a.copy=function(e){return new Promise((function(r,t){if("string"!=typeof e&&!("text/plain"in e))throw new Error("You must provide a text/plain type.");var n="string"==typeof e?e:e["text/plain"];window.clipboardData.setData("Text",n)?r():t(new Error("Copying was rejected."))}))},a.paste=function(){return new Promise((function(e,r){var t=window.clipboardData.getData("Text");t?e(t):r(new Error("Pasting was rejected."))}))}),a}()},715:function(e,r,t){var n,a,i;a=[t(356)],void 0===(i="function"==typeof(n=function(e){var r=/(^|@)\S+:\d+/,t=/^\s*at .*(\S+:\d+|\(native\))/m,n=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(t))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\n").filter((function(e){return!!e.match(t)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=r.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),a=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(n?n[1]:a.pop()),o=a.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\n").filter((function(e){return!e.match(n)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=r.match(t),a=n&&n[1]?n[1]:void 0,i=this.extractLocation(r.replace(t,""));return new e({functionName:a,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=r.message.split("\n"),a=[],i=2,o=n.length;i<o;i+=2){var s=t.exec(n[i]);s&&a.push(new e({fileName:s[2],lineNumber:s[1],source:n[i]}))}return a},parseOpera10:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=r.stacktrace.split("\n"),a=[Line truncated
function(r){function t(e,r){return function(){e.apply(r,arguments)}}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],c(e,t(i,this),t(o,this))}function a(e){var r=this;return null===this._state?void this._deferreds.push(e):void u((function(){var t=r._state?e.onFulfilled:e.onRejected;if(null!==t){var n;try{n=t(r._value)}catch(r){return void e.reject(r)}e.resolve(n)}else(r._state?e.resolve:e.reject)(r._value)}))}function i(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void c(t(r,e),t(i,this),t(o,this))}this._state=!0,this._value=e,s.call(this)}catch(e){o.call(this,e)}}function o(e){this._state=!1,this._value=e,s.call(this)}function s(){for(var e=0,r=this._deferreds.length;r>e;e++)a.call(this,this._deferreds[e]);this._deferreds=null}function l(e,r,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof r?r:null,this.resolve=t,this.reject=n}function c(e,r,t){var n=!1;try{e((function(e){n||(n=!0,r(e))}),(function(e){n||(n=!0,t(e))}))}catch(e){if(n)return;n=!0,t(e)}}var u=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},f=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,r){var t=this;return new n((function(n,i){a.call(t,new l(e,r,n,i))}))},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&f(arguments[0])?arguments[0]:arguments);return new n((function(r,t){function n(i,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,(function(e){n(i,e)}),t)}e[i]=o,0==--a&&r(e)}catch(e){t(e)}}if(0===e.length)return r([]);for(var a=e.length,i=0;i<e.length;i++)n(i,e[i])}))},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n((function(r){r(e)}))},n.reject=function(e){return new n((function(r,t){t(e)}))},n.race=function(e){return new n((function(r,t){for(var n=0,a=e.length;a>n;n++)e[n].then(r,t)}))},e.exports?e.exports=n:r.Promise||(r.Promise=n)}(this),a.copy=function(e){return new Promise((function(r,t){if("string"!=typeof e&&!("text/plain"in e))throw new Error("You must provide a text/plain type.");var n="string"==typeof e?e:e["text/plain"];window.clipboardData.setData("Text",n)?r():t(new Error("Copying was rejected."))}))},a.paste=function(){return new Promise((function(e,r){var t=window.clipboardData.getData("Text");t?e(t):r(new Error("Pasting was rejected."))}))}),a}()},715:function(e,r,t){var n,a,i;a=[t(356)],void 0===(i="function"==typeof(n=function(e){var r=/(^|@)\S+:\d+/,t=/^\s*at .*(\S+:\d+|\(native\))/m,n=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(t))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\n").filter((function(e){return!!e.match(t)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=r.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),a=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(n?n[1]:a.pop()),o=a.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\n").filter((function(e){return!e.match(n)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=r.match(t),a=n&&n[1]?n[1]:void 0,i=this.extractLocation(r.replace(t,""));return new e({functionName:a,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=r.message.split("\n"),a=[],i=2,o=n.length;i<o;i+=2){var s=t.exec(n[i]);s&&a.push(new e({fileName:s[2],lineNumber:s[1],source:n[i]}))}return a},parseOpera10:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=r.stacktrace.split("\n"),a=[Line truncated