linegauge 0.3.0 → 0.3.1
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 +2 -2
- package/dist/style.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,12 +154,12 @@ its own suite — which this package passes. The runner reports that as a failur
|
|
|
154
154
|
to the incumbent an unexpected pass means a stale annotation; it is counted here as the
|
|
155
155
|
pass it is, and marked rather than left to look like the ones beside it.
|
|
156
156
|
|
|
157
|
-
Weight, installed and tree-inclusive: **83,
|
|
157
|
+
Weight, installed and tree-inclusive: **83,536 bytes** against **170,342** for the incumbents it replaces — a ratio of **0.4904**.
|
|
158
158
|
## Where it sits
|
|
159
159
|
|
|
160
160
|
It hosts no plugin key of its own.
|
|
161
161
|
|
|
162
|
-
`burgee`
|
|
162
|
+
`burgee`, `caique`, `flagstaff` build on it, and it builds on nothing in this family.
|
|
163
163
|
## Licence
|
|
164
164
|
|
|
165
165
|
MIT
|
package/dist/style.js
CHANGED
|
@@ -253,7 +253,7 @@ export function applyToken(token, active) {
|
|
|
253
253
|
}
|
|
254
254
|
// An SGR parameter this file has no close code for — `ESC[20m`, `ESC[1001m`. It used to
|
|
255
255
|
// be dropped here, which is the one failure on the `slice-ansi` row that was ours
|
|
256
|
-
// (`
|
|
256
|
+
// (`spec.md` § R10 category E): the text survived a cut and its style did not, silently.
|
|
257
257
|
// The sequence is the caller's, not this library's to vet, so it is carried through and
|
|
258
258
|
// reopened like any other style. `SGR_RESET` is its closer because it is the only one
|
|
259
259
|
// that is correct for a parameter whose meaning is unknown — there is nothing to derive a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linegauge",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "A printer's line gauge \u2014 the steel rule marked in picas and points. Measuring, wrapping, truncating and slicing styled terminal text without the edge fraying \u2014 grapheme-correct over Intl.Segmenter. Drop-in paths for string-width, wrap-ansi, strip-ansi and slice-ansi. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|