Describe the bug
I'm using this library with prism for building simple mock server service and during CI/CD pipeline build I got a lot of npm audit vulnerabilities. Because of that my pipeline failed.
The old depedencies for json-schema-generator library is causing this npm audit vulnerabilities.
To Reproduce
- git clone https://github.com/stoplightio/http-spec
- cd http-spec
- npm install
- npm audit
Expected behavior
You will get high and medium npm audit vulnerabilities like below:
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Insufficient Entropy │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ cryptiles │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=3.1.3 <4.0.0 || >=4.1.2 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @stoplight/prism-cli │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ @stoplight/prism-cli > @stoplight/prism-http > │
│ │ @stoplight/http-spec > json-schema-generator > request > │
│ │ hawk > cryptiles │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/720 │
└───────────────┴──────────────────────────────────────────────────────────────┘
Environment (remove any that are not applicable):
- Node v12.14.0
- npm v6.13.4
- Mac OS (iterm2)
Describe the bug
I'm using this library with prism for building simple mock server service and during CI/CD pipeline build I got a lot of
npm auditvulnerabilities. Because of that my pipeline failed.The old depedencies for
json-schema-generatorlibrary is causing this npm audit vulnerabilities.To Reproduce
Expected behavior
You will get high and medium npm audit vulnerabilities like below:
Environment (remove any that are not applicable):