flagstaff 1.8.1 → 2.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +11 -6
package/README.md CHANGED
@@ -20,7 +20,7 @@
20
20
  <a href="https://www.npmjs.com/package/flagstaff?activeTab=code"><img src="https://img.shields.io/npm/unpacked-size/flagstaff?style=flat-square" alt="Unpacked size of the latest flagstaff release on npm" /></a>
21
21
  <a href="https://github.com/ofri-peretz/burgee/blob/main/packages/flagstaff/package.json"><img src="https://img.shields.io/badge/dependencies-4%20in%20family%2C%200%20outside-0a6b47?style=flat-square" alt="Four dependencies, all in the burgee family (closeout, linegauge, paratext, roundel), none outside it" /></a>
22
22
  <a href="https://github.com/ofri-peretz/burgee/blob/main/packages/flagstaff/package.json"><img src="https://img.shields.io/badge/types-included-blue?style=flat-square" alt="TypeScript types included for every entry point" /></a>
23
- <a href="https://github.com/ofri-peretz/burgee/blob/main/packages/flagstaff/package.json"><img src="https://img.shields.io/badge/Node.js-20.19%2B%20%7C%2022.13%2B-green?style=flat-square" alt="Node.js 20.19+ or 22.13+" /></a>
23
+ <a href="https://github.com/ofri-peretz/burgee/blob/main/packages/flagstaff/package.json"><img src="https://img.shields.io/badge/Node.js-22.13%2B-green?style=flat-square" alt="Node.js 22.13+" /></a>
24
24
  <a href="https://github.com/ofri-peretz/burgee/blob/main/packages/flagstaff/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue?style=flat-square" alt="License: MIT" /></a>
25
25
  <a href="https://www.npmjs.com/package/flagstaff#provenance"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.npmjs.org%2Fflagstaff%2Flatest&query=%24.dist.attestations.provenance~&label=npm&style=flat-square&color=0a6b47" alt="npm provenance of the latest release, read live from its registry attestation" /></a>
26
26
  </p>
@@ -493,7 +493,7 @@ roundel counted, against boxen 9's own 115.8 KB across fourteen; `flagstaff/cli-
493
493
  `width.js`, and the first two share `closeout`; none reaches another's port, and none
494
494
  reaches the core. `sideEffects: false` lets a
495
495
  bundler drop what a program does not use. ESM with a `default` condition, so
496
- `require('flagstaff/spinner')` works from CommonJS on Node 20.19+ and 22.13+ ([measured](https://burgee.interlace.tools/docs/benchmarks)).
496
+ `require('flagstaff/spinner')` works from CommonJS on Node 22.13+ ([measured](https://burgee.interlace.tools/docs/benchmarks)).
497
497
 
498
498
  ## Benchmarks
499
499
 
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "flagstaff",
3
- "version": "1.8.1",
3
+ "version": "2.0.0",
4
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.",
5
5
  "license": "MIT",
6
+ "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
6
7
  "type": "module",
7
8
  "sideEffects": ["./dist/cli.js", "./dist/log-tail.js", "./dist/tab-bar.js"],
8
9
  "engines": {
9
- "node": "^20.19.0 || >=22.13.0"
10
+ "node": ">=22.13.0"
10
11
  },
11
12
  "types": "./dist/index.d.ts",
12
13
  "exports": {
@@ -162,11 +163,15 @@
162
163
  "non-tty",
163
164
  "json"
164
165
  ],
166
+ "publishConfig": {
167
+ "access": "public",
168
+ "provenance": true
169
+ },
165
170
  "dependencies": {
166
- "closeout": "^1.1.8",
167
- "linegauge": "^1.2.0",
168
- "paratext": "^1.0.12",
169
- "roundel": "^1.3.1"
171
+ "closeout": "^2.0.0",
172
+ "linegauge": "^2.0.0",
173
+ "paratext": "^2.0.0",
174
+ "roundel": "^2.0.0"
170
175
  },
171
176
  "devDependencies": {
172
177
  "fast-check": "^4.10.2",