exiftool-vendored 30.5.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.
@@ -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 which
24
- * aren't writable.
23
+ * Tags, minus the ExifToolTags, (most) FileTags, and ErrorsAndWarnings, all of
24
+ * which aren't writable.
25
25
  *
26
- * Note that this contains (many!) additional non-mutable fields--please check
27
- * the ExifTool documentation to see which fields from which groups are
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 (ExifToolTags & FileTags & ErrorsAndWarnings)>;
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": "30.5.0",
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",
@@ -26,12 +26,16 @@
26
26
  "lint": "eslint",
27
27
  "fmt": "prettier --write .",
28
28
  "pretest": "npm run compile",
29
- "test": "mocha 'dist/*.spec.js'",
29
+ "test": "mocha 'dist/**/*.spec.js'",
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
- "update": "run-p update:*",
34
- "update:deps": "npm-check-updates --upgrade && npm install && npm audit --production",
33
+ "ncu": "run-s ncu:*",
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
+ "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:*",
38
+ "update:install": "npm install",
35
39
  "install:pinact": "go install github.com/suzuki-shunsuke/pinact/cmd/pinact@latest",
36
40
  "update:actions": "pinact run -u",
37
41
  "precommit": "run-s clean update fmt lint docs:build test",
@@ -94,15 +98,14 @@
94
98
  ]
95
99
  },
96
100
  "devDependencies": {
97
- "@eslint/js": "^9.35.0",
101
+ "@eslint/js": "^9.36.0",
98
102
  "@types/chai": "^4.3.16",
99
103
  "@types/chai-as-promised": "^8.0.1",
100
- "@types/chai-subset": "^1.3.6",
101
104
  "@types/deep-eql": "^4.0.2",
102
105
  "@types/globule": "^1.1.10",
103
106
  "@types/he": "^1.2.3",
104
107
  "@types/mocha": "^10.0.10",
105
- "@types/node": "^24.3.1",
108
+ "@types/node": "^24.5.2",
106
109
  "@types/progress": "^2.0.7",
107
110
  "@types/source-map-support": "^0.5.10",
108
111
  "@types/tmp": "^0.2.6",
@@ -113,28 +116,28 @@
113
116
  "chai": "^4.5.0",
114
117
  "chai-as-promised": "^7.1.2",
115
118
  "deep-eql": "^4.1.4",
116
- "eslint": "^9.35.0",
119
+ "eslint": "^9.36.0",
117
120
  "eslint-plugin-import": "^2.32.0",
118
121
  "eslint-plugin-node": "^11.1.0",
119
122
  "eslint-plugin-redos": "^4.5.0",
120
123
  "eslint-plugin-regexp": "^2.10.0",
121
124
  "extract-zip": "^2.0.1",
122
125
  "geo-tz": "^8.1.4",
123
- "globals": "^16.3.0",
126
+ "globals": "^16.4.0",
124
127
  "globule": "^1.3.4",
125
128
  "mocha": "^10.8.2",
126
- "npm-check-updates": "^18.0.3",
129
+ "npm-check-updates": "^19.0.0",
127
130
  "npm-run-all": "^4.1.5",
128
131
  "prettier": "^3.6.2",
129
- "prettier-plugin-organize-imports": "^4.2.0",
132
+ "prettier-plugin-organize-imports": "^4.3.0",
130
133
  "progress": "^2.0.3",
131
- "release-it": "^19.0.4",
132
- "rimraf": "^5.0.9",
134
+ "release-it": "^19.0.5",
135
+ "rimraf": "^6.0.1",
133
136
  "serve": "^14.2.5",
134
137
  "source-map-support": "^0.5.21",
135
138
  "tmp": "^0.2.5",
136
139
  "ts-node": "^10.9.2",
137
- "typedoc": "^0.28.12",
140
+ "typedoc": "^0.28.13",
138
141
  "typescript": "^5.9.2",
139
142
  "typescript-eslint": "^8.42.0",
140
143
  "xpath": "^0.0.34"
@@ -148,7 +151,7 @@
148
151
  "luxon": "^3.7.2"
149
152
  },
150
153
  "optionalDependencies": {
151
- "exiftool-vendored.exe": "13.35.1",
152
- "exiftool-vendored.pl": "13.35.0"
154
+ "exiftool-vendored.exe": "13.38.0",
155
+ "exiftool-vendored.pl": "13.38.0"
153
156
  }
154
157
  }