New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

better-npm-audit

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-npm-audit - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

.npmignore

4

index.js

@@ -11,3 +11,3 @@ #!/usr/bin/env node

const AUDIT_COMMAND = 'npm audit';
const SPLIT_STRING = 'https://nodesecurity.io/advisories/';
const SPLIT_REGEX = /(https:\/\/(nodesecurity.io|npmjs.com)\/advisories\/)/;

@@ -33,3 +33,3 @@ let exceptionIds = [];

audit.stdout.on('data', data => {
const ids = data.split(SPLIT_STRING).map(str => str.substring(0, 4).trim());
const ids = data.split(SPLIT_REGEX).map(str => str.substring(0, 4).trim());

@@ -36,0 +36,0 @@ const numberIds = ids.map(id => {

{
"name": "better-npm-audit",
"version": "0.1.5",
"version": "0.1.6",
"author": "Jee Mok <jee.ict@hotmail.com>",

@@ -5,0 +5,0 @@ "description": "Better npm audit",

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