flagstaff 2.0.1 → 2.0.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/dist/box.js CHANGED
@@ -1,4 +1,4 @@
1
- import { width } from 'linegauge';
1
+ import { width } from 'linegauge/v8';
2
2
  import { wrap } from 'linegauge/wrap';
3
3
  import { muted } from 'roundel/tokens';
4
4
  import { laid, painted, painter, STATIC } from './link.js';
package/dist/boxen.js CHANGED
@@ -1,4 +1,5 @@
1
- import { slice as sliceAnsi, widest, width as stringWidth } from 'linegauge';
1
+ import { slice as sliceAnsi, widest } from 'linegauge';
2
+ import { width as stringWidth } from 'linegauge/v8';
2
3
  import { wrap as wrapAnsi } from 'linegauge/wrap';
3
4
  import chalk from 'roundel/chalk';
4
5
  import { processRuntime } from './runtime.js';
@@ -1,4 +1,4 @@
1
- import { measure } from 'linegauge';
1
+ import { measure } from 'linegauge/v8';
2
2
  import { linkFor } from 'paratext/link';
3
3
  import chalk from 'roundel/chalk';
4
4
  const ESC = '\u001B';
package/dist/ora.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { Buffer } from 'node:buffer';
2
2
  import { HIDE_CURSOR, rawMode, SHOW_CURSOR } from 'closeout/cursor';
3
3
  import restoreCursor from 'closeout/restore-cursor';
4
- import { strip, width } from 'linegauge';
4
+ import { strip } from 'linegauge';
5
+ import { width } from 'linegauge/v8';
5
6
  import { beginSynchronizedOutput, endSynchronizedOutput } from 'paratext/csi';
6
7
  import chalk from 'roundel/chalk';
7
8
  import { unicode } from 'roundel/terminal';
@@ -1,6 +1,6 @@
1
1
  import { onExit } from 'closeout';
2
2
  import { HIDE_CURSOR, SHOW_CURSOR } from 'closeout/cursor';
3
- import { lineCount } from 'linegauge';
3
+ import { lineCount } from 'linegauge/v8';
4
4
  import { muted } from 'roundel/tokens';
5
5
  export const DEFAULT_INTERVAL = 80;
6
6
  const DEFAULT_COLUMNS = 80;
package/dist/table.js CHANGED
@@ -1,5 +1,5 @@
1
- import { width } from 'linegauge';
2
1
  import { truncate } from 'linegauge/truncate';
2
+ import { width } from 'linegauge/v8';
3
3
  import { wrap } from 'linegauge/wrap';
4
4
  import { heading, muted } from 'roundel/tokens';
5
5
  import { cellHref, cellText, laid, painted, painter, STATIC } from './link.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flagstaff",
3
- "version": "2.0.1",
4
- "description": "Spinners, progress, boxes and tables on one terminal frame loop, with a static projection for pipes, screen readers and agents, and a plugin host. No dependency outside the burgee family. Drop-in paths for ora, log-update, boxen and cli-table3.",
3
+ "version": "2.0.3",
4
+ "description": "CLI spinner, progress bar, boxes and tables on one terminal frame loop, with a static projection for pipes, screen readers and agents, and a plugin host. No dependency outside the burgee family. Drop-in alternative to ora, log-update, boxen and cli-table3.",
5
5
  "license": "MIT",
6
6
  "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
7
7
  "type": "module",
@@ -168,10 +168,10 @@
168
168
  "provenance": true
169
169
  },
170
170
  "dependencies": {
171
- "closeout": "^2.0.0",
172
- "linegauge": "^2.1.0",
173
- "paratext": "^2.0.0",
174
- "roundel": "^2.0.0"
171
+ "closeout": "^2.0.1",
172
+ "linegauge": "^2.2.1",
173
+ "paratext": "^2.0.1",
174
+ "roundel": "^2.0.1"
175
175
  },
176
176
  "devDependencies": {
177
177
  "fast-check": "^4.10.2",