@best/utils
Advanced tools
Comparing version 4.0.0-beta1 to 4.0.0-beta10
@@ -10,21 +10,21 @@ "use strict"; | ||
var is_interactive_1 = require("./is-interactive"); | ||
exports.isInteractive = is_interactive_1.isInteractive; | ||
exports.isCI = is_interactive_1.isCI; | ||
Object.defineProperty(exports, "isInteractive", { enumerable: true, get: function () { return is_interactive_1.isInteractive; } }); | ||
Object.defineProperty(exports, "isCI", { enumerable: true, get: function () { return is_interactive_1.isCI; } }); | ||
var clear_line_1 = require("./clear-line"); | ||
exports.clearLine = clear_line_1.default; | ||
Object.defineProperty(exports, "clearLine", { enumerable: true, get: function () { return clear_line_1.default; } }); | ||
var cache_directory_1 = require("./cache-directory"); | ||
exports.cacheDirectory = cache_directory_1.default; | ||
Object.defineProperty(exports, "cacheDirectory", { enumerable: true, get: function () { return cache_directory_1.default; } }); | ||
var system_info_1 = require("./system-info"); | ||
exports.getSystemInfo = system_info_1.getSystemInfo; | ||
Object.defineProperty(exports, "getSystemInfo", { enumerable: true, get: function () { return system_info_1.getSystemInfo; } }); | ||
var log_error_1 = require("./log-error"); | ||
exports.logError = log_error_1.default; | ||
Object.defineProperty(exports, "logError", { enumerable: true, get: function () { return log_error_1.default; } }); | ||
var proxy_1 = require("./proxy"); | ||
exports.proxifiedSocketOptions = proxy_1.proxifiedSocketOptions; | ||
Object.defineProperty(exports, "proxifiedSocketOptions", { enumerable: true, get: function () { return proxy_1.proxifiedSocketOptions; } }); | ||
var match_specs_1 = require("./match-specs"); | ||
exports.matchSpecs = match_specs_1.matchSpecs; | ||
Object.defineProperty(exports, "matchSpecs", { enumerable: true, get: function () { return match_specs_1.matchSpecs; } }); | ||
var runner_interruption_1 = require("./runner-interruption"); | ||
exports.RunnerInterruption = runner_interruption_1.RunnerInterruption; | ||
Object.defineProperty(exports, "RunnerInterruption", { enumerable: true, get: function () { return runner_interruption_1.RunnerInterruption; } }); | ||
var normalize_client_config_1 = require("./normalize-client-config"); | ||
exports.normalizeClientConfig = normalize_client_config_1.normalizeClientConfig; | ||
exports.normalizeSpecs = normalize_client_config_1.normalizeSpecs; | ||
Object.defineProperty(exports, "normalizeClientConfig", { enumerable: true, get: function () { return normalize_client_config_1.normalizeClientConfig; } }); | ||
Object.defineProperty(exports, "normalizeSpecs", { enumerable: true, get: function () { return normalize_client_config_1.normalizeSpecs; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isInteractive = exports.isCI = void 0; | ||
const is_ci_1 = __importDefault(require("is-ci")); | ||
@@ -14,0 +15,0 @@ const isCI = is_ci_1.default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.matchSpecs = void 0; | ||
function matchSpecs(specs, runnerSpecs) { | ||
@@ -4,0 +5,0 @@ return runnerSpecs.some(({ name, version }) => specs.name === name && specs.version.toString() === version.toString()); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizeSpecs = exports.normalizeClientConfig = void 0; | ||
function normalizeClientConfig(config) { | ||
@@ -14,3 +15,3 @@ const jobs = config.jobs ? parseInt(config.jobs, 10) : 0; | ||
} | ||
return { jobs, specs, token: config.token }; | ||
return { jobs, specs, authToken: config.authToken }; | ||
} | ||
@@ -17,0 +18,0 @@ exports.normalizeClientConfig = normalizeClientConfig; |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.proxifiedSocketOptions = void 0; | ||
const https_proxy_agent_1 = __importDefault(require("https-proxy-agent")); | ||
@@ -20,3 +21,3 @@ // NOTE: the proxy needs to be in the form of: "http://0.0.0.0:0000" | ||
...options, | ||
agent: new https_proxy_agent_1.default(PROXY), | ||
agent: https_proxy_agent_1.default(PROXY), | ||
timeout: 50000, | ||
@@ -23,0 +24,0 @@ }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RunnerInterruption = void 0; | ||
class RunnerInterruption { | ||
@@ -4,0 +5,0 @@ constructor(id) { |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getSystemInfo = void 0; | ||
const systeminformation_1 = __importDefault(require("systeminformation")); | ||
@@ -14,0 +15,0 @@ async function getSystemInfo() { |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "4.0.0-beta1", | ||
"version": "4.0.0-beta10", | ||
"description": "Best Utils", | ||
@@ -16,5 +16,5 @@ "keywords": [ | ||
"chalk": "~2.4.2", | ||
"https-proxy-agent": "2.2.2", | ||
"https-proxy-agent": "^5.0.0", | ||
"is-ci": "~2.0.0", | ||
"systeminformation": "~4.9.2" | ||
"systeminformation": "~4.27.11" | ||
}, | ||
@@ -27,3 +27,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "4d06a44b069fcefaf95ea845a61bb99ac4254405" | ||
"gitHead": "dc681505d3da8f0f8bbf3b4c6a68e49521a1f5be" | ||
} |
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
10731
207
+ Addedagent-base@6.0.2(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedsysteminformation@4.27.11(transitive)
- Removedagent-base@4.3.0(transitive)
- Removeddebug@3.2.7(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-promisify@5.0.0(transitive)
- Removedhttps-proxy-agent@2.2.2(transitive)
- Removedsysteminformation@4.9.2(transitive)
Updatedhttps-proxy-agent@^5.0.0
Updatedsysteminformation@~4.27.11