From d9c553b695739f29d5a4814b08f780bf2061db91 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 28 Sep 2025 16:48:55 -0400 Subject: [PATCH 1/3] docs: fix spelling: also Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- workspaces/libnpmdiff/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/libnpmdiff/README.md b/workspaces/libnpmdiff/README.md index b8eb083bdded7..5bfe9b367c1c9 100644 --- a/workspaces/libnpmdiff/README.md +++ b/workspaces/libnpmdiff/README.md @@ -70,7 +70,7 @@ Happy hacking! #### `> libnpmdif([ a, b ], [opts]) -> Promise` -Fetches the registry tarballs and compare files between a spec `a` and spec `b`. **npm** spec types are usually described in `@` form but multiple other types are alsos supported, for more info on valid specs take a look at [`npm-package-arg`](https://github.com/npm/npm-package-arg). +Fetches the registry tarballs and compare files between a spec `a` and spec `b`. **npm** spec types are usually described in `@` form but multiple other types are also supported, for more info on valid specs take a look at [`npm-package-arg`](https://github.com/npm/npm-package-arg). **Options**: From c7ce1bb141cc6431145d4a13f4bb13907bbaf7b4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 28 Sep 2025 18:14:52 -0400 Subject: [PATCH 2/3] docs: fix spelling: fulfills Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- workspaces/libnpmdiff/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/libnpmdiff/README.md b/workspaces/libnpmdiff/README.md index 5bfe9b367c1c9..b5a07de44e9dd 100644 --- a/workspaces/libnpmdiff/README.md +++ b/workspaces/libnpmdiff/README.md @@ -86,7 +86,7 @@ Fetches the registry tarballs and compare files between a spec `a` and spec `b`. - `diffText `: Should treat all files as text and try to print diff for binary files. Defaults to `false`. - ...`cache`, `registry`, `where` and other common options accepted by [pacote](https://github.com/npm/pacote#options) -Returns a `Promise` that fullfils with a `String` containing the resulting patch diffs. +Returns a `Promise` that fulfills with a `String` containing the resulting patch diffs. Throws an error if either `a` or `b` are missing or if trying to diff more than two specs. From 8629bc5ee99bc0ebf646a41902907fab7b2f1770 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 28 Sep 2025 18:39:25 -0400 Subject: [PATCH 3/3] docs: fix spelling: string Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- workspaces/libnpmdiff/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/libnpmdiff/README.md b/workspaces/libnpmdiff/README.md index b5a07de44e9dd..43cd3e1fb3be2 100644 --- a/workspaces/libnpmdiff/README.md +++ b/workspaces/libnpmdiff/README.md @@ -75,7 +75,7 @@ Fetches the registry tarballs and compare files between a spec `a` and spec `b`. **Options**: - `color `: Should add ANSI colors to string output? Defaults to `false`. -- `tagVersionPrefix `: What prefix should be used to define version numbers. Defaults to `v` +- `tagVersionPrefix `: What prefix should be used to define version numbers. Defaults to `v` - `diffUnified `: How many lines of code to print before/after each diff. Defaults to `3`. - `diffFiles >`: If set only prints patches for the files listed in this array (also accepts globs). Defaults to `undefined`. - `diffIgnoreAllSpace `: Whether or not should ignore changes in whitespace (very useful to avoid indentation changes extra diff lines). Defaults to `false`.