@qrvey/fetch
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -150,2 +150,4 @@ 'use strict'; | ||
return fetch(url, requestOptions).then(this.handleResponse).catch((error) => { | ||
if (error instanceof RestClientError) | ||
throw error; | ||
throw new RestClientError(url, error); | ||
@@ -152,0 +154,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"main": "dist/cjs/index.js", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "publishConfig": { |
# @qrvey/fetch | ||
![install size](https://packagephobia.now.sh/badge?p=%40qrvey%2Ffetch) | ||
![coverage](https://img.shields.io/badge/unit_test_coverage-97%25-brightgreen) | ||
![coverage](https://img.shields.io/badge/unit_test_coverage-96%25-brightgreen) | ||
@@ -6,0 +6,0 @@ **@qrvey/fetch** is a lightweight and reliable library for making RESTful requests in Node.js applications. It uses the native `fetch` library (Node.js 18+), avoiding the need for external dependencies. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
45190
4141
446
1