Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

retry-limiter

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retry-limiter - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

lib/plugin-opts.js

@@ -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": {

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