got
Advanced tools
Comparing version 11.8.0 to 11.8.1
@@ -155,3 +155,3 @@ "use strict"; | ||
// Recover the original stacktrace | ||
if (!is_1.default.undefined(error.stack)) { | ||
if (is_1.default.string(error.stack) && is_1.default.string(this.stack)) { | ||
const indexOfMessage = this.stack.indexOf(this.message) + this.message.length; | ||
@@ -158,0 +158,0 @@ const thisStackTrace = this.stack.slice(indexOfMessage).split('\n').reverse(); |
{ | ||
"name": "got", | ||
"version": "11.8.0", | ||
"version": "11.8.1", | ||
"description": "Human-friendly and powerful HTTP request library for Node.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
266301