browser-image-size
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -0,2 +1,6 @@ | ||
1.1.0 / 2014-05-08 | ||
================== | ||
* Move object-url require into browserImageSize function | ||
1.0.2 / 2015-04-14 | ||
@@ -3,0 +7,0 @@ ================== |
@@ -1,4 +0,1 @@ | ||
/* istanbul ignore next */ | ||
var DOMURL = require('object-url') | ||
/** | ||
@@ -10,2 +7,5 @@ * Get an image's width and height | ||
module.exports = function browserImageSize (image) { | ||
/* istanbul ignore next */ | ||
var DOMURL = require('object-url') | ||
return new Promise(function (resolve, reject) { | ||
@@ -12,0 +12,0 @@ var url = typeof image === 'string' ? image : DOMURL.create(image) |
{ | ||
"name": "browser-image-size", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Get image size in the browser", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
5567