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

epub-gen

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epub-gen - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

8

lib/index.js

@@ -169,4 +169,4 @@ // Generated by CoffeeScript 2.2.2

id = uuid();
mediaType = mime.lookup(url.replace(/\?.*/, ""));
extension = mime.extension(mediaType);
mediaType = mime.getType(url.replace(/\?.*/, ""));
extension = mime.getExtension(mediaType);
dir = content.dir;

@@ -181,4 +181,4 @@ self.options.images.push({id, url, dir, mediaType, extension});

if (this.options.cover) {
this.options._coverMediaType = mime.lookup(this.options.cover);
this.options._coverExtension = mime.extension(this.options._coverMediaType);
this.options._coverMediaType = mime.getType(this.options.cover);
this.options._coverExtension = mime.getExtension(this.options._coverMediaType);
}

@@ -185,0 +185,0 @@ this.render();

{
"name": "epub-gen",
"version": "0.0.19",
"version": "0.0.20",
"description": "A library to generate EPUB from HTML",

@@ -27,15 +27,15 @@ "main": "index.js",

"dependencies": {
"archiver": "^1.0.1",
"rimraf": "^2.5.2",
"archiver": "^2.1.1",
"cheerio": "^0.22.0",
"diacritics": "^1.2.1",
"ejs": "^2.2.4",
"diacritics": "^1.3.0",
"ejs": "^2.5.7",
"entities": "^1.1.1",
"fs-extra": "^0.18.2",
"mime": "^1.3.4",
"q": "^1.1.2",
"superagent": "^0.21.0",
"underscore": "^1.7.0",
"uslug": "^1.0.3"
"fs-extra": "^5.0.0",
"mime": "^2.2.0",
"q": "^1.5.1",
"rimraf": "^2.6.2",
"superagent": "^3.8.2",
"underscore": "^1.8.3",
"uslug": "^1.0.4"
}
}

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