Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .yarn/versions/d432d26e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
releases:
"@yarnpkg/plugin-essentials": patch

declined:
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/cli"
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class ExplainPeerRequirementsCommand extends BaseCommand {

When used without arguments, this command lists all peer requirements and the corresponding hash that can be used to get detailed information about a given requirement.

**Note:** A hash is a six-letter p-prefixed code that can be obtained from peer dependency warnings or from the list of all peer requirements (\`yarn explain peer-requirements\`).
**Note:** A hash is a seven-letter code consisting of the letter 'p' followed by six characters that can be obtained from peer dependency warnings or from the list of all peer requirements(\`yarn explain peer-requirements\`).
`,
examples: [[
`Explain the corresponding peer requirement for a hash`,
Expand All @@ -34,7 +34,7 @@ export default class ExplainPeerRequirementsCommand extends BaseCommand {
hash = Option.String({
required: false,
validator: t.cascade(t.isString(), [
t.matchesRegExp(/^p[0-9a-f]{5}$/),
t.matchesRegExp(/^p[0-9a-f]{6}$/),
]),
});

Expand Down
Loading