lockfile-lint-api
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -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 @@ |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39181