Socket
Socket
Sign inDemoInstall

image-size

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-size - npm Package Compare versions

Comparing version 0.9.7 to 1.0.0

2

dist/types/j2c.js

@@ -6,3 +6,3 @@ "use strict";

validate(buffer) {
// TODO: this doesn't seem right. SIZ marker doesnt have to be right after the SOC
// TODO: this doesn't seem right. SIZ marker doesn't have to be right after the SOC
return buffer.toString('hex', 0, 4) === 'ff4fff51';

@@ -9,0 +9,0 @@ },

{
"name": "image-size",
"version": "0.9.7",
"version": "1.0.0",
"description": "get dimensions of any image file",

@@ -12,3 +12,3 @@ "main": "dist/index.js",

"engines": {
"node": ">=10.18.0"
"node": ">=12.0.0"
},

@@ -49,18 +49,18 @@ "bin": {

"devDependencies": {
"@types/chai": "4.2.15",
"@types/chai": "4.2.16",
"@types/glob": "7.1.3",
"@types/mocha": "8.2.1",
"@types/node": "14.14.34",
"@types/sinon": "9.0.11",
"@typescript-eslint/eslint-plugin": "4.17.0",
"@typescript-eslint/parser": "4.17.0",
"@types/mocha": "8.2.2",
"@types/node": "14.14.37",
"@types/sinon": "10.0.0",
"@typescript-eslint/eslint-plugin": "4.22.0",
"@typescript-eslint/parser": "4.22.0",
"chai": "4.3.4",
"eslint": "7.22.0",
"eslint": "7.24.0",
"glob": "7.1.6",
"mocha": "8.3.2",
"nyc": "15.1.0",
"sinon": "9.2.4",
"sinon": "10.0.0",
"ts-node": "9.1.1",
"typedoc": "0.20.32",
"typescript": "4.2.3"
"typedoc": "0.20.35",
"typescript": "4.2.4"
},

@@ -67,0 +67,0 @@ "dependencies": {

@@ -57,3 +57,3 @@ # image-size

Also, the asynchronous functions have a default concurreny limit of **100**
Also, the asynchronous functions have a default concurrency limit of **100**
To change this limit, you can call the `setConcurrency` function like this:

@@ -60,0 +60,0 @@

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