gajus / http-terminator

Gracefully terminates HTTP(S) server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node engine is too permissive

agoldis opened this issue · comments

Running on node 14.15.5 gives an error:

/Users/agoldis/currents-demo/node_modules/fast-json-stringify/index.js:83
  rootSchemaId = schema.$id || randomUUID()
                               ^
TypeError: randomUUID is not a function
    at build (/Users/agoldis/currents-demo/node_modules/fast-json-stringify/index.js:83:32)
    at Object.<anonymous> (/Users/agoldis/currents-demo/node_modules/roarr/dist/src/Roarr.js:15:57)

However, engines field of package.json claims

"engines": {
    "node": ">=14"
  },

14.17+ would be a better option