Socket
Socket
Sign inDemoInstall

is-retry-allowed

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-retry-allowed - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

5

index.js

@@ -7,3 +7,3 @@ 'use strict';

// SSL errors from https://github.com/nodejs/node/blob/e585caa2bebbd238c763af588a40879b61cf240f/src/node_crypto.cc#L2563-L2589
// SSL errors from https://github.com/nodejs/node/blob/fc8e3e2cdc521978351de257030db0076d79e0ab/src/crypto/crypto_common.cc#L301-L328
'UNABLE_TO_GET_ISSUER_CERT',

@@ -35,3 +35,4 @@ 'UNABLE_TO_GET_CRL',

'CERT_UNTRUSTED',
'CERT_REJECTED'
'CERT_REJECTED',
'HOSTNAME_MISMATCH'
]);

@@ -38,0 +39,0 @@

6

package.json
{
"name": "is-retry-allowed",
"version": "2.1.0",
"version": "2.2.0",
"description": "Check whether a request can be retried based on the `error.code`",
"license": "MIT",
"repository": "sindresorhus/is-retry-allowed",
"funding": "https://github.com/sponsors/sindresorhus",
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
},
"author": {

@@ -9,0 +11,0 @@ "name": "Sindre Sorhus",

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