fop-cli 5.3.0 → 5.3.2
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 +26 -0
- package/install.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,6 +128,7 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
|
|
|
128
128
|
| `--git-binary=<path>` | Path to git binary (default: git in PATH) |
|
|
129
129
|
| `--benchmark` | Benchmark sorting performance (3 iterations, dry-run) |
|
|
130
130
|
| `--abp-convert` | Convert ABP extended selectors to uBO format |
|
|
131
|
+
| `--convert-trusted` | Convert trusted scriptlets to non-trusted when value is safe |
|
|
131
132
|
| `-h, --help` | Show help message |
|
|
132
133
|
| `-V, --version` | Show version number |
|
|
133
134
|
|
|
@@ -193,6 +194,9 @@ pr-show-changes = false
|
|
|
193
194
|
# Base branch for PR (default: auto-detect)
|
|
194
195
|
git-pr-branch =
|
|
195
196
|
|
|
197
|
+
# Convert trusted scriptlets to non-trusted when value is safe
|
|
198
|
+
convert-trusted = false
|
|
199
|
+
|
|
196
200
|
# Fix cosmetic typos during sort
|
|
197
201
|
fix-typos = false
|
|
198
202
|
|
|
@@ -230,6 +234,28 @@ history = A: ,P: ,M: Update,M: Cleanup,M: Sort,M: Adjust
|
|
|
230
234
|
|
|
231
235
|
Command line arguments override config file settings.
|
|
232
236
|
|
|
237
|
+
### Per-File Overrides
|
|
238
|
+
|
|
239
|
+
Add `[filename]` sections to override settings for specific files:
|
|
240
|
+
|
|
241
|
+
```ini
|
|
242
|
+
# Global settings apply to all files
|
|
243
|
+
fix-typos = true
|
|
244
|
+
|
|
245
|
+
# Override settings for specific files
|
|
246
|
+
[adguard_base.txt]
|
|
247
|
+
parse-adguard = true
|
|
248
|
+
|
|
249
|
+
[hosts.txt]
|
|
250
|
+
localhost = true
|
|
251
|
+
|
|
252
|
+
[easylist.txt]
|
|
253
|
+
add-checksum = true
|
|
254
|
+
add-timestamp = true
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Supported per-file options: `no-sort`, `alt-sort`, `parse-adguard`, `localhost`, `add-checksum`, `add-timestamp`, `no-ubo-convert`, `abp-convert`, `convert-trusted`, `keep-empty-lines`, `ignore-dot-domains`, `fix-typos`.
|
|
258
|
+
|
|
233
259
|
## Platform Support
|
|
234
260
|
|
|
235
261
|
### Pre-built Binaries
|
package/install.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require('path');
|
|
|
7
7
|
const { execSync } = require('child_process');
|
|
8
8
|
|
|
9
9
|
// Configuration - UPDATE THESE FOR YOUR RELEASE
|
|
10
|
-
const VERSION = '5.3.
|
|
10
|
+
const VERSION = '5.3.2';
|
|
11
11
|
const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
|
|
12
12
|
const BINARY_NAME = 'fop';
|
|
13
13
|
|