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 +1 -1
- package/lib/cdp-client.js +0 -1
- package/lib/version.js +1 -1
- package/options.js +1 -0
- package/package.json +1 -1
package/deno.json
CHANGED
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.
|
|
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;
|