New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

forcereact

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

forcereact - npm Package Compare versions

Comparing version 6.2.0 to 7.0.0-rc

2

package.json
{
"name": "forcereact",
"version": "6.2.0",
"version": "7.0.0-rc",
"description": "Utilities for creating react native mobile apps based on the Salesforce Mobile SDK for iOS and Android",

@@ -5,0 +5,0 @@ "keywords": [ "mobilesdk", "ios", "android", "react", "salesforce", "mobile", "sdk" ],

@@ -31,3 +31,3 @@ /*

var VERSION = '6.2.0';
var VERSION = '7.0.0-rc';

@@ -45,3 +45,3 @@ module.exports = {

minVersion: '6.9',
maxVersion: '8.11',
maxVersion: '11.1'
},

@@ -55,12 +55,12 @@ npm: {

minVersion: '1.2',
maxVersion: '1.4',
maxVersion: '1.6'
},
cordova: {
checkCmd: 'cordova -v',
//pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev
minVersion: '8.0.0',
// pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev
minVersion: '8.1.2',
pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA
platformVersion: {
ios: '4.5.4',
android: '7.0.0'
ios: '4.5.5',
android: '7.1.2'
}

@@ -86,3 +86,3 @@ }

toolNames: ['git', 'node', 'npm', 'pod'],
appTypes: ['native', 'native_swift'],
appTypes: ['native_swift', 'native'],
appTypesToPath: {

@@ -101,3 +101,3 @@ 'native': 'iOSNativeTemplate',

toolNames: ['git', 'node', 'npm'],
appTypes: ['native', 'native_kotlin'],
appTypes: ['native_kotlin', 'native'],
appTypesToPath: {

@@ -151,7 +151,8 @@ 'native': 'AndroidNativeTemplate',

'char':'t',
description: cli => 'application type (' + cli.appTypes.join(', ') + ')',
description: cli => 'application type (' + cli.appTypes.join(' or ') + ', leave empty for ' + cli.appTypes[0] + ')',
longDescription: cli => 'You can choose one of the following types of applications: ' + cli.appTypes.join(', ') + '.',
prompt: cli => 'Enter your application type (' + cli.appTypes.join(', ') + '):',
prompt: cli => 'Enter your application type (' + cli.appTypes.join(' or ') + ', leave empty for ' + cli.appTypes[0] + '):',
error: cli => val => 'App type must be ' + cli.appTypes.join(' or ') + '.',
validate: cli => val => cli.appTypes.indexOf(val) >=0
validate: cli => val => val === undefined || val === '' || cli.appTypes.indexOf(val) >=0,
required: false
},

@@ -174,3 +175,3 @@ templateRepoUri: {

error: cli => val => 'Invalid value for application name: \'' + val + '\'.',
validate: cli => val => /^\S+$/.test(val)
validate: cli => val => (cli.platforms.indexOf('ios') != -1 ? /^[^\s-]+$/ : /^\S+$/).test(val)
},

@@ -256,4 +257,6 @@ packageName: {

'organization',
cli.appTypes.indexOf('hybrid_remote') >=0 ? 'startPage' : null,
'outputDir',
'verbose'
'verbose',
cli.name === 'forcehybrid' ? 'pluginRepoUri' : null
].filter(x=>x!=null),

@@ -260,0 +263,0 @@ description: cli => 'create ' + cli.purpose + ' from a template',

@@ -196,3 +196,3 @@ /*

// Adding app type
if (forcecli.appTypes.length == 1) {
if (forcecli.appTypes.length == 1 || config.apptype === undefined || config.apptype === '') {
config.apptype = forcecli.appTypes[0];

@@ -199,0 +199,0 @@ }

@@ -47,2 +47,4 @@ /*

var exitOnFailure = false;
/**

@@ -173,3 +175,3 @@ * Set log level

/**
* Run shell command - throws error if any
* Run shell command - catch error if any (unless setExitOnFailure(true) was called)
*

@@ -191,2 +193,5 @@ * @param {String} cmd The command to execute.

logError(msg ? '!FAILURE! ' + msg : '', err);
if (exitOnFailure) {
process.exit(1);
}
}

@@ -386,2 +391,11 @@ finally {

/**
* Set behavior when running shell processes
*
* @param {Boolean} exitOFailure - pass true to exit on shell process execution failure (default is false)
*/
function setExitOnFailure(b) {
exitOnFailure = b;
}
module.exports = {

@@ -406,3 +420,4 @@ LOG_LEVELS,

runProcessThrowError,
separateRepoUrlPathBranch
separateRepoUrlPathBranch,
setExitOnFailure
};
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