Socket
Socket
Sign inDemoInstall

is-my-node-vulnerable

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-my-node-vulnerable - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

3

index.js

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

) {
list.push(`${bold(vuln.cve)}: ${vuln.overview}\n${bold('Patched versions')}: ${vuln.patched}`)
const severity = vuln.severity === 'unknown' ? '' : `(${vuln.severity})`;
list.push(`${bold(vuln.cve)}${severity}: ${vuln.overview}\n${bold('Patched versions')}: ${vuln.patched}`)
}

@@ -96,0 +97,0 @@ }

{
"name": "is-my-node-vulnerable",
"version": "1.4.1",
"version": "1.5.0",
"description": "package that checks if your Node.js installation is vulnerable to known security vulnerabilities",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -95,3 +95,3 @@ # is-my-node-vulnerable

This package also provide a Github Action, just include the `node-version` in the yml as follows in order to check an specific version:
This package also provides a GitHub Action, just include the `node-version` in the yml as follows in order to check a specific version:

@@ -110,3 +110,3 @@ ```yml

- name: Check Node.js
uses: RafaelGSS/is-my-node-vulnerable@v1.2.0
uses: RafaelGSS/is-my-node-vulnerable@v1
with:

@@ -121,3 +121,3 @@ node-version: "18.14.1"

- name: Check Node.js
uses: RafaelGSS/is-my-node-vulnerable@v1.2.0
uses: RafaelGSS/is-my-node-vulnerable@v1
with:

@@ -124,0 +124,0 @@ node-version: "18.14.1"

@@ -42,2 +42,3 @@ const assert = require('assert')

// Platform specific
assert.ok(await isNodeVulnerable('22.4.0', 'win32'))
assert.ok(await isNodeVulnerable('19.0.0', 'linux'))

@@ -44,0 +45,0 @@ assert.ok(await isNodeVulnerable('18.0.0', 'win32'))

Sorry, the diff of this file is not supported yet

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