New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

exiftool-vendored

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exiftool-vendored - npm Package Compare versions

Comparing version 23.2.0 to 23.3.0

5

CHANGELOG.md

@@ -29,5 +29,10 @@ # Changelog/Versioning

### v23.3.0
- 🐞 Restored datestamp parsing of `ResourceEvent.When`
### v23.2.0
- ✨ Timezone parsing improvements:
- Added [`ExifToolOptions.inferTimezoneFromDatestampTags`](https://photostructure.github.io/exiftool-vendored.js/interfaces/ExifToolOptions.html#inferTimezoneFromDatestampTags).

@@ -34,0 +39,0 @@ - Timezone inference from datestamps now skips over UTC values, as Google

4

dist/ReadTask.d.ts

@@ -5,6 +5,6 @@ import { ExifToolTask } from "./ExifToolTask";

export declare const DefaultReadTaskOptions: {
readonly includeImageDataMD5: boolean | undefined;
readonly imageHashType: false | "MD5" | "SHA256" | "SHA512";
readonly useMWG: boolean;
readonly numericTags: string[];
readonly imageHashType: false | "MD5" | "SHA256" | "SHA512";
readonly includeImageDataMD5: boolean | undefined;
readonly defaultVideosToUTC: boolean;

@@ -11,0 +11,0 @@ readonly backfillTimezones: boolean;

@@ -266,3 +266,3 @@ "use strict";

for (const [k, v] of Object.entries(value)) {
result[k] = __classPrivateFieldGet(this, _ReadTask_instances, "m", _ReadTask_parseTag).call(this, k, v);
result[k] = __classPrivateFieldGet(this, _ReadTask_instances, "m", _ReadTask_parseTag).call(this, tagName + "." + k, v);
}

@@ -290,5 +290,10 @@ return result;

const keyIncludesDate = /date/i.test(tagName);
const result = (_c = (_b = (_a = (keyIncludesTime || keyIncludesDate
const keyIncludesWhen = /when/i.test(tagName); // < ResourceEvent.When
const result = (_c = (_b = (_a = (keyIncludesTime || keyIncludesDate || keyIncludesWhen
? ExifDateTime_1.ExifDateTime.from(value, tz)
: undefined)) !== null && _a !== void 0 ? _a : (keyIncludesTime ? ExifTime_1.ExifTime.fromEXIF(value) : undefined)) !== null && _b !== void 0 ? _b : (keyIncludesDate ? ExifDate_1.ExifDate.from(value) : undefined)) !== null && _c !== void 0 ? _c : value;
: undefined)) !== null && _a !== void 0 ? _a : (keyIncludesTime || keyIncludesWhen
? ExifTime_1.ExifTime.fromEXIF(value)
: undefined)) !== null && _b !== void 0 ? _b : (keyIncludesDate || keyIncludesWhen
? ExifDate_1.ExifDate.from(value)
: undefined)) !== null && _c !== void 0 ? _c : value;
if (this.options.backfillTimezones &&

@@ -295,0 +300,0 @@ result != null &&

{
"name": "exiftool-vendored",
"version": "23.2.0",
"version": "23.3.0",
"description": "Efficient, cross-platform access to ExifTool",

@@ -5,0 +5,0 @@ "main": "./dist/ExifTool.js",

Sorry, the diff of this file is not supported yet

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