probe-image-size
Advanced tools
Comparing version 7.2.2 to 7.2.3
@@ -72,4 +72,12 @@ 'use strict'; | ||
Error.call(this); | ||
Error.captureStackTrace(this, this.constructor); | ||
// Include stack trace in error object | ||
if (Error.captureStackTrace) { | ||
// Chrome and NodeJS | ||
Error.captureStackTrace(this, this.constructor); | ||
} else { | ||
// FF, IE 10+ and Safari 6+. Fallback for others | ||
this.stack = (new Error()).stack || ''; | ||
} | ||
this.name = this.constructor.name; | ||
@@ -76,0 +84,0 @@ |
{ | ||
"name": "probe-image-size", | ||
"version": "7.2.2", | ||
"version": "7.2.3", | ||
"description": "Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
70292
1984
290561