Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

probe-image-size

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

probe-image-size - npm Package Compare versions

Comparing version 7.0.1 to 7.1.0

7

CHANGELOG.md

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

5

http.js

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

4

package.json
{
"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"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc