Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.75.0 to 0.76.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>v0.76.0</h2>
<ul>
<li><strong>[Breaking]</strong>: Increase minimum Node version from 14 to 16. (<a href="e5950aeaf0</a> by <a href="https://github.com/huntie"><code>@huntie</code></a>)</li>
<li><strong>[Breaking]</strong>: Remove <code>isAssetFile</code> from custom resolver context, add <code>assetExts</code>. (<a href="c6548f7ccc</a> by <a href="https://github.com/huntie"><code>@huntie</code></a>)</li>
<li><strong>[Feature]</strong>: Support <a href="https://facebook.github.io/metro/docs/module-api#requireresolveweak"><code>require.resolveWeak()</code></a>. (<a href="354d6e487a</a> by <a href="https://github.com/motiz88"><code>@motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: Don't over-invalidate on symlink changes if resolution through symlinks is not enabled. (<a href="2303c10b6b</a> by <a href="https://github.com/robhogan"><code>@robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: Returning <code>false</code> from <a href="https://facebook.github.io/metro/docs/resolution#redirectmodulepath-string--string--false"><code>context.redirectModulePath</code></a> will resolve to empty module in all cases. (<a href="0f1846a64d</a> by <a href="https://github.com/huntie"><code>@huntie</code></a>)</li>
<li><strong>[Fix]</strong>: Respect extensionless entries in <code>browser</code>, <code>react-native</code> etc when resolving subpath package specifiers. (<a href="7e922270de</a> by <a href="https://github.com/huntie"><code>@huntie</code></a>)</li>
<li><strong>[Fix]</strong>: Remove undocumented Meta-only <code>__jsResource</code> and <code>__conditionallySplitJsResource</code> functions from module API. (<a href="f1d905bb60</a> and <a href="69c8fc707b</a> by <a href="https://github.com/motiz88"><code>@motiz88</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong>: Fixes and improvements for symlink support. (<a href="0e2a70a439</a>, <a href="3bef954304</a>, and <a href="eeb211fdcf</a> by <a href="https://github.com/robhogan"><code>@robhogan</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix bug where <code>"exports"</code> field would be used on relative imports within a package. (<a href="cd25c2b5bb</a> by <a href="https://github.com/huntie"><code>@huntie</code></a>)</li>
</ul>
<h2>v0.75.1</h2>
<ul>
<li><strong>[Feature]</strong>: <code>metro-inspector-proxy</code>: Add a human-readable reference to each inspector entries/pages.(<a href="https://github-redirect.dependabot.com/facebook/metro/pull/921">facebook/metro#921</a> by <a href="https://github.com/byCedric"><code>@byCedric</code></a>)</li>
<li><strong>[Feature]</strong>: <code>metro-inspector-proxy</code>: Report errors in the console. (<a href="da8b41b279</a> by <a href="https://github.com/mattbfb"><code>@mattbfb</code></a>)</li>
<li><strong>[Fix]</strong>: Race condition where a very recently modified file might have missing metadata.(<a href="baf28ab0ee</a> by <a href="https://github.com/robhogan"><code>@robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: Source maps may have invalid entries when using Terser minification. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/928">facebook/metro#928</a> by <a href="https://github.com/robhogan"><code>@robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-inspector-proxy</code>: Fetch source maps from Metro. (<a href="6690b393cc</a> by <a href="https://github.com/mattbfb"><code>@mattbfb</code></a>)</li>
<li><strong>[Fix]</strong>: Mitigate potential source map mismatches with concurrent transformations due to <a href="https://github-redirect.dependabot.com/terser/terser/issues/1341">terser#1341</a>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/929">facebook/metro#929</a> by <a href="https://github.com/robhogan"><code>@robhogan</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong>: Add initial_build annotation to Resolving and Transforming Dependencies (<a href="fc83b521b2</a> by <a href="https://github.com/blakef"><code>@blakef</code></a>)</li>
<li><strong>[Experimental]</strong>: Implement support for Package Exports (enabled via <code>resolver.unstable_enablePackageExports</code>) (<a href="4d7ab38ba9</a>, <a href="38b96f872a</a>, <a href="216d3e234c</a>, <a href="6e6f36fd98</a> by <a href="https://github.com/huntie"><code>@huntie</code></a>)</li>
<li><strong>[Experimental]</strong>: Implement support for symlinks (enabled via <code>resolver.unstable_enableSymlinks</code>) (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/925">facebook/metro#925</a>, <a href="https://github-redirect.dependabot.com/facebook/metro/pull/926">facebook/metro#926</a>, etc. by <a href="https://github.com/robhogan"><code>@robhogan</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.75.0...v0.75.1">https://github.com/facebook/metro/compare/v0.75.0...v0.75.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="64d85f0c06"><code>64d85f0</code></a> Release 0.76.0</li>
<li><a href="c6548f7ccc"><code>c6548f7</code></a> Add assetExts to ResolutionContext, remove isAssetFile</li>
<li><a href="64426854e3"><code>6442685</code></a> Upgrade to Flow 0.201.0</li>
<li><a href="4876b6e701"><code>4876b6e</code></a> Bump <code>@braintree/sanitize-url</code> from 6.0.0 to 6.0.2 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/935">https://github.com/facebook/flipper/issues/935</a>)</li>
<li><a href="79baa715cd"><code>79baa71</code></a> Update website Open Graph image</li>
<li><a href="3cbd9ae2ad"><code>3cbd9ae</code></a> Fix Haste map cleanup with Haste module duplicates</li>
<li><a href="cd25c2b5bb"><code>cd25c2b</code></a> Update exports resolution to ignore absolute and relative imports</li>
<li><a href="7e922270de"><code>7e92227</code></a> Fix resolution edge case for package subpaths redirected by mainFields</li>
<li><a href="4c520eda2e"><code>4c520ed</code></a> Document module API</li>
<li><a href="ad31b162d8"><code>ad31b16</code></a> Replace regex String.replace uses with String.replaceAll (drop Node.js 14 com...</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.75.0...v0.76.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4580
Reviewed By: ivanmisuno
Differential Revision: D44215164
Pulled By: mweststrate
fbshipit-source-id: 1fb6d4bd05f5e4ca85f2b2fa3df084721f3cf003
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.73.1 to 0.75.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.75.0</h2>
<ul>
<li><strong>[Breaking]</strong>: Formalise minimum Node JS requirement at 14.17.0 via <code>package.json#engines</code>. (<a href="c3e453ede5</a>)</li>
<li><strong>[Breaking]</strong>: Filter untyped context properties passed to custom resolvers. (<a href="cb01ec09c6</a>)</li>
<li><strong>[Breaking]</strong>: Change default <code>context.redirectModulePath</code> implementation to return absolute path in all cases. (<a href="acbfe63d83</a>)</li>
<li><strong>[Feature]</strong>: Add <code>mainFields</code>, <code>getPackage</code>, and <code>getPackageForModule</code> to custom resolver context. (<a href="adfb59329f</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.74.1...v0.75.0">https://github.com/facebook/metro/compare/v0.74.1...v0.75.0</a></p>
<h2>Release v0.74.1</h2>
<ul>
<li><strong>[Feature]</strong>: Add <code>babel/plugin-proposal-numeric-separator</code> to <code>metro-react-native-babel-preset</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/681">facebook/metro#681</a> by <a href="https://github.com/SConaway"><code>@SConaway</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.74.0...v0.74.1">https://github.com/facebook/metro/compare/v0.74.0...v0.74.1</a></p>
<h2>Release v0.74.0</h2>
<ul>
<li><strong>[Breaking]</strong> Remove <code>@babel/plugin-transform-template-literals</code> from metro-react-native-babel-preset (<a href="322dea8dc7</a>)</li>
<li><strong>[Breaking]</strong> Remove <code>postProcessBundleSourcemap</code> from config (<a href="339794e434</a>)</li>
<li><strong>[Fix]</strong> Don't log ENOENT errors to console for expected URL stack frames (<a href="1031ae6713</a>)</li>
<li><strong>[Fix]</strong> Don't attempt to use the <code>find</code> crawler on Windows (<a href="735aa9f523</a>)</li>
<li><strong>[Performance]</strong> Improve AST processing during transformation (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/854">facebook/metro#854</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
<li><strong>[Performance]</strong> Improve Fast Refresh responsiveness when watching a large number of files (<a href="b942eca551</a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.73.6...v0.74.0">https://github.com/facebook/metro/compare/v0.73.6...v0.74.0</a></p>
<h2>Release v0.73.7</h2>
<p><em>This is a hotfix on the <code>0.73.x</code> branch.</em></p>
<ul>
<li><strong>[Fix]</strong> Don't attempt to use the <code>find</code> crawler on Windows (<a href="370301981b</a>)</li>
</ul>
<h2>Release v0.73.6</h2>
<ul>
<li><strong>[Fix]</strong> Fix duplicate 'add' events, reduce dropped events on new subtrees in <code>NodeWatcher</code> (non-Watchman, non-macOS).(<a href="51fb7e349c</a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> <code>experimentalImportBundleSupport</code>: Move bundle path hints into serialised dependency map(<a href="https://github-redirect.dependabot.com/facebook/metro/pull/901">facebook/metro#901</a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.73.5...v0.73.6">https://github.com/facebook/metro/compare/v0.73.5...v0.73.6</a></p>
<h2>Release v0.73.5</h2>
<ul>
<li><strong>[Fix]</strong>: Make all <code>getTransformOptions</code> result properties optional. (<a href="a07c8235a3</a>)</li>
<li><strong>[Fix]</strong>: Bug that can lead to "unknown module" errors at runtime after an incremental build. (<a href="b1be263f7d</a>)</li>
<li><strong>[Fix]</strong>: <code>metro-runtime</code>: Re-throw cached module errors without wrapping. (<a href="032c4a1e03</a>)</li>
<li><strong>[Fix]</strong> Bump <code>babel/types</code> dependency to <code>^7.20.0</code> for more consistent exposed AST Bump <code>babel/types</code> dependency to <code>^7.20.0</code> for more consistent exposed AST</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.73.4...v0.73.5">https://github.com/facebook/metro/compare/v0.73.4...v0.73.5</a></p>
<h2>Release v0.73.4</h2>
<ul>
<li><strong>[Feature]:</strong> Expose <code>watch</code> option in <code>RunServerOptions</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/889">facebook/metro#889</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
<li><strong>[Feature]:</strong> <code>metro-runtime</code>: Emit additional context on WebSocket <code>'close'</code> events (<a href="d54986c49c</a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a110931489"><code>a110931</code></a> Release 0.75.0</li>
<li><a href="28b38bb0af"><code>28b38bb</code></a> Remove duplicated engines entry from metro-symbolicate package.json</li>
<li><a href="acbfe63d83"><code>acbfe63</code></a> Refactor subpath matching logic in browser spec resolution</li>
<li><a href="c3e453ede5"><code>c3e453e</code></a> Add "engines" field to all packages to indicate minimum Node JS version</li>
<li><a href="e890c997d0"><code>e890c99</code></a> Back out "Process files before adding them to <code>FileSystem</code>"</li>
<li><a href="1a81060c6c"><code>1a81060</code></a> Process files before adding them to <code>FileSystem</code></li>
<li><a href="aa442cacdb"><code>aa442ca</code></a> Move default redirectModulePath implementation into metro-resolver</li>
<li><a href="adfb59329f"><code>adfb593</code></a> Add getPackageForModule function to resolution context</li>
<li><a href="11a468140c"><code>11a4681</code></a> Document unstable_perfLoggerFactory (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/920">https://github.com/facebook/flipper/issues/920</a>)</li>
<li><a href="7acb686f28"><code>7acb686</code></a> allow passing config for unstable_perfLoggerFactory without warning</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.73.1...v0.75.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4488
Reviewed By: lblasa
Differential Revision: D43345664
Pulled By: ivanmisuno
fbshipit-source-id: 5d790d6f3990692f6c9021c9c3ee8c62fade5a7e
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.72.3 to 0.73.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.73.1</h2>
<ul>
<li><strong>[Fix]</strong>: Generate a unique name for each Watchman subscription. (3b0e78a76f4eea9f02e8b8464cf5b5e4549d6ac7)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental][Fix]</strong>: Normalize file paths for <code>require.context</code> on Windows (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/876">facebook/metro#876</a> by <a href="https://github.com/byCedric"><code>@byCedric</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.73.0...v0.73.1">https://github.com/facebook/metro/compare/v0.73.0...v0.73.1</a></p>
<h2>Release v0.73.0</h2>
<ul>
<li><strong>[Breaking]</strong> Switch default minifier from <code>uglify-es</code> to <code>terser</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/871">https://github.com/facebook/flipper/issues/871</a>)</li>
<li><strong>[Breaking]</strong>: Increase minimum supported Node.js version to ^14.17.0. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/872">https://github.com/facebook/flipper/issues/872</a>)</li>
<li><strong>[Breaking]</strong>: Drop support for old (pre-CalVer) Watchman versions. (422055a5ccaca41edb1864ca07d4f810b3e03791)</li>
<li><strong>[Feature]</strong>: Support <code>fsevents</code> watcher on Apple Silicon. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/875">https://github.com/facebook/flipper/issues/875</a>)</li>
<li><strong>[Feature]</strong>: Support loading source URLs in inspector-proxy. (db19b06bdd6d2fbbe109e4f3be4b3af3489c1f1c)</li>
<li><strong>[Fix]</strong>: Log warning on unexpected error during <code>metro-file-map</code> cache read. (7028b7f51074f9ceef22258a8643d0f90de2388b)</li>
<li><strong>[Fix]</strong>: Remove exponentiation operator transform from <code>metro-react-native-babel-preset</code>. (c2365bb1d72a3773b31c05feab13a96afac484df)</li>
<li><strong>[Fix]</strong>: Don’t check <code>watchman --version</code> if <code>useWatchman</code> is false. (76c9307ed61efa7794b30b4e585cc5941ed73e16)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.72.3...v0.73.0">https://github.com/facebook/metro/compare/v0.72.3...v0.73.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="79266cc0ef"><code>79266cc</code></a> Release 0.73.1</li>
<li><a href="3b0e78a76f"><code>3b0e78a</code></a> Use per-watch Watchman subscription names</li>
<li><a href="4bace2a9f3"><code>4bace2a</code></a> Normalize file paths for require context on Windows (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/876">https://github.com/facebook/flipper/issues/876</a>)</li>
<li><a href="3ab9c00f3f"><code>3ab9c00</code></a> Fix a $FlowFixMe</li>
<li><a href="1b064f2639"><code>1b064f2</code></a> Release 0.73.0</li>
<li><a href="4b78430648"><code>4b78430</code></a> Introduce a platform allowlist for libraries</li>
<li><a href="f0e9c731da"><code>f0e9c73</code></a> Add watch-related <code>debug</code> and <code>perfLogger</code> output to <code>metro-file-map</code></li>
<li><a href="43a1ba4ca0"><code>43a1ba4</code></a> Revert D39966518: Release 0.73.0</li>
<li><a href="b83ad852ed"><code>b83ad85</code></a> Release 0.73.0</li>
<li><a href="db19b06bdd"><code>db19b06</code></a> Support loading source URLs in inspector-proxy</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.72.3...v0.73.1">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4193
Reviewed By: aigoncharov
Differential Revision: D40334991
Pulled By: mweststrate
fbshipit-source-id: 2e069dd11263fe5c9c77b4955074a5e8ee46abe2
Summary:
React Native 0.69 already depends on React 18 so it complains when using latest version of react-native-flipper.
## Changelog
Added React 18 as peer dependency for react-native-flipper
Pull Request resolved: https://github.com/facebook/flipper/pull/3993
Reviewed By: passy
Differential Revision: D38785141
Pulled By: mweststrate
fbshipit-source-id: 82b1832efde879a4dffec39f54fe61c521a56021
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.67.0 to 0.72.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.72.0</h2>
<ul>
<li><strong>[Breaking]</strong> Enable React 17 new JSX transform (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/848">facebook/metro#848</a> by <a href="https://github.com/danilobuerger"><code>@danilobuerger</code></a>)</li>
<li><strong>[Breaking]</strong> Add <code>watcher.additionalExts</code> option, enable inclusion of <code>.cjs</code> and <code>.mjs</code> files by default (c1c6d9c09fa92aa2ba71d803fdfa480e4dbb6a51)</li>
<li><strong>[Breaking]</strong> <code>.json</code> files will no longer be implicitly resolved if removed from <code>resolver.sourceExts</code> (a3dc30aa0d54d65d6dbd426662f59b0ec398a612)</li>
<li><strong>[Breaking]</strong> With a default config, any <code>.jsx</code> files will now be resolved before <code>.json</code>, <code>.ts</code>, <code>.tsx</code> (1b479314dc08f2a2e2f76438971f32fcf431ee89)</li>
<li><strong>[Breaking]</strong> Enable strict CLI validation when <code>metro</code> is passed an invalid subcommand or argument (19c4f7edb85f5b61b056580515348ca9715dd361)</li>
<li><strong>[Feature]</strong> Add <code>start</code> alias for <code>serve</code> CLI command (19c4f7edb85f5b61b056580515348ca9715dd361)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.71.3%E2%80%A6v0.72.0"><code>v0.71.3...v0.72.0</code></a></p>
<h2>Release v0.71.3</h2>
<ul>
<li><strong>[Fix]</strong> End watchman client on calling MetroFileMap end. (fc042d06bb6db98dd819bb0d22b7d536ee396c24)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.71.2...v0.71.3">https://github.com/facebook/metro/compare/v0.71.2...v0.71.3</a></p>
<h2>Release v0.71.2</h2>
<ul>
<li><strong>[Feature]</strong> Add <a href="https://facebook.github.io/metro/docs/configuration/#requirecycleignorepatterns"><code>requireCycleIgnorePatterns</code></a> option to suppress warnings for require cycles, suppress <code>node_modules</code> by default (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/707">facebook/metro#707</a> by <a href="https://github.com/hsource"><code>@hsource</code></a>)</li>
<li><strong>[Feature]</strong> Add <a href="https://facebook.github.io/metro/docs/configuration/#watchmandeferstates"><code>deferStates</code></a> option for Watchman (570c38039abc32b758f8d241896b21e28ca4ba83)</li>
<li><strong>[Fix]</strong> Incremental build bug with parallel edges to the same module (fc29a1177f883144674cf85a813b58567f69d545)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Add <code>unstable_allowRequireContext</code> config option, implement transformer support for <a href="https://webpack.js.org/guides/dependency-management/#requirecontext"><code>require.context</code></a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/821">facebook/metro#821</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.71.1%E2%80%A6v0.71.2"><code>v0.71.1...v0.71.2</code></a></p>
<h2>Release v0.71.1</h2>
<ul>
<li><strong>[Fix]</strong> Add missing <code>.npmignore</code> files (e8bb8fb4035699c83fce4b35aabcaec208513f3c)</li>
<li><strong>[Fix]</strong> Rewrite DeltaBundler garbage collection (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/820">facebook/metro#820</a>)</li>
<li><strong>[Fix]</strong> Remove deprecated Prop Types from lazy imports (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/824">facebook/metro#824</a> by <a href="https://github.com/ecreeth"><code>@ecreeth</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Expose <code>unstable_fileMapCacheManagerFactory</code> config option (e7419900d2e063f2d531313f810d18c487f807f8)</li>
<li><strong>[Experimental]</strong> Add <code>unstable_perfLogger</code> config option (eec0d7bf00aa707ae210b25218501b3e17dc4bf2)</li>
<li><strong>[Experimental]</strong> Remove <code>unstable_hasteMapModulePath</code> from Metro config (1cae8d8007d04ba62a739a6c4dff991c69af26e4)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.70.2%E2%80%A6v0.71.0"><code>v0.71.0...v0.71.1</code></a></p>
<h2>Release v0.71.0</h2>
<ul>
<li><strong>[Breaking]</strong> Reject runServer promise if the HTTP server can't start listening (f39af2cba2c3f39f674ad40ddf97ca7c3daa91f5)</li>
<li><strong>[Feature]</strong> Add <code>fileMapCacheDirectory</code> config option, deprecate <code>hasteMapCacheDirectory</code> (93966c0065e24dfaed15e409eeedf4b9bc209a41)</li>
<li><strong>[Fix]</strong> Fail <code>runServer</code> quickly if the port is not available (6d9623eec0250f8b0e78d1843c18a531444713ff)</li>
<li><strong>[Fix]</strong> Add explicit dependency on <code>babel/runtime</code> to <code>metro-runtime</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/816">https://github.com/facebook/flipper/issues/816</a>)</li>
<li><strong>[Fix]</strong> Fix missing dependency on <code>metro-transform-worker</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/817">https://github.com/facebook/flipper/issues/817</a>)</li>
<li><strong>[Fix]</strong> Fix batching bugs causing modules to be incorrectly omitted from delta updates(<a href="https://github-redirect.dependabot.com/facebook/metro/issues/819">https://github.com/facebook/flipper/issues/819</a>)</li>
<li><strong>[Fix]</strong> <code>InspectorProxy</code>: Don't pass an <code>Error</code> object to <code>socket.close()</code> (fdc4ef17230ee093cfd302ddc8c59a88019b1f02)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d699f9d141"><code>d699f9d</code></a> Release 0.72.0</li>
<li><a href="c1c6d9c09f"><code>c1c6d9c</code></a> Add watcher.additionalExts option, enable inclusion of .cjs and .mjs files by...</li>
<li><a href="a3dc30aa0d"><code>a3dc30a</code></a> Replace hard default of 'json' in sourceExts with package.json WatcherImpl glob</li>
<li><a href="1b479314dc"><code>1b47931</code></a> Add 'jsx' to resolver.sourceExts defaults</li>
<li><a href="75ac509182"><code>75ac509</code></a> update staticdocs</li>
<li><a href="d0ea806173"><code>d0ea806</code></a> Fixed typo causing option to not be applied (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/849">https://github.com/facebook/flipper/issues/849</a>)</li>
<li><a href="1b6dd6f05a"><code>1b6dd6f</code></a> Enable react 17 new jsx transform (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/848">https://github.com/facebook/flipper/issues/848</a>)</li>
<li><a href="b8252d866a"><code>b8252d8</code></a> Added isTurboModule helper function</li>
<li><a href="b6ebccf9e6"><code>b6ebccf</code></a> Remove MaskedViewIOS from react-native-github</li>
<li><a href="419caf7565"><code>419caf7</code></a> Release resolved-env</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.67.0...v0.72.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/3956
Reviewed By: lblasa
Differential Revision: D38315210
Pulled By: LukeDefeo
fbshipit-source-id: 71fc8336118f0fa67b5e19a8e78da323420eed89
Summary:
This change adds the template for a RNW module to the existing react-native flipper project.
Basically, the changes in this diff are the product of executing the react-native-windows init for the existing library.
See:
https://microsoft.github.io/react-native-windows/docs/getting-startedhttps://microsoft.github.io/react-native-windows/docs/native-modules-setup
Notes:
There's some auto-generated module code contained in this change: ReactNativeModule (.h/.cpp)
allow-large-files
Reviewed By: passy
Differential Revision: D36751772
fbshipit-source-id: 41207bedb00ea147883f6d13336ed6c1da4454d7