diff --git a/README.md b/README.md
index ea6ea96..ed1e7d2 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
> Compose an array of functions to be executed one after the other. Similar to Koa and AdonisJS middlewares.
-[![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]
Co compose composes an array of middleware to be executed in sequence. The library is framework independent and can be used in any Javascript/Typescript project.
@@ -150,11 +150,15 @@ assert.deepEqual(ctx.stack, ['fn1', 'final handler'])
[circleci-image]: https://img.shields.io/circleci/project/github/poppinss/co-compose/master.svg?style=for-the-badge&logo=circleci
[circleci-url]: https://circleci.com/gh/poppinss/co-compose 'circleci'
+
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]: "typescript"
+
[npm-image]: https://img.shields.io/npm/v/co-compose.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/co-compose 'npm'
+
[license-image]: https://img.shields.io/npm/l/co-compose?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/poppinss/co-compose/blob/develop/npm-audit.html 'audit-report'
+
+[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/poppinss/co-compose?label=Synk%20Vulnerabilities&style=for-the-badge
+[synk-url]: https://snyk.io/test/github/poppinss/co-compose?targetFile=package.json "synk"
diff --git a/npm-audit.html b/npm-audit.html
deleted file mode 100644
index 74e3c3b..0000000
--- a/npm-audit.html
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- NPM Audit Report
-
-
-
-
-
-
-
-
-
NPM Audit Report
-
-
-
-
-
-
- 0
-
-
Known vulnerabilities
-
-
-
-
-
-
- February 8th 2021, 5:21:57 am
-
-
Last updated
-
-
-
-
-
-
-
-
-
-
-
-
- Name |
- Module |
- Severity |
- CVEs |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 2ccc339..2731c0c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3307,19 +3307,6 @@
"integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
"dev": true
},
- "handlebars": {
- "version": "4.7.6",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz",
- "integrity": "sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==",
- "dev": true,
- "requires": {
- "minimist": "^1.2.5",
- "neo-async": "^2.6.0",
- "source-map": "^0.6.1",
- "uglify-js": "^3.1.4",
- "wordwrap": "^1.0.0"
- }
- },
"har-schema": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
@@ -3418,12 +3405,6 @@
"integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==",
"dev": true
},
- "highlight.js": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.5.0.tgz",
- "integrity": "sha512-xTmvd9HiIHR6L53TMC7TKolEj65zG1XU+Onr8oi86mYa+nLcIbxTTWkpW7CsEwv/vK7u1zb8alZIMLDqqN6KTw==",
- "dev": true
- },
"homedir-polyfill": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
@@ -4817,12 +4798,6 @@
"integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==",
"dev": true
},
- "marked": {
- "version": "1.2.9",
- "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.9.tgz",
- "integrity": "sha512-H8lIX2SvyitGX+TRdtS06m1jHMijKN/XjfH6Ooii9fvxMlh8QdqBfBDkGUpMWH2kQNrtixjzYUa3SH8ROTgRRw==",
- "dev": true
- },
"mem": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/mem/-/mem-6.1.1.tgz",
@@ -5028,12 +5003,6 @@
}
}
},
- "moment": {
- "version": "2.29.1",
- "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz",
- "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==",
- "dev": true
- },
"mrm": {
"version": "2.5.15",
"resolved": "https://registry.npmjs.org/mrm/-/mrm-2.5.15.tgz",
@@ -5383,12 +5352,6 @@
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
"dev": true
},
- "neo-async": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
- "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
- "dev": true
- },
"nested-error-stacks": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz",
@@ -5797,33 +5760,6 @@
}
}
},
- "npm-audit-html": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/npm-audit-html/-/npm-audit-html-1.5.0.tgz",
- "integrity": "sha512-YA7i5xQzlqiWRUTQm4j9vzP8FB0mhNinhQuuty8aRoM8XCY41ECQyZgXmEUu8kXVbB0k5all8mAfgZ9z4gAEnA==",
- "dev": true,
- "requires": {
- "chalk": "^4.1.0",
- "commander": "^3.0.2",
- "fs-extra": "^8.1.0",
- "handlebars": "^4.7.6",
- "highlight.js": "^10.3.1",
- "marked": "^1.2.2",
- "moment": "^2.29.1",
- "numeral": "^2.0.6",
- "open": "^7.3.0",
- "terminal-link": "^2.1.1",
- "update-notifier": "^4.1.3"
- },
- "dependencies": {
- "commander": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz",
- "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==",
- "dev": true
- }
- }
- },
"npm-name": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/npm-name/-/npm-name-6.0.1.tgz",
@@ -5924,12 +5860,6 @@
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
"dev": true
},
- "numeral": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/numeral/-/numeral-2.0.6.tgz",
- "integrity": "sha1-StCAk21EPCVhrtnyGX7//iX05QY=",
- "dev": true
- },
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
@@ -7779,13 +7709,6 @@
"integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==",
"dev": true
},
- "uglify-js": {
- "version": "3.12.7",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.7.tgz",
- "integrity": "sha512-SIZhkoh+U/wjW+BHGhVwE9nt8tWJspncloBcFapkpGRwNPqcH8pzX36BXe3TPBjzHWPMUZotpCigak/udWNr1Q==",
- "dev": true,
- "optional": true
- },
"underscore": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.10.2.tgz",
@@ -8138,12 +8061,6 @@
"integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
"dev": true
},
- "wordwrap": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
- "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
- "dev": true
- },
"wrap-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz",
diff --git a/package.json b/package.json
index e93ae9b..d1dfd66 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,6 @@
"middie": "^5.2.0",
"mrm": "^2.5.15",
"np": "^7.3.0",
- "npm-audit-html": "^1.5.0",
"prettier": "^2.2.1",
"typescript": "^4.1.3"
},
@@ -66,7 +65,7 @@
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js",
- "pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md && npm audit --production --json | ./node_modules/.bin/npm-audit-html && git add npm-audit.html"
+ "pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md"
}
},
"directories": {