+1
-1
| { | ||
| "name": "iso-web", | ||
| "type": "module", | ||
| "version": "1.4.1", | ||
| "version": "1.4.2", | ||
| "description": "Isomorphic web apis utilities for fetch, event target, signals, crypto and doh.", | ||
@@ -6,0 +6,0 @@ "author": "Hugo Dias <hugomrdias@gmail.com> (hugodias.me)", |
+5
-5
@@ -282,10 +282,10 @@ import delay from 'delay' | ||
| if (methods.includes(request.method.toLowerCase())) { | ||
| return true | ||
| } | ||
| const statusCodes = retry.statusCodes ?? [ | ||
| 408, 413, 429, 500, 502, 503, 504, | ||
| ] | ||
| if (statusCodes.includes(response.status)) { | ||
| if ( | ||
| methods.includes(request.method.toLowerCase()) && | ||
| HttpError.is(ctx.error) && | ||
| statusCodes.includes(ctx.error.code) | ||
| ) { | ||
| return true | ||
@@ -292,0 +292,0 @@ } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
82890
0.03%2030
0.05%