sh ncu-444-output.sh
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh ncu-444-output.sh相关的知识,希望对你有一定的参考价值。
> npm-check-updates@2.14.2 test /Users/raine/projects/npm-check-updates
> npm run lint ; mocha && mocha test/individual
> npm-check-updates@2.14.2 lint /Users/raine/projects/npm-check-updates
> eslint bin lib test
npm-check-updates
run
✓ should return promised jsonUpgraded
✓ should filter by package name with one arg
✓ should filter by package name with multiple args
✓ should suggest upgrades to versions within the specified version range if jsonUpraded is true and upgradeAll is not given (backwards compatible behavior until next version) (534ms)
Unhandled rejection AssertionError: expected { 'lodash.map': '4.6.0' } to have property 'lodash.filter'
at /Users/raine/projects/npm-check-updates/node_modules/chai-as-promised/lib/chai-as-promised.js:305:22
at tryCatcher (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._fulfillPromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:668:14)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:694:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:144:14)
at PromiseArray._iterate (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:114:31)
at PromiseArray.init [as _init] (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:78:10)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:566:21)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at MappingPromiseArray.PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at MappingPromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/map.js:101:18)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
✓ should not suggest upgrades to versions within the specified version range if jsonUpraded is true and upgradeAll is explicitly set to false
✓ should ignore newer packages that satisfy the declared version range if they are installed in node_modules
cli
Unhandled rejection AssertionError: expected {} to have property 'juggernaut'
at /Users/raine/projects/npm-check-updates/node_modules/chai-as-promised/lib/chai-as-promised.js:305:22
at tryCatcher (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._fulfillPromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:668:14)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:694:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:144:14)
at PromiseArray._iterate (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:114:31)
at PromiseArray.init [as _init] (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:78:10)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:566:21)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at MappingPromiseArray.PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at MappingPromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/map.js:101:18)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
Unhandled rejection AssertionError: expected {} to have property 'escape-string-regexp'
at /Users/raine/projects/npm-check-updates/node_modules/chai-as-promised/lib/chai-as-promised.js:305:22
at tryCatcher (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._fulfillPromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:668:14)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:694:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:144:14)
at PromiseArray._iterate (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:114:31)
at PromiseArray.init [as _init] (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:78:10)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:566:21)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
✓ should accept stdin (1477ms)
✓ should fall back to package.json search when receiving empty content on stdin (2819ms)
✓ should handle no package.json to analyze when receiving empty content on stdin (774ms)
✓ should output json with --jsonAll (1444ms)
✓ should output only upgraded with --jsonUpgraded (1451ms)
✓ should read --packageFile (3550ms)
✓ should write to --packageFile (3051ms)
✓ should not write to --packageFile if error-level=2 and upgrades (2973ms)
✓ should ignore stdin if --packageFile is specified (3021ms)
✓ should filter by package name with --filter (1535ms)
✓ should filter by package name with -f (1480ms)
✓ should reject by package name with --reject (1437ms)
✓ should reject by package name with -x (1444ms)
✓ should update only packages which have new minor/patch versions (1420ms)
✓ should update only packages which have new patch versions (1418ms)
✓ should suppress stdout when --silent is provided (1391ms)
✓ should read --configFilePath (1504ms)
✓ should read --configFileName (1708ms)
✓ should override config with arguments (1598ms)
with timeout option
✓ should exit with error when timeout exceeded (703ms)
✓ completes successfully with timeout (1391ms)
version-util
numParts
✓ should count the number of parts in a version
getPrecision
✓ should detect versions as precise as "major"
✓ should detect versions as precise as "minor"
✓ should detect versions as precise as "patch"
✓ should detect versions as precise as "release"
✓ should detect versions as precise as "build"
stringify
✓ should build a version string of the given parts
✓ should pad the version with an optional precison argument
✓ should truncate the version when a precision is provided
setPrecision
✓ should set the precision of a version at "major"
✓ should set the precision of a version at "minor"
✓ should add 0 to minor if needed
✓ should set the precision of a version at "patch"
✓ should add 0 to patch if needed
✓ should set the precision of a version at "release"
✓ should set the precision of a version at "build"
precisionAdd
✓ should handle precision increase/decrease of base precisions
✓ should handle precision decrease of added precisions (release, build)
addWildCard
✓ should add ~
✓ should add ^
✓ should add .*
✓ should add .x
isWildCard
✓ should return true for ~
✓ should return true for ^
✓ should return true for ^*
✓ should return true for *
✓ should return true for x
✓ should return true for x.x
✓ should return true for x.x.x
✓ should return false for strings that more than a wildcard
isWildPart
✓ should return true for *
✓ should return true for x
✓ should return false for anything other than * or x
colorizeDiff
✓ should not colorize unchanged versions
✓ should colorize changed versions
✓ should colorize everything after the first difference
✓ should colorize whole parts
✓ should accept an optional color option
✓ should not include the leading ^ or ~ if the same
findGreatestByLevel
✓ should find the greatest version within the given semantic versioning level
versionmanager
upgradeDependencyDeclaration
✓ numeric upgrades
✓ wildcard upgrades
✓ should convert < to ^
✓ should preserve > and >=
✓ should preserve ^ and ~
✓ should preserve prerelease versons
✓ should replace multiple ranges with ^
✓ should handle ||
✓ should hyphen (-) range
✓ should use the range with the fewest parts if there are multiple ranges
✓ should preserve wildcards in comparisons
✓ should use the first operator if a comparison has mixed operators
✓ maintain 'unclean' semantic versions
✓ maintain 'unclean' semantic versions
✓ maintain existing version if new version is unknown
✓ should remove semver range if removeRange option is specified
upgradePackageData
✓ should upgrade the dependencies in the given package data (except for satisfied)
✓ should upgrade the dependencies in the given package data (including satisfied)
getCurrentDependencies
✓ should return an empty object for an empty package.json and handle default options
✓ should get dependencies, devDependencies, and optionalDependencies by default
✓ should only get dependencies when the prod option is true
✓ should only get devDependencies when the dev option is true
✓ should only get optionalDependencies when the optional option is true
✓ should only get peerDependencies when the peer option is true
filter
✓ should filter dependencies by package name
✓ should not filter out dependencies with a partial package name
✓ should filter dependencies by multiple packages
✓ should filter dependencies by regex
reject
✓ should reject dependencies by package name
✓ should not reject dependencies with a partial package name
✓ should reject dependencies by multiple packages
✓ should filter dependencies by regex
✓ should filter and reject
upgradeDependencies
✓ should upgrade simple versions
✓ should upgrade latest versions that already satisfy the specified version
✓ should not downgrade
✓ should use the preferred wildcard when converting <, closed, or mixed ranges
✓ should convert closed ranges to caret (^) when preferred wildcard is unknown
✓ should ignore packages with empty values
getInstalledPackages
✓ should execute npm ls
getLatestPackageVersion
✓ valid package info
getGreatestPackageVersion
✓ valid package info
queryVersions
✓ valid single package
✓ valid packages (2736ms)
✓ unavailable packages should be ignored
✓ set the versionTarget explicitly to latest
✓ set the versionTarget to greatest
✓ should return an error for an unsupported versionTarget
isUpgradeable
✓ should not upgrade pure wildcards
✓ should upgrade versions that do not satisfy latest versions
✓ should not upgrade invalid versions
✓ should not upgrade versions beyond the latest
✓ should handle comparison constraints
getPreferredWildcard
✓ should identify ^ when it is preferred
✓ should identify ~ when it is preferred
✓ should identify .x when it is preferred
✓ should identify .* when it is preferred
✓ should use the first wildcard if there is a tie
✓ should return null when it cannot be determined from other dependencies
126 passing (42s)
Unhandled rejection AssertionError: expected {} to equal {}
at /Users/raine/projects/npm-check-updates/node_modules/chai-as-promised/lib/chai-as-promised.js:305:22
at tryCatcher (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._fulfillPromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:668:14)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:694:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at Promise._resolveCallback (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:432:57)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:524:17)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:638:18)
at MappingPromiseArray.PromiseArray._resolve (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise_array.js:126:19)
at MappingPromiseArray._promiseFulfilled (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/map.js:101:18)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
package-managers
npm
✓ list
✓ latest
✓ greatest
3 passing (520ms)
Unhandled rejection AssertionError: expected { Object (dependencies, name, ...) } to have property 'dependencies.express'
at /Users/raine/projects/npm-check-updates/node_modules/chai-as-promised/lib/chai-as-promised.js:305:22
at tryCatcher (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/raine/projects/npm-check-updates/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
以上是关于sh ncu-444-output.sh的主要内容,如果未能解决你的问题,请参考以下文章
如何使我的命令行在具有扩展名(.sh)和名称如“weird.sh.sh.sh”的文件上工作