@qrvey/fetch
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -67,4 +67,4 @@ 'use strict'; | ||
constructor(url, restError = {}) { | ||
const message = `REST Client Error at ${url}`; | ||
super(message, restError.message || restError, restError.stack); | ||
const message = `REST Client Error at ${url}${(restError == null ? void 0 : restError.message) ? `: ${restError == null ? void 0 : restError.message}` : ""}`; | ||
super(message, restError, restError.stack); | ||
} | ||
@@ -71,0 +71,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"main": "dist/cjs/index.js", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "publishConfig": { |
# @qrvey/fetch | ||
 | ||
 | ||
 | ||
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
56396
3