From 7e1e84181ccaca8a8b499a21b1aa7d731a14d5b7 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 9 Feb 2021 19:14:40 +0000 Subject: [PATCH] fix(docs): fix angle brackets in npm diff docs Emphasizing them like we do everywhere else to fix encoding errors and for consistency. Also removed the `` from the type definition as we don't do that anywhere else. PR-URL: https://github.com/npm/cli/pull/2662 Credit: @ethomson Close: #2662 Reviewed-by: @wraithgar --- docs/content/commands/npm-diff.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/commands/npm-diff.md b/docs/content/commands/npm-diff.md index 0ce5e8dc8baee..0fe6a68fa2f0f 100644 --- a/docs/content/commands/npm-diff.md +++ b/docs/content/commands/npm-diff.md @@ -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 will satisfy - its dependent declared semver-range. Once that specific version is known - `npm diff` will print diff patches comparing the current version of - found in the local file system with that specific version - returned by the registry. + what current published version of the package named `` + will satisfy its dependent declared semver-range. Once that specific + version is known `npm diff` will print diff patches comparing the + current version of `` found in the local file system with + that specific version returned by the registry. Given a package named `abbrev` that is currently installed: @@ -155,7 +155,7 @@ located within the folder `./lib/` and changed lines of code within the #### diff -* Type: Array +* Type: Array * Default: null Defines npm package specifiers to compare using the `npm diff` command.