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

exifr

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exifr - npm Package Versions

1245

4.3.2

Diff

mikekovarik
published 4.3.1 •

mikekovarik
published 4.3.0 •

Changelog

Source

[4.3.0]

Quality-Of-Life release. Improves compatibility and ease of use with various tools and environments.

Changed

  • all ESM bundles are now available in two identical copies with different file extensions. .mjs and .js for ESM, .cjs and .js for UMD. Just pick one that works with your tooling or environment.
  • Backtracking on using only "type":"module" in package.json as the only way to define the module as ESM.
  • package.json's "main" points to UMD bundle full.esm.mjs instead of UMD full.umd.js.
  • Added default export which wraps all named exports into single object.
mikekovarik
published 4.2.0 •

Changelog

Source

[4.2.0]

Changed

  • Simplified and improved implementation of thumbnail() and thumbnailUrl().
  • Improved typescript types. Added HTMLImageElement to input.
mikekovarik
published 4.1.0 •

Changelog

Source

[4.1.0]

Added

  • Support for IE10

Breaking changes (for IE / legacy bundle)

  • No need to use these polyfills anymore: TextDecoder, Object.assign, Object.keys, Object.values, Object.fromEntries, Array.from, Array.prototype.includes, fetch, Map, Set.
  • Promise polyfill is needed now instead of regeneratorRuntime
mikekovarik
published 4.0.0 •

Changelog

Source

[4.0.0]

Added

  • XMP XML Parser
  • XMP Extended support. To extract all XMP segments, set options.multiSegment or options.xmp.multiSegment to true.

Changed

  • output.xmp is no longer where the XMP segment data are stored. XMP tags are parsed, grouped by namespace and each namespace is assigned directly to output object, like output.xmlns, output.GPano, output.crs and more. This can be disabled by setting options.xmp.parse: false

Fixed

  • window.BigInt bug in webworker
mikekovarik
published 3.0.1 •

Changelog

Source

[3.0.1]

Fixed

  • Fixed types in d.ts (String -> string, Number -> number).
mikekovarik
published 3.0.0 •

Changelog

Source

[3.0.0]

Breaking changes

Exports
  • renamed ExifParser class to Exifr.
  • renamed thumbnailBuffer() function to thumbnail(). It now also returns Uint8Array instead of ArrayBuffer in browser. Node.js version keeps returning Buffer.
Output format
  • Renamed options.image block to options.ifd0.
  • Renamed options.thumbnail block to options.ifd1.
  • renamed & simplified behavior of seekChunkSize and parseChunkSize. See firstChunkSize, firstChunkSizeBrowser, firstChunkSizeNode.
  • Changed EXIF & IPTC tag dictionary to match ExifTool. Most tag names remain the same. Some might be changed slightly. You can check out the src/dicts/* files for reference. For example: before {ExposureBiasValue: 0}, after {ExposureCompensation: 0}; before {WhiteBalance: 'Auto white balance'}, after {WhiteBalance: 'Auto'}
Options
  • Renamed output.image block to output.ifd0.
  • Renamed output.thumbnail block to output.ifd1.
  • removed postProcess property and split its behavior to new properties sanitize, translateKeys, translateValues and reviveValues.
  • Changed behavior of options.wholeFile and renamed to options.chunked
library bundles
  • The library now comes in multiple bundles, with varying number of parsers & tag dictonaries. lite bundle is now recommend as the default for browser use because of its small footprint.
  • Broken down parsers and tag dictionaries into multiple files. No all of them are included in lite or mini builds.
  • package.json defined module as "type": "module". All .js files are treated as ES Modules by Node.js.

Added

  • ICC Parser
  • Older browsers support
  • multiple new output builds (so users can prevent importing unused code)
  • tags filtering (pick/skip options)
  • exifr.gps()

Changed

  • major rewrite of a whole input reader pipeline
    • implemented BufferView wrapper class for all forms of binary data.
    • reimplemented chunked reader
  • major rewrite of a whole parser pipeline
    • broken the code into separate parser classes & files (TIFF, XMP, IPTC, ICC)
    • TIFF is no longer the main parser
    • All APP segments are now first searched in the file and then parsed
    • implemented base parser class than can be used to implement custom APP-segment parsers by user
    • exposed segment parsers
  • rewrote readme
mikekovarik
published 2.1.4 •

Changelog

Source

[2.1.4] - 2019-11-10

Changed

  • udpated dependencies
  • tweaked demo page
mikekovarik
published 2.1.3 •

Changelog

Source

[2.1.3] - 2019-11-10

Added

  • code coverage
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