single-file-cli 2.2.0 → 2.2.1
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/version.js +1 -1
- package/options.js +3 -3
- package/package.json +1 -1
package/deno.json
CHANGED
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "2.2.
|
|
1
|
+
export const version = "2.2.1";
|
package/options.js
CHANGED
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
import { version } from "./lib/version.js";
|
|
25
25
|
import { Deno } from "./lib/deno-polyfill.js";
|
|
26
26
|
|
|
27
|
+
const { args, build, exit } = Deno;
|
|
28
|
+
|
|
27
29
|
const USAGE_TEXT = `single-file [url] [output]
|
|
28
30
|
|
|
29
31
|
Positionals:
|
|
@@ -59,7 +61,7 @@ const OPTIONS_INFO = [{
|
|
|
59
61
|
"browser-debug": { description: "Enable debug mode", type: "boolean" },
|
|
60
62
|
"browser-arg": { description: "Argument passed to the browser", type: "string[]", alias: "browser-argument" },
|
|
61
63
|
"browser-args": { description: "Arguments provided as a JSON array and passed to the browser", type: "string" },
|
|
62
|
-
"browser-single-process": { description: "Run the browser as a single process", type: "boolean", defaultValue:
|
|
64
|
+
"browser-single-process": { description: "Run the browser as a single process (enabled by default on Windows only, current browsers on other platforms do not support this mode)", type: "boolean", defaultValue: build.os == "windows" },
|
|
63
65
|
"browser-start-minimized": { description: "Minimize the browser", type: "boolean" },
|
|
64
66
|
"browser-ignore-insecure-certs": { description: "Ignore HTTPs errors", type: "boolean" },
|
|
65
67
|
"browser-remote-debugging-URL": { description: "Remote debugging URL", type: "string" }
|
|
@@ -206,8 +208,6 @@ const OPTIONS_INFO = [{
|
|
|
206
208
|
"version": { description: "Print the version number and exit.", type: "boolean" },
|
|
207
209
|
}];
|
|
208
210
|
|
|
209
|
-
const { args, exit } = Deno;
|
|
210
|
-
|
|
211
211
|
const CRAWL_LINKS_DEPENDENT_OPTIONS = {
|
|
212
212
|
crawlInnerLinksOnly: "--crawl-inner-links-only",
|
|
213
213
|
crawlNoParent: "--crawl-no-parent",
|