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

@eris/exif

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eris/exif - npm Package Compare versions

Comparing version 0.1.1-alpha.1 to 0.1.1-alpha.2

5

dist/index.d.ts

@@ -5,5 +5,6 @@ import { JPEGDecoder } from './decoder/jpeg-decoder';

import { normalizeMetadata } from './metadata/normalize';
import { IDecoder, IBufferLike } from './utils/types';
import { IDecoder, IBufferLike, INormalizedMetadata } from './utils/types';
export declare function createDecoder(bufferOrDecoder: IBufferLike | IDecoder): IDecoder;
export declare function parse(bufferOrDecoder: IBufferLike | IDecoder): any;
export declare function parse(bufferOrDecoder: IBufferLike | IDecoder): INormalizedMetadata;
export { normalizeMetadata, TIFFDecoder, JPEGDecoder, TIFFEncoder };
export { IGenericMetadata, INormalizedMetadata, IParsedLens, IFDTagName } from './utils/types';

6

lib/index.ts

@@ -5,3 +5,3 @@ import {JPEGDecoder} from './decoder/jpeg-decoder'

import {normalizeMetadata} from './metadata/normalize'
import {IDecoder, IBufferLike} from './utils/types'
import {IDecoder, IBufferLike, INormalizedMetadata} from './utils/types'

@@ -28,3 +28,3 @@ function isTIFFDecoder(obj: any): obj is IDecoder {

export function parse(bufferOrDecoder: IBufferLike | IDecoder): any {
export function parse(bufferOrDecoder: IBufferLike | IDecoder): INormalizedMetadata {
return normalizeMetadata(createDecoder(bufferOrDecoder).extractMetadata())

@@ -34,1 +34,3 @@ }

export {normalizeMetadata, TIFFDecoder, JPEGDecoder, TIFFEncoder}
export {IGenericMetadata, INormalizedMetadata, IParsedLens, IFDTagName} from './utils/types'
{
"name": "@eris/exif",
"version": "0.1.1-alpha.1",
"version": "0.1.1-alpha.2",
"description": "Parses EXIF data.",

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

},
"gitHead": "75848846ae0c982639ebe5670595cf36b43d9ce8"
"gitHead": "3df1953422fd6152121a1846a1954735f78c3102"
}
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