New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

image-dimensions-stream

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-dimensions-stream - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "image-dimensions-stream",
"version": "0.0.3",
"version": "0.0.4",
"description": "Get image dimensions from stream",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -75,3 +75,3 @@ const { Transform } = require('stream');

state.bufferSize += chunk.length;
if (state.peekRangeBytes) {

@@ -226,13 +226,2 @@ const [, end] = state.peekRangeBytes;

_destroy(err, cb) {
try {
this._cleanUp();
} catch (cErr) {
cb(cErr);
return;
}
super._destroy(err, cb);
}
_cleanUp () {

@@ -239,0 +228,0 @@ if (this._sizeState.type) {

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