🚀 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
1
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
1.0.10

14

lib/index.js

@@ -44,2 +44,5 @@ #!/usr/bin/env node

// nS - No Space
// lC - Lowercase
var projectName = (0, _projectName2.default)();

@@ -61,3 +64,3 @@

_commander2.default.version('1.0.9').arguments('<newName>').action(function (newName) {
_commander2.default.version('1.0.10').arguments('<newName>').action(function (newName) {

@@ -130,2 +133,11 @@ var nS_NewName = newName.replace(/\s/g, '');

// Check if Podfile exists, because some project don't have this file
if ((0, _fileExists2.default)('./ios/Podfile')) {
(0, _replace2.default)(_extends({
regex: lC_Ns_CurrentAppName,
replacement: lC_Ns_NewName,
paths: ['./ios/Podfile']
}, replaceOptions));
}
// Check if MainApplication.java exists, because some project don't have this file

@@ -132,0 +144,0 @@ if ((0, _fileExists2.default)('./android/app/src/main/java/com/' + lC_Ns_NewName + '/MainApplication.java')) {

2

package.json
{
"name": "react-native-rename",
"version": "1.0.9",
"version": "1.0.10",
"description": "Rename react-native app with just one command",

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