Comparing version 6.1.2 to 6.1.3
@@ -81,3 +81,3 @@ 'use strict'; | ||
var err = assertFn(res); | ||
if (err && err.stack) { | ||
if (err instanceof Error && err.stack) { | ||
badStack = err.stack.replace(err.message, '').split('\n').slice(1); | ||
@@ -84,0 +84,0 @@ err.stack = [err.toString()] |
{ | ||
"name": "supertest", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"description": "SuperAgent driven library for testing HTTP servers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
20731