single-file-cli 2.0.53 → 2.0.54

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@single-file/single-file-cli",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "SingleFile CLI",
5
5
  "nodeModulesDir": true,
6
6
  "exports": {
package/lib/cdp-client.js CHANGED
@@ -125,7 +125,6 @@ async function getPageData(options) {
125
125
  }
126
126
  alternativeUrl = alternativeUrl.href;
127
127
  let httpInfo;
128
- delete options.zipScript;
129
128
  Fetch.addEventListener("requestPaused", async ({ params }) => {
130
129
  const { requestId, request, resourceType, responseHeaders, responseStatusCode, responseStatusText } = params;
131
130
  if (options.outputJson && !httpInfo && (request.url == url || request.url == alternativeUrl) && responseStatusCode !== undefined) {
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "2.0.53";
1
+ export const version = "2.0.54";
package/options.js CHANGED
@@ -135,6 +135,7 @@ const OPTIONS_INFO = {
135
135
  "output-directory": { description: "Path to where to save files, this path must exist.", type: "string" },
136
136
  "version": { description: "Print the version number and exit.", type: "boolean" },
137
137
  "output-json": { description: "Output the result as a JSON string containing the page and network info", type: "boolean" },
138
+ "insert-single-file-comment": { description: "Insert a comment in the HTML header with the URL of the page", type: "boolean", defaultValue: true },
138
139
  };
139
140
 
140
141
  const { args, exit } = Deno;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-cli",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "SingleFile CLI",
5
5
  "author": "Gildas Lormeau",
6
6
  "engines": {