Find newer versions of package dependencies than what your package.json allows
This report summarizes scanner evidence for raineorshine/npm-check-updates, a TypeScript project with 10,317 GitHub stars. SynthScan examined 48,443 lines of code across 293 source files, recording 103 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 11.0 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 20 finding(s).
Are imports declared and package/API names verified? 83 finding(s).
Are wrappers, guards, and repeated structures necessary? 18 finding(s).
Which changes need focused human review? 103 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 103 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/logging.test.ts | 286 | print({ loglevel: 'silent' }, errorText(new Error('boom')), null, 'error'), | CODE |
| HIGH | test/logging.test.ts | 295 | print( | CODE |
| HIGH | src/index.ts | 51 | print(lastRunOptions ?? {}, errorText(reason), null, 'error') | CODE |
| HIGH | src/index.ts | 84 | print(options, message, 'error') | CODE |
| HIGH | src/index.ts | 128 | print(options, '') | CODE |
| HIGH | src/index.ts | 153 | print(options, '') | CODE |
| HIGH | src/index.ts | 171 | print(options, '') | CODE |
| HIGH | src/index.ts | 173 | print(options, 'Installing dependencies...') | CODE |
| HIGH⚡ | src/index.ts | 213 | print(options, stdout) | CODE |
| HIGH⚡ | src/index.ts | 214 | print(options, 'Done') | CODE |
| HIGH⚡ | src/index.ts | 220 | print(options, errorText(output), null, 'error') | CODE |
| HIGH | src/index.ts | 232 | print(options, `\n${installHint}.`) | CODE |
| HIGH⚡ | src/index.ts | 304 | print(pkgOptions, '') | CODE |
| HIGH⚡ | src/index.ts | 306 | print(pkgOptions, `${pkgOptions.upgrade ? 'Upgrading' : 'Checking'} ${relPathToPackage} catalog dependencies`) | CODE |
| HIGH⚡ | src/index.ts | 310 | print(pkgOptions, '') | CODE |
| HIGH | src/index.ts | 358 | print(options, '') | CODE |
| HIGH | src/index.ts | 398 | print(options, 'Initializing', 'verbose') | CODE |
| HIGH | src/index.ts | 433 | print(options, `Usage: ncu --doctor\n\n${help}`, 'warn') | CODE |
| HIGH | src/lib/doctor.ts | 300 | print(options, style.red(errorText(e)), null, 'error') | CODE |
| HIGH | src/lib/initOptions.ts | 125 | print(options, `Using config file ${options.rcConfigPath}`) | CODE |
| HIGH | src/lib/initOptions.ts | 141 | print(options, style.yellow(deprecationMessage), 'warn') | CODE |
| HIGH | src/lib/initOptions.ts | 143 | print(options, '', 'warn') | CODE |
| HIGH | src/lib/initOptions.ts | 247 | print({ ...options, json }, message) | CODE |
| HIGH | src/lib/initOptions.ts | 298 | print(resolvedOptionsFiltered, `Using ${packageManager}`) | CODE |
| HIGH | src/lib/runGlobal.ts | 13 | print(options, '\nOptions:', 'verbose') | CODE |
| HIGH | src/lib/runGlobal.ts | 16 | print(options, '\nGetting installed packages', 'verbose') | CODE |
| HIGH⚡ | src/lib/runGlobal.ts | 36 | print(options, 'globalPackages:', 'verbose') | CODE |
| HIGH⚡ | src/lib/runGlobal.ts | 37 | print(options, globalPackages, 'verbose') | CODE |
| HIGH⚡ | src/lib/runGlobal.ts | 38 | print(options, '', 'verbose') | CODE |
| HIGH⚡ | src/lib/runGlobal.ts | 39 | print(options, `Fetching ${options.target} versions`, 'verbose') | CODE |
| HIGH⚡ | src/lib/runGlobal.ts | 42 | print(options, latest, 'verbose') | CODE |
| HIGH | src/lib/runGlobal.ts | 74 | print( | CODE |
| HIGH | src/lib/programError.ts | 21 | print(options, color ? style.red(safe) : safe, null, 'error') | CODE |
| HIGH | src/lib/getPeerDependenciesFromRegistry.ts | 92 | print(options, `\nFailed to get the peer dependencies of ${pkg}@${version}:\n${errorText(err)}`, 'verbose') | CODE |
| HIGH | src/lib/getPeerDependenciesFromRegistry.ts | 122 | print( | CODE |
| HIGH | src/lib/runLocal.ts | 114 | print(options, '') | CODE |
| HIGH | src/lib/runLocal.ts | 171 | print(options, '\nOptions:', 'verbose') | CODE |
| HIGH | src/lib/runLocal.ts | 191 | print(options, '\nCurrent versions:', 'verbose') | CODE |
| HIGH | src/lib/runLocal.ts | 192 | print(options, current, 'verbose') | CODE |
| HIGH⚡ | src/lib/runLocal.ts | 223 | print(options, '\nupgradedPeerDependencies:', 'verbose') | CODE |
| HIGH⚡ | src/lib/runLocal.ts | 224 | print(options, upgradedPeerDependencies, 'verbose') | CODE |
| HIGH⚡ | src/lib/runLocal.ts | 227 | print( | CODE |
| HIGH⚡ | src/lib/runLocal.ts | 234 | print(options, latest, 'verbose') | CODE |
| HIGH⚡ | src/lib/runLocal.ts | 236 | print(options, '\nUpgraded versions:', 'verbose') | CODE |
| HIGH⚡ | src/lib/runLocal.ts | 237 | print(options, upgraded, 'verbose') | CODE |
| HIGH | src/lib/runLocal.ts | 331 | print(options, upgradeHint) | CODE |
| HIGH | src/lib/cache.ts | 129 | print( | CODE |
| HIGH | src/lib/cache.ts | 134 | print(options, cacheHits, 'verbose') | CODE |
| HIGH | src/lib/findPackage.ts | 34 | print(options, `${options.upgrade ? 'Upgrading' : 'Checking'} ${relPathToPackage}`) | CODE |
| HIGH⚡ | src/lib/findPackage.ts | 56 | print(options, 'Running in local mode', 'verbose') | CODE |
| HIGH⚡ | src/lib/findPackage.ts | 57 | print(options, 'Finding package file data', 'verbose') | CODE |
| HIGH⚡ | src/lib/findPackage.ts | 67 | print(options, 'Waiting for package data on stdin', 'verbose') | CODE |
| HIGH⚡ | src/lib/logging.ts | 403 | print(options, '\n' + heading) | CODE |
| HIGH⚡ | src/lib/logging.ts | 404 | print(options, table) | CODE |
| HIGH⚡ | src/lib/logging.ts | 410 | print( | CODE |
| HIGH⚡ | src/lib/logging.ts | 486 | print(options, '\n' + style.blue(style.bold('Updates'))) | CODE |
| HIGH⚡ | src/lib/logging.ts | 488 | print(options, '') | CODE |
| HIGH⚡ | src/lib/logging.ts | 497 | print(options, 'No dependencies.') | CODE |
| HIGH⚡ | src/lib/logging.ts | 506 | print( | CODE |
| HIGH⚡ | src/lib/logging.ts | 515 | print(options, `All global packages are up-to-date ${smiley}`) | CODE |
| 23 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/lib/getIgnoredUpgradesDueToEnginesNode.ts | 17 | export async function getIgnoredUpgradesDueToEnginesNode( | CODE |
| LOW | src/lib/version-util.ts | 478 | export function upgradeDependencyDeclaration( | CODE |
| LOW | src/lib/upgradePackageDefinitions.ts | 84 | export async function upgradePackageDefinitions( | CODE |
| LOW | src/lib/lockfiles.ts | 19 | export function packageManagerForLockfile(filename: string): PackageManagerName | null { | CODE |
| LOW | src/lib/resolveDistTagsInPeerDependencies.ts | 36 | async function resolveDistTagsInPeerDependencies( | CODE |
| LOW | src/lib/getDevEnginesPackageManagers.ts | 10 | export default function getDevEnginesPackageManagers(pkg: PackageFile): DevEnginesPackageManager[] { | CODE |
| LOW | src/lib/upgradeJsonCatalogDependencies.ts | 15 | export async function upgradeJsonCatalogDependencies( | CODE |
| LOW | src/lib/getPeerDependenciesFromRegistry.ts | 59 | async function getPeerDependenciesFromRegistry(packageMap: Index<Version>, options: Options) { | CODE |
| LOW | src/lib/queryVersions.ts | 39 | async function getPackageVersionProtected(dep: VersionSpec): Promise<VersionResult> { | CODE |
| LOW | src/lib/upgradePackageData.ts | 31 | function replaceDependencySections( | CODE |
| LOW | src/lib/getEnginesNodeFromRegistry.ts | 16 | async function getEnginesNodeFromRegistry(packageMap: Index<Version>, options: Options) { | CODE |
| LOW | src/lib/upgradeYamlCatalogDependencies.ts | 146 | export function updateYamlCatalogDependencies({ | CODE |
| LOW | src/lib/upgradeYamlCatalogDependencies.ts | 189 | export function updateYamlCatalogDependenciesAll({ | CODE |
| LOW | src/lib/getIgnoredUpgradesDueToPeerDeps.ts | 12 | export async function getIgnoredUpgradesDueToPeerDeps( | CODE |
| LOW⚡ | src/lib/logging.ts | 561 | export function printIgnoredUpdatesDueToEnginesNode( | CODE |
| LOW | src/lib/logging.ts | 301 | async function printSkippedByCooldownTable({ | CODE |
| LOW | src/lib/logging.ts | 544 | export function printIgnoredUpdatesDueToPeerDeps(options: Options, ignoredUpdates: Index<IgnoredUpgradeDueToPeerDeps>) { | CODE |
| LOW | src/package-managers/filters.ts | 16 | export function allowDeprecatedOrIsNotDeprecated(versionResult: Partial<Packument>, options: Options): boolean { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/e2e.sh | 120 | # Create a package.json file with a dependency on npm-check-updates since it is already published to the local registry | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/bin/cli.ts | 21 | // | COMMENT |