Socket
Socket
Sign inDemoInstall

image-size

Package Overview
Dependencies
0
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.5.0

2

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc