Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update npm-diff to exclude angle brackets #2662

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/content/commands/npm-diff.md
Expand Up @@ -82,11 +82,11 @@ of files for packages published to the npm registry.
When using a single package name (with no version or tag specifier) as an
argument, `npm diff` will work in a similar way to
[`npm-outdated`](npm-outdated) and reach for the registry to figure out
what current published version of the package named <pkg-name> will satisfy
its dependent declared semver-range. Once that specific version is known
`npm diff` will print diff patches comparing the current version of
<pkg-name> found in the local file system with that specific version
returned by the registry.
what current published version of the package named &lt;pkg-name&gt;
will satisfy its dependent declared semver-range. Once that specific
version is known `npm diff` will print diff patches comparing the
current version of &lt;pkg-name&gt; found in the local file system with
that specific version returned by the registry.
ruyadorno marked this conversation as resolved.
Show resolved Hide resolved

Given a package named `abbrev` that is currently installed:

Expand Down Expand Up @@ -155,7 +155,7 @@ located within the folder `./lib/` and changed lines of code within the

#### diff

* Type: Array<String>
* Type: Array&lt;String&gt;
wraithgar marked this conversation as resolved.
Show resolved Hide resolved
* Default: null

Defines npm package specifiers to compare using the `npm diff` command.
Expand Down