https://github.com/taylorho/make-it-safer
Move vulnerabilities away. Make your project safer.
https://github.com/taylorho/make-it-safer
ci npm package packages security updater vulnerabilities
Last synced: about 1 year ago
JSON representation
Move vulnerabilities away. Make your project safer.
- Host: GitHub
- URL: https://github.com/taylorho/make-it-safer
- Owner: TaylorHo
- License: mit
- Created: 2023-03-13T14:37:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T00:57:20.000Z (almost 2 years ago)
- Last Synced: 2025-05-28T02:20:24.576Z (about 1 year ago)
- Topics: ci, npm, package, packages, security, updater, vulnerabilities
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/make-it-safer
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Make It Safer ✅
Move vulnerabilities away. Make your project safer.
### Introduction
This package will fix other package known vulnerabilities by updating the version of the package to a stable, not vulnerable, version.
This package do this based on `npm audit fix`, but better and ready to be implemented on **automated pipelines**.
It works on NodeJS v14, v16, v18 and v20.
### Install
```shell
npm i make-it-safer -D
```
---
### Usage
```shell
npx make-it-safer
```
---
### Options
By default, the package fix all known vulnerabilities, but it can be used also to upgrade dependencies versions. See below:
#### - Update dependencies to the latest version
```shell
npx make-it-safer --latest
```
#### - Update dependencies to the latest major version
```shell
npx make-it-safer --major
```
#### - Update dependencies to the latest minor version
```shell
npx make-it-safer --minor
```
#### - Update dependencies to the latest patch version
```shell
npx make-it-safer --patch
```
---
### Pipelines
This package is ready to be implemented on automated pipelines and git flow. You can use this way:
- With [Husky](https://www.npmjs.com/package/husky)
- `npx make-it-safer && git add -A .` (use on the pre-commit hook)(can delay commit time)
- With pipelines
- `npx make-it-safer && git add -A . && git commit -m "(ci): fixed vulnerabilities" && git push`
---
### Aliases
```shell
npx make-it-safer
npx makeitsafer
npx mis
```
---
### Contributions
- The vulnerabilities fix scripts were made by [taylorho](https://github.com/TaylorHo).
- The packages updating scripts were made by [wellwelwel](https://github.com/wellwelwel), on the package [packages-update](https://github.com/wellwelwel/packages-update). Thanks!
### FOSS
Have an idea of improvement? Open an [issue](https://github.com/TaylorHo/make-it-safe/issues/new) or a [Pull Request](https://github.com/TaylorHo/make-it-safe/fork)! We are happily waiting your contribution :)