package.json engine "6 || 8 || >=10"
tcrowe opened this issue · comments
@segayuu I don't remember seeing this syntax in the engines
field. https://docs.npmjs.com/files/package.json#engines
6 or 8 or greater than or equal to 10
Is this meant to block out 7 and 9 development builds? If so does that work and do we need it?
Here's where it appears: https://github.com/hexojs/warehouse/blob/master/package.json#L44
That's right.
"6 || 8 ||> = 10" points to the major version of the current LTS or latest.
Since node.js itself has already ended support already in 7 and 9, this notation means "I will not support development builds after official support has ended".
Thanks for taking a look, @segayuu. 👍👍