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 7.1.1 to 7.1.2

2

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

@@ -5,0 +5,0 @@ "keywords": [

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

var VERSION = '7.1.0';
var VERSION= '7.1.2';

@@ -57,5 +57,5 @@ module.exports = {

checkCmd: 'cordova -v',
// pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev
// pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev
minVersion: '8.1.2',
pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA
pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA
platformVersion: {

@@ -73,4 +73,4 @@ ios: '5.0.0',

// templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#dev', // dev
templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#v' + VERSION, // GA
// templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#dev', // dev
templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#v' + VERSION, // GA

@@ -77,0 +77,0 @@ forceclis: {

@@ -87,3 +87,4 @@ /*

if (config.platform === 'ios') {
var xcSettingsFile = path.join(config.projectDir,'platforms', 'ios', config.appname + '.xcworkspace', 'xcshareddata', 'WorkspaceSettings.xcsettings');
var xcSettingsDir = path.join(config.projectDir,'platforms', 'ios', config.appname + '.xcworkspace', 'xcshareddata')
var xcSettingsFile = path.join(xcSettingsDir, 'WorkspaceSettings.xcsettings');
var plistFileContent = '<?xml version="1.0" encoding="UTF-8"?>\n' +

@@ -98,2 +99,3 @@ '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n' +

utils.logInfo('Creating WorkspaceSettings.xcsettings for project. Setting the BuildSystemType to original in ' + xcSettingsFile);
utils.mkDirIfNeeded(xcSettingsDir)
fs.writeFileSync(xcSettingsFile,plistFileContent,'utf8');

@@ -100,0 +102,0 @@ utils.logInfo('Created WorkspaceSettings.xcsettings for project ' + config.appname);

@@ -5,2 +5,3 @@ module.exports = {

'yellow': '\x1b[33;1m',
'blue': '\x1b[34;1m',
'magenta': '\x1b[35;1m',

@@ -7,0 +8,0 @@ 'cyan': '\x1b[36;1m',

@@ -151,22 +151,16 @@ /*

logDebug('Running: ' + cmd);
if (dir) shelljs.pushd(dir);
try {
if (returnOutput) {
return execSync(cmd).toString();
if (returnOutput) {
return execSync(cmd, {cwd: dir}).toString();
}
else {
var stdio = [];
if (LOG_LEVEL >= LOG_LEVELS.DEBUG) {
stdio = [0,1,2]
}
else {
var stdio = [];
if (LOG_LEVEL >= LOG_LEVELS.DEBUG) {
stdio = [0,1,2]
}
else if (LOG_LEVEL >= LOG_LEVELS.ERROR) {
stdio = [0,2]
}
else if (LOG_LEVEL >= LOG_LEVELS.ERROR) {
stdio = [0,2]
}
execSync(cmd, {stdio: stdio});
}
execSync(cmd, {cwd: dir, stdio: stdio});
}
finally {
if (dir) shelljs.popd();
}
}

@@ -233,2 +227,11 @@

/**
* Make directory if it does not exist
*
* @param {string} Path of directory to create
*/
function mkDirIfNeeded(dir) {
shelljs.mkdir('-p', dir);
}
/**
* Replace string in files.

@@ -326,11 +329,12 @@ *

*/
function logParagraph(lines) {
function logParagraph(lines, color) {
color = color || COLOR.green;
logInfo("");
logInfo("********************************************************************************", COLOR.green);
logInfo("*", COLOR.green);
logInfo("********************************************************************************", color);
logInfo("*", color);
for (var i=0; i<lines.length; i++) {
logInfo("* " + lines[i], COLOR.green);
logInfo("* " + lines[i], color);
}
logInfo("*", COLOR.green);
logInfo("********************************************************************************", COLOR.green);
logInfo("*", color);
logInfo("********************************************************************************", color);
logInfo("");

@@ -413,2 +417,3 @@ }

mkTmpDir,
mkDirIfNeeded,
moveFile,

@@ -415,0 +420,0 @@ setLogLevel,

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