Skip to content

Commit 7be0d1a

Browse files
committed
chore(package): add engines floor for Node >=20
nerror has no committed lockfile, so installs can pull transitive deps that require newer Node (e.g. brace-expansion@5) and fail unpredictably. Declaring an engines floor surfaces this explicitly. This feels reasonable as nerror 2.0.0 is not expected to be used or work with node versions older than 20.
1 parent ba44198 commit 7be0d1a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"url": "https://github.com/Netflix/nerror"
1010
},
1111
"license": "MIT",
12+
"engines": {
13+
"node": ">=20"
14+
},
1215
"files": [
1316
"lib",
1417
"lib/index.d.ts"

0 commit comments

Comments
 (0)