Skip to content

Commit

Permalink
Create a metro-runtime module
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D23053465

fbshipit-source-id: 17cc3153c2bfddf06099821af9e63c184a53b1de
  • Loading branch information
cpojer authored and facebook-github-bot committed Aug 13, 2020
1 parent c429ee9 commit 1f15b8b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Utilities/HMRClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

const DevSettings = require('./DevSettings');
const invariant = require('invariant');
const MetroHMRClient = require('metro/src/lib/bundle-modules/HMRClient');
const MetroHMRClient = require('metro-runtime/src/modules/HMRClient');
const Platform = require('./Platform');
const prettyFormat = require('pretty-format');

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"jsc-android": "^245459.0.0",
"metro-babel-register": "0.62.0",
"metro-react-native-babel-transformer": "0.62.0",
"metro-runtime": "0.62.0",
"metro-source-map": "0.62.0",
"nullthrows": "^1.1.1",
"pretty-format": "^26.0.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5162,6 +5162,11 @@ metro-resolver@0.58.0, metro-resolver@^0.58.0:
dependencies:
absolute-path "^0.0.0"

metro-runtime@0.62.0:
version "0.62.0"
resolved "https://registry.yarnpkg.com/metro-runtime/-/metro-runtime-0.62.0.tgz#f4d5462b3b079465f2f7b11b9d65da8f775cd9ca"
integrity sha512-cukazDEFviGK7jgW0AeSCXE7cAlquS/ogSQpoV66DF7Nvyf6VJ9Lv+Sz/BVTos5VP5AStJ5pZDBzfRUvzVelHw==

metro-source-map@0.58.0:
version "0.58.0"
resolved "https://registry.yarnpkg.com/metro-source-map/-/metro-source-map-0.58.0.tgz#e951b99f4c653239ce9323bb08339c6f1978a112"
Expand Down

0 comments on commit 1f15b8b

Please sign in to comment.