@wirecat/cli-base 0.47.2 → 0.47.3
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/CHANGELOG.md +9 -0
- package/dist/query/parser.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,15 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b
|
|
|
8
8
|
Every entry says what changed as a caller sees it, why, and what to watch for — the rules are
|
|
9
9
|
[`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog).
|
|
10
10
|
|
|
11
|
+
## 0.47.3 — 20.10.2026
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **A messenger chat id parses unquoted in a query.** `chat:133…@lid`, `chat:120…@g.us` and `…@s.whatsapp.net` are
|
|
16
|
+
one term now; before, `@lid` was read as minimum-should-match and the query failed with
|
|
17
|
+
`query.unsupported-operator`. An `@` inside a word is part of the value when a letter follows it; `alpha@2` and
|
|
18
|
+
`(a b)@2` are still refused.
|
|
19
|
+
|
|
11
20
|
## 0.47.2 — 19.10.2026
|
|
12
21
|
|
|
13
22
|
### Added
|
package/dist/query/parser.js
CHANGED
|
@@ -107,7 +107,7 @@ const tokensOf = (text, fail = queryError) => {
|
|
|
107
107
|
at += 2;
|
|
108
108
|
continue;
|
|
109
109
|
}
|
|
110
|
-
if (next === "@" && /^@[\p{L}\p{N}][^\s@]*\.[\p{L}\p{N}]/u.test(text.slice(at))) {
|
|
110
|
+
if (next === "@" && /^@(?:\p{L}|[\p{L}\p{N}][^\s@]*\.[\p{L}\p{N}])/u.test(text.slice(at))) {
|
|
111
111
|
at++;
|
|
112
112
|
continue;
|
|
113
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.3",
|
|
4
4
|
"description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|