flagstaff 0.3.7 → 0.4.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 +6 -6
package/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  <p align="center">
15
15
  <a href="https://www.npmjs.com/package/flagstaff"><img src="https://img.shields.io/npm/v/flagstaff?style=flat-square&color=0a6b47" alt="npm version" /></a>
16
16
  <img src="https://img.shields.io/badge/dependencies-4%20in--family-0a6b47?style=flat-square" alt="Four dependencies, all in this repository: closeout, linegauge, paratext, roundel" />
17
- <img src="https://img.shields.io/badge/Node.js-24+-green.svg?style=flat-square" alt="Node.js 24+" />
17
+ <img src="https://img.shields.io/badge/Node.js-20.19%2B%20%7C%2022.13%2B-green.svg?style=flat-square" alt="Node.js 20.19+ or 22.13+" />
18
18
  <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square" alt="License: MIT" />
19
19
  </p>
20
20
 
@@ -344,7 +344,7 @@ counted, against boxen's own 132.4 KB across nineteen; `flagstaff/cli-table3` 32
344
344
  `width.js`, and the first two share `closeout`; none reaches another's port, and none
345
345
  reaches the core. `sideEffects: false` lets a
346
346
  bundler drop what a program does not use. ESM with a `default` condition, so
347
- `require('flagstaff/spinner')` works from CommonJS on Node ≥ 24.
347
+ `require('flagstaff/spinner')` works from CommonJS on Node 20.19+ and 22.13+.
348
348
 
349
349
  ## What is next
350
350
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "flagstaff",
3
- "version": "0.3.7",
3
+ "version": "0.4.0",
4
4
  "description": "The staff the flag flies from. A terminal frame loop with a static projection for agents and screen readers, and a plugin host for spinners, progress, boxes and tables. Drop-in paths for ora, log-update, boxen and cli-table3. No dependency outside the burgee family.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": ["./dist/cli.js"],
8
8
  "engines": {
9
- "node": ">=24"
9
+ "node": "^20.19.0 || >=22.13.0"
10
10
  },
11
11
  "exports": {
12
12
  ".": {
@@ -121,10 +121,10 @@
121
121
  "json"
122
122
  ],
123
123
  "dependencies": {
124
- "closeout": "^0.4.1",
125
- "linegauge": "^0.4.4",
126
- "paratext": "^0.5.4",
127
- "roundel": "^0.4.3"
124
+ "closeout": "^0.5.0",
125
+ "linegauge": "^0.5.0",
126
+ "paratext": "^0.6.0",
127
+ "roundel": "^0.5.0"
128
128
  },
129
129
  "devDependencies": {
130
130
  "fast-check": "^4.10.1",