Visitar URL original
fix: override for c8 to use yargs@^18 for Node 26 · kevinoid/fetch-procore-api-docs@9683359 · GitHub
Skip to content

Commit 9683359

Browse files
committed
fix: override for c8 to use yargs@^18 for Node 26
To work around a crash on Node 25/26 (<nodejs/node#62083>) caused by an extensionless `./yargs` file in yargs@17 (<nodejs/node#62083>) which started being interpreted as `type: "module"` in Node.js 25.7 due to <nodejs/node#61600>, which was reverted by <nodejs/node#62083> for Node.js 25, but retained for Node.js 26. Work around the issue by overriding the c8 yargs dependency to use yargs@^18. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
1 parent 021febc commit 9683359

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎package.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@
6767
"nodecat": "^2.0.0",
6868
"rimraf": "^6.0.1"
6969
},
70+
"overrides": {
71+
"c8": {
72+
"yargs": "^18.0.0"
73+
}
74+
},
7075
"engines": {
7176
"node": "20 || >=22",
7277
"npm": ">=1.3.7"

0 commit comments

Comments
 (0)