Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eris/exif

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eris/exif - npm Package Compare versions

Comparing version 0.4.3-alpha.8 to 0.4.3-alpha.9

9

dist/encoder/xmp-encoder.js

@@ -171,4 +171,11 @@ "use strict";

const rdfDescription = match[0];
const isSelfClosing = rdfDescription.endsWith('/>');
const rdfDescriptionEndIndex = xmp.indexOf(rdfDescription) + rdfDescription.length - 1;
const start = rdfDescriptionEndIndex + (tagName === 'DCSubjectBagOfWords' ? 1 : 0);
let start = rdfDescriptionEndIndex + (tagName === 'DCSubjectBagOfWords' ? 1 : 0);
if (isSelfClosing) {
if (tagName === 'DCSubjectBagOfWords') {
throw new Error('Keywords not supported in self-closing XMP tag');
}
start -= 1;
}
return { start };

@@ -175,0 +182,0 @@ }

@@ -219,4 +219,13 @@ import {IGenericMetadata, IBufferLike, XMPTagName} from '../utils/types'

const rdfDescription = match[0]
const isSelfClosing = rdfDescription.endsWith('/>')
const rdfDescriptionEndIndex = xmp.indexOf(rdfDescription) + rdfDescription.length - 1
const start = rdfDescriptionEndIndex + (tagName === 'DCSubjectBagOfWords' ? 1 : 0)
let start = rdfDescriptionEndIndex + (tagName === 'DCSubjectBagOfWords' ? 1 : 0)
if (isSelfClosing) {
if (tagName === 'DCSubjectBagOfWords') {
throw new Error('Keywords not supported in self-closing XMP tag')
}
start -= 1
}
return {start}

@@ -223,0 +232,0 @@ }

4

package.json
{
"name": "@eris/exif",
"version": "0.4.3-alpha.8",
"version": "0.4.3-alpha.9",
"description": "Parses EXIF data.",

@@ -41,3 +41,3 @@ "main": "./dist/index.js",

},
"gitHead": "9f83ed914a5f52a4c1709430e62f523eb0c0391e"
"gitHead": "67af48f240beb7fdead81eb2e7b2eb1034d66dd0"
}

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