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

@best/utils

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@best/utils - npm Package Compare versions

Comparing version 8.1.3 to 9.0.0

3

build/coalesce.js

@@ -15,3 +15,3 @@ "use strict";

*/
exports.coalesce = (...values) => {
const coalesce = (...values) => {
if (values === null || values === undefined) {

@@ -26,2 +26,3 @@ return null;

};
exports.coalesce = coalesce;
//# sourceMappingURL=coalesce.js.map

@@ -8,3 +8,7 @@ "use strict";

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.coalesce = exports.normalizeSpecs = exports.normalizeClientConfig = exports.RunnerInterruption = exports.req = exports.matchSpecs = exports.proxifiedSocketOptions = exports.logError = exports.getSystemInfo = exports.cacheDirectory = exports.clearLine = exports.isCI = exports.isInteractive = exports.Logger = void 0;
var logger_1 = require("./logger");

@@ -16,9 +20,9 @@ Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return logger_1.Logger; } });

var clear_line_1 = require("./clear-line");
Object.defineProperty(exports, "clearLine", { enumerable: true, get: function () { return clear_line_1.default; } });
Object.defineProperty(exports, "clearLine", { enumerable: true, get: function () { return __importDefault(clear_line_1).default; } });
var cache_directory_1 = require("./cache-directory");
Object.defineProperty(exports, "cacheDirectory", { enumerable: true, get: function () { return cache_directory_1.default; } });
Object.defineProperty(exports, "cacheDirectory", { enumerable: true, get: function () { return __importDefault(cache_directory_1).default; } });
var system_info_1 = require("./system-info");
Object.defineProperty(exports, "getSystemInfo", { enumerable: true, get: function () { return system_info_1.getSystemInfo; } });
var log_error_1 = require("./log-error");
Object.defineProperty(exports, "logError", { enumerable: true, get: function () { return log_error_1.default; } });
Object.defineProperty(exports, "logError", { enumerable: true, get: function () { return __importDefault(log_error_1).default; } });
var proxy_1 = require("./proxy");

@@ -25,0 +29,0 @@ Object.defineProperty(exports, "proxifiedSocketOptions", { enumerable: true, get: function () { return proxy_1.proxifiedSocketOptions; } });

@@ -22,3 +22,3 @@ "use strict";

Logger.showColors = process.env.NODE_ENV !== 'production' && picocolors_1.default.isColorSupported;
return winston_1.createLogger({
return (0, winston_1.createLogger)({
exitOnError: false,

@@ -25,0 +25,0 @@ format: winston_1.format.combine(winston_1.format.label({ label: configs.label }), this.customTimestampFormat, this.customFormat),

@@ -5,5 +5,5 @@ "use strict";

function matchSpecs(specs, runnerSpecs) {
return runnerSpecs.some(({ name, version }) => specs.name === name && specs.version.toString() === version.toString());
return runnerSpecs.some(({ name, version }) => specs.name === name && ['latest', version.toString()].includes(specs.version.toString()));
}
exports.matchSpecs = matchSpecs;
//# sourceMappingURL=match-specs.js.map

@@ -16,7 +16,7 @@ "use strict";

const PROXY = process.env.http_proxy || process.env.HTTP_PROXY;
exports.proxifiedSocketOptions = (options) => {
const proxifiedSocketOptions = (options) => {
if (PROXY) {
return {
...options,
agent: https_proxy_agent_1.default(PROXY),
agent: (0, https_proxy_agent_1.default)(PROXY),
timeout: 50000,

@@ -27,2 +27,3 @@ };

};
exports.proxifiedSocketOptions = proxifiedSocketOptions;
//# sourceMappingURL=proxy.js.map

@@ -7,3 +7,3 @@ {

"picocolors": "^1.0.0",
"systeminformation": "5.12.13",
"systeminformation": "5.17.12",
"winston": "3.8.2"

@@ -24,3 +24,3 @@ },

},
"version": "8.1.3"
"version": "9.0.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