<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in device.ts</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8a424beb - [lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#8a424beb</link>
        <description>[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why---Prettier 3 is out. Add support for it with this linter config.**Note for reviewer:** the first commit is the one with the actualchanges. The rest of this PR are changes to get the linter passing(mostly autofix).How---Update eslint-config-prettier and eslint-plugin-prettier. To addressdeprecation warnings, also update typescript-eslint/parser andtypescript-eslint/eslint-plugin.Because of an update to typescript-eslint/parser, we need to suppressdeprecation warnings (documented in a comment).Regenerated test snapshots. Due to the upgraded dependencies, typecastsand optional chaining are now auto-fixable by lint. This convertswarnings into autofixes.Test Plan---`yarn test` in the linter config. Run `expotools check --all --fix-lint--no-build --no-test --no-uniformity-check` to try this config on thewhole repo.---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Fri, 11 Aug 2023 07:31:41 +0000</pubDate>
        <dc:creator>James Ide &lt;ide@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>102b7a2a - refactor(cli): drop extraneous source fetch workaround for `metro@&lt;0.75.1` (#23259)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#102b7a2a</link>
        <description>refactor(cli): drop extraneous source fetch workaround for `metro@&lt;0.75.1` (#23259)# WhyThis was required for SDK 48, but with 49 we are using a newer Metrothat has this workaround built-in. ([seecommit](https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83))# How- Dropped the `DebuggerScriptSource` handler- Updated tests# Test Plan- Try debugging the code with the vscode extension# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Wed, 05 Jul 2023 15:20:46 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>033ea1fc - refactor(cli): disable inspector proxy inline source maps for vscode only (#23258)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#033ea1fc</link>
        <description>refactor(cli): disable inspector proxy inline source maps for vscode only (#23258)# WhyWith SDK 49, I noticed a multi-second delay in breakpoints gettingbound. This is likely due to [Metro inlining sourcemaps as base64strings](https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83)for tools like the chrome debugger. In practice, it generates a hugebase64 string that causes this delay when decoding in vscode.# How- Added `debuggerType` to connect to the inspector proxy as a certaindebugger type (e.g. `vscode` or `generic` &lt;- default)- Added override for `Debugger.scriptParsed` to disable inlinesourcemaps for vscode only.# Test Plan~~TBD, since this also requires an update in vscode-expo (add the`type=vscode` as query param when connecting to the inspector proxy).~~This is now included in `vscode-expo-tools@1.0.6`# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Tue, 04 Jul 2023 08:01:18 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>f5fa30f6 - feature(cli): allow client-side device ids to reuse debugger sessions when restarting app (#22742)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#f5fa30f6</link>
        <description>feature(cli): allow client-side device ids to reuse debugger sessions when restarting app (#22742)# WhyAfter using the debugger for some time, I noticed a really annoyingbehavior when the app crashes or is restarted manually. Seehttps://github.com/facebook/metro/issues/985 for more info.# HowThis adds support for client-side unique device identifiers, such as&quot;installation ids&quot; or &quot;device ids&quot;. Similarly to future support withinMetro: https://github.com/facebook/metro/pull/991# Test PlanSee updated tests, and the test plan athttps://github.com/facebook/metro/pull/991&gt; - Create a new project, and enable building from source on bothAndroid &amp; iOS&gt; - **android**: edit [thisfile](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.java#L282-L289)in `node_modules/react-native` and add a hardcoded`&amp;device=testingandroid` query param.&gt; - **ios**: edit [thisfile](https://github.com/facebook/react-native/blob/main/packages/react-native/React/DevSupport/RCTInspectorDevServerHelper.mm#L43-L53)in `node_modules/react-naive` and add a hardcoded `&amp;device=testingios`query param.&gt; - Connect the debugger to the running app&gt; - Force close the app, which should cause a &quot;reconnect&quot; warning in thedebugger&gt; - Open the app again, and press &quot;reconnect&quot; in the debugger&gt; - _Due to the stable identifiers, the URL won&apos;t change and the abovescenario should work fine_# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Fri, 16 Jun 2023 12:21:19 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>03d43e7d - feature(cli): add basic `Page.reload` support to reload the app from inspector (#21827)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#03d43e7d</link>
        <description>feature(cli): add basic `Page.reload` support to reload the app from inspector (#21827)# WhyThis implements the `Page.reload` CDP event, to reload the app itself.&gt; Would be nice if there is a way to send this to _JUST_ the device youare inspecting. But not sure what socket connection that would be, don&apos;tthink it&apos;s the actual device socket in the inspector (that&apos;s inspectormessages only).# How- Provided the reference of `MetroBundlerDevServer` to the inspector- Called `MetroBundlerDevServer.broadcastMessage(&apos;reload&apos;)`# Test Plan- Open chrome inspector (`j`)- Anywhere in the inspector, press `cmd+r`# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `expo prebuild` &amp; EAS Build (eg:updated a module plugin).---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Tue, 28 Mar 2023 17:22:56 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>6d2ad561 - fix(cli): load `Debugger.getScriptSource` requests when using lan or tunnel (#21825)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#6d2ad561</link>
        <description>fix(cli): load `Debugger.getScriptSource` requests when using lan or tunnel (#21825)# WhyThis fixes the `Debugger.getScriptSource` responses in two differentways.1. For `metro@&lt;0.75.1`, we use the custom `DebuggerScriptSourceHandler`2. For `metro@&gt;=0.75.1`, we can rely on just the `_fetchText` override# HowDo not block the fetch request when running on lan or tunnel (no`localhost`).# Test Plan- See added tests.- Open Chrome inspector (`j`)- Go to sources- Try to load the `index.bundle` or `expo/AppEntry.bundle` file in theinspector- Actual raw bundle file should be visible# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `expo prebuild` &amp; EAS Build (eg:updated a module plugin).

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Tue, 28 Mar 2023 16:01:56 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>b210db99 - feature(cli): add vscode compatibility to inspector proxy (#21560)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#b210db99</link>
        <description>feature(cli): add vscode compatibility to inspector proxy (#21560)# WhyBuilds upon #21449This adds a handler that makes sure the `vscode-js-debug` extension canbe used with the custom inspector proxy. These changes should NOTinterfere with the other debuggers.# How- Added vscode compatibility handler- Add missing `description` to function nodes, as required byvscode-js-debug    _(before https://github.com/microsoft/vscode-js-debug/issues/1583)_- Respond to `Debugger.getPossibleBreakpoints`, Hermes doesn&apos;t respondto this message- ~~Filter out &quot;useless&quot; `callFrames` when debugging~~   **Moved back to PR, we need to limit filtering**  &#8594; https://github.com/expo/expo/pull/21663- Avoid Hermes binding breakpoints to wrong locations, before sourcemapis loaded  &#8594; https://github.com/expo/expo/pull/21631- Avoid Hermes crashing by disabling `Runtime.getProperties` on `symbol`types  &#8594; https://github.com/expo/expo/pull/21639# Test Plan- See tests- ~~Test project with vscode, see [thisrepository](https://github.com/byCedric/vscode-js-debug-issue-1583) fora test project.~~- See https://github.com/expo/expo/pull/21641 to test `apps/bare-expo`# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `expo prebuild` &amp; EAS Build (eg:updated a module plugin).---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Fri, 10 Mar 2023 16:09:14 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>5234fe38 - feature(cli): add custom inspector proxy based on `metro-inspector-proxy` (#21449)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts#5234fe38</link>
        <description>feature(cli): add custom inspector proxy based on `metro-inspector-proxy` (#21449)# WhyFixes ENG-7467Related #21265This is an initial draft to extend the CDP functionality of`metro-inspector-proxy`.# HowThe implementation is slightly wonky around the `ExpoInspectorDevice`.We want to reuse as much as possible from `metro-inspector-proxy`, butwe need to add stateful data per device.In order to achieve that, we generate a new class type, based on theuser&apos;s installed `metro-inspector-proxy`. This makes everything lessreadable but should include future updates in these classes.As for the `ExpoInspectorProxy`, to avoid having to do the same thing,we just wrap the whole inspector class and reuse what we can. The devicemap is &quot;linked&quot; within the original inspector proxy instance, making thedata available to all methods that need it.# Test PlanEnable this feature with `EXPO_USE_CUSTOM_INSPECTOR_PROXY=1`- [x] See tests for the actual CDP events we handle.- [ ] See tests on the &quot;bootstrapping code&quot; to create the inspector anddevices.# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `expo prebuild` &amp; EAS Build (eg:updated a module plugin).---------Co-authored-by: Evan Bacon &lt;bacon@expo.io&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/device.ts</description>
        <pubDate>Wed, 08 Mar 2023 17:16:56 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
</channel>
</rss>
