@url-sanitize/cli 0.1.4 → 1.0.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 +1 -1
- package/dist/bin.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ printf '%s\n' "https://example.com/?utm_source=x" | url-sanitize -
|
|
|
26
26
|
The npm CLI is pure TypeScript so it installs without native package setup. For
|
|
27
27
|
the smallest standalone binary, use `cargo install url-sanitize` or the GitHub
|
|
28
28
|
Release installer from the root README. For OS-specific native install commands,
|
|
29
|
-
see the [
|
|
29
|
+
see the [root README](https://github.com/antonio-orionus/url-sanitize#install).
|
|
30
30
|
|
|
31
31
|
## License
|
|
32
32
|
|
package/dist/bin.js
CHANGED
|
@@ -151,7 +151,7 @@ function packageVersion() {
|
|
|
151
151
|
function printHelp(stream) {
|
|
152
152
|
stream.write(
|
|
153
153
|
[
|
|
154
|
-
`url-sanitize ${packageVersion()} (catalog ${clearurlsMetadata.hash})`,
|
|
154
|
+
`url-sanitize ${packageVersion()} (catalog ${clearurlsMetadata.hash} ${clearurlsMetadata.fetchedAt})`,
|
|
155
155
|
"",
|
|
156
156
|
"Strip tracking parameters from URLs.",
|
|
157
157
|
"",
|
|
@@ -168,7 +168,7 @@ function printHelp(stream) {
|
|
|
168
168
|
" --unwrap-redirects Unwrap redirector URLs (default)",
|
|
169
169
|
" --no-unwrap-redirects Leave redirector URLs untouched",
|
|
170
170
|
" --block-domains Emit blocked for domain-blocked URLs",
|
|
171
|
-
" --version Print version + catalog hash",
|
|
171
|
+
" --version Print version + catalog hash/date",
|
|
172
172
|
" -h, --help Show this help",
|
|
173
173
|
"",
|
|
174
174
|
"Runtime: TypeScript",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@url-sanitize/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Command-line tool to remove tracking parameters and unwrap tracking redirects from URLs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@url-sanitize/clearurls": "0.
|
|
15
|
-
"@url-sanitize/core": "0.
|
|
14
|
+
"@url-sanitize/clearurls": "1.0.0",
|
|
15
|
+
"@url-sanitize/core": "1.0.0"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"cli",
|