Socket
Book a DemoInstallSign in
Socket

check-package-lock

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-package-lock

Checks the package-lock.json file for insecure http:// links

1.11.0
latest
Source
npmnpm
Version published
Weekly downloads
1.4K
-17.74%
Maintainers
1
Weekly downloads
 
Created
Source

check-package-lock

Checks the package-lock.json file for http:// links

What does it do?

check-package-lock can check if the package-lock.json file contain insecure http:// links

Usage

To check the package-lock.json file in the current folder:

npm install -g check-package-lock
check-package-lock

To check the package-lock.json file in another folder:

npm install -g check-package-lock
check-package-lock --folder 'nodefolder'

Exit codes

0 = No errors
1 = Errors were founds in the package-lock.json files
2 = package-lock.json was not found
3 = Folder specified does not exists
4 = Folder specified is not a folder

CI - Continuous Integration

check-package-lock can be used in CI environments to check your package-lock.json file before merging a pull request

Badges

CircleCI

codecov

StyleCI

Known Vulnerabilities

Total alerts

CodeFactor

DeepScan grade

Keywords

package

FAQs

Package last updated on 31 Oct 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.