New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

exiftool-vendored

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exiftool-vendored - npm Package Compare versions

Comparing version 0.4.0 to 1.0.0

5

lib/exiftool.d.ts

@@ -33,7 +33,2 @@ /// <reference types="node" />

/**
* This is the version of the `exiftool-vendored` npm module.
* The package.json value is made to match this value by `npm run update`.
*/
export declare const ExifToolVendoredVersion: string;
/**
* Manages delegating calls to a vendored running instance of ExifTool.

@@ -40,0 +35,0 @@ *

@@ -15,7 +15,2 @@ "use strict";

/**
* This is the version of the `exiftool-vendored` npm module.
* The package.json value is made to match this value by `npm run update`.
*/
exports.ExifToolVendoredVersion = '0.4.0';
/**
* Manages delegating calls to a vendored running instance of ExifTool.

@@ -22,0 +17,0 @@ *

8

lib/exiftool.spec.js

@@ -17,7 +17,4 @@ "use strict";

it('returns the correct version', () => {
return chai_1.expect(exiftool.version()).to.become('10.31');
return chai_1.expect(exiftool.version()).to.become('10.33');
});
it('returns error for missing file', () => {
return chai_1.expect(exiftool.read('bogus')).to.eventually.be.rejectedWith(/File not found/);
});
it('returns expected results for a given file', () => {

@@ -56,2 +53,5 @@ return chai_1.expect(exiftool.read(img).then(tags => tags.Model)).to.eventually.eql('iPhone 7 Plus');

});
it('returns error for missing file', () => {
return chai_1.expect(exiftool.read('bogus')).to.eventually.be.rejectedWith(/File not found/);
});
it('ends with multiple procs', () => {

@@ -58,0 +58,0 @@ const promises = [exiftool.read(img), exiftool.read(img)];

@@ -172,3 +172,3 @@ "use strict";

tagWriter.write(` /** ${tag.popIcon(files.length)} ${tag.example()} */\n`);
tagWriter.write(` ${tag.withoutGroup}: ${tag.valueType}\n`);
tagWriter.write(` ${tag.withoutGroup}: ${tag.valueType};\n`);
});

@@ -175,0 +175,0 @@ tagWriter.write(`}\n`);

"use strict";
const exiftool_1 = require('../exiftool');
const enclosure_1 = require('./enclosure');

@@ -80,5 +79,4 @@ const io = require('./io');

}
function updatePlatformDependentModules(rootVersion, perlVersion, exeVersion) {
function updatePlatformDependentModules(perlVersion, exeVersion) {
return io.editPackageJson(_path.join(__dirname, '..', '..', 'package.json'), (pkg => {
pkg.version = rootVersion;
const mods = pkg.config.platformDependentModules;

@@ -106,3 +104,3 @@ const pl = [`exiftool-vendored.pl@${perlVersion}`];

.then(() => {
updatePlatformDependentModules(exiftool_1.ExifToolVendoredVersion, tarUpdate.version, zipUpdate.version);
updatePlatformDependentModules(tarUpdate.version, zipUpdate.version);
});

@@ -109,0 +107,0 @@ }

{
"name": "exiftool-vendored",
"version": "0.4.0",
"version": "1.0.0",
"description": "Efficient, cross-platform access to ExifTool",
"main": "./lib/exiftool.js",
"types": "./lib/exiftool.d.ts",
"scripts": {

@@ -56,9 +57,9 @@ "clean": "rimraf lib",

"linux": [
"exiftool-vendored.pl@10.31.0"
"exiftool-vendored.pl@10.33.0"
],
"darwin": [
"exiftool-vendored.pl@10.31.0"
"exiftool-vendored.pl@10.33.0"
],
"win32": [
"exiftool-vendored.exe@10.31.0"
"exiftool-vendored.exe@10.33.0"
]

@@ -86,3 +87,4 @@ }

"tslint-config-standard": "^1.5.0",
"typescript": "^2.0.8",
"tslint-eslint-rules": "^2.1.0",
"typescript": "^2.0.9",
"typescript-formatter": "^4.0.0",

@@ -89,0 +91,0 @@ "xmldom": "^0.1.22",

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