Socket
Socket
Sign inDemoInstall

@react-native-community/cli-tools

Package Overview
Dependencies
Maintainers
30
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-tools - npm Package Compare versions

Comparing version 12.0.0-alpha.4 to 12.0.0-alpha.5

7

build/releaseChecker/getLatestRelease.js

@@ -44,9 +44,2 @@ "use strict";

}
const aWeek = 7 * 24 * 60 * 60 * 1000;
const lastChecked = _releaseCacheManager.default.get(name, 'lastChecked');
const now = new Date();
if (lastChecked && Number(now) - Number(new Date(lastChecked)) < aWeek) {
_logger.default.debug('Cached release is still recent, skipping remote check');
return;
}
_logger.default.debug('Checking for newer releases on GitHub');

@@ -53,0 +46,0 @@ const eTag = _releaseCacheManager.default.get(name, 'eTag');

2

build/releaseChecker/index.js

@@ -84,3 +84,3 @@ "use strict";

}
} catch (_) {
} catch {
throw new _errors.UnknownProjectError(projectRoot);

@@ -87,0 +87,0 @@ }

{
"name": "@react-native-community/cli-tools",
"version": "12.0.0-alpha.4",
"version": "12.0.0-alpha.5",
"license": "MIT",

@@ -21,3 +21,3 @@ "main": "build/index.js",

"devDependencies": {
"@react-native-community/cli-types": "12.0.0-alpha.4",
"@react-native-community/cli-types": "12.0.0-alpha.5",
"@types/lodash": "^4.14.149",

@@ -34,3 +34,3 @@ "@types/mime": "^2.0.1",

],
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/tools",
"homepage": "https://github.com/react-native-community/cli/tree/main/packages/cli-tools",
"repository": {

@@ -41,3 +41,3 @@ "type": "git",

},
"gitHead": "bd0963dbe23b079b50dd2b07f80f305b3bc92f3a"
"gitHead": "3569633e1bbda4858195feb8537d7b9969b2040e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc