fop-cli 5.4.0 → 5.5.0
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 +4 -1
- package/install.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,6 +106,7 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
|
|
|
106
106
|
| `--pr-show-changes` | Include rule changes (combines, merges, typos) in PR body |
|
|
107
107
|
| `--fix-typos` | Fix cosmetic rule typos in all files during sort |
|
|
108
108
|
| `--fix-typos-on-add` | Check cosmetic rule typos in git additions before commit |
|
|
109
|
+
| `--ignore-line-minimum` | Keep rules shorter than 3 characters instead of dropping them as malformed |
|
|
109
110
|
| `--auto-fix` | Auto-fix typos without prompting (use with --fix-typos-on-add) |
|
|
110
111
|
| `--only-sort-changed` | Only process files changed according to git |
|
|
111
112
|
| `--check-banned-list=FILE` | Check for banned domains in git additions |
|
|
@@ -114,6 +115,7 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
|
|
|
114
115
|
| `--rebase-on-fail` | Auto `git pull --rebase --autostash` and retry when a push fails. **On by default** |
|
|
115
116
|
| `--no-rebase-on-fail` | Don't auto-rebase; print the suggested `git pull --rebase` command and stop |
|
|
116
117
|
| `--commit-mask=N` | Mask URLs in commit messages (1=`[.]`, 2=`(.)`, 3=space, 4=preserve subdomain dot, 5=Unicode lookalike `․`) |
|
|
118
|
+
| `--no-commit-mask` | Disable URL masking even when `.fopconfig` sets `commit-mask` (`--commit-mask=0` cannot: 0 falls through to level 1) |
|
|
117
119
|
| `--commit-mask-users=u1,u2` | Restrict `--commit-mask` to these `git config user.name` values (lowercased) |
|
|
118
120
|
| `--commit-mask-bare` | Also mask bare hostnames without `http(s)://`. Risks false positives on filenames |
|
|
119
121
|
| `--commit-mask-exempt-hosts=h1,h2` | Additional apex hosts exempt from masking (e.g. self-hosted Gitea/Forgejo/GitLab) |
|
|
@@ -134,6 +136,7 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
|
|
|
134
136
|
| `--git-binary=<path>` | Path to git binary (default: git in PATH) |
|
|
135
137
|
| `--benchmark` | Benchmark sorting performance (3 iterations, dry-run) |
|
|
136
138
|
| `--abp-convert` | Convert ABP extended selectors to uBO format |
|
|
139
|
+
| `--adguard-convert` | Promote a `:has-text()` rule's separator to AdGuard's spelling (`##` → `#?#`, `#@#` → `#@?#`) |
|
|
137
140
|
| `--convert-trusted` | Convert trusted scriptlets to non-trusted when value is safe |
|
|
138
141
|
| `-h, --help` | Show help message |
|
|
139
142
|
| `-V, --version` | Show version number |
|
|
@@ -284,7 +287,7 @@ add-checksum = true
|
|
|
284
287
|
add-timestamp = true
|
|
285
288
|
```
|
|
286
289
|
|
|
287
|
-
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`.
|
|
290
|
+
Supported per-file options: `no-sort`, `alt-sort`, `parse-adguard`, `localhost`, `add-checksum`, `add-timestamp`, `no-ubo-convert`, `abp-convert`, `adguard-convert`, `convert-trusted`, `keep-empty-lines`, `ignore-dot-domains`, `fix-typos`, `ignore-line-minimum`.
|
|
288
291
|
|
|
289
292
|
### Commit Message URL Masking
|
|
290
293
|
|
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.
|
|
10
|
+
const VERSION = '5.5.0';
|
|
11
11
|
const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
|
|
12
12
|
const BINARY_NAME = 'fop';
|
|
13
13
|
|