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

is-tif

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-tif - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

8

index.js

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

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