SYMBOL INDEX (218 symbols across 94 files) FILE: src/index.ts function runUpgrades (line 217) | async function runUpgrades(options: Options, timeout?: NodeJS.Timeout): ... function run (line 329) | async function run( FILE: src/lib/cache.ts constant CACHE_DELIMITER (line 10) | const CACHE_DELIMITER = '___' function checkCacheExpiration (line 19) | function checkCacheExpiration(cacheData: CacheData, cacheExpiration = 10) { function resolveCacheFile (line 34) | function resolveCacheFile(optionsCacheFile: string) { function cacheClear (line 39) | async function cacheClear(options: Options) { function cacher (line 53) | async function cacher(options: Omit): Promise string) & { bold: (s: any) => string } FILE: src/lib/defineConfig.ts function defineConfig (line 7) | function defineConfig(config: RcOptions) { FILE: src/lib/doctor.ts type Run (line 19) | type Run = (options?: Options) => Promise; catalogs?: Index, op... FILE: src/lib/getIgnoredUpgradesDueToEnginesNode.ts function getIgnoredUpgradesDueToEnginesNode (line 17) | async function getIgnoredUpgradesDueToEnginesNode( FILE: src/lib/getIgnoredUpgradesDueToPeerDeps.ts function getIgnoredUpgradesDueToPeerDeps (line 11) | async function getIgnoredUpgradesDueToPeerDeps( FILE: src/lib/getInstalledPackages.ts function getInstalledPackages (line 20) | async function getInstalledPackages(options: Options = {}) { FILE: src/lib/getNcuRc.ts function getNcuRc (line 10) | async function getNcuRc({ FILE: src/lib/getPackageJson.ts function getPackageJson (line 7) | async function getPackageJson( FILE: src/lib/getPackageManager.ts function getPackageManager (line 15) | function getPackageManager(options: Options, name: Maybe): Packa... FILE: src/lib/getPackageVersion.ts function getPackageVersion (line 9) | async function getPackageVersion( FILE: src/lib/getPeerDependenciesFromRegistry.ts type CircularData (line 8) | type CircularData = function isCircularPeer (line 22) | function isCircularPeer(peerDependencies: Index>, packageN... function getPeerDependenciesFromRegistry (line 52) | async function getPeerDependenciesFromRegistry(packageMap: Index) { FILE: src/lib/getRepoUrl.ts function getPackageRepo (line 8) | async function getPackageRepo( function getRepoUrl (line 26) | async function getRepoUrl( FILE: src/lib/initOptions.ts function parseFilterExpression (line 20) | function parseFilterExpression(filterExpression: FilterPattern | undefin... function isValidUrl (line 35) | function isValidUrl(url: string): boolean { function initOptions (line 46) | async function initOptions(runOptions: RunOptions, { cli }: { cli?: bool... FILE: src/lib/isUpgradeable.ts function isUpgradeable (line 15) | function isUpgradeable(current: VersionSpec, latest: Version, { downgrad... FILE: src/lib/keyValueBy.ts type KeyValueGenerator (line 3) | type KeyValueGenerator = (key: K, value: V, accum: Index) =>... type ArrayKeyValueGenerator (line 4) | type ArrayKeyValueGenerator = KeyValueGenerator type ObjectKeyValueGenerator (line 5) | type ObjectKeyValueGenerator = KeyValueGenerator function keyValueBy (line 16) | function keyValueBy( FILE: src/lib/libnpmconfig/index.js method other (line 19) | other() { function getNpmConfig (line 37) | function getNpmConfig(_opts, _builtin) { function maybeReadIni (line 80) | function maybeReadIni(f) { function getGlobalPrefix (line 95) | function getGlobalPrefix() { FILE: src/lib/logging.ts type LogLevel (line 26) | type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'verbose' | 'sill... function print (line 55) | function print( function printJson (line 75) | function printJson(options: Options, object: any) { function printSimpleJoinedString (line 82) | function printSimpleJoinedString(object: any, join: string) { function printSorted (line 91) | function printSorted(options: Options,... function renderDependencyTable (line 101) | function renderDependencyTable(rows: string[][]) { function getVersion (line 140) | function getVersion(dep: string): string { function toDependencyTable (line 153) | async function toDependencyTable({ function printUpgradesTable (line 229) | async function printUpgradesTable( function printErrors (line 283) | function printErrors(options: Options, errors?: Index) { function printUpgrades (line 320) | async function printUpgrades( function printIgnoredUpdatesDueToPeerDeps (line 401) | function printIgnoredUpdatesDueToPeerDeps(options: Options, ignoredUpdat... function printIgnoredUpdatesDueToEnginesNode (line 417) | function printIgnoredUpdatesDueToEnginesNode( FILE: src/lib/mergeOptions.ts type OptionKey (line 3) | type OptionKey = keyof Options function mergeArrays (line 6) | function mergeArrays(arr1: any[], arr2: any[]) { function mergeOptions (line 14) | function mergeOptions(rawOptions1: Options | null, rawOptions2: Options ... FILE: src/lib/parseCooldown.ts function parseCooldown (line 5) | function parseCooldown(s: string): number | null { FILE: src/lib/pick.ts function pick (line 2) | function pick(obj: T, props: U[]): ... function pickBy (line 16) | function pickBy( FILE: src/lib/programError.ts function programError (line 6) | function programError( FILE: src/lib/queryVersions.ts function queryVersions (line 23) | async function queryVersions(packageMap: Index, options: Op... FILE: src/lib/runGlobal.ts function runGlobal (line 11) | async function runGlobal(options: Options): Promise | void> { FILE: src/lib/runLocal.ts constant INTERACTIVE_HINT (line 36) | const INTERACTIVE_HINT = ` function getOptionsPerPage (line 48) | function getOptionsPerPage(showHint: boolean, groups?: DependencyGroup[]... function getOwnerPerDependency (line 61) | async function getOwnerPerDependency(fromVersion: Index, toVers... function runLocal (line 173) | async function runLocal( FILE: src/lib/sortBy.ts function sortBy (line 7) | function sortBy(collection: T[] | null | undefined, selector: (item: ... FILE: src/lib/spawnCommand.ts function spawnCommand (line 9) | async function spawnCommand( FILE: src/lib/upgradeDependencies.ts type UpgradeSpec (line 13) | interface UpgradeSpec { function upgradeDependencies (line 28) | function upgradeDependencies( FILE: src/lib/upgradeJsonCatalogDependencies.ts function escapeRegexp (line 8) | function escapeRegexp(s: string) { function upgradeJsonCatalogDependencies (line 15) | async function upgradeJsonCatalogDependencies( FILE: src/lib/upgradePackageData.ts function escapeRegexp (line 16) | function escapeRegexp(s: string) { function upgradePackageData (line 31) | async function upgradePackageData( FILE: src/lib/upgradePackageDefinitions.ts type CheckIfInPeerViolationResult (line 14) | type CheckIfInPeerViolationResult = { type UpgradePackageDefinitionsResult (line 60) | type UpgradePackageDefinitionsResult = [ function upgradePackageDefinitions (line 73) | async function upgradePackageDefinitions( FILE: src/lib/upgradeYamlCatalogDependencies.ts type UpdateYamlCatalogDependenciesArgs (line 7) | type UpdateYamlCatalogDependenciesArgs = { function throwYamlSyntaxError (line 18) | function throwYamlSyntaxError(error: unknown, { options, filePath }: { o... function changeDependencyIn (line 38) | function changeDependencyIn( function updateYamlCatalogDependencies (line 94) | function updateYamlCatalogDependencies({ FILE: src/lib/utils/parseJson.ts function ensureLineDisplay (line 14) | function ensureLineDisplay(line: string): string { function getMarker (line 24) | function getMarker(length: number): string { function showSnippet (line 37) | function showSnippet(lines: string[], errorLine: number, columnNumber: n... function parseJson (line 58) | function parseJson(jsonString: string) { FILE: src/lib/version-util.ts type VersionPart (line 16) | type VersionPart = keyof SemVer constant VERSION_BASE_PARTS (line 18) | const VERSION_BASE_PARTS = ['major', 'minor', 'patch'] as VersionPart[] constant VERSION_ADDED_PARTS (line 19) | const VERSION_ADDED_PARTS = ['release', 'build'] as VersionPart[] constant VERSION_PARTS (line 20) | const VERSION_PARTS = [...VERSION_BASE_PARTS, ...VERSION_ADDED_PARTS] as... constant VERSION_PART_DELIM (line 21) | const VERSION_PART_DELIM: SemVer = { constant DEFAULT_WILDCARD (line 28) | const DEFAULT_WILDCARD = '^' constant WILDCARDS (line 29) | const WILDCARDS = ['^', '~', '.*', '.x'] constant WILDCARDS_PURE (line 30) | const WILDCARDS_PURE = ['^', '~', '^*', '*', 'x', 'x.x', 'x.x.x'] constant WILDCARD_PURE_REGEX (line 31) | const WILDCARD_PURE_REGEX = new RegExp(`^(${WILDCARDS_PURE.join('|').rep... constant NPM_ALIAS_REGEX (line 34) | const NPM_ALIAS_REGEX = /^npm:(.*)@(.*)/ type UpgradeOptions (line 36) | interface UpgradeOptions { function numParts (line 45) | function numParts(version: string) { function precisionAdd (line 67) | function precisionAdd(precision: VersionPart, n: number) { function stringify (line 91) | function stringify(semver: SemVer, precision?: VersionPart) { function getPrecision (line 109) | function getPrecision(version: string) { function setPrecision (line 122) | function setPrecision(version: string, precision: VersionPart) { function addWildCard (line 135) | function addWildCard(version: string, wildcard: string) { function isWildCard (line 145) | function isWildCard(version: string) { function isWildPart (line 155) | function isWildPart(versionPartValue: Maybe) { function partChanged (line 165) | function partChanged(from: string, to: string): UpgradeGroup { function getDependencyGroups (line 191) | function getDependencyGroups( function colorizeDiff (line 245) | function colorizeDiff(from: string, to: string) { function isComparable (line 294) | function isComparable(a: string, b: string) { function compareVersions (line 301) | function compareVersions(a: string, b: string) { function findGreatestByLevel (line 315) | function findGreatestByLevel(versions: string[], current: string, level:... function isPre (line 337) | function isPre(version: string) { function v (line 365) | function v(str: Maybe) { function upgradeDependencyDeclaration (line 442) | function upgradeDependencyDeclaration( FILE: src/package-managers/bun.ts function spawnBun (line 10) | async function spawnBun( FILE: src/package-managers/filters.ts function allowDeprecatedOrIsNotDeprecated (line 16) | function allowDeprecatedOrIsNotDeprecated(versionResult: Partial, options: ... function satisfiesNodeEngine (line 37) | function satisfiesNodeEngine(versionResult: Partial, nodeEngi... function satisfiesPeerDependencies (line 52) | function satisfiesPeerDependencies(versionResult: Partial, pe... function satisfiesCooldownPeriod (line 67) | function satisfiesCooldownPeriod( function filterPredicate (line 89) | function filterPredicate(options: Options) { FILE: src/package-managers/gitTags.ts function getGitTags (line 23) | async function getGitTags(url: string): Promise> { function getSortedVersions (line 34) | async function getSortedVersions( FILE: src/package-managers/npm.ts constant EXPLICIT_RANGE_OPS (line 33) | const EXPLICIT_RANGE_OPS = new Set(['-', '||', '&&', '<', '<=', '>', '>=']) function parseJson (line 324) | function parseJson(result: string, data: { command?: string; packageN... function packageAuthorChanged (line 347) | async function packageAuthorChanged( function fetchUpgradedPackument (line 508) | async function fetchUpgradedPackument( function spawnNpm (line 605) | async function spawnNpm( function defaultPrefix (line 629) | async function defaultPrefix(options: Options): Promise { function spawnYarn (line 216) | async function spawnYarn( function defaultPrefix (line 246) | async function defaultPrefix(options: Options): Promise { FILE: src/scripts/build-options.ts constant INJECT_HEADER (line 7) | const INJECT_HEADER = FILE: src/types/CLIOption.ts type CLIOption (line 3) | interface CLIOption { FILE: src/types/Cacher.ts type CacheData (line 4) | interface CacheData { type Cacher (line 10) | type Cacher = { FILE: src/types/CatalogConfig.ts type CatalogsConfig (line 8) | type CatalogsConfig = z.infer FILE: src/types/CooldownFunction.ts type CooldownFunction (line 2) | type CooldownFunction = (packageName: string) => number | string | null FILE: src/types/DependencyGroup.ts type DependencyGroup (line 3) | interface DependencyGroup { FILE: src/types/ExtendedHelp.ts type ExtendedHelp (line 2) | type ExtendedHelp = string | ((options: { markdown?: boolean }) => string) FILE: src/types/FilterFunction.ts type FilterFunction (line 4) | type FilterFunction = (packageName: string, versionRange: SemVer[]) => b... FILE: src/types/FilterPattern.ts type FilterPattern (line 4) | type FilterPattern = string | RegExp | readonly (string | RegExp)[] | Fi... FILE: src/types/FilterResultsFunction.ts type FilterResultsFunction (line 5) | type FilterResultsFunction = ( FILE: src/types/GetVersion.ts type GetVersion (line 7) | type GetVersion = ( FILE: src/types/GroupFunction.ts type GroupFunction (line 5) | type GroupFunction = ( FILE: src/types/IgnoredUpgradeDueToEnginesNode.ts type IgnoredUpgradeDueToEnginesNode (line 5) | interface IgnoredUpgradeDueToEnginesNode { FILE: src/types/IgnoredUpgradeDueToPeerDeps.ts type IgnoredUpgradeDueToPeerDeps (line 5) | interface IgnoredUpgradeDueToPeerDeps { FILE: src/types/IndexType.ts type Index (line 4) | type Index = Record FILE: src/types/Maybe.ts type Maybe (line 2) | type Maybe = T | null | undefined FILE: src/types/MockedVersions.ts type MockedVersions (line 7) | type MockedVersions = FILE: src/types/NpmConfig.ts type NpmConfig (line 3) | type NpmConfig = Index string | { ... FILE: src/types/NpmOptions.ts type NpmOptions (line 2) | interface NpmOptions { FILE: src/types/Options.ts type Options (line 7) | type Options = RunOptions & { FILE: src/types/PackageFile.ts type NestedVersionSpecs (line 5) | type NestedVersionSpecs = { type PackageFile (line 10) | interface PackageFile { FILE: src/types/PackageFileRepository.ts type PackageFileRepository (line 2) | interface PackageFileRepository { FILE: src/types/PackageInfo.ts type PackageInfo (line 4) | interface PackageInfo { FILE: src/types/PackageManager.ts type PackageManager (line 10) | interface PackageManager { FILE: src/types/PackageManagerName.ts type PackageManagerName (line 2) | type PackageManagerName = 'npm' | 'yarn' | 'pnpm' | 'deno' | 'bun' | 'st... FILE: src/types/Packument.ts type Packument (line 5) | interface Packument { FILE: src/types/RcOptions.ts type Nonsensical (line 4) | type Nonsensical = 'configFileName' | 'configFilePath' | 'cwd' | 'packag... type RcOptions (line 7) | type RcOptions = Omit & { FILE: src/types/RunOptions.ts type RunOptions (line 10) | interface RunOptions { FILE: src/types/SpawnOptions.ts type SpawnOptions (line 4) | interface SpawnOptions { FILE: src/types/SpawnPleaseOptions.ts type SpawnPleaseOptions (line 1) | interface SpawnPleaseOptions { FILE: src/types/StaticRegistry.ts type StaticRegistry (line 3) | type StaticRegistry = { FILE: src/types/Target.ts type TargetString (line 7) | type TargetString = (typeof supportedVersionTargets)[number] type TargetDistTag (line 10) | type TargetDistTag = `@${string}` type Target (line 13) | type Target = TargetString | TargetDistTag | TargetFunction FILE: src/types/TargetFunction.ts type TargetFunction (line 4) | type TargetFunction = (packageName: string, versionRange: SemVer[]) => s... FILE: src/types/UpgradeGroup.ts type UpgradeGroup (line 1) | type UpgradeGroup = 'major' | 'minor' | 'patch' | 'majorVersionZero' | '... FILE: src/types/Version.ts type Version (line 2) | type Version = string FILE: src/types/VersionLevel.ts type VersionLevel (line 2) | type VersionLevel = 'major' | 'minor' | 'patch' FILE: src/types/VersionResult.ts type VersionResult (line 4) | interface VersionResult { FILE: src/types/VersionSpec.ts type VersionSpec (line 2) | type VersionSpec = string FILE: test/cooldown.test.ts constant DAY (line 11) | const DAY = 24 * 60 * 60 * 1000 constant NOW (line 12) | const NOW = Date.now() type CreateMockParams (line 14) | interface CreateMockParams { FILE: test/determinePackageManager.test.ts function readdirMock (line 11) | function readdirMock(path: string): Promise { function readdirMock (line 32) | function readdirMock(path: string): Promise { function readdirMock (line 53) | function readdirMock(path: string): Promise { function readdirMock (line 80) | function readdirMock(path: string): Promise { function readdirMock (line 101) | function readdirMock(path: string): Promise { function readdirMock (line 128) | function readdirMock(path: string): Promise { function readdirMock (line 155) | function readdirMock(): Promise { FILE: test/getAllPackages.test.ts function asPosixPath (line 10) | function asPosixPath(filepath: string): string { function stripDir (line 15) | async function stripDir(dirPath: string, paths: [string[], string[]]): P... function getAllPackagesForTest (line 24) | async function getAllPackagesForTest(testPath: string, options: Options)... FILE: test/getIgnoredUpgradesDueToEnginesNode.test.ts constant MOCK_ESLINT_VERSION (line 4) | const MOCK_ESLINT_VERSION = '999.0.0' constant MOCK_DEL_VERSION (line 5) | const MOCK_DEL_VERSION = '999.0.1' FILE: test/group.test.ts function groupTestScaffold (line 17) | async function groupTestScaffold( FILE: test/helpers/removeDir.ts function removeDir (line 10) | async function removeDir(dirPath: string, maxRetries = 10, delayMs = 100) { FILE: test/package-managers/yarn/index.test.ts function readdirMock (line 127) | function readdirMock(path: string): Promise {