exifreader 4.30.0 → 4.30.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exifreader",
3
- "version": "4.30.0",
3
+ "version": "4.30.1",
4
4
  "description": "Library that parses Exif metadata in images.",
5
5
  "author": "Mattias Wallander <mattias@wallander.eu>",
6
6
  "repository": {
@@ -288,7 +288,7 @@ export function loadView(
288
288
  }
289
289
  }
290
290
 
291
- if (Constants.USE_PHOTOSHOP && readTags['ImageSourceData']) {
291
+ if (Constants.USE_PHOTOSHOP && readTags['ImageSourceData'] && readTags['PhotoshopSettings']) {
292
292
  const readPhotoshopTags = PhotoshopTags.read(readTags['PhotoshopSettings'].value, includeUnknown);
293
293
  if (expanded) {
294
294
  tags.photoshop = readPhotoshopTags;