image-size
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -34,3 +34,3 @@ 'use strict'; | ||
// throw up, if we don't understand the file | ||
throw new TypeError('unsupported file type'); | ||
throw new TypeError('unsupported file type: ' + type + ' (file: ' + filepath + ')'); | ||
} | ||
@@ -37,0 +37,0 @@ |
{ | ||
"name": "image-size", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "get dimensions of any image file", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -48,2 +48,3 @@ # image-size | ||
``` | ||
NOTE: The asynchronous version doesn't work if the input is a Buffer. Use synchronous version instead. | ||
@@ -50,0 +51,0 @@ ### Using a URL |
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
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
17744
88