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

lockfile-lint-api

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lockfile-lint-api - npm Package Compare versions

Comparing version 5.5.1 to 5.5.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## 5.5.2 (2023-05-23)
### Bug Fixes
* error handling for empty yarn lock files ([#158](https://github.com/lirantal/lockfile-lint/issues/158)) ([#159](https://github.com/lirantal/lockfile-lint/issues/159)) ([bb96f4c](https://github.com/lirantal/lockfile-lint/commit/bb96f4c))
## 5.5.1 (2023-02-13)

@@ -8,0 +19,0 @@

4

package.json
{
"name": "lockfile-lint-api",
"version": "5.5.1",
"version": "5.5.2",
"description": "Lint an npm or yarn lockfile to analyze and detect issues",

@@ -177,3 +177,3 @@ "main": "index.js",

},
"gitHead": "969ed058ed0037821ca5d681822e561dbe6d823c"
"gitHead": "774616275749d275086a8476d10314a5eb8b4263"
}

@@ -24,2 +24,5 @@ // @ts-check

function checkSampleContent (lockfile, isYarnBerry) {
if (Object.entries(lockfile).length < (isYarnBerry ? 2 : 1)) {
return false
}
const [sampleKey, sampleValue] = Object.entries(lockfile)[isYarnBerry ? 1 : 0]

@@ -26,0 +29,0 @@ return (

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