🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-rename

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-rename - npm Package Compare versions

Comparing version

to
2.8.2

6

lib/index.js

@@ -126,3 +126,3 @@ #!/usr/bin/env node

var validatePaths = function validatePaths() {
return new Promise(function (resolve, reject) {
return new Promise(function (resolve) {
var paths = (0, _utils.iosRequiredPaths)(currentAppName);

@@ -132,3 +132,5 @@

if (!_fs2.default.existsSync(_path2.default.join(_utils.__dirname, item))) {
reject(new Error('Can\'t find an ios path or project. Make sure that the ios project path and property \'name\' in app.json the same.'));
var warning = 'Can\'t find an ios path or project. Make sure that the ios project path and property \'name\' in app.json the same.';
console.log(_colors2.default.red(warning));
}

@@ -135,0 +137,0 @@ });

@@ -50,3 +50,3 @@ 'use strict';

return ['ios/' + nS_CurrentAppName, 'ios/' + nS_CurrentAppName + '.xcodeproj'];
return ['ios/' + nS_CurrentAppName];
}
{
"name": "react-native-rename",
"version": "2.8.1",
"version": "2.8.2",
"description": "Rename react-native app with just one command",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display