-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(emptyhostname): allow empty hostnames in lockfiles (#26)
BREAKING CHANGE: lockfile-lint-api internal method API has changed its function signature to allow receiving a value, and then an options object in a second argument. Relevant issues: - #23 - #25
- Loading branch information
Showing
7 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
packages/lockfile-lint/__tests__/fixtures/package-lock-empty-hostname.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "asdada", | ||
"version": "1.0.0", | ||
"lockfileVersion": 1, | ||
"requires": true, | ||
"dependencies": { | ||
"debug": { | ||
"version": "4.1.1", | ||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", | ||
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", | ||
"requires": { | ||
"ms": "^2.1.1" | ||
} | ||
}, | ||
"metalsmith-permalinks": { | ||
"version": "github:XhmikosR/metalsmith-permalinks#432843d5823a292b2e47397ba46fd761d03eb9d3", | ||
"from": "github:XhmikosR/metalsmith-permalinks#master", | ||
"requires": { | ||
"debug": "^4.1.1", | ||
"moment": "^2.24.0", | ||
"slugify": "^1.3.5", | ||
"substitute": "https://github.com/segment-boneyard/substitute/archive/0.1.0.tar.gz" | ||
}, | ||
"dependencies": { | ||
"substitute": { | ||
"version": "https://github.com/segment-boneyard/substitute/archive/0.1.0.tar.gz", | ||
"integrity": "sha512-2ccHCDdgHt0ZrXAFM/7G/3zEwMhsUfOKfwzSAv2vqO2JQcPpNAlp10e8F5uMa6zpGFYRrdy7BGLvBZsthHrLag==" | ||
} | ||
} | ||
}, | ||
"moment": { | ||
"version": "2.24.0", | ||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", | ||
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==" | ||
}, | ||
"ms": { | ||
"version": "2.1.2", | ||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", | ||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" | ||
}, | ||
"slugify": { | ||
"version": "1.3.6", | ||
"resolved": "https://registry.npmjs.org/slugify/-/slugify-1.3.6.tgz", | ||
"integrity": "sha512-wA9XS475ZmGNlEnYYLPReSfuz/c3VQsEMoU43mi6OnKMCdbnFXd4/Yg7J0lBv8jkPolacMpOrWEaoYxuE1+hoQ==" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters