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

lockfile-lint-api

Package Overview
Dependencies
Maintainers
1
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.0.3 to 5.0.4

8

CHANGELOG.md

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

## [5.0.4](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint-api@5.0.3...lockfile-lint-api@5.0.4) (2019-12-23)
**Note:** Version bump only for package lockfile-lint-api
## [5.0.3](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint-api@5.0.2...lockfile-lint-api@5.0.3) (2019-12-18)

@@ -8,0 +16,0 @@

4

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

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

},
"gitHead": "acbdc9a7aa94fcbf04697e5b6e5c33e1281e586b"
"gitHead": "6c86dfc306bbfd4c82166cbbdad2bdd9899308cf"
}

@@ -111,12 +111,12 @@ <p align="center"><h1 align="center">

```js
const {ValidateHost, ParseLockFile} = require('lockfile-lint-api')
const {ValidateHost, ParseLockfile} = require('lockfile-lint-api')
// path to the lockfile
const yarnLockFilePath = '/path/to/my/yarn.lock'
const yarnLockfilePath = '/path/to/my/yarn.lock'
const options = {
lockfilePath: yarnLockFilePath
lockfilePath: yarnLockfilePath
}
// instantiate a new parser with options object
const parser = new ParseLockFile(options)
const parser = new ParseLockfile(options)

@@ -123,0 +123,0 @@ // read the file synchronously and parses it

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