New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@best/config

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@best/config - npm Package Compare versions

Comparing version 4.0.0-beta9 to 4.1.0

2

build/index.js

@@ -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'],

2

build/utils/git.js

@@ -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"
]
}
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