retry-limiter
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -13,3 +13,3 @@ 'use strict'; | ||
module.exports = (options) => getParser()({options, env: process.env, argv: []}); | ||
module.exports = (options) => getParser()({options, env: process.env, argv: process.argv}); | ||
@@ -21,2 +21,3 @@ function getParser() { | ||
parseEnv: JSON.parse, | ||
parseCli: JSON.parse, | ||
validate: (value) => !_.isBoolean(value) && thr('Option "enabled" must be boolean') | ||
@@ -27,2 +28,3 @@ }), | ||
parseEnv: Number, | ||
parseCli: Number, | ||
validate: (value) => !inRange(value, 0, 1) && thr('Option "limit" must be a number in a range from 0 to 1') | ||
@@ -29,0 +31,0 @@ }) |
{ | ||
"name": "retry-limiter", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Plugin for gemini and hermione to disable retries at runtime", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
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
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
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
7072
106