appcenter-link-scripts
Advanced tools
Comparing version 2.4.0 to 2.5.0
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30418
+ Addeddebug@4.1.1(transitive)
+ Addedms@2.1.3(transitive)
- Removeddebug@2.2.0(transitive)
- Removedms@0.7.1(transitive)
Updateddebug@4.1.1