gajus / gajus/http-terminator

Node engine is too permissive

Open
#43 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
335
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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. (/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+`](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V14.md#uuid-support-in-the-crypto-module) would be a better option

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.