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

topdf

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

topdf - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

8

lib/topdf.js

@@ -34,9 +34,11 @@

// error on failure
if (err || !success)
return callback(new Error('failed to convert file'));
if (err) return callback(err);
// error on failure
if (!success) return callback(new Error('failed to convert file for an unknown reason'));
fs.exists(destination, function (exists) {
if (!exists)
return callback(new Error('failed to save file to destination'));
return callback(new Error('convert operation did not result in a file'));

@@ -43,0 +45,0 @@ // success

{
"name": "topdf",
"version": "0.0.6",
"version": "0.0.7",
"description": "A node.js addon for Oracle's pdf export library.",

@@ -5,0 +5,0 @@ "main": "lib/topdf.js",

@@ -19,4 +19,10 @@

// no errors
assert.ifError(err);
if (err) {
console.log(err);
// no errors
assert.ifError(err);
}

@@ -23,0 +29,0 @@ // successful

Sorry, the diff of this file is not supported yet

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