image-size
Advanced tools
Comparing version 0.9.7 to 1.0.0
@@ -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 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44817
1