Socket
Socket
Sign inDemoInstall

appcenter-link-scripts

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appcenter-link-scripts - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

package.json
{
"name": "appcenter-link-scripts",
"version": "1.1.0",
"version": "1.2.0",
"description": "Node module that contains common functionality needed to link appcenter-* modules",

@@ -38,4 +38,4 @@ "main": "src/index.js",

"scripts": {
"lint": "eslint ."
"lint": "./node_modules/.bin/eslint ."
}
}

@@ -48,4 +48,3 @@ const fs = require('fs');

Looked in paths -
${JSON.stringify(projectPaths)}`
));
${JSON.stringify(projectPaths)}`));
return;

@@ -52,0 +51,0 @@ }

@@ -76,5 +76,2 @@ const fs = require('fs');

addPodDeps(pods) {
if (process.platform !== 'darwin') {
return Promise.reject(new Error('Since you are not running on a Mac, CocoaPods installation steps will be skipped.'));
}
if (!PodFile.isCocoaPodsInstalled()) {

@@ -103,4 +100,5 @@ return Promise.reject(new Error('Could not find "pod" command. Is CocoaPods installed?'));

const appNameLower = appName.toLowerCase();
for (let i = 0; i < array.length; i++) {
if (array[i] && array[i].indexOf(appName) !== -1) {
if (array[i] && array[i].toLowerCase().indexOf(appNameLower) !== -1) {
return array[i];

@@ -107,0 +105,0 @@ }

@@ -42,4 +42,3 @@ const fs = require('fs');

if (patterns === null) {
throw new Error(
`
throw new Error(`
Error: Could not find a "# Pods for" comment in your Podfile. Please add a "# Pods for AppCenter" line

@@ -46,0 +45,0 @@ in ${this.file}, inside

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