Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
chore: remove npm-audit in favor of synk
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Feb 8, 2021
1 parent d5f24d9 commit 2fe5743
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 244 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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"
156 changes: 0 additions & 156 deletions npm-audit.html

This file was deleted.

83 changes: 0 additions & 83 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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": {
Expand Down

0 comments on commit 2fe5743

Please sign in to comment.