@best/config
Advanced tools
Comparing version 4.0.0-beta9 to 4.1.0
@@ -21,2 +21,3 @@ "use strict"; | ||
gitIntegration: options.gitIntegration, | ||
mainBranch: options.mainBranch, | ||
generateHTML: options.generateHTML, | ||
@@ -40,2 +41,3 @@ compareStats: options.compareStats, | ||
useHttp: options.useHttp, | ||
assets: options.assets, | ||
moduleDirectories: options.moduleDirectories, | ||
@@ -42,0 +44,0 @@ moduleFileExtensions: options.moduleFileExtensions, |
@@ -13,2 +13,3 @@ "use strict"; | ||
gitIntegration: false, | ||
mainBranch: 'master', | ||
commentThreshold: 5, | ||
@@ -24,2 +25,3 @@ specs: undefined, | ||
useHttp: false, | ||
assets: [], | ||
openPages: false, | ||
@@ -26,0 +28,0 @@ moduleDirectories: ['node_modules'], |
@@ -29,3 +29,3 @@ "use strict"; | ||
const url = await git.listRemote(['--get-url']); | ||
const matches = url.trim().match(/^.+[:/](.+)\/(.+).git$/); | ||
const matches = url.trim().match(/^.+[:/](.+)\/(.+)/); | ||
if (!matches) { | ||
@@ -32,0 +32,0 @@ throw new Error('Unable to parse git repo'); |
@@ -71,3 +71,5 @@ "use strict"; | ||
case 'iterations': | ||
options.benchmarkIterations = argsCLI[key]; | ||
if (argsCLI[key] !== undefined) { | ||
options.benchmarkIterations = argsCLI[key]; | ||
} | ||
break; | ||
@@ -96,6 +98,11 @@ case 'runInBatch': | ||
if (argsCLI[key] !== undefined) { | ||
options.apiDatabase = { adapter: argsCLI[key], uri: argsCLI['dbURI'] }; | ||
options.apiDatabase = { | ||
adapter: argsCLI[key], | ||
uri: argsCLI['dbURI'], | ||
token: argsCLI['dbToken'] | ||
}; | ||
} | ||
break; | ||
case 'dbURI': | ||
case 'dbToken': | ||
break; | ||
@@ -102,0 +109,0 @@ default: |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "4.0.0-beta9", | ||
"version": "4.1.0", | ||
"description": "Best config", | ||
@@ -17,4 +17,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@best/regex-util": "4.0.0-beta9", | ||
"@best/utils": "4.0.0-beta9", | ||
"@best/regex-util": "4.1.0", | ||
"@best/utils": "4.1.0", | ||
"chalk": "~2.4.2", | ||
@@ -25,4 +25,3 @@ "simple-git": "~1.113.0" | ||
"build/**/*.js" | ||
], | ||
"gitHead": "e6715b73efc2f47459b39a2c956676caf49c5a19" | ||
] | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
566
1
22867
7
1
+ Added@best/regex-util@4.1.0(transitive)
+ Added@best/utils@4.1.0(transitive)
+ Addedci-info@3.9.0(transitive)
+ Addedis-ci@3.0.1(transitive)
+ Addedsysteminformation@5.25.11(transitive)
- Removed@best/regex-util@4.0.0-beta9(transitive)
- Removed@best/utils@4.0.0-beta9(transitive)
- Removedci-info@2.0.0(transitive)
- Removedis-ci@2.0.0(transitive)
- Removedsysteminformation@4.9.2(transitive)
Updated@best/regex-util@4.1.0
Updated@best/utils@4.1.0