probe-image-size
Advanced tools
Comparing version 7.0.1 to 7.1.0
@@ -9,2 +9,8 @@ # Changelog | ||
## [7.1.0] - 2021-04-15 | ||
### Fixed | ||
- Fix options merge, when property value is class (switched from `deepmerge` to | ||
`lodash.merge`), #53. | ||
## [7.0.1] - 2021-03-18 | ||
@@ -189,2 +195,3 @@ ### Fixed | ||
[7.1.0]: https://github.com/nodeca/probe-image-size/compare/7.0.1...7.1.0 | ||
[7.0.1]: https://github.com/nodeca/probe-image-size/compare/7.0.0...7.0.1 | ||
@@ -191,0 +198,0 @@ [7.0.0]: https://github.com/nodeca/probe-image-size/compare/6.0.0...7.0.0 |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var needle = require('needle'); | ||
var merge = require('deepmerge'); | ||
var lodashMerge = require('lodash.merge'); | ||
var pkg = require('./package.json'); | ||
@@ -32,3 +32,4 @@ var probeStream = require('./stream'); | ||
try { | ||
stream = needle.get(src, merge.all([ defaults, options ])); | ||
var needleOptions = lodashMerge({}, defaults, options); | ||
stream = needle.get(src, needleOptions); | ||
} catch (err) { | ||
@@ -35,0 +36,0 @@ reject(err); |
{ | ||
"name": "probe-image-size", | ||
"version": "7.0.1", | ||
"version": "7.1.0", | ||
"description": "Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"dependencies": { | ||
"deepmerge": "^4.0.0", | ||
"lodash.merge": "^4.6.2", | ||
"needle": "^2.5.2", | ||
@@ -41,0 +41,0 @@ "stream-parser": "~0.3.1" |
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
73759
1925
+ Addedlodash.merge@^4.6.2
+ Addedlodash.merge@4.6.2(transitive)
- Removeddeepmerge@^4.0.0
- Removeddeepmerge@4.3.1(transitive)