npm-registry-fetch
Advanced tools
Comparing version 13.3.0 to 13.3.1
@@ -64,3 +64,5 @@ 'use strict' | ||
parsed = JSON.parse(body.toString('utf8')) | ||
} catch (e) {} | ||
} catch { | ||
// ignore errors | ||
} | ||
if (res.status === 401 && res.headers.get('www-authenticate')) { | ||
@@ -67,0 +69,0 @@ const auth = res.headers.get('www-authenticate') |
@@ -17,3 +17,5 @@ const { URL } = require('url') | ||
} | ||
} catch {} | ||
} catch { | ||
// ignore errors | ||
} | ||
@@ -20,0 +22,0 @@ return str |
{ | ||
"name": "npm-registry-fetch", | ||
"version": "13.3.0", | ||
"version": "13.3.1", | ||
"description": "Fetch-based http client for use with npm registry APIs", | ||
@@ -49,4 +49,6 @@ "main": "lib", | ||
"cacache": "^16.0.2", | ||
"mkdirp": "^1.0.4", | ||
"nock": "^13.2.4", | ||
"require-inject": "^1.4.4", | ||
"rimraf": "^3.0.2", | ||
"ssri": "^9.0.0", | ||
@@ -53,0 +55,0 @@ "tap": "^16.0.1" |
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
38525
552
9