🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a 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
2.1.2

6

lib/config/filesToModifyContent.js

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

replacement: nS_NewName,
paths: ['./index.android.js', './index.ios.js', './ios/' + nS_NewName + '.xcodeproj/project.pbxproj', './ios/' + nS_NewName + '.xcworkspace/contents.xcworkspacedata', './ios/' + nS_NewName + '.xcodeproj/xcshareddata/xcschemes/' + nS_NewName + '-tvOS.xcscheme', './ios/' + nS_NewName + '.xcodeproj/xcshareddata/xcschemes/' + nS_NewName + '.xcscheme', './ios/' + nS_NewName + '/AppDelegate.m', './android/settings.gradle', './ios/' + nS_NewName + 'Tests/' + nS_NewName + 'Tests.m', './ios/build/info.plist']
paths: ['./index.android.js', './index.ios.js', './ios/' + nS_NewName + '.xcodeproj/project.pbxproj', './ios/' + nS_NewName + '.xcworkspace/contents.xcworkspacedata', './ios/' + nS_NewName + '.xcodeproj/xcshareddata/xcschemes/' + nS_NewName + '-tvOS.xcscheme', './ios/' + nS_NewName + '.xcodeproj/xcshareddata/xcschemes/' + nS_NewName + '.xcscheme', './ios/' + nS_NewName + '/AppDelegate.m', './android/settings.gradle', './ios/' + nS_NewName + 'Tests/' + nS_NewName + 'Tests.m', './ios/build/info.plist', './ios/Podfile', './app.json']
}, {

@@ -38,6 +38,2 @@ regex: 'text="' + currentAppName + '"',

}, {
regex: nS_CurrentAppName,
replacement: nS_NewName,
paths: ['./app.json']
}, {
regex: '"displayName": "' + currentAppName + '"',

@@ -44,0 +40,0 @@ replacement: '"displayName": "' + newName + '"',

2

lib/index.js

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

_commander2.default.version('2.1.1').arguments('<newName>').option('-b, --bundleID [value]', 'Set custom bundle identifier eg. "com.junedomingo.travelapp"').action(function (newName) {
_commander2.default.version('2.1.2').arguments('<newName>').option('-b, --bundleID [value]', 'Set custom bundle identifier eg. "com.junedomingo.travelapp"').action(function (newName) {
var nS_NewName = newName.replace(/\s/g, '');

@@ -142,0 +142,0 @@ var pattern = /^([0-9]|[a-z])+([0-9a-z\s]+)$/i;

{
"name": "react-native-rename",
"version": "2.1.1",
"version": "2.1.2",
"description": "Rename react-native app with just one command",

@@ -24,3 +24,3 @@ "main": "lib/index.js",

],
"author": "June Domingo <june@cynder.io>",
"author": "June Domingo <junedomingo@gmail.com>",
"license": "MIT",

@@ -27,0 +27,0 @@ "bin": {