single-file-cli 2.0.75 → 2.0.76
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/README.MD +1 -1
- package/build.sh +1 -1
- package/deno.json +3 -3
- package/deno.lock +56 -21
- package/lib/single-file-bundle.js +1 -1
- package/lib/version.js +1 -1
- package/options.js +3 -0
- package/package.json +4 -4
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "2.0.
|
|
1
|
+
export const version = "2.0.76";
|
package/options.js
CHANGED
|
@@ -39,7 +39,9 @@ const OPTIONS_INFO = {
|
|
|
39
39
|
"block-audios": { description: "Block audios", type: "boolean", defaultValue: true },
|
|
40
40
|
"block-fonts": { description: "Block fonts", type: "boolean" },
|
|
41
41
|
"block-images": { description: "Block images", type: "boolean" },
|
|
42
|
+
"block-alternative-images": { description: "Block alternative images", type: "boolean", defaultValue: true },
|
|
42
43
|
"block-scripts": { description: "Block scripts", type: "boolean", defaultValue: true },
|
|
44
|
+
"block-stylesheets": { description: "Block stylesheets", type: "boolean", defaultValue: false },
|
|
43
45
|
"block-videos": { description: "Block videos", type: "boolean", defaultValue: true },
|
|
44
46
|
"block-mixed-content": { description: "Block mixed contents", type: "boolean" },
|
|
45
47
|
"blocked-URL-pattern": { description: "Regular expression matching URLs to block (e.g. 'annoying-banners\\.com')", type: "string[]" },
|
|
@@ -129,6 +131,7 @@ const OPTIONS_INFO = {
|
|
|
129
131
|
"remove-alternative-fonts": { description: "Remove alternative fonts to the ones displayed", type: "boolean", defaultValue: true },
|
|
130
132
|
"remove-alternative-medias": { description: "Remove alternative CSS stylesheets", type: "boolean", defaultValue: true },
|
|
131
133
|
"remove-alternative-images": { description: "Remove images for alternative sizes of screen", type: "boolean", defaultValue: true },
|
|
134
|
+
"remove-no-script-tags": { description: "Remove <noscript> tags", type: "boolean", defaultValue: true },
|
|
132
135
|
"save-original-URLs": { description: "Save the original URLS in the embedded contents", type: "boolean" },
|
|
133
136
|
"save-raw-page": { description: "Save the original page without interpreting it into the browser", type: "boolean" },
|
|
134
137
|
"urls-file": { description: "Path to a text file containing a list of URLs (separated by a newline) to save. You can also pass the options after each URL (e.g. 'https://www.example.com --filename-template={page-title}.html')", type: "string" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "single-file-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.76",
|
|
4
4
|
"description": "SingleFile CLI",
|
|
5
5
|
"author": "Gildas Lormeau",
|
|
6
6
|
"engines": {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"single-file": "single-file-node.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"simple-cdp": "^1.8.
|
|
17
|
-
"ws": "^8.18.
|
|
16
|
+
"simple-cdp": "^1.8.6",
|
|
17
|
+
"ws": "^8.18.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@eslint/js": "^9.
|
|
20
|
+
"@eslint/js": "^9.39.0"
|
|
21
21
|
}
|
|
22
22
|
}
|