lockfile-lint
Advanced tools
Comparing version 4.10.5 to 4.10.6
339
CHANGELOG.md
# Change Log | ||
## 4.10.6 | ||
### Patch Changes | ||
- [#165](https://github.com/lirantal/lockfile-lint/pull/165) [`625817f`](https://github.com/lirantal/lockfile-lint/commit/625817fa2087b7206eb373c6a6a1b237b4637215) Thanks [@lirantal](https://github.com/lirantal)! - Friendly error messages by referencing the long-form CLI flag | ||
All notable changes to this project will be documented in this file. | ||
@@ -8,11 +14,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
### Bug Fixes | ||
* error variable was shadowed by function ([#162](https://github.com/lirantal/lockfile-lint/issues/162)) ([17fe528](https://github.com/lirantal/lockfile-lint/commit/17fe528)) | ||
- error variable was shadowed by function ([#162](https://github.com/lirantal/lockfile-lint/issues/162)) ([17fe528](https://github.com/lirantal/lockfile-lint/commit/17fe528)) | ||
## 4.10.4 (2023-05-24) | ||
@@ -22,6 +23,2 @@ | ||
## 4.10.3 (2023-05-24) | ||
@@ -31,17 +28,8 @@ | ||
## 4.10.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)) | ||
- 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)) | ||
## 4.10.1 (2023-02-13) | ||
@@ -51,39 +39,20 @@ | ||
# 4.10.0 (2022-12-26) | ||
### Features | ||
* add support for yarn berry lockfiles ([#147](https://github.com/lirantal/lockfile-lint/issues/147)) ([d4cf64d](https://github.com/lirantal/lockfile-lint/commit/d4cf64d)) | ||
- add support for yarn berry lockfiles ([#147](https://github.com/lirantal/lockfile-lint/issues/147)) ([d4cf64d](https://github.com/lirantal/lockfile-lint/commit/d4cf64d)) | ||
## 4.9.6 (2022-10-08) | ||
### Bug Fixes | ||
* cli parsing - handle correctly false value for validator ([#146](https://github.com/lirantal/lockfile-lint/issues/146)) ([8f7e4c7](https://github.com/lirantal/lockfile-lint/commit/8f7e4c7)) | ||
- cli parsing - handle correctly false value for validator ([#146](https://github.com/lirantal/lockfile-lint/issues/146)) ([8f7e4c7](https://github.com/lirantal/lockfile-lint/commit/8f7e4c7)) | ||
## 4.9.5 (2022-09-30) | ||
### Bug Fixes | ||
* **integrity:** rename command-line argument from `--validate-integrity-sha512` to `--validate-integrity` ([#144](https://github.com/lirantal/lockfile-lint/issues/144)) ([a29d18b](https://github.com/lirantal/lockfile-lint/commit/a29d18b)) | ||
- **integrity:** rename command-line argument from `--validate-integrity-sha512` to `--validate-integrity` ([#144](https://github.com/lirantal/lockfile-lint/issues/144)) ([a29d18b](https://github.com/lirantal/lockfile-lint/commit/a29d18b)) | ||
## 4.9.4 (2022-09-27) | ||
@@ -93,6 +62,2 @@ | ||
## 4.9.3 (2022-09-26) | ||
@@ -102,17 +67,8 @@ | ||
## 4.9.2 (2022-09-26) | ||
### Bug Fixes | ||
* too noisy error messages ([#139](https://github.com/lirantal/lockfile-lint/issues/139)) ([ab2ee5d](https://github.com/lirantal/lockfile-lint/commit/ab2ee5d)) | ||
- too noisy error messages ([#139](https://github.com/lirantal/lockfile-lint/issues/139)) ([ab2ee5d](https://github.com/lirantal/lockfile-lint/commit/ab2ee5d)) | ||
## 4.9.1 (2022-09-26) | ||
@@ -122,28 +78,14 @@ | ||
# 4.9.0 (2022-09-26) | ||
### Features | ||
* **validator:** add new integrity hash type validator ([#135](https://github.com/lirantal/lockfile-lint/issues/135)) ([46d0fa7](https://github.com/lirantal/lockfile-lint/commit/46d0fa7)) | ||
- **validator:** add new integrity hash type validator ([#135](https://github.com/lirantal/lockfile-lint/issues/135)) ([46d0fa7](https://github.com/lirantal/lockfile-lint/commit/46d0fa7)) | ||
# 4.8.0 (2022-08-10) | ||
### Features | ||
* add format options for report output ([#134](https://github.com/lirantal/lockfile-lint/issues/134)) ([4667c3d](https://github.com/lirantal/lockfile-lint/commit/4667c3d)) | ||
- add format options for report output ([#134](https://github.com/lirantal/lockfile-lint/issues/134)) ([4667c3d](https://github.com/lirantal/lockfile-lint/commit/4667c3d)) | ||
## 4.7.7 (2022-07-22) | ||
@@ -153,28 +95,14 @@ | ||
## 4.7.6 (2022-07-02) | ||
### Bug Fixes | ||
* **lockfile-lint-api:** remove extra console.log in yarn.lock parsing ([#131](https://github.com/lirantal/lockfile-lint/issues/131)) ([75bb6d2](https://github.com/lirantal/lockfile-lint/commit/75bb6d2)) | ||
- **lockfile-lint-api:** remove extra console.log in yarn.lock parsing ([#131](https://github.com/lirantal/lockfile-lint/issues/131)) ([75bb6d2](https://github.com/lirantal/lockfile-lint/commit/75bb6d2)) | ||
## 4.7.5 (2022-06-11) | ||
### Bug Fixes | ||
* continues [#125](https://github.com/lirantal/lockfile-lint/issues/125) with lockfile update ([#130](https://github.com/lirantal/lockfile-lint/issues/130)) ([988347f](https://github.com/lirantal/lockfile-lint/commit/988347f)) | ||
- continues [#125](https://github.com/lirantal/lockfile-lint/issues/125) with lockfile update ([#130](https://github.com/lirantal/lockfile-lint/issues/130)) ([988347f](https://github.com/lirantal/lockfile-lint/commit/988347f)) | ||
## 4.7.4 (2022-03-13) | ||
@@ -184,6 +112,2 @@ | ||
## 4.7.3 (2022-03-10) | ||
@@ -193,6 +117,2 @@ | ||
## 4.7.2 (2022-03-10) | ||
@@ -202,6 +122,2 @@ | ||
## 4.7.1 (2022-03-10) | ||
@@ -211,28 +127,14 @@ | ||
# 4.7.0 (2022-03-09) | ||
### Features | ||
* validate package names ([#114](https://github.com/lirantal/lockfile-lint/issues/114)) ([7aa0b3d](https://github.com/lirantal/lockfile-lint/commit/7aa0b3d)) | ||
- validate package names ([#114](https://github.com/lirantal/lockfile-lint/issues/114)) ([7aa0b3d](https://github.com/lirantal/lockfile-lint/commit/7aa0b3d)) | ||
## 4.6.3 (2021-05-04) | ||
### Bug Fixes | ||
* missing git step on release with lerna ([#111](https://github.com/lirantal/lockfile-lint/issues/111)) ([5fcd65b](https://github.com/lirantal/lockfile-lint/commit/5fcd65b)) | ||
- missing git step on release with lerna ([#111](https://github.com/lirantal/lockfile-lint/issues/111)) ([5fcd65b](https://github.com/lirantal/lockfile-lint/commit/5fcd65b)) | ||
## [4.6.2](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.6.1...lockfile-lint@4.6.2) (2021-02-26) | ||
@@ -242,6 +144,2 @@ | ||
## [4.6.1](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.6.0...lockfile-lint@4.6.1) (2021-02-20) | ||
@@ -251,83 +149,44 @@ | ||
# [4.6.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.8...lockfile-lint@4.6.0) (2021-02-19) | ||
### Features | ||
* use log sysmbols for easier to read output ([#21](https://github.com/lirantal/lockfile-lint/issues/21)) ([#104](https://github.com/lirantal/lockfile-lint/issues/104)) ([281c8ec](https://github.com/lirantal/lockfile-lint/commit/281c8ec)) | ||
- use log sysmbols for easier to read output ([#21](https://github.com/lirantal/lockfile-lint/issues/21)) ([#104](https://github.com/lirantal/lockfile-lint/issues/104)) ([281c8ec](https://github.com/lirantal/lockfile-lint/commit/281c8ec)) | ||
# [4.5.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.8...lockfile-lint@4.5.0) (2021-02-19) | ||
### Features | ||
* use log sysmbols for easier to read output ([#21](https://github.com/lirantal/lockfile-lint/issues/21)) ([#104](https://github.com/lirantal/lockfile-lint/issues/104)) ([281c8ec](https://github.com/lirantal/lockfile-lint/commit/281c8ec)) | ||
- use log sysmbols for easier to read output ([#21](https://github.com/lirantal/lockfile-lint/issues/21)) ([#104](https://github.com/lirantal/lockfile-lint/issues/104)) ([281c8ec](https://github.com/lirantal/lockfile-lint/commit/281c8ec)) | ||
# [4.4.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.8...lockfile-lint@4.4.0) (2021-02-09) | ||
### Features | ||
* use log sysmbols for easier to read output ([#21](https://github.com/lirantal/lockfile-lint/issues/21)) ([#104](https://github.com/lirantal/lockfile-lint/issues/104)) ([281c8ec](https://github.com/lirantal/lockfile-lint/commit/281c8ec)) | ||
- use log sysmbols for easier to read output ([#21](https://github.com/lirantal/lockfile-lint/issues/21)) ([#104](https://github.com/lirantal/lockfile-lint/issues/104)) ([281c8ec](https://github.com/lirantal/lockfile-lint/commit/281c8ec)) | ||
## [4.3.8](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.7...lockfile-lint@4.3.8) (2020-11-21) | ||
### Bug Fixes | ||
* packages/lockfile-lint/package.json to reduce vulnerabilities ([#98](https://github.com/lirantal/lockfile-lint/issues/98)) ([2aed559](https://github.com/lirantal/lockfile-lint/commit/2aed559)) | ||
- packages/lockfile-lint/package.json to reduce vulnerabilities ([#98](https://github.com/lirantal/lockfile-lint/issues/98)) ([2aed559](https://github.com/lirantal/lockfile-lint/commit/2aed559)) | ||
## [4.3.7](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.6...lockfile-lint@4.3.7) (2020-06-24) | ||
### Bug Fixes | ||
* **readme:** update docs for allowed-schemes ([#97](https://github.com/lirantal/lockfile-lint/issues/97)) ([e763b99](https://github.com/lirantal/lockfile-lint/commit/e763b99)), closes [#91](https://github.com/lirantal/lockfile-lint/issues/91) | ||
- **readme:** update docs for allowed-schemes ([#97](https://github.com/lirantal/lockfile-lint/issues/97)) ([e763b99](https://github.com/lirantal/lockfile-lint/commit/e763b99)), closes [#91](https://github.com/lirantal/lockfile-lint/issues/91) | ||
## [4.3.6](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.5...lockfile-lint@4.3.6) (2020-05-14) | ||
### Bug Fixes | ||
* **windows:** remove emoji from output not supported on windows ([#96](https://github.com/lirantal/lockfile-lint/issues/96)) ([6115d68](https://github.com/lirantal/lockfile-lint/commit/6115d68)) | ||
- **windows:** remove emoji from output not supported on windows ([#96](https://github.com/lirantal/lockfile-lint/issues/96)) ([6115d68](https://github.com/lirantal/lockfile-lint/commit/6115d68)) | ||
## [4.3.5](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.4...lockfile-lint@4.3.5) (2020-05-14) | ||
### Bug Fixes | ||
* all debug under lockfile-lint namespace ([#95](https://github.com/lirantal/lockfile-lint/issues/95)) ([a86485b](https://github.com/lirantal/lockfile-lint/commit/a86485b)) | ||
- all debug under lockfile-lint namespace ([#95](https://github.com/lirantal/lockfile-lint/issues/95)) ([a86485b](https://github.com/lirantal/lockfile-lint/commit/a86485b)) | ||
## [4.3.4](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.3...lockfile-lint@4.3.4) (2020-05-13) | ||
@@ -337,39 +196,20 @@ | ||
## [4.3.3](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.1...lockfile-lint@4.3.3) (2020-05-13) | ||
### Bug Fixes | ||
* bump package ver that skipped releases ([7d239ca](https://github.com/lirantal/lockfile-lint/commit/7d239ca)) | ||
- bump package ver that skipped releases ([7d239ca](https://github.com/lirantal/lockfile-lint/commit/7d239ca)) | ||
## [4.3.1](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.0...lockfile-lint@4.3.1) (2020-05-13) | ||
### Bug Fixes | ||
* **readme:** update example 3 remove invalid argument ([#90](https://github.com/lirantal/lockfile-lint/issues/90)) ([828868c](https://github.com/lirantal/lockfile-lint/commit/828868c)) | ||
- **readme:** update example 3 remove invalid argument ([#90](https://github.com/lirantal/lockfile-lint/issues/90)) ([828868c](https://github.com/lirantal/lockfile-lint/commit/828868c)) | ||
# [4.3.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.2.2...lockfile-lint@4.3.0) (2020-04-30) | ||
### Features | ||
* add validation success console message ([#87](https://github.com/lirantal/lockfile-lint/issues/87)) ([3ff6eb8](https://github.com/lirantal/lockfile-lint/commit/3ff6eb8)) | ||
- add validation success console message ([#87](https://github.com/lirantal/lockfile-lint/issues/87)) ([3ff6eb8](https://github.com/lirantal/lockfile-lint/commit/3ff6eb8)) | ||
## [4.2.2](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.2.1...lockfile-lint@4.2.2) (2020-03-25) | ||
@@ -379,79 +219,44 @@ | ||
## [4.2.1](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.2.0...lockfile-lint@4.2.1) (2020-03-24) | ||
### Bug Fixes | ||
* **readme:** update README with --allowed-urls option ([#83](https://github.com/lirantal/lockfile-lint/issues/83)) ([237b680](https://github.com/lirantal/lockfile-lint/commit/237b680)) | ||
- **readme:** update README with --allowed-urls option ([#83](https://github.com/lirantal/lockfile-lint/issues/83)) ([237b680](https://github.com/lirantal/lockfile-lint/commit/237b680)) | ||
# [4.2.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.1.0...lockfile-lint@4.2.0) (2020-03-23) | ||
### Features | ||
* **validators:** add URL validator ([#52](https://github.com/lirantal/lockfile-lint/issues/52)) ([e81ffe9](https://github.com/lirantal/lockfile-lint/commit/e81ffe9)) | ||
- **validators:** add URL validator ([#52](https://github.com/lirantal/lockfile-lint/issues/52)) ([e81ffe9](https://github.com/lirantal/lockfile-lint/commit/e81ffe9)) | ||
# [4.1.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.0.0...lockfile-lint@4.1.0) (2020-03-09) | ||
### Features | ||
* **cli:** add file-based configuration ([#75](https://github.com/lirantal/lockfile-lint/issues/75)) ([e183593](https://github.com/lirantal/lockfile-lint/commit/e183593)) | ||
- **cli:** add file-based configuration ([#75](https://github.com/lirantal/lockfile-lint/issues/75)) ([e183593](https://github.com/lirantal/lockfile-lint/commit/e183593)) | ||
# [4.0.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.18...lockfile-lint@4.0.0) (2020-02-20) | ||
### Bug Fixes | ||
* **cli:** conflicting arguments will error ([#72](https://github.com/lirantal/lockfile-lint/issues/72)) ([3e0eb59](https://github.com/lirantal/lockfile-lint/commit/3e0eb59)) | ||
- **cli:** conflicting arguments will error ([#72](https://github.com/lirantal/lockfile-lint/issues/72)) ([3e0eb59](https://github.com/lirantal/lockfile-lint/commit/3e0eb59)) | ||
### BREAKING CHANGES | ||
* **cli:** CLI may show an error when arguments | ||
conflict and the order of short and long options was reversed | ||
to be more descriptive on CLI options errors. | ||
- **cli:** CLI may show an error when arguments | ||
conflict and the order of short and long options was reversed | ||
to be more descriptive on CLI options errors. | ||
## [3.0.18](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.17...lockfile-lint@3.0.18) (2020-02-10) | ||
### Bug Fixes | ||
* **tests:** shebangs don't work on Windows ([#71](https://github.com/lirantal/lockfile-lint/issues/71)) ([6baff98](https://github.com/lirantal/lockfile-lint/commit/6baff98)) | ||
- **tests:** shebangs don't work on Windows ([#71](https://github.com/lirantal/lockfile-lint/issues/71)) ([6baff98](https://github.com/lirantal/lockfile-lint/commit/6baff98)) | ||
## [3.0.17](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.16...lockfile-lint@3.0.17) (2020-02-10) | ||
### Bug Fixes | ||
* **cli:** use `path.join` when concatenating paths ([#70](https://github.com/lirantal/lockfile-lint/issues/70)) ([4fa9090](https://github.com/lirantal/lockfile-lint/commit/4fa9090)) | ||
- **cli:** use `path.join` when concatenating paths ([#70](https://github.com/lirantal/lockfile-lint/issues/70)) ([4fa9090](https://github.com/lirantal/lockfile-lint/commit/4fa9090)) | ||
## [3.0.16](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.15...lockfile-lint@3.0.16) (2020-02-10) | ||
@@ -461,6 +266,2 @@ | ||
## [3.0.15](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.14...lockfile-lint@3.0.15) (2020-02-10) | ||
@@ -470,28 +271,14 @@ | ||
## [3.0.14](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.13...lockfile-lint@3.0.14) (2020-02-10) | ||
### Bug Fixes | ||
* **cli:** REVERT conflicting arguments will error ([#64](https://github.com/lirantal/lockfile-lint/issues/64)) ([b9768ad](https://github.com/lirantal/lockfile-lint/commit/b9768ad)) | ||
- **cli:** REVERT conflicting arguments will error ([#64](https://github.com/lirantal/lockfile-lint/issues/64)) ([b9768ad](https://github.com/lirantal/lockfile-lint/commit/b9768ad)) | ||
## [3.0.13](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.12...lockfile-lint@3.0.13) (2020-02-10) | ||
### Bug Fixes | ||
* **cli:** conflicting arguments will error ([#64](https://github.com/lirantal/lockfile-lint/issues/64)) ([2d451c9](https://github.com/lirantal/lockfile-lint/commit/2d451c9)) | ||
- **cli:** conflicting arguments will error ([#64](https://github.com/lirantal/lockfile-lint/issues/64)) ([2d451c9](https://github.com/lirantal/lockfile-lint/commit/2d451c9)) | ||
## [3.0.12](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.11...lockfile-lint@3.0.12) (2020-02-04) | ||
@@ -501,6 +288,2 @@ | ||
## [3.0.11](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.10...lockfile-lint@3.0.11) (2020-02-04) | ||
@@ -510,6 +293,2 @@ | ||
## [3.0.10](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.9...lockfile-lint@3.0.10) (2020-02-03) | ||
@@ -519,6 +298,2 @@ | ||
## [3.0.9](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.8...lockfile-lint@3.0.9) (2020-01-26) | ||
@@ -528,6 +303,2 @@ | ||
## [3.0.8](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.7...lockfile-lint@3.0.8) (2020-01-17) | ||
@@ -537,6 +308,2 @@ | ||
## [3.0.7](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.6...lockfile-lint@3.0.7) (2020-01-17) | ||
@@ -546,6 +313,2 @@ | ||
## [3.0.6](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.5...lockfile-lint@3.0.6) (2020-01-16) | ||
@@ -555,6 +318,2 @@ | ||
## [3.0.5](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.4...lockfile-lint@3.0.5) (2019-12-23) | ||
@@ -564,6 +323,2 @@ | ||
## [3.0.4](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.3...lockfile-lint@3.0.4) (2019-12-18) | ||
@@ -573,6 +328,2 @@ | ||
## [3.0.3](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.2...lockfile-lint@3.0.3) (2019-11-28) | ||
@@ -582,6 +333,2 @@ | ||
## [3.0.2](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.1...lockfile-lint@3.0.2) (2019-11-22) | ||
@@ -591,6 +338,2 @@ | ||
## [3.0.1](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.0...lockfile-lint@3.0.1) (2019-11-22) | ||
@@ -600,6 +343,2 @@ | ||
# [3.0.0](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@2.2.0...lockfile-lint@3.0.0) (2019-11-22) | ||
@@ -606,0 +345,0 @@ |
{ | ||
"name": "lockfile-lint", | ||
"version": "4.10.5", | ||
"version": "4.10.6", | ||
"description": "A CLI to lint a lockfile for security policies", | ||
@@ -182,4 +182,3 @@ "bin": { | ||
} | ||
}, | ||
"gitHead": "914ece489c48c8e7f3b584f784cce8f318c2e81e" | ||
} | ||
} |
@@ -32,4 +32,4 @@ 'use strict' | ||
.options({ | ||
p: { | ||
alias: ['path'], | ||
path: { | ||
alias: ['p'], | ||
type: 'string', | ||
@@ -39,14 +39,14 @@ describe: 'path to the lockfile', | ||
}, | ||
t: { | ||
alias: ['type'], | ||
type: { | ||
alias: ['t'], | ||
type: 'string', | ||
describe: 'lockfile type, options are "npm" or "yarn"' | ||
}, | ||
s: { | ||
alias: ['validate-https'], | ||
'validate-https': { | ||
alias: ['s'], | ||
type: 'boolean', | ||
describe: 'validates the use of HTTPS as protocol schema for all resources' | ||
}, | ||
n: { | ||
alias: ['validate-package-names'], | ||
'validate-package-names': { | ||
alias: ['n'], | ||
type: 'boolean', | ||
@@ -57,9 +57,9 @@ describe: | ||
}, | ||
i: { | ||
alias: ['validate-integrity'], | ||
'validate-integrity': { | ||
alias: ['i'], | ||
type: 'boolean', | ||
describe: 'validates that the integrity hash type is sha512' | ||
}, | ||
e: { | ||
alias: 'empty-hostname', | ||
'empty-hostname': { | ||
alias: 'e', | ||
type: 'boolean', | ||
@@ -69,9 +69,9 @@ default: true, | ||
}, | ||
a: { | ||
alias: ['allowed-hosts'], | ||
'allowed-hosts': { | ||
alias: ['a'], | ||
type: 'array', | ||
describe: 'validates a whitelist of allowed hosts to be used for resources in the lockfile' | ||
}, | ||
o: { | ||
alias: ['allowed-schemes'], | ||
'allowed-schemes': { | ||
alias: ['o'], | ||
type: 'array', | ||
@@ -82,9 +82,9 @@ describe: | ||
}, | ||
u: { | ||
alias: ['allowed-urls'], | ||
'allowed-urls': { | ||
alias: ['u'], | ||
type: 'array', | ||
describe: 'validates a whitelist of allowed URLs to be used for resources in the lockfile' | ||
}, | ||
f: { | ||
alias: ['format'], | ||
format: { | ||
alias: ['f'], | ||
type: 'string', | ||
@@ -91,0 +91,0 @@ description: 'format of the report output', |
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
55477