single-file-cli 2.0.60 → 2.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "2.0.60";
1
+ export const version = "2.0.61";
package/options.js CHANGED
@@ -133,6 +133,8 @@ const OPTIONS_INFO = {
133
133
  "prevent-appended-data": { description: "Prevent appending data after the compressed data when creating self-extracting HTML files", type: "boolean" },
134
134
  "embed-screenshot": { description: "Embed a screenshot of the page as a PNG file in the compressed file (self-extracting HTML or ZIP file). When enabled, the resulting file can be read as a ZIP file or a PNG image.", type: "boolean" },
135
135
  "embedded-image": { description: "Path to a PNG image to embed in the compressed file.", type: "string" },
136
+ "embed-pdf": { description: "Embed a PDF file in the self-extracting HTML file. When enabled, the resulting file can be read as a HTML, a ZIP file or a PDF file.", type: "boolean" },
137
+ "embed-pdf-options": { description: "Options passed to the CDP method `Page.printToPDF()` given as a JSON string (e.g. { \"pageRanges\": \"1-1\", \"paperWidth\": 11, \"paperHeight\": 8.5 })", type: "string" },
136
138
  "output-directory": { description: "Path to where to save files, this path must exist.", type: "string" },
137
139
  "version": { description: "Print the version number and exit.", type: "boolean" },
138
140
  "output-json": { description: "Output the result as a JSON string containing the page and network info", type: "boolean" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-cli",
3
- "version": "2.0.60",
3
+ "version": "2.0.61",
4
4
  "description": "SingleFile CLI",
5
5
  "author": "Gildas Lormeau",
6
6
  "engines": {