Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: raineorshine/npm-check-updates
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v16.3.6
Choose a base ref
...
head repository: raineorshine/npm-check-updates
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v16.3.7
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 2, 2022

  1. doctor: Disable interactive mode.

    It may be specified in the user's ncurc, but doctor mode should never require user interaction.
    raineorshine committed Oct 2, 2022
    Copy the full SHA
    817deb6 View commit details
  2. 16.3.7

    raineorshine committed Oct 2, 2022
    Copy the full SHA
    a2ef5c9 View commit details
Showing with 6 additions and 4 deletions.
  1. +2 −2 package-lock.json
  2. +1 −1 package.json
  3. +3 −1 src/lib/doctor.ts
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-check-updates",
"version": "16.3.6",
"version": "16.3.7",
"author": "Tomas Junnonen <tomas1@gmail.com>",
"license": "Apache-2.0",
"contributors": [
4 changes: 3 additions & 1 deletion src/lib/doctor.ts
Original file line number Diff line number Diff line change
@@ -142,8 +142,10 @@ const doctor = async (run: Run, options: Options) => {
)
const upgrades = (await run({
...options,
interactive: false,
silent: true,
doctor: false, // --doctor triggers the initial call to doctor, but the internal call executes npm-check-updates normally in order to upgrade the dependencies
// --doctor triggers the initial call to doctor, but the internal call needs to executes npm-check-updates normally in order to upgrade the dependencies
doctor: false,
})) as Index<string>

if (Object.keys(upgrades || {}).length === 0) {