Comparing version 3.0.0 to 3.0.1
@@ -39,3 +39,3 @@ var fs = require('fs') | ||
if (this.options.localUrlAccess) this.options.phantomArgs.push('--local-url-access=false') | ||
if (!this.options.localUrlAccess) this.options.phantomArgs.push('--local-url-access=false') | ||
assert(this.options.phantomPath, "html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'") | ||
@@ -42,0 +42,0 @@ assert(typeof this.html === 'string' && this.html.length, "html-pdf: Can't create a pdf without an html string") |
{ | ||
"name": "html-pdf", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "HTML to PDF converter that uses phantomjs", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -122,3 +122,3 @@ # node-html-pdf | ||
// Rendering options | ||
"base": "file:///home/www/your-asset-path", // Base path that's used to load files (images, css, js) when they aren't referenced using a host | ||
"base": "file:///home/www/your-asset-path/", // Base path that's used to load files (images, css, js) when they aren't referenced using a host | ||
@@ -125,0 +125,0 @@ // Zooming option, can be used to scale images if `options.type` is not pdf |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117404