got
Advanced tools
Comparing version 14.1.0 to 14.2.0
@@ -18,3 +18,3 @@ import is from '@sindresorhus/is'; | ||
constructor(message, error, self) { | ||
super(message); | ||
super(message, { cause: error }); | ||
Error.captureStackTrace(this, this.constructor); | ||
@@ -21,0 +21,0 @@ this.name = 'RequestError'; |
{ | ||
"name": "got", | ||
"version": "14.1.0", | ||
"version": "14.2.0", | ||
"description": "Human-friendly and powerful HTTP request library for Node.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
241401