Skip to content

Commit

Permalink
rebuild tags, docs, and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Sep 30, 2023
1 parent ed7bf9e commit 35883b9
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 42 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ vendored versions of ExifTool match the version that they vendor.
### v23.1.0

-`ExifTime` now parses and stores timezone offsets if available. This resolves [issue
#157](https://github.com/photostructure/exiftool-vendored.js/issues/157)
#157](https://github.com/photostructure/exiftool-vendored.js/issues/157).

- 📦 Upgrade all deps, but only devDependencies were impacted.
- 📦 `ExifDateTime`, `ExifTime`, and `ExifDate` are now [only allowed to try
to parse keys that includes `date` or
`time`](https://github.com/photostructure/exiftool-vendored.js/blob/ed7bf9eaea9b1d8ad234fb907953568219fc5bdb/src/ReadTask.ts#L389),
which avoids incorrect parsing of tags like `MonthDayCreated` (which looks
like `12:19`)

- 📦 Upgrade all deps, but only `devDependencies` were impacted.

### v23.0.0

Expand All @@ -46,8 +52,10 @@ vendored versions of ExifTool match the version that they vendor.
details.

- 💔 `backfillTimezones` now defaults to `true`. Although this is likely to be
what people expect, know that there are edge and corner cases that you
should be aware of.
what people expect, but know that this makes the assumption that all encoded
times without an explicit offset share the same tz, which may not be correct
(say, if you edit the image in a different timezone from when it was
captured).

- 💔 If `backfillTimezones` is set to `false`, `ExifDateTime` will no longer
use the current file's `.tz` as a default. Prior versions would inherit the
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/CompositeTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="DateTimeCreated" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Date<wbr/>Time<wbr/>Created</span><a href="#DateTimeCreated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Date<wbr/>Time<wbr/>Created</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/ExifDateTime.html" class="tsd-signature-type tsd-kind-class">ExifDateTime</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;2020:03:30 12:03:59-12:03&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;2022:10:25 11:21:56-07:00&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down
6 changes: 3 additions & 3 deletions docs/interfaces/EXIFTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="DeviceSettingDescription" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Device<wbr/>Setting<wbr/>Description</span><a href="#DeviceSettingDescription" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Device<wbr/>Setting<wbr/>Description</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/BinaryField.html" class="tsd-signature-type tsd-kind-class">BinaryField</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 0 bytes, use -b option to extract)&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 4 bytes, use -b option to extract)&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down Expand Up @@ -711,7 +711,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="JpgFromRaw" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Jpg<wbr/>From<wbr/>Raw</span><a href="#JpgFromRaw" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Jpg<wbr/>From<wbr/>Raw</span><span class="tsd-signature-symbol">?:</span> <a href="../classes/BinaryField.html" class="tsd-signature-type tsd-kind-class">BinaryField</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 453632 bytes, use -b option to extract)&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 571392 bytes, use -b option to extract)&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down Expand Up @@ -1415,7 +1415,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="TileOffsets" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Tile<wbr/>Offsets</span><a href="#TileOffsets" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Tile<wbr/>Offsets</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/BinaryField.html" class="tsd-signature-type tsd-kind-class">BinaryField</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 508 bytes, use -b option to extract)&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 507 bytes, use -b option to extract)&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/FileTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="FileAccessDate" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>File<wbr/>Access<wbr/>Date</span><a href="#FileAccessDate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">File<wbr/>Access<wbr/>Date</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/ExifDateTime.html" class="tsd-signature-type tsd-kind-class">ExifDateTime</a></div>
<div class="tsd-comment tsd-typography"><p>★★★★ ✔ Example: &quot;2023:09:03 21:51:50-07:00&quot;</p>
<div class="tsd-comment tsd-typography"><p>★★★★ ✔ Example: &quot;2023:09:30 12:42:38-07:00&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down Expand Up @@ -281,7 +281,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="PreviewImage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Preview<wbr/>Image</span><a href="#PreviewImage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Preview<wbr/>Image</span><span class="tsd-signature-symbol">?:</span> <a href="../classes/BinaryField.html" class="tsd-signature-type tsd-kind-class">BinaryField</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 315546 bytes, use -b option to extract)&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 67596 bytes, use -b option to extract)&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/IPTCTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="TimeCreated" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Time<wbr/>Created</span><a href="#TimeCreated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Time<wbr/>Created</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/ExifTime.html" class="tsd-signature-type tsd-kind-class">ExifTime</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;15:46:26+09:00&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;23:47:07+01:00&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down
8 changes: 4 additions & 4 deletions docs/interfaces/MakerNotesTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -8519,8 +8519,8 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<li>Defined in <a href="https://github.com/photostructure/exiftool-vendored.js/blob/main/src/Tags.ts#L3063">src/Tags.ts:3063</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="MonthDayCreated" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Month<wbr/>Day<wbr/>Created</span><a href="#MonthDayCreated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Month<wbr/>Day<wbr/>Created</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/ExifDate.html" class="tsd-signature-type tsd-kind-class">ExifDate</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ Example: &quot;03:15&quot;</p>
<div class="tsd-signature"><span class="tsd-kind-property">Month<wbr/>Day<wbr/>Created</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ Example: &quot;12:19&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down Expand Up @@ -8840,7 +8840,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="NEFLinearizationTable" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>NEFLinearization<wbr/>Table</span><a href="#NEFLinearizationTable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">NEFLinearization<wbr/>Table</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/BinaryField.html" class="tsd-signature-type tsd-kind-class">BinaryField</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 46 bytes, use -b option to extract)&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ ✔ Example: &quot;(Binary data 624 bytes, use -b option to extract)&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down Expand Up @@ -10360,7 +10360,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member"><a id="SanyoThumbnail" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>Sanyo<wbr/>Thumbnail</span><a href="#SanyoThumbnail" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">Sanyo<wbr/>Thumbnail</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../classes/BinaryField.html" class="tsd-signature-type tsd-kind-class">BinaryField</a></div>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ Example: &quot;(Binary data 10313 bytes, use -b option to extract)&quot;</p>
<div class="tsd-comment tsd-typography"><p>☆☆☆☆ Example: &quot;(Binary data 4048 bytes, use -b option to extract)&quot;</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
Expand Down
Loading

0 comments on commit 35883b9

Please sign in to comment.