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

extractd

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extractd - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

package.json
{
"name": "extractd",
"version": "1.1.6",
"version": "1.1.7",
"description": "Extract previews from DSLR and mirrorless cameras' RAW files",

@@ -5,0 +5,0 @@ "main": "extractd.js",

@@ -66,2 +66,33 @@ const fs = require('fs');

context('with existing file but unable to create destination directory', () => {
it('should return file not found error', async () => {
const file = 'nikon_d850_01';
const destination = '/root/my/new/directory/';
const source = `${samples}/${file}.nef`;
const done = await extractd.generate(source, {
destination
});
expect(done).to.be.an('object');
expect(done).to.deep.equal({
error: `Error creating ${destination}${file}.jpg`,
source: `${source}`
});
});
it('should indicate no persistent status', () => {
const status = extractd.status();
expect(status.persistent).to.be.false;
});
});
context('with existing file and set destination', () => {

@@ -68,0 +99,0 @@

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