diff --git a/README.md b/README.md index 9a33778..ea2848b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@
-[![circleci-image]][circleci-url] [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url] [![audit-report-image]][audit-report-url] +[![circleci-image]][circleci-url] [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url] [![synk-image]][synk-url]
@@ -49,5 +49,5 @@ [license-image]: https://img.shields.io/npm/l/@adonisjs/redis?color=blueviolet&style=for-the-badge [license-url]: LICENSE.md "license" -[audit-report-image]: https://img.shields.io/badge/-Audit%20Report-blueviolet?style=for-the-badge -[audit-report-url]: https://htmlpreview.github.io/?https://github.com/adonisjs/redis/blob/develop/npm-audit.html "audit-report" +[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/adonisjs/redis?label=Synk%20Vulnerabilities&style=for-the-badge +[synk-url]: https://snyk.io/test/github/adonisjs/redis?targetFile=package.json "synk" diff --git a/npm-audit.html b/npm-audit.html deleted file mode 100644 index 89909ed..0000000 --- a/npm-audit.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - NPM Audit Report - - - - - - - -
-

NPM Audit Report

- -
-
-
-
-
- 0 -
-

Known vulnerabilities

-
-
-
-
-
- 24 -
-

Dependencies

-
-
-
-
-
- December 24th 2020, 8:31:40 am -
-

Last updated

-
-
-
-
-
-
-
- 0 -
-

- critical -

-
-
-
-
-
- 0 -
-

- high -

-
-
-
-
-
- 0 -
-

- moderate -

-
-
-
-
-
- 0 -
-

- low -

-
-
-
-
-
- 0 -
-

- info -

-
-
-
-
- -
-
- - - - - - - - - - - - -
NameModuleSeverityCVEs
-
-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/package.json b/package.json index 0efea7d..0b4d23e 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,6 @@ "japa": "^3.1.1", "mrm": "^2.5.18", "np": "^7.4.0", - "npm-audit-html": "^1.5.0", "prettier": "^2.2.1", "typescript": "^4.1.5" }, @@ -87,8 +86,7 @@ }, "husky": { "hooks": { - "commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js", - "pre-commit": "npm audit --production --json | ./node_modules/.bin/npm-audit-html && git add npm-audit.html" + "commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" } }, "config": {