exiftool-vendored 31.0.0 → 31.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/dist/GPS.d.ts +1 -1
- package/dist/IPTCApplicationRecordTags.d.ts +1 -1
- package/dist/Tags.d.ts +2661 -551
- package/dist/Tags.js +20 -19
- package/dist/Tags.js.map +1 -1
- package/dist/WriteTags.d.ts +10 -5
- package/package.json +10 -10
package/dist/WriteTags.d.ts
CHANGED
|
@@ -20,14 +20,19 @@ export type AdditionalWriteTags = {
|
|
|
20
20
|
"Orientation#"?: number;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
* Tags, minus the ExifToolTags, FileTags, and ErrorsAndWarnings, all of
|
|
24
|
-
* aren't writable.
|
|
23
|
+
* Tags, minus the ExifToolTags, (most) FileTags, and ErrorsAndWarnings, all of
|
|
24
|
+
* which aren't writable.
|
|
25
25
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
* Tags that appear in FileTags AND other writable groups (like `Comment`, which
|
|
27
|
+
* is in both FileTags and XMPTags) are kept writable via the Exclude in the
|
|
28
|
+
* Omit. Plainly, we're excluding everything in `ExifToolTags`, `FileTags`, and
|
|
29
|
+
* `ErrorsAndWarnings` _except_ for `Comment`.
|
|
30
|
+
*
|
|
31
|
+
* **CAREFUL**: this contains (many!) additional non-mutable fields--please
|
|
32
|
+
* check the ExifTool documentation to see which fields from which groups are
|
|
28
33
|
* writable for your given file type.
|
|
29
34
|
*/
|
|
30
|
-
export type MutableTags = Omit<Tags, keyof
|
|
35
|
+
export type MutableTags = Omit<Tags, Exclude<keyof ExifToolTags | keyof FileTags | keyof ErrorsAndWarnings, "Comment">>;
|
|
31
36
|
export type ExpandedDateTags = {
|
|
32
37
|
[K in keyof MutableTags]: (MutableTags[K] extends ExifDateTime | string ? ExifDate | ExifDateTime | number : MutableTags[K]) | string | number;
|
|
33
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exiftool-vendored",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.1.0",
|
|
4
4
|
"description": "Efficient, cross-platform access to ExifTool",
|
|
5
5
|
"main": "./dist/ExifTool.js",
|
|
6
6
|
"types": "./dist/ExifTool.d.ts",
|
|
@@ -30,10 +30,11 @@
|
|
|
30
30
|
"docs:build": "typedoc",
|
|
31
31
|
"docs:serve": "npm run docs:build && npx serve build/docs",
|
|
32
32
|
"docs": "npm run docs:serve",
|
|
33
|
-
"
|
|
33
|
+
"ncu": "run-s ncu:*",
|
|
34
34
|
"// update:ncu-dev": "echo the non-exiftool-vendored packages that are rejected migrated to ESM, and we are not ready for that yet",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"ncu:dev": "ncu --cooldown 7 --reject '@types/chai-as-promised,@types/chai,@types/mocha,chai-as-promised,chai,deep-eql,mocha,npm-check-updates,exiftool-vendored.exe,exiftool-vendored.pl' -u",
|
|
36
|
+
"ncu:opt": "ncu --filter 'npm-check-updates,exiftool-vendored.exe,exiftool-vendored.pl' -u",
|
|
37
|
+
"update": "run-s ncu:* update:*",
|
|
37
38
|
"update:install": "npm install",
|
|
38
39
|
"install:pinact": "go install github.com/suzuki-shunsuke/pinact/cmd/pinact@latest",
|
|
39
40
|
"update:actions": "pinact run -u",
|
|
@@ -97,10 +98,9 @@
|
|
|
97
98
|
]
|
|
98
99
|
},
|
|
99
100
|
"devDependencies": {
|
|
100
|
-
"@eslint/js": "^9.
|
|
101
|
+
"@eslint/js": "^9.36.0",
|
|
101
102
|
"@types/chai": "^4.3.16",
|
|
102
103
|
"@types/chai-as-promised": "^8.0.1",
|
|
103
|
-
"@types/chai-subset": "^1.3.6",
|
|
104
104
|
"@types/deep-eql": "^4.0.2",
|
|
105
105
|
"@types/globule": "^1.1.10",
|
|
106
106
|
"@types/he": "^1.2.3",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"chai": "^4.5.0",
|
|
117
117
|
"chai-as-promised": "^7.1.2",
|
|
118
118
|
"deep-eql": "^4.1.4",
|
|
119
|
-
"eslint": "^9.
|
|
119
|
+
"eslint": "^9.36.0",
|
|
120
120
|
"eslint-plugin-import": "^2.32.0",
|
|
121
121
|
"eslint-plugin-node": "^11.1.0",
|
|
122
122
|
"eslint-plugin-redos": "^4.5.0",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"globals": "^16.4.0",
|
|
127
127
|
"globule": "^1.3.4",
|
|
128
128
|
"mocha": "^10.8.2",
|
|
129
|
-
"npm-check-updates": "^
|
|
129
|
+
"npm-check-updates": "^19.0.0",
|
|
130
130
|
"npm-run-all": "^4.1.5",
|
|
131
131
|
"prettier": "^3.6.2",
|
|
132
132
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"luxon": "^3.7.2"
|
|
152
152
|
},
|
|
153
153
|
"optionalDependencies": {
|
|
154
|
-
"exiftool-vendored.exe": "13.
|
|
155
|
-
"exiftool-vendored.pl": "13.
|
|
154
|
+
"exiftool-vendored.exe": "13.38.0",
|
|
155
|
+
"exiftool-vendored.pl": "13.38.0"
|
|
156
156
|
}
|
|
157
157
|
}
|