Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auditmated

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auditmated

Automated npm auditing for bash

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

auditmated

Automated npm auditing

Usage

The auditmated binary will run npm audit fix in the current repo. If package.json and package-lock.json have been updated auditmated will commit those changes with a commit message of <branch-name> npm audit fix. This will fix any problems identified by npm audit that can be fixed by patch or minor version bumps.

auditmated only supports bash.

Example with Husky

This will run auditing as a pre-push hook using husky:

{
  "name": "audit-test",
  "version": "1.0.0",
  "main": "index.js",
  "husky": {
    "hooks": {
      "pre-push": "auditmated"
    }
  },
  "devDependencies": {
    "auditmated": "0.1.0",
    "husky": "^1.0.0"
  }
}

If you are using Husky v0, define as a prepush script.

{
  "name": "audit-test",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "prepush": "auditmated"
  },
  "devDependencies": {
    "auditmated": "0.1.0",
    "husky": "^0.14.3"
  }
}

Skipping Auditing

auditmated will not run for master, main, or develop branches. If you are using husky, you can use the --no-verify command line option to skip running auditing on any other branch.

Keywords

FAQs

Package last updated on 18 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc