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: v15.0.2
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: v15.0.3
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Jul 5, 2022

  1. Copy the full SHA
    d56bba2 View commit details
  2. 15.0.3

    raineorshine committed Jul 5, 2022
    Copy the full SHA
    19c0503 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/runLocal.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": "15.0.2",
"version": "15.0.3",
"author": "Tomas Junnonen <tomas1@gmail.com>",
"license": "Apache-2.0",
"contributors": [
4 changes: 3 additions & 1 deletion src/lib/runLocal.ts
Original file line number Diff line number Diff line change
@@ -173,7 +173,9 @@ async function runLocal(
})
} else {
const ncuCmd = process.env.npm_lifecycle_event === 'npx' ? 'npx npm-check-updates' : 'ncu'
print(options, `\nRun ${chalk.cyan(`${ncuCmd} -u`)} to upgrade ${getPackageFileName(options)}`)
const argv = process.argv.slice(2).join(' ')
const ncuOptions = argv ? ' ' + argv : argv
print(options, `\nRun ${chalk.cyan(`${ncuCmd}${ncuOptions} -u`)} to upgrade ${getPackageFileName(options)}`)
}
}