@expo/metro-runtime 3.2.2 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingView.native.d.ts","sourceRoot":"","sources":["../src/LoadingView.native.ts"],"names":[],"mappings":"AAAA,QAAA,IAAI,WAAW,EAAE,cAAc,8CAA8C,EAAE,OAAO,CAAC;AASvF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"LoadingView.native.d.ts","sourceRoot":"","sources":["../src/LoadingView.native.ts"],"names":[],"mappings":"AAAA,QAAA,IAAI,WAAW,EAAE,cAAc,8CAA8C,EAAE,OAAO,CAAC;AAWvF,eAAe,WAAW,CAAC"}
@@ -6,7 +6,10 @@ try {
6
6
  }
7
7
  catch {
8
8
  // In react-native 0.75.0 LoadingView was renamed to DevLoadingView
9
- LoadingView = require('react-native/Libraries/Utilities/DevLoadingView');
9
+ try {
10
+ LoadingView = require('react-native/Libraries/Utilities/DevLoadingView');
11
+ }
12
+ catch { }
10
13
  }
11
14
  exports.default = LoadingView;
12
15
  //# sourceMappingURL=LoadingView.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingView.native.js","sourceRoot":"","sources":["../src/LoadingView.native.ts"],"names":[],"mappings":";;AAAA,IAAI,WAAkF,CAAC;AAEvF,IAAI;IACF,WAAW,GAAG,OAAO,CAAC,8CAA8C,CAAC,CAAC;CACvE;AAAC,MAAM;IACN,mEAAmE;IACnE,WAAW,GAAG,OAAO,CAAC,iDAAiD,CAAC,CAAC;CAC1E;AAED,kBAAe,WAAW,CAAC","sourcesContent":["let LoadingView: typeof import('react-native/Libraries/Utilities/LoadingView').default;\n\ntry {\n LoadingView = require('react-native/Libraries/Utilities/LoadingView');\n} catch {\n // In react-native 0.75.0 LoadingView was renamed to DevLoadingView\n LoadingView = require('react-native/Libraries/Utilities/DevLoadingView');\n}\n\nexport default LoadingView;\n"]}
1
+ {"version":3,"file":"LoadingView.native.js","sourceRoot":"","sources":["../src/LoadingView.native.ts"],"names":[],"mappings":";;AAAA,IAAI,WAAkF,CAAC;AAEvF,IAAI;IACF,WAAW,GAAG,OAAO,CAAC,8CAA8C,CAAC,CAAC;CACvE;AAAC,MAAM;IACN,mEAAmE;IACnE,IAAI;QACF,WAAW,GAAG,OAAO,CAAC,iDAAiD,CAAC,CAAC;KAC1E;IAAC,MAAM,GAAE;CACX;AAED,kBAAe,WAAW,CAAC","sourcesContent":["let LoadingView: typeof import('react-native/Libraries/Utilities/LoadingView').default;\n\ntry {\n LoadingView = require('react-native/Libraries/Utilities/LoadingView');\n} catch {\n // In react-native 0.75.0 LoadingView was renamed to DevLoadingView\n try {\n LoadingView = require('react-native/Libraries/Utilities/DevLoadingView');\n } catch {}\n}\n\nexport default LoadingView;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/metro-runtime",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Tools for making advanced Metro bundler features work",
5
5
  "sideEffects": true,
6
6
  "types": "build",
@@ -36,5 +36,5 @@
36
36
  "peerDependencies": {
37
37
  "react-native": "*"
38
38
  },
39
- "gitHead": "332ba65c4e421bdb8973cc749e3e34b5fa5ce903"
39
+ "gitHead": "0e91c05bf4a7dcd6837c8031d0d32b446212b53d"
40
40
  }
@@ -4,7 +4,9 @@ try {
4
4
  LoadingView = require('react-native/Libraries/Utilities/LoadingView');
5
5
  } catch {
6
6
  // In react-native 0.75.0 LoadingView was renamed to DevLoadingView
7
- LoadingView = require('react-native/Libraries/Utilities/DevLoadingView');
7
+ try {
8
+ LoadingView = require('react-native/Libraries/Utilities/DevLoadingView');
9
+ } catch {}
8
10
  }
9
11
 
10
12
  export default LoadingView;