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 17.0.1 to 17.1.0

11

CHANGELOG.md

@@ -28,2 +28,13 @@ # Changelog/Versioning

### v17.1.0
- ✨ `ExifDateTime` and `ExifDate` now have a `toMillis()` to render in
milliseconds from common epoch
- 📦 Expose `closeChildProcesses` from underlying BatchCluster instance
- 🐞 Pull in [batch-cluster bugfix](https://github.com/photostructure/batch-cluster.js/blob/main/CHANGELOG.md#v1042)
(Note that this build _does not_ pull in ExifTool v12.44, [due to this bug](https://exiftool.org/forum/index.php?topic=13863.0))
### v17.0.1

@@ -30,0 +41,0 @@

4

dist/ExifDate.d.ts

@@ -22,2 +22,6 @@ import { DateTime } from "luxon";

toDate(): Date;
/**
* @return the epoch milliseconds for this day in UTC, plus `deltaMs` milliseconds.
*/
toMillis(deltaMs?: number): number;
toISOString(): string;

@@ -24,0 +28,0 @@ toExifString(): string;

@@ -54,2 +54,8 @@ "use strict";

}
/**
* @return the epoch milliseconds for this day in UTC, plus `deltaMs` milliseconds.
*/
toMillis(deltaMs = 12 * DateTime_1.HourMs) {
return this.toDate().getTime() + deltaMs;
}
toISOString() {

@@ -56,0 +62,0 @@ return this.toString("-");

@@ -62,2 +62,6 @@ import { DateTime, DateTimeJSOptions, ToISOTimeOptions, Zone, ZoneOptions } from "luxon";

toString(): Maybe<string>;
/**
* @return the epoch milliseconds of this
*/
toMillis(): number;
get isValid(): boolean;

@@ -64,0 +68,0 @@ toJSON(): {

@@ -209,2 +209,8 @@ "use strict";

}
/**
* @return the epoch milliseconds of this
*/
toMillis() {
return this.toDateTime().toMillis();
}
get isValid() {

@@ -211,0 +217,0 @@ return this.toDateTime().isValid;

@@ -356,2 +356,7 @@ /// <reference types="node" />

};
/**
* Shut down any currently-running child processes. New child processes will
* be started automatically to handle new tasks.
*/
closeChildProcesses(gracefully?: boolean): Promise<void>;
}

@@ -358,0 +363,0 @@ /**

@@ -397,2 +397,9 @@ "use strict";

}
/**
* Shut down any currently-running child processes. New child processes will
* be started automatically to handle new tasks.
*/
closeChildProcesses(gracefully = true) {
return this.batchCluster.closeChildProcesses(gracefully);
}
}

@@ -399,0 +406,0 @@ exports.ExifTool = ExifTool;

2

dist/String.d.ts

@@ -10,5 +10,5 @@ import { Maybe } from "./Maybe";

/**
* NOTE: case insensitive
* NOT FOR GENERAL USE, as this is latin-case-insensitive
*/
export declare function stripPrefix(s: string, prefix: string): string;
export declare function stripSuffix(s: string, suffix: string): string;

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

/**
* NOTE: case insensitive
* NOT FOR GENERAL USE, as this is latin-case-insensitive
*/

@@ -55,0 +55,0 @@ function stripPrefix(s, prefix) {

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

@@ -63,3 +63,3 @@ "main": "./dist/ExifTool.js",

"devDependencies": {
"@types/chai": "^4.3.1",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",

@@ -71,3 +71,3 @@ "@types/chai-subset": "^1.3.3",

"@types/mocha": "^9.1.1",
"@types/node": "^18.0.3",
"@types/node": "^18.7.18",
"@types/progress": "^2.0.5",

@@ -78,8 +78,8 @@ "@types/rimraf": "^3.0.2",

"@types/xmldom": "^0.1.31",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"eslint": "^8.19.0",
"eslint": "^8.23.1",
"eslint-plugin-import": "^2.26.0",

@@ -95,7 +95,7 @@ "eslint-plugin-node": "^11.1.0",

"rimraf": "^3.0.2",
"serve": "^14.0.0",
"serve": "^14.0.1",
"source-map-support": "^0.5.21",
"tmp": "^0.2.1",
"typedoc": "^0.23.7",
"typescript": "~4.7.4",
"typedoc": "^0.23.14",
"typescript": "~4.8.3",
"@xmldom/xmldom": "^0.8.2",

@@ -105,6 +105,6 @@ "xpath": "^0.0.32"

"dependencies": {
"@types/luxon": "^2.3.2",
"batch-cluster": "^10.4.2",
"@types/luxon": "^3.0.1",
"batch-cluster": "^11.0.0",
"he": "^1.2.0",
"luxon": "^3.0.1",
"luxon": "^3.0.3",
"tz-lookup": "^6.1.25"

@@ -111,0 +111,0 @@ },

@@ -8,2 +8,3 @@ # Releasing new versions of `exiftool-vendored`

into a single directory (like `~/src`)
2. On POSIX, in `../exiftool-vendored.pl`:

@@ -10,0 +11,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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