File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ import get from './helpers/_/get.js';
26
26
import DPoPNonces from './helpers/dpop_nonces.js' ;
27
27
28
28
const minimal = 'Hydrogen' ;
29
- const { lts } = process . release ;
30
- if ( ! lts || lts . charCodeAt ( 0 ) < minimal . charCodeAt ( 0 ) ) {
31
- attention . warn ( 'Unsupported Node.js runtime version .' ) ;
29
+ const { lts : codename } = process . release || { } ;
30
+ if ( ! codename || codename . charCodeAt ( 0 ) < minimal . charCodeAt ( 0 ) ) {
31
+ attention . warn ( 'Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release .' ) ;
32
32
}
33
33
34
34
async function getInteraction ( req , res ) {
Original file line number Diff line number Diff line change 96
96
"sinon" : " ^15.0.0" ,
97
97
"supertest" : " ^6.3.1" ,
98
98
"timekeeper" : " ^2.2.0"
99
- },
100
- "engines" : {
101
- "node" : " 18"
102
99
}
103
100
}
You can’t perform that action at this time.
0 commit comments