This gist is updated daily via cron job and lists stats for npm packages:
- Top 1,000 most depended-upon packages
- Top 1,000 packages with largest number of dependencies
- Top 1,000 packages with highest PageRank score
function convertMS( milliseconds ) { | |
var day, hour, minute, seconds; | |
seconds = Math.floor(milliseconds / 1000); | |
minute = Math.floor(seconds / 60); | |
seconds = seconds % 60; | |
hour = Math.floor(minute / 60); | |
minute = minute % 60; | |
day = Math.floor(hour / 24); | |
hour = hour % 24; | |
return { |
diff --git a/node_modules/react-native/Libraries/Image/RCTImageUtils.m b/node_modules/react-native/Libraries/Image/RCTImageUtils.m | |
index 899bfe4..33133c3 100644 | |
--- a/node_modules/react-native/Libraries/Image/RCTImageUtils.m | |
+++ b/node_modules/react-native/Libraries/Image/RCTImageUtils.m | |
@@ -308,13 +308,26 @@ BOOL RCTUpscalingRequired(CGSize sourceSize, CGFloat sourceScale, | |
if (!imageRef) { | |
return nil; | |
} | |
+ if (@available(iOS 10, *)) { | |
+ // Return all images in P3 color space |
This is a companion piece to the article https://blog.expo.dev/developing-react-native-with-expo-and-flipper-8c426bdf995a in case you are running a managed build on EAS.
You'll need to add the expo config plugins to your dependencies: yarn add @expo/config-plugins
plugins.withDangerousMod
which means you will need to reverify this file with each expo SDK release. This is because we are modifying our Podfile directly and doing so requires certain strings to exist as reference points in the Expo template. That said, the worst that happens is that your app will not include Flipper.
If you'd like to create an /eas
directory and put flipper-expo.js
there, you can do that and update app.config.json
and the require for package.json
(Line 9 of flipper-expo.js
) accordingly.
const { withDangerousMod, withPlugins } = require("@expo/config-plugins"); | |
const { | |
mergeContents, | |
} = require("@expo/config-plugins/build/utils/generateCode"); | |
const fs = require("fs"); | |
const path = require("path"); | |
async function readFileAsync(path) { | |
return fs.promises.readFile(path, "utf8"); | |
} |
const plugins = require('expo/config-plugins') | |
const { | |
mergeContents, | |
} = require('@expo/config-plugins/build/utils/generateCode') | |
const path = require('path') | |
const fs = require('fs') | |
module.exports = function withReanimatedUseFrameworks(config) { | |
return plugins.withDangerousMod(config, [ |