Comparing version 0.1.1 to 1.0.0
@@ -7,6 +7,10 @@ 'use strict'; | ||
return buf[0] === 73 && | ||
return (buf[0] === 73 && | ||
buf[1] === 73 && | ||
buf[2] === 42 && | ||
buf[3] === 0; | ||
buf[3] === 0) || | ||
(buf[0] === 77 && | ||
buf[1] === 77 && | ||
buf[2] === 0 && | ||
buf[3] === 42); | ||
}; |
{ | ||
"name": "is-tif", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Check if a Buffer/Uint8Array is a TIFF image", | ||
@@ -16,4 +16,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "mocha", | ||
"browser": "browserify -s $npm_package_name -o browser.js ." | ||
"test": "mocha" | ||
}, | ||
@@ -42,6 +41,5 @@ "files": [ | ||
"devDependencies": { | ||
"browserify": "^3.0.0", | ||
"mocha": "*", | ||
"read-chunk": "^0.1.0" | ||
"read-chunk": "^1.0.0" | ||
} | ||
} |
@@ -14,11 +14,3 @@ # is-tif [![Build Status](https://travis-ci.org/sindresorhus/is-tif.svg?branch=master)](https://travis-ci.org/sindresorhus/is-tif) | ||
```sh | ||
$ bower install --save is-tif | ||
``` | ||
```sh | ||
$ component install sindresorhus/is-tif | ||
``` | ||
## Usage | ||
@@ -25,0 +17,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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
2
14
1
0
1920
56