Socket
Socket
Sign inDemoInstall

appcenter-link-scripts

Package Overview
Dependencies
Maintainers
1
Versions
46
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 2.4.0 to 2.5.0

14

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

@@ -21,3 +21,3 @@ "main": "src/index.js",

"dependencies": {
"debug": "2.2.0",
"debug": "4.1.1",
"glob": "5.0.15",

@@ -31,7 +31,7 @@ "mkdirp": "0.5.1",

"babel-eslint": "7.2.3",
"eslint": "4.5.0",
"eslint-config-airbnb": "15.1.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.2.1"
"eslint": "6.5.1",
"eslint-config-airbnb": "18.0.1",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.16.0"
},

@@ -38,0 +38,0 @@ "scripts": {

@@ -166,3 +166,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

if (targetsStack.length === 0) {
result.push(Object.assign({}, currentRange));
result.push({ ...currentRange });
}

@@ -180,3 +180,3 @@ targetsStack.push(keywordMatch.index);

currentRange.end = content.length;
result.push(Object.assign({}, currentRange));
result.push({ ...currentRange });
return result;

@@ -222,13 +222,13 @@ };

const targetIndex = reverse ?
content.lastIndexOf(targetKeyword, offset) :
content.indexOf(targetKeyword, offset);
const endIndex = reverse ?
content.lastIndexOf(endKeyword, offset) :
content.indexOf(endKeyword, offset);
const targetIndex = reverse
? content.lastIndexOf(targetKeyword, offset)
: content.indexOf(targetKeyword, offset);
const endIndex = reverse
? content.lastIndexOf(endKeyword, offset)
: content.indexOf(endKeyword, offset);
if (reverse) {
return targetIndex < endIndex ?
{ keyword: endKeyword, index: endIndex } :
{ keyword: targetKeyword, index: targetIndex };
return targetIndex < endIndex
? { keyword: endKeyword, index: endIndex }
: { keyword: targetKeyword, index: targetIndex };
}

@@ -238,5 +238,5 @@ if (targetIndex < 0) {

}
return targetIndex < endIndex ?
{ keyword: targetKeyword, index: targetIndex } :
{ keyword: endKeyword, index: endIndex };
return targetIndex < endIndex
? { keyword: targetKeyword, index: targetIndex }
: { keyword: endKeyword, index: endIndex };
};

@@ -243,0 +243,0 @@

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