From 1c384bcaf278dd1e911e39c0076ddd3847e98128 Mon Sep 17 00:00:00 2001 From: siemhesda <143130929+siemhesda@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:12:00 -0700 Subject: [PATCH 1/5] add option to added 977 packages, changed 16 packages, and audited 1409 packages in 12s 242 packages are looking for funding run `npm fund` for details found 0 vulnerabilities and added 1194 packages, and audited 1409 packages in 10s 242 packages are looking for funding run `npm fund` for details found 0 vulnerabilities --- lib/commands/ci.js | 1 + lib/commands/install.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/commands/ci.js b/lib/commands/ci.js index e662379278e03..706b77ac361cf 100644 --- a/lib/commands/ci.js +++ b/lib/commands/ci.js @@ -16,6 +16,7 @@ class CI extends ArboristWorkspaceCmd { 'legacy-bundling', 'global-style', 'omit', + 'include', 'strict-peer-deps', 'foreground-scripts', 'ignore-scripts', diff --git a/lib/commands/install.js b/lib/commands/install.js index 3983c8d26c841..6687ec4371dd8 100644 --- a/lib/commands/install.js +++ b/lib/commands/install.js @@ -24,6 +24,7 @@ class Install extends ArboristWorkspaceCmd { 'legacy-bundling', 'global-style', 'omit', + 'include', 'strict-peer-deps', 'prefer-dedupe', 'package-lock', From a3d1cd6d166cd4c6cd3604eb792d977c091e1596 Mon Sep 17 00:00:00 2001 From: siemhesda <143130929+siemhesda@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:20:51 -0700 Subject: [PATCH 2/5] 'docs: run > npm@10.1.0 snap > tap TAP version 13 # Subtest: test/index.js ok 1 - index is main package require() export ok 2 - expected to throw # Subtest: loading as main module will load the cli ok 1 - should be equal ok 2 - should be equal ok 3 - should match pattern provided 1..3 ok 3 - loading as main module will load the cli # time=879.736ms 1..3 # time=922.102ms ok 1 - test/index.js # time=922.102ms # Subtest: test/bin/npm-cli.js # Subtest: loading the bin calls the implementation ok 1 - called implementation with process object 1..1 ok 1 - loading the bin calls the implementation # time=4.635ms 1..1 # time=21.194ms ok 2 - test/bin/npm-cli.js # time=21.194ms # Subtest: test/bin/npx-cli.js # Subtest: npx foo -> npm exec -- foo ok 1 - should be equivalent strictly 1..1 ok 1 - npx foo -> npm exec -- foo # time=89.931ms # Subtest: npx -- foo -> npm exec -- foo ok 1 - should be equivalent strictly 1..1 ok 2 - npx -- foo -> npm exec -- foo # time=2.396ms # Subtest: npx -x y foo -z -> npm exec -x y -- foo -z ok 1 - should be equivalent strictly 1..1 ok 3 - npx -x y foo -z -> npm exec -x y -- foo -z # time=2.259ms # Subtest: npx --x=y --no-install foo -z -> npm exec --x=y -- foo -z ok 1 - should be equivalent strictly 1..1 ok 4 - npx --x=y --no-install foo -z -> npm exec --x=y -- foo -z # time=2.416ms # Subtest: transform renamed options into proper values ok 1 - should be equivalent strictly 1..1 ok 5 - transform renamed options into proper values # time=8.604ms # Subtest: use a bunch of deprecated switches and options ok 1 - should be equivalent strictly ok 2 - should be equivalent strictly 1..2 ok 6 - use a bunch of deprecated switches and options # time=2.76ms 1..6 # time=131.21ms ok 3 - test/bin/npx-cli.js # time=131.21ms # Subtest: test/bin/windows-shims.js # Subtest: shim contents 1..3 # Subtest: bash ok 1 - has NPX_CLI ok 2 - should be equal ok 3 - all other changes are m->x 1..3 ok 1 - bash # time=5.453ms # Subtest: cmd ok 1 - has NPX_CLI ok 2 - should be equal ok 3 - all other changes are m->x 1..3 ok 2 - cmd # time=7.811ms # Subtest: pwsh ok 1 - should be equal ok 2 - all other changes are m->x 1..2 ok 3 - pwsh # time=0.771ms ok 1 - shim contents # time=19.785ms # Subtest: run shims 1..6 # Subtest: cmd ok 1 - cmd - test not relevant on platform # SKIP 1..1 # skip: 1 ok 1 - cmd # time=0.766ms # Subtest: pwsh ok 1 - pwsh - test not relevant on platform # SKIP 1..1 # skip: 1 ok 2 - pwsh # time=0.261ms # Subtest: git bash ok 1 - git bash - test not relevant on platform # SKIP 1..1 # skip: 1 ok 3 - git bash # time=0.311ms # Subtest: user git bash ok 1 - user git bash - test not relevant on platform # SKIP 1..1 # skip: 1 ok 4 - user git bash # time=0.225ms # Subtest: wsl bash ok 1 - wsl bash - test not relevant on platform # SKIP 1..1 # skip: 1 ok 5 - wsl bash # time=0.204ms # Subtest: cygwin bash ok 1 - cygwin bash - test not relevant on platform # SKIP 1..1 # skip: 1 ok 6 - cygwin bash # time=0.217ms ok 2 - run shims # time=346.627ms 1..2 # time=487.182ms ok 4 - test/bin/windows-shims.js # time=487.182ms # Subtest: test/lib/arborist-cmd.js # Subtest: arborist-cmd # Subtest: single name ok 1 - should set array with single ws name ok 2 - should get received args 1..2 ok 1 - single name # time=278.273ms # Subtest: single path ok 1 - should set array with single ws name 1..1 ok 2 - single path # time=99.624ms # Subtest: single full path ok 1 - should set array with single ws name 1..1 ok 3 - single full path # time=75.278ms # Subtest: multiple names ok 1 - should set array with single ws name 1..1 ok 4 - multiple names # time=65.119ms # Subtest: multiple paths ok 1 - should set array with single ws name 1..1 ok 5 - multiple paths # time=68.942ms # Subtest: parent path ok 1 - should set array with single ws name 1..1 ok 6 - parent path # time=80.469ms # Subtest: parent path ok 1 - should set array with single ws name 1..1 ok 7 - parent path # time=63.784ms # Subtest: prefix inside cwd ok 1 - should set array with single ws name 1..1 ok 8 - prefix inside cwd # time=78.084ms 1..8 ok 1 - arborist-cmd # time=957.367ms # Subtest: handle getWorkspaces raising an error ok 1 - expect rejected Promise 1..1 ok 2 - handle getWorkspaces raising an error # time=46.641ms 1..2 # time=1026.443ms ok 5 - test/lib/arborist-cmd.js # time=1026.443ms # Subtest: test/lib/cli-entry.js # Subtest: print the version, and treat npm_g as npm -g ok 1 - system process.argv was rewritten ok 2 - should be equivalent strictly ok 3 - should be equivalent strictly ok 4 - should match pattern provided ok 5 - should be equivalent strictly ok 6 - should be equal ok 7 - should be equivalent strictly ok 8 - should be equivalent strictly 1..8 ok 1 - print the version, and treat npm_g as npm -g # time=154.511ms # Subtest: calling with --versions calls npm version with no args ok 1 - should be equal ok 2 - should be equivalent strictly ok 3 - should be equivalent strictly ok 4 - should match pattern provided ok 5 - should be equal ok 6 - should match pattern provided ok 7 - should be equivalent strictly 1..7 ok 2 - calling with --versions calls npm version with no args # time=532.686ms # Subtest: logged argv is sanitized ok 1 - should be equal ok 2 - should be equivalent strictly ok 3 - should be equivalent strictly ok 4 - should match pattern provided 1..4 ok 3 - logged argv is sanitized # time=88.475ms # Subtest: logged argv is sanitized with equals ok 1 - should match pattern provided 1..1 ok 4 - logged argv is sanitized with equals # time=66.889ms # Subtest: print usage if no params provided ok 1 - outputs npm usage ok 2 - should call exitHandler with no args ok 3 - exitHandler npm is set ok 4 - should match pattern provided 1..4 ok 5 - print usage if no params provided # time=70.403ms # Subtest: print usage if non-command param provided ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should call exitHandler with no args ok 4 - exitHandler npm is set ok 5 - should match pattern provided 1..5 ok 6 - print usage if non-command param provided # time=107.273ms # Subtest: load error calls error handler ok 1 - should be equivalent strictly 1..1 ok 7 - load error calls error handler # time=38.985ms # Subtest: unsupported node version ok 1 - should match pattern provided 1..1 ok 8 - unsupported node version # time=67.552ms 1..8 # time=1287.817ms ok 6 - test/lib/cli-entry.js # time=1287.817ms # Subtest: test/lib/cli.js # Subtest: returns cli-entry function ok 1 - should be equal 1..1 ok 1 - returns cli-entry function # time=6.181ms 1..1 # time=19.401ms ok 7 - test/lib/cli.js # time=19.401ms # Subtest: test/lib/docs.js # Subtest: command list ok 1 - aliases ok 2 - commands ok 3 - deref 1..3 ok 1 - command list # time=7.023ms # Subtest: shorthands ok 1 - docs 1..1 ok 2 - shorthands # time=3.11ms # Subtest: config ok 1 - all keys ok 2 - keys that are flattened ok 3 - keys that are not flattened ok 4 - all definitions 1..4 ok 3 - config # time=5.056ms # Subtest: flat options ok 1 - full flat options object 1..1 ok 4 - flat options # time=478.684ms # Subtest: basic usage ok 1 - must match snapshot 1..1 ok 5 - basic usage # time=93.794ms # Subtest: usage ok 1 - command list and fs are the same ok 2 - command list and docs files are the same # Subtest: access ok 1 - must match snapshot 1..1 ok 3 - access # time=138.197ms # Subtest: adduser ok 1 - must match snapshot 1..1 ok 4 - adduser # time=84.957ms # Subtest: audit ok 1 - must match snapshot 1..1 ok 5 - audit # time=54.568ms # Subtest: bugs ok 1 - must match snapshot 1..1 ok 6 - bugs # time=47.202ms # Subtest: cache ok 1 - must match snapshot 1..1 ok 7 - cache # time=55.104ms # Subtest: ci ok 1 - must match snapshot 1..1 ok 8 - ci # time=57.957ms # Subtest: completion ok 1 - must match snapshot 1..1 ok 9 - completion # time=65.383ms # Subtest: config ok 1 - must match snapshot 1..1 ok 10 - config # time=47.038ms # Subtest: dedupe ok 1 - must match snapshot 1..1 ok 11 - dedupe # time=50.823ms # Subtest: deprecate ok 1 - must match snapshot 1..1 ok 12 - deprecate # time=60.085ms # Subtest: diff ok 1 - must match snapshot 1..1 ok 13 - diff # time=78.837ms # Subtest: dist-tag ok 1 - must match snapshot 1..1 ok 14 - dist-tag # time=53.471ms # Subtest: docs ok 1 - must match snapshot 1..1 ok 15 - docs # time=59.423ms # Subtest: doctor ok 1 - must match snapshot 1..1 ok 16 - doctor # time=76.549ms # Subtest: edit ok 1 - must match snapshot 1..1 ok 17 - edit # time=50.95ms # Subtest: exec ok 1 - must match snapshot 1..1 ok 18 - exec # time=71.969ms # Subtest: explain ok 1 - must match snapshot 1..1 ok 19 - explain # time=46.051ms # Subtest: explore ok 1 - must match snapshot 1..1 ok 20 - explore # time=44.171ms # Subtest: find-dupes ok 1 - must match snapshot 1..1 ok 21 - find-dupes # time=61.518ms # Subtest: fund ok 1 - must match snapshot 1..1 ok 22 - fund # time=62.8ms # Subtest: help-search ok 1 - must match snapshot 1..1 ok 23 - help-search # time=48.412ms # Subtest: help ok 1 - must match snapshot 1..1 ok 24 - help # time=62.095ms # Subtest: hook ok 1 - must match snapshot 1..1 ok 25 - hook # time=58.742ms # Subtest: init ok 1 - must match snapshot 1..1 ok 26 - init # time=58.352ms # Subtest: install-ci-test ok 1 - must match snapshot 1..1 ok 27 - install-ci-test # time=54.872ms # Subtest: install-test ok 1 - must match snapshot 1..1 ok 28 - install-test # time=67.722ms # Subtest: install ok 1 - must match snapshot 1..1 ok 29 - install # time=57.926ms # Subtest: link ok 1 - must match snapshot 1..1 ok 30 - link # time=52.093ms # Subtest: login ok 1 - must match snapshot 1..1 ok 31 - login # time=60.897ms # Subtest: logout ok 1 - must match snapshot 1..1 ok 32 - logout # time=66.527ms # Subtest: ls ok 1 - must match snapshot 1..1 ok 33 - ls # time=53.428ms # Subtest: org ok 1 - must match snapshot 1..1 ok 34 - org # time=48.404ms # Subtest: outdated ok 1 - must match snapshot 1..1 ok 35 - outdated # time=78.98ms # Subtest: owner ok 1 - must match snapshot 1..1 ok 36 - owner # time=59.89ms # Subtest: pack ok 1 - must match snapshot 1..1 ok 37 - pack # time=59.075ms # Subtest: ping ok 1 - must match snapshot 1..1 ok 38 - ping # time=77.08ms # Subtest: pkg ok 1 - must match snapshot 1..1 ok 39 - pkg # time=53.778ms # Subtest: prefix ok 1 - must match snapshot 1..1 ok 40 - prefix # time=46.507ms # Subtest: profile ok 1 - must match snapshot 1..1 ok 41 - profile # time=67.065ms # Subtest: prune ok 1 - must match snapshot 1..1 ok 42 - prune # time=60.724ms # Subtest: publish ok 1 - must match snapshot 1..1 ok 43 - publish # time=57.564ms # Subtest: query ok 1 - must match snapshot 1..1 ok 44 - query # time=50.222ms # Subtest: rebuild ok 1 - must match snapshot 1..1 ok 45 - rebuild # time=58.967ms # Subtest: repo ok 1 - must match snapshot 1..1 ok 46 - repo # time=55.847ms # Subtest: restart ok 1 - must match snapshot 1..1 ok 47 - restart # time=45.551ms # Subtest: root ok 1 - must match snapshot 1..1 ok 48 - root # time=44.74ms # Subtest: run-script ok 1 - must match snapshot 1..1 ok 49 - run-script # time=62.02ms # Subtest: search ok 1 - must match snapshot 1..1 ok 50 - search # time=56.618ms # Subtest: shrinkwrap ok 1 - must match snapshot 1..1 ok 51 - shrinkwrap # time=50.903ms # Subtest: star ok 1 - must match snapshot 1..1 ok 52 - star # time=45.305ms # Subtest: stars ok 1 - must match snapshot 1..1 ok 53 - stars # time=83.09ms # Subtest: start ok 1 - must match snapshot 1..1 ok 54 - start # time=53.967ms # Subtest: stop ok 1 - must match snapshot 1..1 ok 55 - stop # time=55.91ms # Subtest: team ok 1 - must match snapshot 1..1 ok 56 - team # time=48.437ms # Subtest: test ok 1 - must match snapshot 1..1 ok 57 - test # time=38.205ms # Subtest: token ok 1 - must match snapshot 1..1 ok 58 - token # time=58.004ms # Subtest: uninstall ok 1 - must match snapshot 1..1 ok 59 - uninstall # time=59.024ms # Subtest: unpublish ok 1 - must match snapshot 1..1 ok 60 - unpublish # time=43.301ms # Subtest: unstar ok 1 - must match snapshot 1..1 ok 61 - unstar # time=46.464ms # Subtest: update ok 1 - must match snapshot 1..1 ok 62 - update # time=59.183ms # Subtest: version ok 1 - must match snapshot 1..1 ok 63 - version # time=88.619ms # Subtest: view ok 1 - must match snapshot 1..1 ok 64 - view # time=55.526ms # Subtest: whoami ok 1 - must match snapshot 1..1 ok 65 - whoami # time=75.754ms # Subtest: npm ok 1 - must match snapshot 1..1 ok 66 - npm # time=1.407ms # Subtest: npx ok 1 - must match snapshot 1..1 ok 67 - npx # time=1.003ms # Subtest: get ok 1 - must match snapshot 1..1 ok 68 - get # time=60.91ms # Subtest: set ok 1 - must match snapshot 1..1 ok 69 - set # time=50.31ms # Subtest: ll ok 1 - must match snapshot 1..1 ok 70 - ll # time=55.679ms 1..70 ok 6 - usage # time=5014.229ms 1..6 # time=5651.57ms ok 8 - test/lib/docs.js # time=5651.57ms # Subtest: test/lib/lifecycle-cmd.js # Subtest: create a lifecycle command ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should be equivalent strictly ok 4 - should be equivalent ok 5 - should be equivalent strictly 1..5 ok 1 - create a lifecycle command # time=140.163ms 1..1 # time=160.501ms ok 9 - test/lib/lifecycle-cmd.js # time=160.501ms # Subtest: test/lib/load-all-commands.js # Subtest: load each command # Subtest: access ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 1 - access # time=147.918ms # Subtest: adduser ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 2 - adduser # time=68.736ms # Subtest: audit ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 3 - audit # time=380.596ms # Subtest: bugs ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 4 - bugs # time=49.464ms # Subtest: cache ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 5 - cache # time=70.227ms # Subtest: ci ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 6 - ci # time=68.452ms # Subtest: completion ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - usage contains the command ok 14 - usage is what is output ok 15 - usage is what is output ok 16 - describe usage is only static 1..16 ok 7 - completion # time=64.489ms # Subtest: config ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 8 - config # time=62.39ms # Subtest: dedupe ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 9 - dedupe # time=88.95ms # Subtest: deprecate ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 10 - deprecate # time=57.408ms # Subtest: diff ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 11 - diff # time=76.592ms # Subtest: dist-tag ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 12 - dist-tag # time=164.922ms # Subtest: docs ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 13 - docs # time=55.091ms # Subtest: doctor ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 14 - doctor # time=64.411ms # Subtest: edit ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 15 - edit # time=50.773ms # Subtest: exec ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 16 - exec # time=58.794ms # Subtest: explain ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 17 - explain # time=72.332ms # Subtest: explore ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 18 - explore # time=50.015ms # Subtest: find-dupes ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 19 - find-dupes # time=47.973ms # Subtest: fund ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 20 - fund # time=46.273ms # Subtest: get ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 21 - get # time=48.165ms # Subtest: help ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 22 - help # time=78.006ms # Subtest: help-search ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 23 - help-search # time=42.015ms # Subtest: hook ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 24 - hook # time=49.108ms # Subtest: init ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 25 - init # time=70.179ms # Subtest: install ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 26 - install # time=54.053ms # Subtest: install-ci-test ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 27 - install-ci-test # time=48.354ms # Subtest: install-test ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 28 - install-test # time=47.755ms # Subtest: link ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 29 - link # time=68.263ms # Subtest: ll ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 30 - ll # time=49.109ms # Subtest: login ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 31 - login # time=62.392ms # Subtest: logout ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 32 - logout # time=49.544ms # Subtest: ls ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 33 - ls # time=57.466ms # Subtest: org ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 34 - org # time=50.596ms # Subtest: outdated ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 35 - outdated # time=48.191ms # Subtest: owner ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 36 - owner # time=54.096ms # Subtest: pack ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 37 - pack # time=67.108ms # Subtest: ping ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 38 - ping # time=43.423ms # Subtest: pkg ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 39 - pkg # time=42.77ms # Subtest: prefix ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 40 - prefix # time=55.95ms # Subtest: profile ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 41 - profile # time=56.973ms # Subtest: prune ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 42 - prune # time=55.915ms # Subtest: publish ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 43 - publish # time=73.653ms # Subtest: query ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 44 - query # time=53.524ms # Subtest: rebuild ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 45 - rebuild # time=47.604ms # Subtest: repo ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 46 - repo # time=60.658ms # Subtest: restart ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 47 - restart # time=53.523ms # Subtest: root ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 48 - root # time=50.774ms # Subtest: run-script ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 49 - run-script # time=68.958ms # Subtest: search ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 50 - search # time=56.45ms # Subtest: set ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 51 - set # time=62.299ms # Subtest: shrinkwrap ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - usage contains the command ok 13 - usage is what is output ok 14 - usage is what is output ok 15 - describe usage is only static 1..15 ok 52 - shrinkwrap # time=52.188ms # Subtest: star ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 53 - star # time=50.827ms # Subtest: stars ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 54 - stars # time=42.88ms # Subtest: start ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 55 - start # time=47.916ms # Subtest: stop ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 56 - stop # time=53.105ms # Subtest: team ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 57 - team # time=52.751ms # Subtest: test ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - execWorkspaces is async ok 7 - execWorkspaces fn has 0 or 1 args ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 58 - test # time=38.176ms # Subtest: token ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - has no execWorkspaces fn ok 8 - implementation has a description ok 9 - description is same on instance and ctor ok 10 - implementation has a name ok 11 - name is same on instance and ctor ok 12 - command list and name are the same ok 13 - params is same on instance and ctor ok 14 - implementation has a params ok 15 - usage contains the command ok 16 - usage is what is output ok 17 - usage is what is output ok 18 - describe usage is only static 1..18 ok 59 - token # time=58.313ms # Subtest: uninstall ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 60 - uninstall # time=53.474ms # Subtest: unpublish ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 61 - unpublish # time=49.487ms # Subtest: unstar ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 62 - unstar # time=44.544ms # Subtest: update ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 63 - update # time=61.878ms # Subtest: version ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 64 - version # time=46.869ms # Subtest: view ok 1 - completion is static, not on instance ok 2 - completion is async function ok 3 - exec is async ok 4 - exec fn has 0 or 1 args ok 5 - ctor has ignoreImplictWorkspace boolean ok 6 - ctor has workspaces boolean ok 7 - execWorkspaces is async ok 8 - execWorkspaces fn has 0 or 1 args ok 9 - implementation has a description ok 10 - description is same on instance and ctor ok 11 - implementation has a name ok 12 - name is same on instance and ctor ok 13 - command list and name are the same ok 14 - params is same on instance and ctor ok 15 - implementation has a params ok 16 - usage contains the command ok 17 - usage is what is output ok 18 - usage is what is output ok 19 - describe usage is only static 1..19 ok 65 - view # time=52.593ms # Subtest: whoami ok 1 - completion is static, not on instance ok 2 - exec is async ok 3 - exec fn has 0 or 1 args ok 4 - ctor has ignoreImplictWorkspace boolean ok 5 - ctor has workspaces boolean ok 6 - has no execWorkspaces fn ok 7 - implementation has a description ok 8 - description is same on instance and ctor ok 9 - implementation has a name ok 10 - name is same on instance and ctor ok 11 - command list and name are the same ok 12 - params is same on instance and ctor ok 13 - implementation has a params ok 14 - usage contains the command ok 15 - usage is what is output ok 16 - usage is what is output ok 17 - describe usage is only static 1..17 ok 66 - whoami # time=46.777ms ok 67 - has some completion functions ok 68 - has some commands that change ignoreImplicitWorkspace ok 69 - has some commands that change workspaces ok 70 - has some commands that do not have params 1..70 ok 1 - load each command # time=5445.239ms 1..1 # time=5449.352ms ok 10 - test/lib/load-all-commands.js # time=5449.352ms # Subtest: test/lib/npm.js # Subtest: not yet loaded ok 1 - should match pattern provided ok 2 - expected to throw ok 3 - expected to throw ok 4 - should be equivalent 1..4 ok 1 - not yet loaded # time=89.89ms # Subtest: npm.load # Subtest: load error ok 1 - expect rejected Promise ok 2 - should be equal ok 3 - loading again returns the original error ok 4 - should be equal 1..4 ok 1 - load error # time=27.45ms # Subtest: basic loading ok 1 - should be equal ok 2 - should be equal ok 3 - should be equal ok 4 - has usage ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - cache is cache ok 8 - cache setter sets config ok 9 - cache getter gets new config ok 10 - lockfileVersion getter ok 11 - prefix is local prefix ok 12 - prefix is not global prefix ok 13 - globalPrefix setter ok 14 - prefix is local prefix after localPrefix setter ok 15 - prefix is not global prefix after localPrefix setter ok 16 - prefix is local prefix after prefix setter ok 17 - prefix is not global prefix after prefix setter ok 18 - bin is local bin after prefix setter ok 19 - bin is not global bin after prefix setter ok 20 - dir is local dir after prefix setter ok 21 - dir is not global dir after prefix setter ok 22 - prefix is global prefix after setting global ok 23 - prefix is not local prefix after setting global ok 24 - bin is global bin after setting global ok 25 - bin is not local bin after setting global ok 26 - dir is global dir after setting global ok 27 - dir is not local dir after setting global ok 28 - prefix is global prefix after prefix setter ok 29 - prefix is not local prefix after prefix setter ok 30 - bin is global bin after prefix setter ok 31 - bin is not local bin after prefix setter ok 32 - bin is global bin in windows mode ok 33 - dir is global dir in windows mode 1..33 ok 2 - basic loading # time=111.086ms # Subtest: forceful loading ok 1 - should match pattern provided 1..1 ok 3 - forceful loading # time=57.061ms # Subtest: node is a symlink ok 1 - added the @ sign to scope ok 2 - should match pattern provided ok 3 - should be equal ok 4 - command set to first npm command ok 5 - npmCommand flatOption set ok 6 - print usage ok 7 - does not change npm.command when another command is called ok 8 - should match pattern provided ok 9 - should be equivalent 1..9 ok 4 - node is a symlink # time=106.538ms # Subtest: --no-workspaces with --workspace ok 1 - expect rejected Promise 1..1 ok 5 - --no-workspaces with --workspace # time=100.454ms # Subtest: workspace-aware configs and commands ok 1 - npm.command set to canonical name ok 2 - should exec workspaces version of commands 1..2 ok 6 - workspace-aware configs and commands # time=67.231ms # Subtest: workspaces in global mode ok 1 - expect rejected Promise 1..1 ok 7 - workspaces in global mode # time=77.439ms 1..7 ok 2 - npm.load # time=730.027ms # Subtest: set process.title # Subtest: basic title setting ok 1 - should be equal ok 2 - should be equal 1..2 ok 1 - basic title setting # time=50.979ms # Subtest: do not expose token being revoked ok 1 - should be equal ok 2 - should be equal 1..2 ok 2 - do not expose token being revoked # time=95.088ms # Subtest: do show *** unless a token is actually being revoked ok 1 - should be equal ok 2 - should be equal 1..2 ok 3 - do show *** unless a token is actually being revoked # time=84.514ms 1..3 ok 3 - set process.title # time=299.812ms # Subtest: debug log # Subtest: writes log file ok 1 - one debug file ok 2 - before load appears ok 3 - after load log appears 1..3 ok 1 - writes log file # time=56.742ms # Subtest: can load with bad dir ok 1 - loads with invalid logs dir ok 2 - no log files array ok 3 - should be equivalent strictly 1..3 ok 2 - can load with bad dir # time=40.498ms 1..2 ok 4 - debug log # time=124.418ms # Subtest: cache dir # Subtest: creates a cache dir ok 1 - cache dir exists 1..1 ok 1 - creates a cache dir # time=50.18ms # Subtest: can load with a bad cache dir ok 1 - loads with cache dir as a file ok 2 - should be equal 1..2 ok 2 - can load with a bad cache dir # time=49.009ms 1..2 ok 5 - cache dir # time=128.762ms # Subtest: timings # Subtest: gets/sets timers ok 1 - foo timer is a number ok 2 - foo timer is a number ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - foo timer is gone ok 6 - bar timer is gone ok 7 - should match pattern provided 1..7 ok 1 - gets/sets timers # time=26.358ms # Subtest: writes timings file ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 2 - writes timings file # time=66.03ms # Subtest: does not write timings file with timers:false ok 1 - expect rejected Promise 1..1 ok 3 - does not write timings file with timers:false # time=58.729ms # Subtest: timing display: {"loglevel":"silly"}, display:true, timing:false ok 1 - display ok 2 - timing display 1..2 ok 4 - timing display: {"loglevel":"silly"}, display:true, timing:false # time=53.868ms # Subtest: timing display: {"loglevel":"silly","timing":true}, display:true, timing:true ok 1 - display ok 2 - timing display 1..2 ok 5 - timing display: {"loglevel":"silly","timing":true}, display:true, timing:true # time=34.748ms # Subtest: timing display: {"loglevel":"silent","timing":true}, display:false, timing:false ok 1 - display ok 2 - timing display 1..2 ok 6 - timing display: {"loglevel":"silent","timing":true}, display:false, timing:false # time=40.553ms 1..6 ok 6 - timings # time=396.041ms # Subtest: output clears progress and console.logs the message 1..4 ok 1 - should not be showing progress right now ok 2 - should not be showing progress right now ok 3 - should match pattern provided ok 4 - should match pattern provided ok 7 - output clears progress and console.logs the message # time=30.042ms # Subtest: aliases and typos ok 1 - expected to throw ok 2 - expected to throw ok 3 - expected to throw ok 4 - should match pattern provided ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - should match pattern provided 1..7 ok 8 - aliases and typos # time=330.291ms # Subtest: explicit workspace rejection ok 1 - expect rejected Promise 1..1 ok 9 - explicit workspace rejection # time=48.259ms # Subtest: implicit workspace rejection ok 1 - expect rejected Promise 1..1 ok 10 - implicit workspace rejection # time=66.221ms # Subtest: implicit workspace accept ok 1 - expect rejected Promise 1..1 ok 11 - implicit workspace accept # time=85.981ms # Subtest: usage # Subtest: with browser ok 1 - should not match pattern provided ok 2 - should match pattern provided 1..2 ok 1 - with browser # time=48.963ms # Subtest: windows always uses browser ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 2 - windows always uses browser # time=50.055ms # Subtest: includes commands ok 1 - usage includes access ok 2 - usage does not include long access ok 3 - long usage includes access ok 4 - long usage does not include short access ok 5 - usage includes adduser ok 6 - usage does not include long adduser ok 7 - long usage includes adduser ok 8 - long usage does not include short adduser ok 9 - usage includes audit ok 10 - usage does not include long audit ok 11 - long usage includes audit ok 12 - long usage does not include short audit ok 13 - usage includes bugs ok 14 - usage does not include long bugs ok 15 - long usage includes bugs ok 16 - long usage does not include short bugs ok 17 - usage includes cache ok 18 - usage does not include long cache ok 19 - long usage includes cache ok 20 - long usage does not include short cache ok 21 - usage includes ci ok 22 - usage does not include long ci ok 23 - long usage includes ci ok 24 - long usage does not include short ci ok 25 - usage includes completion ok 26 - usage does not include long completion ok 27 - long usage includes completion ok 28 - long usage does not include short completion ok 29 - usage includes config ok 30 - usage does not include long config ok 31 - long usage includes config ok 32 - long usage does not include short config ok 33 - usage includes dedupe ok 34 - usage does not include long dedupe ok 35 - long usage includes dedupe ok 36 - long usage does not include short dedupe ok 37 - usage includes deprecate ok 38 - usage does not include long deprecate ok 39 - long usage includes deprecate ok 40 - long usage does not include short deprecate ok 41 - usage includes diff ok 42 - usage does not include long diff ok 43 - long usage includes diff ok 44 - long usage does not include short diff ok 45 - usage includes dist-tag ok 46 - usage does not include long dist-tag ok 47 - long usage includes dist-tag ok 48 - long usage does not include short dist-tag ok 49 - usage includes docs ok 50 - usage does not include long docs ok 51 - long usage includes docs ok 52 - long usage does not include short docs ok 53 - usage includes doctor ok 54 - usage does not include long doctor ok 55 - long usage includes doctor ok 56 - long usage does not include short doctor ok 57 - usage includes edit ok 58 - usage does not include long edit ok 59 - long usage includes edit ok 60 - long usage does not include short edit ok 61 - usage includes exec ok 62 - usage does not include long exec ok 63 - long usage includes exec ok 64 - long usage does not include short exec ok 65 - usage includes explain ok 66 - usage does not include long explain ok 67 - long usage includes explain ok 68 - long usage does not include short explain ok 69 - usage includes explore ok 70 - usage does not include long explore ok 71 - long usage includes explore ok 72 - long usage does not include short explore ok 73 - usage includes find-dupes ok 74 - usage does not include long find-dupes ok 75 - long usage includes find-dupes ok 76 - long usage does not include short find-dupes ok 77 - usage includes fund ok 78 - usage does not include long fund ok 79 - long usage includes fund ok 80 - long usage does not include short fund ok 81 - usage includes get ok 82 - usage does not include long get ok 83 - long usage includes get ok 84 - long usage does not include short get ok 85 - usage includes help ok 86 - usage does not include long help ok 87 - long usage includes help ok 88 - long usage does not include short help ok 89 - usage includes help-search ok 90 - usage does not include long help-search ok 91 - long usage includes help-search ok 92 - long usage does not include short help-search ok 93 - usage includes hook ok 94 - usage does not include long hook ok 95 - long usage includes hook ok 96 - long usage does not include short hook ok 97 - usage includes init ok 98 - usage does not include long init ok 99 - long usage includes init ok 100 - long usage does not include short init ok 101 - usage includes install ok 102 - usage does not include long install ok 103 - long usage includes install ok 104 - long usage does not include short install ok 105 - usage includes install-ci-test ok 106 - usage does not include long install-ci-test ok 107 - long usage includes install-ci-test ok 108 - long usage does not include short install-ci-test ok 109 - usage includes install-test ok 110 - usage does not include long install-test ok 111 - long usage includes install-test ok 112 - long usage does not include short install-test ok 113 - usage includes link ok 114 - usage does not include long link ok 115 - long usage includes link ok 116 - long usage does not include short link ok 117 - usage includes ll ok 118 - usage does not include long ll ok 119 - long usage includes ll ok 120 - long usage does not include short ll ok 121 - usage includes login ok 122 - usage does not include long login ok 123 - long usage includes login ok 124 - long usage does not include short login ok 125 - usage includes logout ok 126 - usage does not include long logout ok 127 - long usage includes logout ok 128 - long usage does not include short logout ok 129 - usage includes ls ok 130 - usage does not include long ls ok 131 - long usage includes ls ok 132 - long usage does not include short ls ok 133 - usage includes org ok 134 - usage does not include long org ok 135 - long usage includes org ok 136 - long usage does not include short org ok 137 - usage includes outdated ok 138 - usage does not include long outdated ok 139 - long usage includes outdated ok 140 - long usage does not include short outdated ok 141 - usage includes owner ok 142 - usage does not include long owner ok 143 - long usage includes owner ok 144 - long usage does not include short owner ok 145 - usage includes pack ok 146 - usage does not include long pack ok 147 - long usage includes pack ok 148 - long usage does not include short pack ok 149 - usage includes ping ok 150 - usage does not include long ping ok 151 - long usage includes ping ok 152 - long usage does not include short ping ok 153 - usage includes pkg ok 154 - usage does not include long pkg ok 155 - long usage includes pkg ok 156 - long usage does not include short pkg ok 157 - usage includes prefix ok 158 - usage does not include long prefix ok 159 - long usage includes prefix ok 160 - long usage does not include short prefix ok 161 - usage includes profile ok 162 - usage does not include long profile ok 163 - long usage includes profile ok 164 - long usage does not include short profile ok 165 - usage includes prune ok 166 - usage does not include long prune ok 167 - long usage includes prune ok 168 - long usage does not include short prune ok 169 - usage includes publish ok 170 - usage does not include long publish ok 171 - long usage includes publish ok 172 - long usage does not include short publish ok 173 - usage includes query ok 174 - usage does not include long query ok 175 - long usage includes query ok 176 - long usage does not include short query ok 177 - usage includes rebuild ok 178 - usage does not include long rebuild ok 179 - long usage includes rebuild ok 180 - long usage does not include short rebuild ok 181 - usage includes repo ok 182 - usage does not include long repo ok 183 - long usage includes repo ok 184 - long usage does not include short repo ok 185 - usage includes restart ok 186 - usage does not include long restart ok 187 - long usage includes restart ok 188 - long usage does not include short restart ok 189 - usage includes root ok 190 - usage does not include long root ok 191 - long usage includes root ok 192 - long usage does not include short root ok 193 - usage includes run-script ok 194 - usage does not include long run-script ok 195 - long usage includes run-script ok 196 - long usage does not include short run-script ok 197 - usage includes search ok 198 - usage does not include long search ok 199 - long usage includes search ok 200 - long usage does not include short search ok 201 - usage includes set ok 202 - usage does not include long set ok 203 - long usage includes set ok 204 - long usage does not include short set ok 205 - usage includes shrinkwrap ok 206 - usage does not include long shrinkwrap ok 207 - long usage includes shrinkwrap ok 208 - long usage does not include short shrinkwrap ok 209 - usage includes star ok 210 - usage does not include long star ok 211 - long usage includes star ok 212 - long usage does not include short star ok 213 - usage includes stars ok 214 - usage does not include long stars ok 215 - long usage includes stars ok 216 - long usage does not include short stars ok 217 - usage includes start ok 218 - usage does not include long start ok 219 - long usage includes start ok 220 - long usage does not include short start ok 221 - usage includes stop ok 222 - usage does not include long stop ok 223 - long usage includes stop ok 224 - long usage does not include short stop ok 225 - usage includes team ok 226 - usage does not include long team ok 227 - long usage includes team ok 228 - long usage does not include short team ok 229 - usage includes test ok 230 - usage does not include long test ok 231 - long usage includes test ok 232 - long usage does not include short test ok 233 - usage includes token ok 234 - usage does not include long token ok 235 - long usage includes token ok 236 - long usage does not include short token ok 237 - usage includes uninstall ok 238 - usage does not include long uninstall ok 239 - long usage includes uninstall ok 240 - long usage does not include short uninstall ok 241 - usage includes unpublish ok 242 - usage does not include long unpublish ok 243 - long usage includes unpublish ok 244 - long usage does not include short unpublish ok 245 - usage includes unstar ok 246 - usage does not include long unstar ok 247 - long usage includes unstar ok 248 - long usage does not include short unstar ok 249 - usage includes update ok 250 - usage does not include long update ok 251 - long usage includes update ok 252 - long usage does not include short update ok 253 - usage includes version ok 254 - usage does not include long version ok 255 - long usage includes version ok 256 - long usage does not include short version ok 257 - usage includes view ok 258 - usage does not include long view ok 259 - long usage includes view ok 260 - long usage does not include short view ok 261 - usage includes whoami ok 262 - usage does not include long whoami ok 263 - long usage includes whoami 1..263 ok 3 - includes commands # time=2981.914ms # Subtest: set process.stdout.columns # Subtest: column width 0 ok 1 - must match snapshot 1..1 ok 1 - column width 0 # time=3.043ms # Subtest: column width 1 ok 1 - must match snapshot 1..1 ok 2 - column width 1 # time=0.369ms # Subtest: column width 10 ok 1 - must match snapshot 1..1 ok 3 - column width 10 # time=0.288ms # Subtest: column width 24 ok 1 - must match snapshot 1..1 ok 4 - column width 24 # time=0.27ms # Subtest: column width 40 ok 1 - must match snapshot 1..1 ok 5 - column width 40 # time=0.385ms # Subtest: column width 41 ok 1 - must match snapshot 1..1 ok 6 - column width 41 # time=0.271ms # Subtest: column width 75 ok 1 - must match snapshot 1..1 ok 7 - column width 75 # time=0.263ms # Subtest: column width 76 ok 1 - must match snapshot 1..1 ok 8 - column width 76 # time=0.291ms # Subtest: column width 90 ok 1 - must match snapshot 1..1 ok 9 - column width 90 # time=0.285ms # Subtest: column width 100 ok 1 - must match snapshot 1..1 ok 10 - column width 100 # time=0.415ms 1..10 ok 4 - set process.stdout.columns # time=76.156ms 1..4 ok 12 - usage # time=3220.102ms 1..12 # time=5639.974ms ok 11 - test/lib/npm.js # time=5639.974ms # Subtest: test/lib/es6/validate-engines.js # Subtest: validate engines ok 1 - should be equal ok 2 - should be equal ok 3 - should be equal ok 4 - should be equal ok 5 - should match pattern provided ok 6 - should be equal ok 7 - should be equal 1..7 ok 1 - validate engines # time=8.723ms 1..1 # time=20.213ms ok 12 - test/lib/es6/validate-engines.js # time=20.213ms # Subtest: test/lib/workspaces/get-workspaces.js # Subtest: filter by package name ok 1 - should filter by package name 1..1 ok 1 - filter by package name # time=51.831ms # Subtest: include workspace root ok 1 - include rootspace root 1..1 ok 2 - include workspace root # time=33.591ms # Subtest: filter by package directory ok 1 - should filter by package directory 1..1 ok 3 - filter by package directory # time=61.613ms # Subtest: filter by rel package directory ok 1 - should filter by rel package directory 1..1 ok 4 - filter by rel package directory # time=20.161ms # Subtest: filter by absolute package directory ok 1 - should filter by absolute package directory 1..1 ok 5 - filter by absolute package directory # time=28.195ms # Subtest: filter by parent directory name ok 1 - should filter by parent directory name 1..1 ok 6 - filter by parent directory name # time=21.793ms # Subtest: filter by parent directory path ok 1 - should filter by parent directory path 1..1 ok 7 - filter by parent directory path # time=7.851ms # Subtest: filter by absolute parent directory path ok 1 - should filter by absolute parent directory path 1..1 ok 8 - filter by absolute parent directory path # time=8.005ms # Subtest: no filter set ok 1 - should return all workspaces if no filter set 1..1 ok 9 - no filter set # time=31.625ms # Subtest: missing workspace ok 1 - should throw no workspaces found error 1..1 ok 10 - missing workspace # time=42.659ms # Subtest: no workspaces configured ok 1 - should throw no workspaces found error 1..1 ok 11 - no workspaces configured # time=5.91ms 1..11 # time=327.457ms ok 13 - test/lib/workspaces/get-workspaces.js # time=327.457ms # Subtest: test/lib/commands/access.js # Subtest: completion ok 1 - expect resolving Promise ok 2 - expect resolving Promise ok 3 - expect resolving Promise ok 4 - expect resolving Promise ok 5 - expect resolving Promise ok 6 - expect resolving Promise ok 7 - expect resolving Promise ok 8 - expect resolving Promise ok 9 - expect rejected Promise 1..9 ok 1 - completion # time=144.397ms # Subtest: command required ok 1 - expect rejected Promise 1..1 ok 2 - command required # time=119.772ms # Subtest: unrecognized command ok 1 - expect rejected Promise 1..1 ok 3 - unrecognized command # time=51.453ms # Subtest: subcommand required ok 1 - expect rejected Promise 1..1 ok 4 - subcommand required # time=71.536ms # Subtest: unrecognized subcommand ok 1 - expect rejected Promise 1..1 ok 5 - unrecognized subcommand # time=60.02ms # Subtest: grant # Subtest: invalid permissions ok 1 - expect rejected Promise 1..1 ok 1 - invalid permissions # time=56.046ms # Subtest: no permissions ok 1 - expect rejected Promise 1..1 ok 2 - no permissions # time=68.639ms # Subtest: read-only 1..0 ok 3 - read-only # time=63.411ms 1..3 ok 6 - grant # time=268.84ms # Subtest: revoke # Subtest: success 1..0 ok 1 - success # time=64.938ms 1..1 ok 7 - revoke # time=90.703ms # Subtest: list # Subtest: invalid subcommand ok 1 - expect rejected Promise 1..1 ok 1 - invalid subcommand # time=84.32ms # Subtest: packages explicit user ok 1 - should be equivalent 1..1 ok 2 - packages explicit user # time=103.561ms # Subtest: packages infer user ok 1 - should be equivalent 1..1 ok 3 - packages infer user # time=88.599ms # Subtest: packages json ok 1 - should be equivalent 1..1 ok 4 - packages json # time=56.473ms # Subtest: collaborators explicit package ok 1 - should be equivalent 1..1 ok 5 - collaborators explicit package # time=65.47ms # Subtest: collaborators user ok 1 - should be equivalent 1..1 ok 6 - collaborators user # time=112.265ms 1..6 ok 8 - list # time=613.857ms # Subtest: get # Subtest: invalid subcommand ok 1 - expect rejected Promise 1..1 ok 1 - invalid subcommand # time=70.878ms # Subtest: status explicit package ok 1 - should be equivalent 1..1 ok 2 - status explicit package # time=99.778ms # Subtest: status implicit package ok 1 - should be equivalent 1..1 ok 3 - status implicit package # time=79.694ms # Subtest: status no package ok 1 - expect rejected Promise 1..1 ok 4 - status no package # time=49.493ms # Subtest: status invalid package ok 1 - expect rejected Promise 1..1 ok 5 - status invalid package # time=40.55ms # Subtest: status json ok 1 - should be equivalent 1..1 ok 6 - status json # time=74.707ms 1..6 ok 9 - get # time=532.913ms # Subtest: set # Subtest: status=public ok 1 - should be equivalent 1..1 ok 1 - status=public # time=98.748ms # Subtest: status=private ok 1 - should be equivalent 1..1 ok 2 - status=private # time=54.457ms # Subtest: status=invalid ok 1 - expect rejected Promise 1..1 ok 3 - status=invalid # time=57.044ms # Subtest: status non scoped package ok 1 - expect rejected Promise 1..1 ok 4 - status non scoped package # time=53.84ms # Subtest: mfa=none 1..0 ok 5 - mfa=none # time=51.721ms # Subtest: mfa=publish 1..0 ok 6 - mfa=publish # time=69.171ms # Subtest: mfa=automation 1..0 ok 7 - mfa=automation # time=62.461ms # Subtest: mfa=invalid ok 1 - expect rejected Promise 1..1 ok 8 - mfa=invalid # time=62.405ms # Subtest: 2fa=none 1..0 ok 9 - 2fa=none # time=52.94ms # Subtest: 2fa=publish 1..0 ok 10 - 2fa=publish # time=81.434ms # Subtest: 2fa=automation 1..0 ok 11 - 2fa=automation # time=65.059ms # Subtest: 2fa=invalid ok 1 - expect rejected Promise 1..1 ok 12 - 2fa=invalid # time=55.163ms 1..12 ok 10 - set # time=996.57ms 1..10 # time=3053.572ms ok 14 - test/lib/commands/access.js # time=3053.572ms # Subtest: test/lib/commands/adduser.js # Subtest: usage ok 1 - usage has command name in it 1..1 ok 1 - usage # time=139.963ms # Subtest: legacy # Subtest: simple adduser ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should be equivalent ok 4 - should only have token and un-nerfed old email 1..4 ok 1 - simple adduser # time=89.079ms # Subtest: scoped adduser ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should be equivalent ok 4 - should only have token and scope:registry 1..4 ok 2 - scoped adduser # time=100.088ms # Subtest: scoped adduser with valid scoped registry config ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should be equivalent ok 4 - should only have token and scope:registry 1..4 ok 3 - scoped adduser with valid scoped registry config # time=67.126ms # Subtest: save config failure ok 1 - expect rejected Promise ok 2 - should match pattern provided 1..2 ok 4 - save config failure # time=58.363ms 1..4 ok 2 - legacy # time=401.537ms # Subtest: web # Subtest: basic adduser ok 1 - expect truthy value ok 2 - expect truthy value ok 3 - should be equivalent ok 4 - should be equivalent 1..4 ok 1 - basic adduser # time=69.63ms # Subtest: server error ok 1 - expect rejected Promise 1..1 ok 2 - server error # time=63.864ms # Subtest: fallback ok 1 - should match pattern provided ok 2 - should be equivalent 1..2 ok 3 - fallback # time=91.294ms 1..3 ok 3 - web # time=276.766ms 1..3 # time=851.207ms ok 15 - test/lib/commands/adduser.js # time=851.207ms # Subtest: test/lib/commands/audit.js # Subtest: normal audit ok 1 - would have exited uncleanly ok 2 - must match snapshot 1..2 ok 1 - normal audit # time=281.835ms # Subtest: fallback audit ok 1 - should match pattern provided ok 2 - would have exited uncleanly ok 3 - must match snapshot 1..3 ok 2 - fallback audit # time=129.145ms # Subtest: json audit ok 1 - would have exited uncleanly ok 2 - must match snapshot 1..2 ok 3 - json audit # time=97.766ms # Subtest: audit fix - bulk endpoint ok 1 - should be equivalent ok 2 - should be equivalent ok 3 - must match snapshot ok 4 - lockfile has test-dep-a@1.0.1 ok 5 - has test-dep-a@1.0.1 on disk 1..5 ok 4 - audit fix - bulk endpoint # time=167.498ms # Subtest: audit fix no package lock ok 1 - expect rejected Promise 1..1 ok 5 - audit fix no package lock # time=86.058ms # Subtest: completion # Subtest: fix ok 1 - completes to fix 1..1 ok 1 - fix # time=2.358ms # Subtest: subcommand fix ok 1 - resolves to ? 1..1 ok 2 - subcommand fix # time=0.672ms # Subtest: subcommand not recognized ok 1 - expect rejected Promise 1..1 ok 3 - subcommand not recognized # time=0.708ms 1..3 ok 6 - completion # time=84.052ms # Subtest: audit signatures # Subtest: with valid signatures ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 1 - with valid signatures # time=164.647ms # Subtest: with valid signatures using alias ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 2 - with valid signatures using alias # time=116.639ms # Subtest: with key fallback to legacy API ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 3 - with key fallback to legacy API # time=180.192ms # Subtest: with multiple valid signatures and one invalid ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - must match snapshot 1..5 ok 4 - with multiple valid signatures and one invalid # time=130.302ms # Subtest: with bundled and peer deps and no signatures ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 5 - with bundled and peer deps and no signatures # time=120.188ms # Subtest: with invalid signatures ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 6 - with invalid signatures # time=122.895ms # Subtest: with valid and missing signatures ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - must match snapshot 1..5 ok 7 - with valid and missing signatures # time=122.86ms # Subtest: with both invalid and missing signatures ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - must match snapshot 1..5 ok 8 - with both invalid and missing signatures # time=165.72ms # Subtest: with multiple invalid signatures ok 1 - should exit with error ok 2 - must match snapshot 1..2 ok 9 - with multiple invalid signatures # time=161.781ms # Subtest: with multiple missing signatures ok 1 - should exit with error ok 2 - must match snapshot 1..2 ok 10 - with multiple missing signatures # time=204.46ms # Subtest: with signatures but no public keys ok 1 - should throw with error 1..1 ok 11 - with signatures but no public keys # time=129.457ms # Subtest: with signatures but the public keys are expired ok 1 - should throw with error 1..1 ok 12 - with signatures but the public keys are expired # time=122.633ms # Subtest: with signatures but the public keyid does not match ok 1 - should throw with error 1..1 ok 13 - with signatures but the public keyid does not match # time=109.943ms # Subtest: with keys but missing signature ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 14 - with keys but missing signature # time=169.091ms # Subtest: output details about missing signatures ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 15 - output details about missing signatures # time=111.394ms # Subtest: json output with valid signatures ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 16 - json output with valid signatures # time=121.445ms # Subtest: json output with invalid signatures ok 1 - should exit with error ok 2 - must match snapshot 1..2 ok 17 - json output with invalid signatures # time=108.071ms # Subtest: json output with invalid and missing signatures ok 1 - should exit with error ok 2 - must match snapshot 1..2 ok 18 - json output with invalid and missing signatures # time=125.661ms # Subtest: omit dev dependencies with missing signature ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 19 - omit dev dependencies with missing signature # time=133.335ms # Subtest: third-party registry without keys (E404) does not verify ok 1 - expect rejected Promise 1..1 ok 20 - third-party registry without keys (E404) does not verify # time=95.207ms # Subtest: third-party registry without keys (E400) does not verify ok 1 - expect rejected Promise 1..1 ok 21 - third-party registry without keys (E400) does not verify # time=178.749ms # Subtest: third-party registry with keys and signatures ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 22 - third-party registry with keys and signatures # time=152.892ms # Subtest: third-party registry with invalid signatures errors ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 23 - third-party registry with invalid signatures errors # time=151.015ms # Subtest: third-party registry with keys and missing signatures errors ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 24 - third-party registry with keys and missing signatures errors # time=116.579ms # Subtest: third-party registry with sub-path ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 25 - third-party registry with sub-path # time=100.206ms # Subtest: third-party registry with sub-path (trailing slash) ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 26 - third-party registry with sub-path (trailing slash) # time=157.335ms # Subtest: multiple registries with keys and signatures ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 27 - multiple registries with keys and signatures # time=114.467ms # Subtest: errors with an empty install ok 1 - expect rejected Promise 1..1 ok 28 - errors with an empty install # time=67.378ms # Subtest: errors when TUF errors ok 1 - expect rejected Promise 1..1 ok 29 - errors when TUF errors # time=76.34ms # Subtest: errors when the keys endpoint errors ok 1 - expect rejected Promise 1..1 ok 30 - errors when the keys endpoint errors # time=123.795ms # Subtest: ignores optional dependencies ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 31 - ignores optional dependencies # time=93.474ms # Subtest: errors when no installed dependencies ok 1 - expect rejected Promise 1..1 ok 32 - errors when no installed dependencies # time=100.395ms # Subtest: should skip missing non-prod deps ok 1 - expect rejected Promise 1..1 ok 33 - should skip missing non-prod deps # time=118.046ms # Subtest: should skip invalid pkg ranges ok 1 - expect rejected Promise 1..1 ok 34 - should skip invalid pkg ranges # time=118.721ms # Subtest: should skip git specs ok 1 - expect rejected Promise 1..1 ok 35 - should skip git specs # time=85.279ms # Subtest: errors for global packages ok 1 - expect rejected Promise 1..1 ok 36 - errors for global packages # time=82.625ms # Subtest: with invalid signtaures and color output enabled ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 37 - with invalid signtaures and color output enabled # time=142.353ms # Subtest: with valid attestations ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 38 - with valid attestations # time=121.08ms # Subtest: with multiple valid attestations ok 1 - should exit successfully ok 2 - should match pattern provided 1..2 ok 39 - with multiple valid attestations # time=148.655ms # Subtest: with invalid attestations ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 40 - with invalid attestations # time=182.091ms # Subtest: json output with invalid attestations ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 41 - json output with invalid attestations # time=205.676ms # Subtest: with multiple invalid attestations ok 1 - should exit with error ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 42 - with multiple invalid attestations # time=146.282ms # Subtest: workspaces # Subtest: verifies registry deps and ignores local workspace deps ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 1 - verifies registry deps and ignores local workspace deps # time=157.044ms # Subtest: verifies registry deps when filtering by workspace name ok 1 - should exit successfully ok 2 - should match pattern provided ok 3 - must match snapshot 1..3 ok 2 - verifies registry deps when filtering by workspace name # time=163.042ms # Subtest: verifies registry dep if workspaces is disabled ok 1 - expect rejected Promise 1..1 ok 3 - verifies registry dep if workspaces is disabled # time=88.352ms 1..3 ok 43 - workspaces # time=495.586ms 1..43 ok 7 - audit signatures # time=6689.327ms 1..7 # time=7665.302ms ok 16 - test/lib/commands/audit.js # time=7665.302ms # Subtest: test/lib/commands/bugs.js # Subtest: usage ok 1 - usage has command name in it 1..1 ok 1 - usage # time=368.891ms # Subtest: open bugs urls & emails # Subtest: . ok 1 - opened expected url 1..1 ok 1 - . # time=5.299ms # Subtest: nobugs ok 1 - opened expected url 1..1 ok 2 - nobugs # time=1.01ms # Subtest: nullbugs ok 1 - opened expected url 1..1 ok 3 - nullbugs # time=0.622ms # Subtest: bugsobj-nourl ok 1 - opened expected url 1..1 ok 4 - bugsobj-nourl # time=0.66ms # Subtest: bugsurl ok 1 - opened expected url 1..1 ok 5 - bugsurl # time=0.536ms # Subtest: bugsobj ok 1 - opened expected url 1..1 ok 6 - bugsobj # time=0.384ms # Subtest: repourl ok 1 - opened expected url 1..1 ok 7 - repourl # time=0.993ms # Subtest: repoobj ok 1 - opened expected url 1..1 ok 8 - repoobj # time=0.891ms # Subtest: mailtest ok 1 - opened expected url 1..1 ok 9 - mailtest # time=0.603ms # Subtest: secondmailtest ok 1 - opened expected url 1..1 ok 10 - secondmailtest # time=0.499ms # Subtest: open default package if none specified ok 1 - opened expected url 1..1 ok 11 - open default package if none specified # time=0.443ms 1..11 ok 2 - open bugs urls & emails # time=78.139ms 1..2 # time=493.75ms ok 17 - test/lib/commands/bugs.js # time=493.75ms # Subtest: test/lib/commands/cache.js # Subtest: cache no args ok 1 - should throw usage instructions 1..1 ok 1 - cache no args # time=218.841ms # Subtest: cache clean ok 1 - should throw warning 1..1 ok 2 - cache clean # time=61.424ms # Subtest: cache clean (force) ok 1 - cache dir was removed 1..1 ok 3 - cache clean (force) # time=67.475ms # Subtest: cache add no arg ok 1 - throws usage error 1..1 ok 4 - cache add no arg # time=58.424ms # Subtest: cache add single pkg ok 1 - should be equal ok 2 - expect resolving Promise ok 3 - expect resolving Promise 1..3 ok 5 - cache add single pkg # time=182.663ms # Subtest: cache add multiple pkgs ok 1 - should be equal ok 2 - expect resolving Promise ok 3 - expect resolving Promise ok 4 - expect resolving Promise ok 5 - expect resolving Promise 1..5 ok 6 - cache add multiple pkgs # time=139.998ms # Subtest: cache ls ok 1 - logs cache entries 1..1 ok 7 - cache ls # time=68.986ms # Subtest: cache ls pkgs ok 1 - logs cache entries for npm and webpack and one webpack tgz 1..1 ok 8 - cache ls pkgs # time=87.106ms # Subtest: cache ls special ok 1 - logs cache entries for foo 1..1 ok 9 - cache ls special # time=90.614ms # Subtest: cache ls nonpublic registry ok 1 - logs cache entry for extemporaneously and its tarball 1..1 ok 10 - cache ls nonpublic registry # time=74.091ms # Subtest: cache ls tagged ok 1 - should throw usage error 1..1 ok 11 - cache ls tagged # time=52.077ms # Subtest: cache ls scoped and scoped slash ok 1 - logs cache entries for @gar and @fritzy 1..1 ok 12 - cache ls scoped and scoped slash # time=98.498ms # Subtest: cache ls corrupted ok 1 - logs cache entries with bad data 1..1 ok 13 - cache ls corrupted # time=49.467ms # Subtest: cache ls missing packument version not an object ok 1 - logs cache entry for packument 1..1 ok 14 - cache ls missing packument version not an object # time=64.989ms # Subtest: cache rm ok 1 - logs deleting single entry ok 2 - expect resolving Promise ok 3 - expect rejected Promise 1..3 ok 15 - cache rm # time=69.571ms # Subtest: cache rm unfound ok 1 - no errors, no output 1..1 ok 16 - cache rm unfound # time=44.552ms # Subtest: cache verify ok 1 - shows verified cache output 1..1 ok 17 - cache verify # time=51.681ms # Subtest: cache verify as part of home ok 1 - contains ~ shorthand 1..1 ok 18 - cache verify as part of home # time=75.702ms # Subtest: cache verify w/ extra output ok 1 - shows extra output 1..1 ok 19 - cache verify w/ extra output # time=56.329ms # Subtest: cache completion ok 1 - npm cache ok 2 - npm cache add ok 3 - npm cache clean ok 4 - npm cache verify 1..4 ok 20 - cache completion # time=56.906ms 1..20 # time=2022.301ms ok 18 - test/lib/commands/cache.js # time=2022.301ms # Subtest: test/lib/commands/completion.js # Subtest: completion # Subtest: completion completion ok 1 - both shells 1..1 ok 1 - completion completion # time=312.657ms # Subtest: completion completion no known shells ok 1 - no responses 1..1 ok 2 - completion completion no known shells # time=89.974ms # Subtest: completion completion wrong word count ok 1 - no responses 1..1 ok 3 - completion completion wrong word count # time=51.013ms # Subtest: dump script when completion is not being attempted ok 1 - wrote the completion script 1..1 ok 4 - dump script when completion is not being attempted # time=61.935ms # Subtest: dump script exits correctly when EPIPE is emitted on stdout ok 1 - wrote the completion script 1..1 ok 5 - dump script exits correctly when EPIPE is emitted on stdout # time=45.474ms # Subtest: single command name ok 1 - single command name 1..1 ok 6 - single command name # time=63.261ms # Subtest: multiple command names ok 1 - multiple command names 1..1 ok 7 - multiple command names # time=53.068ms # Subtest: completion of invalid command name does nothing ok 1 - no results 1..1 ok 8 - completion of invalid command name does nothing # time=46.548ms # Subtest: subcommand completion ok 1 - subcommands 1..1 ok 9 - subcommand completion # time=66.462ms # Subtest: filtered subcommands ok 1 - filtered subcommands 1..1 ok 10 - filtered subcommands # time=75.944ms # Subtest: commands with no completion ok 1 - no results 1..1 ok 11 - commands with no completion # time=53.324ms # Subtest: flags ok 1 - flags 1..1 ok 12 - flags # time=48.387ms # Subtest: --no- flags ok 1 - flags 1..1 ok 13 - --no- flags # time=85.807ms # Subtest: double dashes escape from flag completion ok 1 - full command list 1..1 ok 14 - double dashes escape from flag completion # time=71.482ms # Subtest: completion cannot complete options that take a value in mid-command ok 1 - does not try to complete option arguments in the middle of a command 1..1 ok 15 - completion cannot complete options that take a value in mid-command # time=53.833ms 1..15 ok 1 - completion # time=1480.373ms # Subtest: windows without bash ok 1 - returns the correct error ok 2 - no output 1..2 ok 2 - windows without bash # time=82.143ms 1..2 # time=1579.823ms ok 19 - test/lib/commands/completion.js # time=1579.823ms # Subtest: test/lib/commands/config.js # Subtest: config no args ok 1 - rejects with usage 1..1 ok 1 - config no args # time=412.956ms # Subtest: config ignores workspaces ok 1 - rejects with usage 1..1 ok 2 - config ignores workspaces # time=68.137ms # Subtest: config list ok 1 - output matches snapshot 1..1 ok 3 - config list # time=63.344ms # Subtest: config list --long ok 1 - output matches snapshot 1..1 ok 4 - config list --long # time=48.451ms # Subtest: config list --json ok 1 - output matches snapshot 1..1 ok 5 - config list --json # time=40.735ms # Subtest: config list with publishConfig ok 1 - output matches snapshot 1..1 ok 6 - config list with publishConfig # time=106.89ms # Subtest: config delete no args ok 1 - rejects with usage 1..1 ok 7 - config delete no args # time=41.397ms # Subtest: config delete single key ok 1 - acces should be defaulted ok 2 - should not be equal 1..2 ok 8 - config delete single key # time=51.826ms # Subtest: config delete multiple keys ok 1 - access should be defaulted ok 2 - all should be defaulted ok 3 - should not be equal ok 4 - should not be equal 1..4 ok 9 - config delete multiple keys # time=52.833ms # Subtest: config delete key --location=global ok 1 - access should be defaulted ok 2 - should not be equal 1..2 ok 10 - config delete key --location=global # time=47.375ms # Subtest: config delete key --global ok 1 - access should no longer be set ok 2 - should not be equal 1..2 ok 11 - config delete key --global # time=51.639ms # Subtest: config set invalid option ok 1 - expect rejected Promise 1..1 ok 12 - config set invalid option # time=43.33ms # Subtest: config set deprecated option ok 1 - expect rejected Promise 1..1 ok 13 - config set deprecated option # time=38.018ms # Subtest: config set nerf-darted option ok 1 - nerf-darted config is set 1..1 ok 14 - config set nerf-darted option # time=57.653ms # Subtest: config set scoped optoin ok 1 - scoped config is set 1..1 ok 15 - config set scoped optoin # time=57.683ms # Subtest: config set no args ok 1 - rejects with usage 1..1 ok 16 - config set no args # time=54.263ms # Subtest: config set key ok 1 - set the value for access ok 2 - removed empty config 1..2 ok 17 - config set key # time=55.374ms # Subtest: config set key value ok 1 - set the value for access ok 2 - access is set to restricted 1..2 ok 18 - config set key value # time=77.802ms # Subtest: config set key=value ok 1 - set the value for access ok 2 - access is set to restricted 1..2 ok 19 - config set key=value # time=42.225ms # Subtest: config set key1 value1 key2=value2 key3 ok 1 - access was set ok 2 - all was set ok 3 - audit was unset and restored to its default ok 4 - access is set to restricted ok 5 - all is set to false ok 6 - should not be equal 1..6 ok 20 - config set key1 value1 key2=value2 key3 # time=65.39ms # Subtest: config set invalid key logs warning ok 1 - logged warning 1..1 ok 21 - config set invalid key logs warning # time=70.344ms # Subtest: config set key=value --location=global ok 1 - foo should be set ok 2 - access is set to restricted 1..2 ok 22 - config set key=value --location=global # time=45.955ms # Subtest: config set key=value --global ok 1 - access should be set ok 2 - access is set to restricted 1..2 ok 23 - config set key=value --global # time=51.232ms # Subtest: config get no args ok 1 - get with no args outputs list 1..1 ok 24 - config get no args # time=81.631ms # Subtest: config get single key ok 1 - should get the value 1..1 ok 25 - config get single key # time=48.739ms # Subtest: config get multiple keys ok 1 - outputs yes ok 2 - outputs all 1..2 ok 26 - config get multiple keys # time=59.686ms # Subtest: config get private key ok 1 - rejects with protected string ok 2 - rejects with protected string 1..2 ok 27 - config get private key # time=85.543ms # Subtest: config edit ok 1 - editor was spawned ok 2 - editor opened the user config file ok 3 - kept foo ok 4 - kept bar ok 5 - appends defaults to file 1..5 ok 28 - config edit # time=75.86ms # Subtest: config edit - editor exits non-0 ok 1 - rejects with error about editor code ok 2 - editor was spawned ok 3 - editor opened the user config file 1..3 ok 29 - config edit - editor exits non-0 # time=56.871ms # Subtest: config fix # Subtest: no problems ok 1 - printed nothing 1..1 ok 1 - no problems # time=41.59ms # Subtest: repairs all configs by default ok 1 - output has deleted global _authtoken ok 2 - output has renamed global _authToken ok 3 - should not be equal ok 4 - should not be equal ok 5 - global _authToken was scoped ok 6 - global config was written ok 7 - output has deleted user _authtoken ok 8 - output has renamed user _auth ok 9 - should not be equal ok 10 - should not be equal ok 11 - user _auth was scoped ok 12 - user config was written 1..12 ok 2 - repairs all configs by default # time=46.656ms # Subtest: repairs only the config specified by --location if asked ok 1 - output has deleted global _authtoken ok 2 - output has renamed global _authToken ok 3 - global _authtoken untouched ok 4 - global _authToken untouched ok 5 - should not be equal ok 6 - global config was not written ok 7 - output has deleted user _authtoken ok 8 - output has renamed user _auth ok 9 - should not be equal ok 10 - should not be equal ok 11 - user _auth was scoped ok 12 - user config was written 1..12 ok 3 - repairs only the config specified by --location if asked # time=47.298ms 1..3 ok 30 - config fix # time=198.342ms # Subtest: completion ok 1 - should match pattern provided ok 2 - set foo ok 3 - get ok 4 - set ok 5 - delete ok 6 - rm ok 7 - edit ok 8 - fix ok 9 - list ok 10 - ls ok 11 - also works for just npm get ok 12 - and works on partials 1..12 ok 31 - completion # time=641.429ms 1..31 # time=3376.814ms ok 20 - test/lib/commands/config.js # time=3376.814ms # Subtest: test/lib/commands/dedupe.js # Subtest: should throw in global mode ok 1 - throws EDEDUPEGLOBALE 1..1 ok 1 - should throw in global mode # time=267.455ms # Subtest: dedupe ok 1 - should match pattern provided ok 2 - test-sub was hoisted ok 3 - test-dep-a/test-sub was removed ok 4 - test-dep-b/test-sub was removed 1..4 ok 2 - dedupe # time=217.694ms 1..2 # time=553.558ms ok 21 - test/lib/commands/dedupe.js # time=553.558ms # Subtest: test/lib/commands/diff.js # Subtest: no args # Subtest: in a project dir ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - should match pattern provided ok 8 - should match pattern provided ok 9 - must match snapshot 1..9 ok 1 - in a project dir # time=367.275ms # Subtest: no args, missing package.json name in cwd ok 1 - expect rejected Promise 1..1 ok 2 - no args, missing package.json name in cwd # time=62.155ms # Subtest: no args, bad package.json in cwd ok 1 - expect rejected Promise 1..1 ok 3 - no args, bad package.json in cwd # time=58.957ms 1..3 ok 1 - no args # time=580.213ms # Subtest: single arg # Subtest: spec using cwd package name ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - should match pattern provided ok 8 - should match pattern provided 1..8 ok 1 - spec using cwd package name # time=157.38ms # Subtest: unknown spec, no package.json ok 1 - expect rejected Promise 1..1 ok 2 - unknown spec, no package.json # time=82.428ms # Subtest: spec using semver range ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - should match pattern provided ok 8 - should match pattern provided 1..8 ok 3 - spec using semver range # time=158.473ms # Subtest: version ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - should match pattern provided ok 8 - should match pattern provided 1..8 ok 4 - version # time=95.714ms # Subtest: version, no package.json ok 1 - expect rejected Promise 1..1 ok 5 - version, no package.json # time=121.009ms # Subtest: version, filtering by files ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - must match snapshot 1..5 ok 6 - version, filtering by files # time=110.775ms # Subtest: spec is not a dep ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 7 - spec is not a dep # time=72.215ms # Subtest: unknown package name ok 1 - expect rejected Promise 1..1 ok 8 - unknown package name # time=68.744ms # Subtest: unknown package name, no package.json ok 1 - expect rejected Promise 1..1 ok 9 - unknown package name, no package.json # time=81.483ms # Subtest: transform single direct dep name into spec comparison ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 10 - transform single direct dep name into spec comparison # time=122.877ms # Subtest: global space, transform single direct dep name ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 11 - global space, transform single direct dep name # time=103.812ms # Subtest: transform single spec into spec comparison ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 12 - transform single spec into spec comparison # time=115.107ms # Subtest: transform single spec from transitive deps ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 13 - transform single spec from transitive deps # time=94.49ms # Subtest: missing actual tree ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 14 - missing actual tree # time=111.406ms # Subtest: unknown package name ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 15 - unknown package name # time=133.954ms # Subtest: use project name in project dir ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 16 - use project name in project dir # time=94.01ms # Subtest: dir spec type ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 17 - dir spec type # time=119.391ms # Subtest: unsupported spec type ok 1 - should throw spec type not supported error. 1..1 ok 18 - unsupported spec type # time=46.662ms 1..18 ok 2 - single arg # time=2167.978ms # Subtest: first arg is a qualified spec # Subtest: second arg is ALSO a qualified spec ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 1 - second arg is ALSO a qualified spec # time=120.615ms # Subtest: second arg is a known dependency name ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 2 - second arg is a known dependency name # time=89.416ms # Subtest: second arg is a valid semver version ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 3 - second arg is a valid semver version # time=142.549ms # Subtest: second arg is an unknown dependency name ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided 1..4 ok 4 - second arg is an unknown dependency name # time=100.231ms 1..4 ok 3 - first arg is a qualified spec # time=524.527ms # Subtest: first arg is a known dependency name # Subtest: second arg is a qualified spec ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 1 - second arg is a qualified spec # time=100.362ms # Subtest: second arg is ALSO a known dependency ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 2 - second arg is ALSO a known dependency # time=53.018ms # Subtest: second arg is a valid semver version ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 3 - second arg is a valid semver version # time=108.762ms # Subtest: second arg is an unknown dependency name ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 4 - second arg is an unknown dependency name # time=101.732ms 1..4 ok 4 - first arg is a known dependency name # time=430.785ms # Subtest: first arg is a valid semver range # Subtest: second arg is a qualified spec ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 1 - second arg is a qualified spec # time=143.463ms # Subtest: second arg is a known dependency ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 2 - second arg is a known dependency # time=117.278ms # Subtest: second arg is ALSO a semver version ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 3 - second arg is ALSO a semver version # time=88.615ms # Subtest: second arg is ALSO a semver version BUT cwd not a project dir ok 1 - should throw two versions need project dir error usage msg 1..1 ok 4 - second arg is ALSO a semver version BUT cwd not a project dir # time=70.293ms # Subtest: second arg is an unknown dependency name ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 5 - second arg is an unknown dependency name # time=125.996ms # Subtest: second arg is a qualified spec, missing actual tree ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 6 - second arg is a qualified spec, missing actual tree # time=150.981ms 1..6 ok 5 - first arg is a valid semver range # time=850.827ms # Subtest: first arg is an unknown dependency name # Subtest: second arg is a qualified spec ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 1 - second arg is a qualified spec # time=186.306ms # Subtest: second arg is a known dependency ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 2 - second arg is a known dependency # time=80.816ms # Subtest: second arg is a valid semver version ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 3 - second arg is a valid semver version # time=141.016ms # Subtest: second arg is ALSO an unknown dependency name ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 4 - second arg is ALSO an unknown dependency name # time=95.18ms # Subtest: cwd not a project dir ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 5 - cwd not a project dir # time=91.707ms 1..5 ok 6 - first arg is an unknown dependency name # time=694.894ms # Subtest: various options # Subtest: using --name-only option ok 1 - must match snapshot 1..1 ok 1 - using --name-only option # time=106.581ms # Subtest: using diff option ok 1 - must match snapshot 1..1 ok 2 - using diff option # time=101.872ms 1..2 ok 7 - various options # time=243.053ms # Subtest: too many args ok 1 - should throw usage error 1..1 ok 8 - too many args # time=73.943ms # Subtest: workspaces # Subtest: all workspaces ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - should match pattern provided ok 6 - should match pattern provided ok 7 - should match pattern provided ok 8 - should match pattern provided ok 9 - should match pattern provided 1..9 ok 1 - all workspaces # time=210.632ms # Subtest: one workspace ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should not match pattern provided ok 5 - should not match pattern provided 1..5 ok 2 - one workspace # time=120.928ms # Subtest: invalid workspace ok 1 - expect rejected Promise ok 2 - expect rejected Promise 1..2 ok 3 - invalid workspace # time=54.758ms 1..3 ok 9 - workspaces # time=445.294ms 1..9 # time=6028.621ms ok 22 - test/lib/commands/diff.js # time=6028.621ms # Subtest: test/lib/commands/dist-tag.js # Subtest: ls in current package ok 1 - should list available tags for current package 1..1 ok 1 - ls in current package # time=225.278ms # Subtest: ls global ok 1 - should throw basic usage 1..1 ok 2 - ls global # time=82.68ms # Subtest: no args in current package ok 1 - should default to listing available tags for current package 1..1 ok 3 - no args in current package # time=59.731ms # Subtest: borked cmd usage ok 1 - should show usage error 1..1 ok 4 - borked cmd usage # time=65.425ms # Subtest: ls on named package ok 1 - should list tags for the specified package 1..1 ok 5 - ls on named package # time=87.24ms # Subtest: ls on missing package ok 1 - Modify package distribution tags Usage: npm dist-tag add [] npm dist-tag rm npm dist-tag ls [] Options: [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] alias: dist-tags Run "npm help dist-tag" for more info ok 2 - should log no dist-tag found msg 1..2 ok 6 - ls on missing package # time=50.45ms # Subtest: ls on missing name in current package ok 1 - should throw usage error message 1..1 ok 7 - ls on missing name in current package # time=42.539ms # Subtest: only named package arg ok 1 - should default to listing tags for the specified package 1..1 ok 8 - only named package arg # time=73.189ms # Subtest: workspaces # Subtest: no args ok 1 - printed the expected output 1..1 ok 1 - no args # time=79.346ms # Subtest: no args, one workspace ok 1 - printed the expected output 1..1 ok 2 - no args, one workspace # time=60.081ms # Subtest: one arg -- cwd ok 1 - printed the expected output 1..1 ok 3 - one arg -- cwd # time=59.022ms # Subtest: one arg -- .@1, ignores version spec ok 1 - printed the expected output 1..1 ok 4 - one arg -- .@1, ignores version spec # time=98.31ms # Subtest: one arg -- list ok 1 - printed the expected output 1..1 ok 5 - one arg -- list # time=64.67ms # Subtest: two args -- list, cwd ok 1 - printed the expected output 1..1 ok 6 - two args -- list, cwd # time=83.117ms # Subtest: two args -- list, .@1, ignores version spec ok 1 - printed the expected output 1..1 ok 7 - two args -- list, .@1, ignores version spec # time=70.66ms # Subtest: two args -- list, @scoped/pkg, logs a warning and ignores workspaces ok 1 - logs a warning ok 2 - printed the expected output 1..2 ok 8 - two args -- list, @scoped/pkg, logs a warning and ignores workspaces # time=58.157ms # Subtest: no args, one failing workspace sets exitCode to 1 ok 1 - logs the error ok 2 - printed the expected output 1..2 ok 9 - no args, one failing workspace sets exitCode to 1 # time=103.006ms 1..9 ok 9 - workspaces # time=822.545ms # Subtest: add new tag ok 1 - should trigger request to add new tag ok 2 - should point to expected version ok 3 - should return success msg 1..3 ok 10 - add new tag # time=46.527ms # Subtest: add using valid semver range as name ok 1 - should exit with semver range error ok 2 - should return success msg 1..2 ok 11 - add using valid semver range as name # time=63.99ms # Subtest: add missing args ok 1 - should exit usage error message 1..1 ok 12 - add missing args # time=56.26ms # Subtest: add missing pkg name ok 1 - should exit usage error message 1..1 ok 13 - add missing pkg name # time=51.361ms # Subtest: set existing version ok 1 - should log warn msg 1..1 ok 14 - set existing version # time=57.171ms # Subtest: remove existing tag ok 1 - should trigger request to remove tag ok 2 - should log remove info ok 3 - should return success msg 1..3 ok 15 - remove existing tag # time=51.443ms # Subtest: remove non-existing tag ok 1 - should exit with error ok 2 - should log error msg 1..2 ok 16 - remove non-existing tag # time=58.255ms # Subtest: remove missing pkg name ok 1 - should exit usage error message 1..1 ok 17 - remove missing pkg name # time=57.608ms # Subtest: completion ok 1 - should list npm dist-tag commands for completion ok 2 - expect resolving Promise 1..2 ok 18 - completion # time=51.814ms 1..18 # time=2312.631ms ok 23 - test/lib/commands/dist-tag.js # time=2312.631ms # Subtest: test/lib/commands/deprecate.js # Subtest: completion ok 1 - completion: g ok 2 - completion: ok 3 - completion: fo ok 4 - completion: b ok 5 - completion: foo,something ok 6 - expect rejected Promise 1..6 ok 1 - completion # time=226.713ms # Subtest: no args ok 1 - logs usage 1..1 ok 2 - no args # time=83.563ms # Subtest: only one arg ok 1 - logs usage 1..1 ok 3 - only one arg # time=70.119ms # Subtest: invalid semver range ok 1 - logs semver error 1..1 ok 4 - invalid semver range # time=58.946ms # Subtest: undeprecate ok 1 - should match pattern provided 1..1 ok 5 - undeprecate # time=81.561ms # Subtest: deprecates given range ok 1 - should match pattern provided 1..1 ok 6 - deprecates given range # time=75.772ms # Subtest: deprecates all versions when no range is specified ok 1 - should match pattern provided 1..1 ok 7 - deprecates all versions when no range is specified # time=52.223ms # Subtest: does nothing if version does not actually exist ok 1 - should match pattern provided 1..1 ok 8 - does nothing if version does not actually exist # time=84.532ms 1..8 # time=917.338ms ok 24 - test/lib/commands/deprecate.js # time=917.338ms # Subtest: test/lib/commands/doctor.js # Subtest: all clear ok 1 - output ok 2 - logs 1..2 ok 1 - all clear # time=528.506ms # Subtest: all clear in color ok 1 - everything is ok in color ok 2 - logs 1..2 ok 2 - all clear in color # time=145.761ms # Subtest: silent success ok 1 - output ok 2 - logs 1..2 ok 3 - silent success # time=91.625ms # Subtest: silent errors ok 1 - expect rejected Promise ok 2 - output ok 3 - logs 1..3 ok 4 - silent errors # time=72.045ms # Subtest: ping 404 ok 1 - expect rejected Promise ok 2 - ping 404 ok 3 - logs 1..3 ok 5 - ping 404 # time=116.831ms # Subtest: ping 404 in color ok 1 - expect rejected Promise ok 2 - ping 404 in color ok 3 - logs 1..3 ok 6 - ping 404 in color # time=100.49ms # Subtest: ping exception with code ok 1 - expect rejected Promise ok 2 - ping failure ok 3 - logs 1..3 ok 7 - ping exception with code # time=140.995ms # Subtest: ping exception without code ok 1 - expect rejected Promise ok 2 - ping failure ok 3 - logs 1..3 ok 8 - ping exception without code # time=92.857ms # Subtest: npm out of date ok 1 - expect rejected Promise ok 2 - npm is out of date ok 3 - logs 1..3 ok 9 - npm out of date # time=151.457ms # Subtest: node out of date - lts ok 1 - expect rejected Promise ok 2 - node is out of date ok 3 - logs 1..3 ok 10 - node out of date - lts # time=84.298ms # Subtest: node out of date - current ok 1 - expect rejected Promise ok 2 - node is out of date ok 3 - logs 1..3 ok 11 - node out of date - current # time=111.446ms # Subtest: non-default registry ok 1 - expect rejected Promise ok 2 - non default registry ok 3 - logs 1..3 ok 12 - non-default registry # time=117.623ms # Subtest: missing git ok 1 - expect rejected Promise ok 2 - missing git ok 3 - logs 1..3 ok 13 - missing git # time=76.741ms # Subtest: windows skips permissions checks ok 1 - no permissions checks ok 2 - logs 1..2 ok 14 - windows skips permissions checks # time=135.905ms # Subtest: missing global directories ok 1 - expect rejected Promise ok 2 - missing global directories ok 3 - logs 1..3 ok 15 - missing global directories # time=93.368ms # Subtest: missing local node_modules ok 1 - missing local node_modules ok 2 - logs 1..2 ok 16 - missing local node_modules # time=100.115ms # Subtest: incorrect owner ok 1 - expect rejected Promise ok 2 - incorrect owner ok 3 - logs 1..3 ok 17 - incorrect owner # time=106.446ms # Subtest: incorrect permissions ok 1 - expect rejected Promise ok 2 - incorrect owner ok 3 - logs 1..3 ok 18 - incorrect permissions # time=93.658ms # Subtest: error reading directory ok 1 - expect rejected Promise ok 2 - readdir error ok 3 - logs 1..3 ok 19 - error reading directory # time=108.757ms # Subtest: cacache badContent ok 1 - corrupted cache content ok 2 - logs 1..2 ok 20 - cacache badContent # time=93.587ms # Subtest: cacache reclaimedCount ok 1 - content garbage collected ok 2 - logs 1..2 ok 21 - cacache reclaimedCount # time=142.289ms # Subtest: cacache missingContent ok 1 - missing content ok 2 - logs 1..2 ok 22 - cacache missingContent # time=87.481ms # Subtest: bad proxy ok 1 - expect rejected Promise ok 2 - output ok 3 - logs 1..3 ok 23 - bad proxy # time=104.926ms # Subtest: discrete checks # Subtest: ping ok 1 - output ok 2 - logs 1..2 ok 1 - ping # time=75.854ms # Subtest: versions ok 1 - output ok 2 - logs 1..2 ok 2 - versions # time=95.178ms # Subtest: registry ok 1 - output ok 2 - logs 1..2 ok 3 - registry # time=96.645ms # Subtest: git ok 1 - output ok 2 - logs 1..2 ok 4 - git # time=59.782ms # Subtest: permissions - not windows ok 1 - output ok 2 - logs 1..2 ok 5 - permissions - not windows # time=66.262ms # Subtest: cache ok 1 - output ok 2 - logs 1..2 ok 6 - cache # time=59.427ms # Subtest: permissions - windows ok 1 - output ok 2 - logs 1..2 ok 7 - permissions - windows # time=65.787ms # Subtest: invalid environment ok 1 - expect rejected Promise ok 2 - output ok 3 - logs 1..3 ok 8 - invalid environment # time=168.633ms 1..8 ok 24 - discrete checks # time=878.748ms 1..24 # time=4209.976ms ok 25 - test/lib/commands/doctor.js # time=4209.976ms # Subtest: test/lib/commands/docs.js # Subtest: open docs urls # Subtest: open nodocs url ok 1 - opened https://www.npmjs.com/package/nodocs 1..1 ok 1 - open nodocs url # time=391.908ms # Subtest: open docsurl url ok 1 - opened https://bugzilla.localhost/docsurl 1..1 ok 2 - open docsurl url # time=52.388ms # Subtest: open repourl url ok 1 - opened https://github.com/foo/repourl\#readme 1..1 ok 3 - open repourl url # time=56.24ms # Subtest: open repoobj url ok 1 - opened https://github.com/foo/repoobj\#readme 1..1 ok 4 - open repoobj url # time=43.633ms # Subtest: open repourlobj url ok 1 - opened https://www.npmjs.com/package/repourlobj 1..1 ok 5 - open repourlobj url # time=66.34ms # Subtest: open . url ok 1 - opened https://example.com 1..1 ok 6 - open . url # time=67.518ms 1..6 ok 1 - open docs urls # time=788.161ms # Subtest: open default package if none specified ok 1 - opened expected url 1..1 ok 2 - open default package if none specified # time=68.651ms # Subtest: workspaces # Subtest: all workspaces ok 1 - opened two valid docs urls 1..1 ok 1 - all workspaces # time=75.581ms # Subtest: one workspace ok 1 - opened one requested docs urls 1..1 ok 2 - one workspace # time=46.994ms # Subtest: invalid workspace ok 1 - expect rejected Promise ok 2 - expect rejected Promise ok 3 - opened no docs urls 1..3 ok 3 - invalid workspace # time=79.846ms 1..3 ok 3 - workspaces # time=251.751ms 1..3 # time=1131.141ms ok 26 - test/lib/commands/docs.js # time=1131.141ms # Subtest: test/lib/commands/ci.js # Subtest: reifies, audits, removes node_modules ok 1 - should match pattern provided ok 2 - existing node_modules is removed ok 3 - installs abbrev 1..3 ok 1 - reifies, audits, removes node_modules # time=401.951ms # Subtest: reifies, audits, removes node_modules on repeat run ok 1 - should match pattern provided ok 2 - existing node_modules is removed ok 3 - installs abbrev 1..3 ok 2 - reifies, audits, removes node_modules on repeat run # time=163.906ms # Subtest: --no-audit and --ignore-scripts ok 1 - would fail if install script ran 1..1 ok 3 - --no-audit and --ignore-scripts # time=70.792ms # Subtest: lifecycle scripts ok 1 - expect truthy value ok 2 - expect truthy value ok 3 - expect truthy value ok 4 - expect truthy value ok 5 - expect truthy value ok 6 - expect truthy value ok 7 - expect truthy value ok 8 - runs appropriate scripts, in order 1..8 ok 4 - lifecycle scripts # time=85.191ms # Subtest: should throw if package-lock.json or npm-shrinkwrap missing ok 1 - expect rejected Promise ok 2 - does not remove node_modules 1..2 ok 5 - should throw if package-lock.json or npm-shrinkwrap missing # time=76.52ms # Subtest: should throw ECIGLOBAL ok 1 - expect rejected Promise 1..1 ok 6 - should throw ECIGLOBAL # time=53.404ms # Subtest: should throw error when ideal inventory mismatches virtual ok 1 - expect rejected Promise ok 2 - does not remove node_modules 1..2 ok 7 - should throw error when ideal inventory mismatches virtual # time=111.354ms 1..7 # time=1101.612ms ok 27 - test/lib/commands/ci.js # time=1101.612ms # Subtest: test/lib/commands/exec.js # Subtest: call with args ok 1 - expect rejected Promise 1..1 ok 1 - call with args # time=250.007ms # Subtest: registry package ok 1 - bin ran, creating file 1..1 ok 2 - registry package # time=524.372ms # Subtest: --prefix ok 1 - bin ran, creating file 1..1 ok 3 - --prefix # time=299.067ms # Subtest: workspaces ok 1 - bin ran, creating file inside workspace 1..1 ok 4 - workspaces # time=287.308ms # Subtest: npx --no-install @npmcli/npx-test ok 1 - Expected error message thrown 1..1 ok 5 - npx --no-install @npmcli/npx-test # time=59.402ms 1..5 # time=1513.658ms ok 28 - test/lib/commands/exec.js # time=1513.658ms # Subtest: test/lib/commands/explain.js # Subtest: no args throws usage ok 1 - Explain installed packages Usage: npm explain Options: [--json] [-w|--workspace [-w|--workspace ...]] alias: why Run "npm help explain" for more info 1..1 ok 1 - no args throws usage # time=339.167ms # Subtest: no match throws not found ok 1 - No dependencies found matching foo@1.2.3, node_modules/baz 1..1 ok 2 - no match throws not found # time=387.044ms # Subtest: invalid package name throws not found ok 1 - No dependencies found matching not a valid package name @1.2.3 1..1 ok 3 - invalid package name throws not found # time=99.968ms # Subtest: explain some nodes # Subtest: works with the location ok 1 - should be equivalent strictly 1..1 ok 1 - works with the location # time=109.547ms # Subtest: works with a full actual path ok 1 - should be equivalent strictly 1..1 ok 2 - works with a full actual path # time=53.21ms # Subtest: finds all nodes by name ok 1 - should be equivalent strictly 1..1 ok 3 - finds all nodes by name # time=71.903ms # Subtest: finds only nodes that match the spec ok 1 - should be equivalent strictly 1..1 ok 4 - finds only nodes that match the spec # time=100.292ms # Subtest: finds extraneous nodes ok 1 - should be equivalent strictly 1..1 ok 5 - finds extraneous nodes # time=54.479ms # Subtest: json output ok 1 - should match pattern provided 1..1 ok 6 - json output # time=57.412ms # Subtest: report if no nodes found ok 1 - No dependencies found matching asdf/foo/bar, quux@1.x 1..1 ok 7 - report if no nodes found # time=81.734ms 1..7 ok 4 - explain some nodes # time=623.221ms # Subtest: workspaces # Subtest: should explain workspaces deps ok 1 - should be equivalent strictly 1..1 ok 1 - should explain workspaces deps # time=61.873ms # Subtest: should explain deps when filtering to a single ws ok 1 - should be equivalent strictly 1..1 ok 2 - should explain deps when filtering to a single ws # time=98.031ms # Subtest: should explain deps of workspaces only ok 1 - should be equivalent strictly 1..1 ok 3 - should explain deps of workspaces only # time=79.064ms # Subtest: should throw usage if dep not found within filtered ws ok 1 - No dependencies found matching abbrev 1..1 ok 4 - should throw usage if dep not found within filtered ws # time=150.865ms # Subtest: workspaces disabled ok 1 - should throw usage if dep not found when excluding ws 1..1 ok 5 - workspaces disabled # time=88.921ms 1..5 ok 5 - workspaces # time=610.954ms 1..5 # time=2126.696ms ok 29 - test/lib/commands/explain.js # time=2126.696ms # Subtest: test/lib/commands/edit.js # Subtest: npm edit ok 1 - should match pattern provided 1..1 ok 1 - npm edit # time=631.415ms # Subtest: rebuild failure ok 1 - expect rejected Promise 1..1 ok 2 - rebuild failure # time=85.356ms # Subtest: editor failure ok 1 - expect rejected Promise 1..1 ok 3 - editor failure # time=82.758ms # Subtest: npm edit editor has flags 1..0 ok 4 - npm edit editor has flags # time=64.918ms # Subtest: npm edit no args ok 1 - throws usage error 1..1 ok 5 - npm edit no args # time=96.047ms # Subtest: npm edit nonexistent package ok 1 - expect rejected Promise 1..1 ok 6 - npm edit nonexistent package # time=75.143ms # Subtest: scoped package 1..0 ok 7 - scoped package # time=53.256ms # Subtest: subdependency 1..0 ok 8 - subdependency # time=86.735ms 1..8 # time=1409.157ms ok 30 - test/lib/commands/edit.js # time=1409.157ms # Subtest: test/lib/commands/explore.js # Subtest: basic interactive ok 1 - expect truthy value ok 2 - should be equivalent strictly ok 3 - should match pattern provided 1..3 ok 1 - basic interactive # time=138.084ms # Subtest: interactive tracks exit code # Subtest: code ok 1 - expect truthy value ok 2 - should be equivalent strictly ok 3 - should match pattern provided ok 4 - should be equal 1..4 ok 1 - code # time=63.811ms # Subtest: spawn fail ok 1 - expect rejected Promise ok 2 - should be equal 1..2 ok 2 - spawn fail # time=63.668ms # Subtest: spawn fail, 0 exit code ok 1 - expect rejected Promise ok 2 - should be equal 1..2 ok 3 - spawn fail, 0 exit code # time=83.431ms # Subtest: spawn fail, no exit code ok 1 - expect rejected Promise ok 2 - should be equal 1..2 ok 4 - spawn fail, no exit code # time=63.386ms 1..4 ok 2 - interactive tracks exit code # time=340.955ms # Subtest: basic non-interactive ok 1 - expect truthy value ok 2 - should be equivalent strictly ok 3 - should be equivalent strictly 1..3 ok 3 - basic non-interactive # time=69.254ms # Subtest: signal fails non-interactive ok 1 - expect rejected Promise 1..1 ok 4 - signal fails non-interactive # time=43.357ms # Subtest: usage if no pkg provided # Subtest: [] ok 1 - Usage: 1..1 ok 1 - [] # time=118.357ms # Subtest: ["foo/../.."] ok 1 - Usage: 1..1 ok 2 - ["foo/../.."] # time=53.16ms # Subtest: ["asdf/.."] ok 1 - Usage: 1..1 ok 3 - ["asdf/.."] # time=64.904ms # Subtest: ["."] ok 1 - Usage: 1..1 ok 4 - ["."] # time=56.427ms # Subtest: [".."] ok 1 - Usage: 1..1 ok 5 - [".."] # time=44.054ms # Subtest: ["../.."] ok 1 - Usage: 1..1 ok 6 - ["../.."] # time=54.727ms 1..6 ok 5 - usage if no pkg provided # time=546.951ms # Subtest: pkg not installed ok 1 - expect rejected Promise 1..1 ok 6 - pkg not installed # time=65.693ms 1..6 # time=1352.116ms ok 31 - test/lib/commands/explore.js # time=1352.116ms # Subtest: test/lib/commands/find-dupes.js # Subtest: should run dedupe in dryRun mode ok 1 - should match pattern provided ok 2 - test-sub was not hoisted ok 3 - test-dep-a/test-sub was not removed ok 4 - test-dep-b/test-sub was not removed 1..4 ok 1 - should run dedupe in dryRun mode # time=390.271ms 1..1 # time=416.793ms ok 32 - test/lib/commands/find-dupes.js # time=416.793ms # Subtest: test/lib/commands/get.js # Subtest: should retrieve values from config ok 1 - outputs config item 1..1 ok 1 - should retrieve values from config # time=236.087ms 1..1 # time=251.237ms ok 33 - test/lib/commands/get.js # time=251.237ms # Subtest: test/lib/commands/fund.js # Subtest: fund with no package containing funding ok 1 - should print empty funding info 1..1 ok 1 - fund with no package containing funding # time=546.061ms # Subtest: fund in which same maintainer owns all its deps ok 1 - should print stack packages together 1..1 ok 2 - fund in which same maintainer owns all its deps # time=75.147ms # Subtest: fund in which same maintainer owns all its deps, using --json option ok 1 - should print stack packages together 1..1 ok 3 - fund in which same maintainer owns all its deps, using --json option # time=86.702ms # Subtest: fund containing multi-level nested deps with no funding ok 1 - should omit dependencies with no funding declared 1..1 ok 4 - fund containing multi-level nested deps with no funding # time=66.574ms # Subtest: fund containing multi-level nested deps with no funding, using --json option ok 1 - should omit dependencies with no funding declared in json output 1..1 ok 5 - fund containing multi-level nested deps with no funding, using --json option # time=88.921ms # Subtest: fund containing multi-level nested deps with no funding, using --json option ok 1 - should list multiple funding entries in json output 1..1 ok 6 - fund containing multi-level nested deps with no funding, using --json option # time=69.776ms # Subtest: fund does not support global ok 1 - should throw EFUNDGLOBAL error 1..1 ok 7 - fund does not support global # time=81.952ms # Subtest: fund using package argument ok 1 - should be equal ok 2 - should open funding url 1..2 ok 8 - fund using package argument # time=83.372ms # Subtest: fund does not support global, using --json option ok 1 - should use expected error msg 1..1 ok 9 - fund does not support global, using --json option # time=46ms # Subtest: fund using string shorthand ok 1 - should open string-only url 1..1 ok 10 - fund using string shorthand # time=92.146ms # Subtest: fund using nested packages with multiple sources ok 1 - should prompt with all available URLs 1..1 ok 11 - fund using nested packages with multiple sources # time=92.215ms # Subtest: fund using symlink ref ok 1 - should retrieve funding url from symlink ok 2 - should retrieve funding url from symlink target 1..2 ok 12 - fund using symlink ref # time=64.589ms # Subtest: fund using data from actual tree ok 1 - should retrieve fund info from actual tree, using greatest version found 1..1 ok 13 - fund using data from actual tree # time=61.278ms # Subtest: fund using nested packages with multiple sources, with a source number ok 1 - should open the numbered URL 1..1 ok 14 - fund using nested packages with multiple sources, with a source number # time=90.292ms # Subtest: fund using pkg name while having conflicting versions ok 1 - should open greatest version 1..1 ok 15 - fund using pkg name while having conflicting versions # time=76.296ms # Subtest: fund using bad which value: index too high ok 1 - should match pattern provided ok 2 - should print message about invalid which 1..2 ok 16 - fund using bad which value: index too high # time=51.723ms # Subtest: fund using package argument with no browser, using --json option ok 1 - no output ok 2 - should open funding url using json output 1..2 ok 17 - fund using package argument with no browser, using --json option # time=59.019ms # Subtest: fund using package info fetch from registry ok 1 - should open funding url that was loaded from registry manifest 1..1 ok 18 - fund using package info fetch from registry # time=52.639ms # Subtest: fund tries to use package info fetch from registry but registry has nothing ok 1 - should have no valid funding message 1..1 ok 19 - fund tries to use package info fetch from registry but registry has nothing # time=57.686ms # Subtest: fund but target module has no funding info ok 1 - should have no valid funding message 1..1 ok 20 - fund but target module has no funding info # time=63.287ms # Subtest: fund using bad which value ok 1 - should have bad which option error message 1..1 ok 21 - fund using bad which value # time=56.74ms # Subtest: fund pkg missing version number ok 1 - should print name only 1..1 ok 22 - fund pkg missing version number # time=42.111ms # Subtest: fund a package throws on openUrl ok 1 - should throw unknown error 1..1 ok 23 - fund a package throws on openUrl # time=63.2ms # Subtest: fund a package with type and multiple sources ok 1 - should print prompt select message 1..1 ok 24 - fund a package with type and multiple sources # time=50.636ms # Subtest: fund colors ok 1 - should print output with color info 1..1 ok 25 - fund colors # time=72.12ms # Subtest: sub dep with fund info and a parent with no funding info ok 1 - should nest sub dep as child of root 1..1 ok 26 - sub dep with fund info and a parent with no funding info # time=87.64ms # Subtest: workspaces # Subtest: filter funding info by a specific workspace name ok 1 - should display only filtered workspace name and its deps 1..1 ok 1 - filter funding info by a specific workspace name # time=100.896ms # Subtest: filter funding info by a specific workspace path ok 1 - should display only filtered workspace name and its deps 1..1 ok 2 - filter funding info by a specific workspace path # time=115.784ms 1..2 ok 27 - workspaces # time=247.058ms 1..27 # time=2966.978ms ok 34 - test/lib/commands/fund.js # time=2966.978ms # Subtest: test/lib/commands/help-search.js # Subtest: npm help-search ok 1 - outputs results 1..1 ok 1 - npm help-search # time=199.969ms # Subtest: npm help-search multiple terms ok 1 - outputs results ok 2 - shows hit counts for both terms 1..2 ok 2 - npm help-search multiple terms # time=117.287ms # Subtest: npm help-search long output ok 1 - outputs detailed results 1..1 ok 3 - npm help-search long output # time=87.711ms # Subtest: npm help-search long output with color ok 1 - returned highlighted search terms 1..1 ok 4 - npm help-search long output with color # time=62.874ms # Subtest: npm help-search no args ok 1 - outputs usage 1..1 ok 5 - npm help-search no args # time=77.771ms # Subtest: npm help-search no matches ok 1 - should match pattern provided 1..1 ok 6 - npm help-search no matches # time=74.864ms 1..6 # time=744.293ms ok 35 - test/lib/commands/help-search.js # time=744.293ms # Subtest: test/lib/commands/help.js # Subtest: npm help ok 1 - showed npm usage 1..1 ok 1 - npm help # time=191.973ms # Subtest: npm help completion ok 1 - outputs available help pages ok 2 - outputs no results when more than 2 args are provided 1..2 ok 2 - npm help completion # time=126.667ms # Subtest: npm help multiple args calls search ok 1 - calls help-search 1..1 ok 3 - npm help multiple args calls search # time=86.379ms # Subtest: npm help no matches calls search ok 1 - passed the args to help-search 1..1 ok 4 - npm help no matches calls search # time=105.259ms # Subtest: npm help whoami ok 1 - calls man by default ok 2 - should be equal ok 3 - should match pattern provided 1..3 ok 5 - npm help whoami # time=50.819ms # Subtest: npm help 1 install ok 1 - attempts to open the correct url ok 2 - opens with the correct uri schema 1..2 ok 6 - npm help 1 install # time=68.918ms # Subtest: npm help 5 install ok 1 - attempts to open the correct url 1..1 ok 7 - npm help 5 install # time=44.515ms # Subtest: npm help 7 config ok 1 - attempts to open the correct url 1..1 ok 8 - npm help 7 config # time=80.99ms # Subtest: npm help package.json redirects to package-json ok 1 - calls man by default ok 2 - should be equal ok 3 - should match pattern provided 1..3 ok 9 - npm help package.json redirects to package-json # time=87.134ms # Subtest: npm help ?(un)star ok 1 - maps woman to emacs correctly ok 2 - should be equal ok 3 - should match pattern provided ok 4 - should match pattern provided 1..4 ok 10 - npm help ?(un)star # time=75.795ms # Subtest: npm help un* ok 1 - calls man by default ok 2 - should be equal ok 3 - should match pattern provided 1..3 ok 11 - npm help un* # time=63.442ms # Subtest: npm help - prefers lowest numbered npm prefixed help pages ok 1 - calls man by default ok 2 - should be equal ok 3 - should match pattern provided 1..3 ok 12 - npm help - prefers lowest numbered npm prefixed help pages # time=64.313ms # Subtest: npm help - works in the presence of strange man pages ok 1 - calls man by default ok 2 - should be equal ok 3 - should match pattern provided 1..3 ok 13 - npm help - works in the presence of strange man pages # time=59.687ms # Subtest: rejects with code ok 1 - expect rejected Promise 1..1 ok 14 - rejects with code # time=137.527ms # Subtest: rejects with no code ok 1 - expect rejected Promise 1..1 ok 15 - rejects with no code # time=74.93ms 1..15 # time=1544.491ms ok 36 - test/lib/commands/help.js # time=1544.491ms # Subtest: test/lib/commands/hook.js # Subtest: npm hook no args ok 1 - throws usage with no arguments 1..1 ok 1 - npm hook no args # time=295.701ms # Subtest: npm hook add ok 1 - provided the correct arguments to libnpmhook ok 2 - prints the correct output 1..2 ok 2 - npm hook add # time=76.776ms # Subtest: npm hook add - correct owner hook output ok 1 - provided the correct arguments to libnpmhook ok 2 - prints the correct output 1..2 ok 3 - npm hook add - correct owner hook output # time=51.186ms # Subtest: npm hook add - correct scope hook output ok 1 - provided the correct arguments to libnpmhook ok 2 - prints the correct output 1..2 ok 4 - npm hook add - correct scope hook output # time=46.88ms # Subtest: npm hook add - unicode output ok 1 - provided the correct arguments to libnpmhook ok 2 - prints the correct output 1..2 ok 5 - npm hook add - unicode output # time=58.822ms # Subtest: npm hook add - json output ok 1 - provided the correct arguments to libnpmhook ok 2 - prints the correct json output 1..2 ok 6 - npm hook add - json output # time=71.197ms # Subtest: npm hook add - parseable output ok 1 - provided the correct arguments to libnpmhook ok 2 - prints the correct parseable output headers ok 3 - prints the correct parseable values 1..3 ok 7 - npm hook add - parseable output # time=74.301ms # Subtest: npm hook add - silent output ok 1 - provided the correct arguments to libnpmhook ok 2 - printed no output 1..2 ok 8 - npm hook add - silent output # time=60.405ms # Subtest: npm hook ls ok 1 - received the correct arguments ok 2 - prints the correct header ok 3 - prints package hook ok 4 - prints scope hook ok 5 - prints owner hook 1..5 ok 9 - npm hook ls # time=84.151ms # Subtest: npm hook ls, no results ok 1 - received the correct arguments ok 2 - prints the correct result 1..2 ok 10 - npm hook ls, no results # time=69.341ms # Subtest: npm hook ls, single result ok 1 - received the correct arguments ok 2 - prints the correct header ok 3 - prints package hook 1..3 ok 11 - npm hook ls, single result # time=108.779ms # Subtest: npm hook ls - json output ok 1 - received the correct arguments ok 2 - prints the correct output 1..2 ok 12 - npm hook ls - json output # time=49.686ms # Subtest: npm hook ls - parseable output ok 1 - received the correct arguments ok 2 - prints the correct result 1..2 ok 13 - npm hook ls - parseable output # time=52.877ms # Subtest: npm hook ls - silent output ok 1 - received the correct arguments ok 2 - printed no output 1..2 ok 14 - npm hook ls - silent output # time=40.33ms # Subtest: npm hook rm ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 15 - npm hook rm # time=85.81ms # Subtest: npm hook rm - unicode output ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 16 - npm hook rm - unicode output # time=49.689ms # Subtest: npm hook rm - silent output ok 1 - received the correct arguments ok 2 - printed no output 1..2 ok 17 - npm hook rm - silent output # time=51.095ms # Subtest: npm hook rm - json output ok 1 - received the correct arguments ok 2 - printed correct output 1..2 ok 18 - npm hook rm - json output # time=52.415ms # Subtest: npm hook rm - parseable output ok 1 - received the correct arguments ok 2 - printed correct output 1..2 ok 19 - npm hook rm - parseable output # time=49.565ms # Subtest: npm hook update ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 20 - npm hook update # time=51.167ms # Subtest: npm hook update - unicode ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 21 - npm hook update - unicode # time=49.705ms # Subtest: npm hook update - json output ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 22 - npm hook update - json output # time=51.424ms # Subtest: npm hook update - parseable output ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 23 - npm hook update - parseable output # time=47.048ms # Subtest: npm hook update - silent output ok 1 - received the correct arguments ok 2 - printed no output 1..2 ok 24 - npm hook update - silent output # time=46.55ms 1..24 # time=2104.479ms ok 37 - test/lib/commands/hook.js # time=2104.479ms # Subtest: test/lib/commands/install-ci-test.js # Subtest: the install-ci-test command # Subtest: ci and test ok 1 - should be equal ok 2 - should be equal ok 3 - should match pattern provided ok 4 - should match pattern provided 1..4 ok 1 - ci and test # time=6.865ms # Subtest: ci fails ok 1 - test fail ok 2 - should be equal ok 3 - should be equal ok 4 - should match pattern provided 1..4 ok 2 - ci fails # time=2.636ms 1..2 ok 1 - the install-ci-test command # time=12.827ms 1..1 # time=19.504ms ok 38 - test/lib/commands/install-ci-test.js # time=19.504ms # Subtest: test/lib/commands/install-test.js # Subtest: the install-test command # Subtest: install and test ok 1 - should be equal ok 2 - should be equal ok 3 - should match pattern provided ok 4 - should match pattern provided 1..4 ok 1 - install and test # time=21.696ms # Subtest: install fails ok 1 - test fail ok 2 - should be equal ok 3 - should be equal ok 4 - should match pattern provided 1..4 ok 2 - install fails # time=1.504ms 1..2 ok 1 - the install-test command # time=26.269ms 1..1 # time=33.183ms ok 39 - test/lib/commands/install-test.js # time=33.183ms # Subtest: test/lib/commands/install.js # Subtest: exec commands # Subtest: with args, dev=true ok 1 - Arborist gets correct args and ignores auditLevel ok 2 - called reify ok 3 - no scripts when adding dep 1..3 ok 1 - with args, dev=true # time=516.728ms # Subtest: without args ok 1 - should match pattern provided ok 2 - called reify ok 3 - exec scripts when doing local build 1..3 ok 2 - without args # time=96.224ms # Subtest: should ignore scripts with --ignore-scripts ok 1 - called reify ok 2 - no scripts when adding dep 1..2 ok 3 - should ignore scripts with --ignore-scripts # time=63.987ms # Subtest: should install globally using Arborist ok 1 - should match pattern provided ok 2 - called reify ok 3 - no scripts when installing globally ok 4 - expect falsey value 1..4 ok 4 - should install globally using Arborist # time=69.321ms # Subtest: should not install invalid global package name ok 1 - should not install invalid package name 1..1 ok 5 - should not install invalid global package name # time=85.163ms # Subtest: npm i -g npm engines check success ok 1 - expect truthy value 1..1 ok 6 - npm i -g npm engines check success # time=55.726ms # Subtest: npm i -g npm engines check failure ok 1 - expect rejected Promise 1..1 ok 7 - npm i -g npm engines check failure # time=184.149ms # Subtest: npm i -g npm engines check failure forced override ok 1 - expect truthy value 1..1 ok 8 - npm i -g npm engines check failure forced override # time=49.398ms # Subtest: npm i -g npm@version engines check failure ok 1 - expect rejected Promise 1..1 ok 9 - npm i -g npm@version engines check failure # time=50.714ms 1..9 ok 1 - exec commands # time=1341.5ms # Subtest: completion # Subtest: completion to folder - has a match ok 1 - package dir match 1..1 ok 1 - completion to folder - has a match # time=57.6ms # Subtest: completion to folder - invalid dir ok 1 - invalid dir: no matching 1..1 ok 2 - completion to folder - invalid dir # time=53.151ms # Subtest: completion to folder - no matches ok 1 - no name match 1..1 ok 3 - completion to folder - no matches # time=96.368ms # Subtest: completion to folder - match is not a package ok 1 - no name match 1..1 ok 4 - completion to folder - match is not a package # time=87.343ms # Subtest: completion to url ok 1 - should be equivalent strictly 1..1 ok 5 - completion to url # time=50.959ms # Subtest: no / ok 1 - expect falsey value 1..1 ok 6 - no / # time=70.563ms # Subtest: only / ok 1 - should be equivalent strictly 1..1 ok 7 - only / # time=99.07ms 1..7 ok 2 - completion # time=636.54ms # Subtest: location detection and audit # Subtest: audit false without package.json ok 1 - should be equal ok 2 - should be equal 1..2 ok 1 - audit false without package.json # time=55.417ms # Subtest: audit true with package.json ok 1 - should be equal ok 2 - should be equal 1..2 ok 2 - audit true with package.json # time=62.579ms # Subtest: audit true without package.json when set ok 1 - should be equal ok 2 - should be equal 1..2 ok 3 - audit true without package.json when set # time=50.922ms # Subtest: audit true in root config without package.json ok 1 - should be equal ok 2 - should be equal 1..2 ok 4 - audit true in root config without package.json # time=54.781ms # Subtest: test for warning when --global & --audit ok 1 - should be equal ok 2 - should be equal ok 3 - should be equal ok 4 - should be equal 1..4 ok 5 - test for warning when --global & --audit # time=48.404ms 1..5 ok 3 - location detection and audit # time=351.208ms 1..3 # time=2330.786ms ok 40 - test/lib/commands/install.js # time=2330.786ms # Subtest: test/lib/commands/link.js # Subtest: link to globalDir when in current working dir of pkg and no args ok 1 - should create a global link to current pkg 1..1 ok 1 - link to globalDir when in current working dir of pkg and no args # time=547.295ms # Subtest: link ws to globalDir when workspace specified and no args ok 1 - should create a global link to current pkg 1..1 ok 2 - link ws to globalDir when workspace specified and no args # time=165.791ms # Subtest: link global linked pkg to local nm when using args ok 1 - should create a local symlink to global pkg 1..1 ok 3 - link global linked pkg to local nm when using args # time=284.904ms # Subtest: link global linked pkg to local workspace using args ok 1 - should create a local symlink to global pkg 1..1 ok 4 - link global linked pkg to local workspace using args # time=259.704ms # Subtest: link pkg already in global space ok 1 - should not save to package.json upon linking ok 2 - should create a local symlink to global pkg 1..2 ok 5 - link pkg already in global space # time=152.047ms # Subtest: link pkg already in global space when prefix is a symlink ok 1 - should not save to package.json upon linking ok 2 - should create a local symlink to global pkg 1..2 ok 6 - link pkg already in global space when prefix is a symlink # time=156.373ms # Subtest: should not prune dependencies when linking packages ok 1 - should not prune any extraneous dep when running npm link 1..1 ok 7 - should not prune dependencies when linking packages # time=187.59ms # Subtest: completion ok 1 - should list all package names available in globalDir 1..1 ok 8 - completion # time=51.878ms # Subtest: --global option ok 1 - should throw an useful error 1..1 ok 9 - --global option # time=65.274ms # Subtest: hash character in working directory path ok 1 - should create a global link to current pkg, even within path with hash 1..1 ok 10 - hash character in working directory path # time=172.293ms # Subtest: test linked installed as symlinks ok 1 - linked path should by symbolic link ok 2 - linked package should not be installed 1..2 ok 11 - test linked installed as symlinks # time=71.98ms 1..11 # time=2283.184ms ok 41 - test/lib/commands/link.js # time=2283.184ms # Subtest: test/lib/commands/ll.js # Subtest: ll 1..3 ok 1 - should set long config value ok 2 - should set a truthy value ok 3 - should forward args ok 1 - ll # time=5.627ms 1..1 # time=20.634ms ok 42 - test/lib/commands/ll.js # time=20.634ms # Subtest: test/lib/commands/logout.js # Subtest: token logout ok 1 - should log message with correct registry ok 2 - should call npm-registry-fetch with expected values ok 3 - should be equal 1..3 ok 1 - token logout # time=268.143ms # Subtest: token scoped logout ok 1 - should log message with correct registry ok 2 - should call npm-registry-fetch with expected values ok 3 - should be equal 1..3 ok 2 - token scoped logout # time=63.083ms # Subtest: user/pass logout ok 1 - should log message with correct registry ok 2 - should be equal 1..2 ok 3 - user/pass logout # time=47.831ms # Subtest: missing credentials ok 1 - should throw with expected error code 1..1 ok 4 - missing credentials # time=63.431ms # Subtest: ignore invalid scoped registry config ok 1 - should log message with correct registry ok 2 - should call npm-registry-fetch with expected values ok 3 - should be equal 1..3 ok 5 - ignore invalid scoped registry config # time=52.937ms 1..5 # time=555.206ms ok 43 - test/lib/commands/logout.js # time=555.206ms # Subtest: test/lib/commands/init.js # Subtest: displays output ok 1 - displays helper info 1..1 ok 1 - displays output # time=600.028ms # Subtest: classic npm init -y ok 1 - should be equal ok 2 - should be equal 1..2 ok 2 - classic npm init -y # time=123.484ms # Subtest: classic interactive npm init 1..1 ok 1 - should start init package.json in expected path ok 3 - classic interactive npm init # time=54.333ms # Subtest: npm init 1..1 ok 1 - should npx with listed packages ok 4 - npm init # time=67.364ms # Subtest: npm init -- other-args 1..1 ok 1 - should npm exec with expected args ok 5 - npm init -- other-args # time=43.318ms # Subtest: npm init @scope/name 1..1 ok 1 - should npx with scoped packages ok 6 - npm init @scope/name # time=62.091ms # Subtest: npm init @scope@spec 1..1 ok 1 - should npx with scoped packages ok 7 - npm init @scope@spec # time=60.34ms # Subtest: npm init @scope/name@spec 1..1 ok 1 - should npx with scoped packages ok 8 - npm init @scope/name@spec # time=60.801ms # Subtest: npm init git spec 1..1 ok 1 - should npx with git-spec packages ok 9 - npm init git spec # time=55.463ms # Subtest: npm init @scope 1..1 ok 1 - should npx with @scope/create pkgs ok 10 - npm init @scope # time=45.742ms # Subtest: npm init tgz ok 1 - should throw error when using an unsupported spec 1..1 ok 11 - npm init tgz # time=89.136ms # Subtest: npm init @next 1..1 ok 1 - should npx with something@next ok 12 - npm init @next # time=84.376ms # Subtest: npm init exec error ok 1 - should exit with exec error 1..1 ok 13 - npm init exec error # time=74.915ms # Subtest: should not rewrite flatOptions 1..1 ok 1 - should npx with extra args ok 14 - should not rewrite flatOptions # time=48.474ms # Subtest: npm init cancel ok 1 - should have init title ok 2 - should log canceled 1..2 ok 15 - npm init cancel # time=66.758ms # Subtest: npm init error ok 1 - should throw error 1..1 ok 16 - npm init error # time=65.408ms # Subtest: workspaces # Subtest: no args -- yes ok 1 - should be equal ok 2 - should be equal ok 3 - should be equal ok 4 - should print helper info ok 5 - expect truthy value 1..5 ok 1 - no args -- yes # time=113.604ms # Subtest: no args, existing folder ok 1 - should be equal ok 2 - should be equal ok 3 - should be equal 1..3 ok 2 - no args, existing folder # time=127.874ms # Subtest: fail parsing top-level package.json to set workspace ok 1 - expect rejected Promise 1..1 ok 3 - fail parsing top-level package.json to set workspace # time=53.683ms # Subtest: missing top-level package.json when settting workspace ok 1 - should exit with missing package.json file error ok 2 - should be equal 1..2 ok 4 - missing top-level package.json when settting workspace # time=78.622ms # Subtest: bad package.json when settting workspace ok 1 - should exit with parse file error ok 2 - should be equivalent strictly 1..2 ok 5 - bad package.json when settting workspace # time=53.579ms # Subtest: using args - no package.json ok 1 - pkg workspaces did not get updated 1..1 ok 6 - using args - no package.json # time=71.616ms # Subtest: init template - bad package.json ok 1 - should be equivalent strictly ok 2 - expect falsey value 1..2 ok 7 - init template - bad package.json # time=163.26ms # Subtest: workspace root ok 1 - should be equal ok 2 - should be equal ok 3 - should be equivalent strictly ok 4 - should be equal ok 5 - should be equal 1..5 ok 8 - workspace root # time=79.074ms 1..8 ok 17 - workspaces # time=835.144ms 1..17 # time=2735.83ms ok 44 - test/lib/commands/init.js # time=2735.83ms # Subtest: test/lib/commands/ls.js # Subtest: ls # Subtest: no args ok 1 - should output tree representation of dependencies structure 1..1 ok 1 - no args # time=678.086ms # Subtest: missing package.json ok 1 - should output tree missing name/version of top-level package 1..1 ok 2 - missing package.json # time=79.99ms # Subtest: workspace and missing optional dep ok 1 - should omit missing optional dep 1..1 ok 3 - workspace and missing optional dep # time=101.695ms # Subtest: extraneous deps ok 1 - should output containing problems info 1..1 ok 4 - extraneous deps # time=59.151ms # Subtest: overridden dep ok 1 - should contain overridden outout 1..1 ok 5 - overridden dep # time=82.534ms # Subtest: overridden dep w/ color ok 1 - should contain overridden outout 1..1 ok 6 - overridden dep w/ color # time=71.922ms # Subtest: with filter arg ok 1 - should output tree contaning only occurrences of filtered by package and colored output 1..1 ok 7 - with filter arg # time=58.721ms # Subtest: with dot filter arg ok 1 - should output tree contaning only occurrences of filtered by package and colored output 1..1 ok 8 - with dot filter arg # time=65.377ms # Subtest: with filter arg nested dep ok 1 - should output tree contaning only occurrences of filtered package and its ancestors 1..1 ok 9 - with filter arg nested dep # time=77.023ms # Subtest: with multiple filter args ok 1 - should output tree contaning only occurrences of multiple filtered packages and their ancestors 1..1 ok 10 - with multiple filter args # time=89ms # Subtest: with missing filter arg ok 1 - should output tree containing no dependencies info ok 2 - should exit with error code 1 1..2 ok 11 - with missing filter arg # time=52.9ms # Subtest: default --depth value should be 0 ok 1 - should output tree containing only top-level dependencies 1..1 ok 12 - default --depth value should be 0 # time=71.956ms # Subtest: --depth=0 ok 1 - should output tree containing only top-level dependencies 1..1 ok 13 - --depth=0 # time=70.787ms # Subtest: --depth=1 ok 1 - should output tree containing top-level deps and their deps only 1..1 ok 14 - --depth=1 # time=55.077ms # Subtest: missing/invalid/extraneous 1..3 ok 1 - should have error code ok 2 - should log missing/invalid/extraneous errors ok 3 - should output tree containing missing, invalid, extraneous labels ok 15 - missing/invalid/extraneous # time=82.153ms # Subtest: colored output ok 1 - should have error code ok 2 - should output tree containing color info 1..2 ok 16 - colored output # time=83.841ms # Subtest: --dev ok 1 - should output tree containing dev deps 1..1 ok 17 - --dev # time=91.926ms # Subtest: --link ok 1 - should output tree containing linked deps 1..1 ok 18 - --link # time=71.376ms # Subtest: print deduped symlinks ok 1 - should output tree containing linked deps 1..1 ok 19 - print deduped symlinks # time=67.844ms # Subtest: --production ok 1 - should output tree containing production deps 1..1 ok 20 - --production # time=56.633ms # Subtest: --long ok 1 - should output tree info with descriptions 1..1 ok 21 - --long # time=82.842ms # Subtest: --long --depth=0 ok 1 - should output tree containing top-level deps with descriptions 1..1 ok 22 - --long --depth=0 # time=70.219ms # Subtest: json read problems ok 1 - should throw EJSONPARSE error ok 2 - should print empty result 1..2 ok 23 - json read problems # time=65.1ms # Subtest: empty location ok 1 - should print empty result 1..1 ok 24 - empty location # time=74.26ms # Subtest: invalid peer dep ok 1 - expect rejected Promise ok 2 - should output tree signaling mismatching peer dep in problems 1..2 ok 25 - invalid peer dep # time=79.944ms # Subtest: invalid deduped dep ok 1 - expect rejected Promise ok 2 - should output tree signaling mismatching peer dep in problems 1..2 ok 26 - invalid deduped dep # time=70.059ms # Subtest: deduped missing dep ok 1 - should list missing dep problem ok 2 - should output parseable signaling missing peer dep in problems 1..2 ok 27 - deduped missing dep # time=58.282ms # Subtest: unmet peer dep ok 1 - should have missing peer-dep error msg ok 2 - should output tree signaling missing peer dep in problems 1..2 ok 28 - unmet peer dep # time=61.433ms # Subtest: unmet optional dep ok 1 - should have invalid dep error msg ok 2 - should output tree with empty entry for missing optional deps 1..2 ok 29 - unmet optional dep # time=92.298ms # Subtest: cycle deps ok 1 - should print tree output containing deduped ref 1..1 ok 30 - cycle deps # time=46.441ms # Subtest: cycle deps with filter args ok 1 - should print tree output containing deduped ref 1..1 ok 31 - cycle deps with filter args # time=98.669ms # Subtest: with no args dedupe entries ok 1 - should print tree output containing deduped ref 1..1 ok 32 - with no args dedupe entries # time=72.246ms # Subtest: with no args dedupe entries and not displaying all ok 1 - should print tree output containing deduped ref 1..1 ok 33 - with no args dedupe entries and not displaying all # time=69.528ms # Subtest: with args and dedupe entries ok 1 - should print tree output containing deduped ref 1..1 ok 34 - with args and dedupe entries # time=56.266ms # Subtest: with args and different order of items ok 1 - should print tree output containing deduped ref 1..1 ok 35 - with args and different order of items # time=82.53ms # Subtest: using aliases ok 1 - should output tree containing aliases 1..1 ok 36 - using aliases # time=60.236ms # Subtest: resolved points to git ref ok 1 - should output tree containing git refs 1..1 ok 37 - resolved points to git ref # time=56.477ms # Subtest: broken resolved field ok 1 - should NOT print git refs in output tree 1..1 ok 38 - broken resolved field # time=93.602ms # Subtest: from and resolved properties ok 1 - should not be printed in tree output 1..1 ok 39 - from and resolved properties # time=93.767ms # Subtest: global ok 1 - should print tree and not mark top-level items extraneous 1..1 ok 40 - global # time=93.606ms # Subtest: filtering by child of missing dep ok 1 - should print tree and not duplicate child of missing items 1..1 ok 41 - filtering by child of missing dep # time=57.843ms # Subtest: loading a tree containing workspaces # Subtest: should list workspaces properly with default configs ok 1 - output 1..1 ok 1 - should list workspaces properly with default configs # time=97.066ms # Subtest: should not list workspaces with --no-workspaces ok 1 - output 1..1 ok 2 - should not list workspaces with --no-workspaces # time=74.182ms # Subtest: should list --all workspaces properly ok 1 - output 1..1 ok 3 - should list --all workspaces properly # time=101.634ms # Subtest: should list only prod deps of workspaces ok 1 - output 1..1 ok 4 - should list only prod deps of workspaces # time=92.413ms # Subtest: should filter single workspace ok 1 - output 1..1 ok 5 - should filter single workspace # time=74.631ms # Subtest: should filter using workspace config ok 1 - output 1..1 ok 6 - should filter using workspace config # time=95.43ms # Subtest: should inlude root and specified workspace ok 1 - output 1..1 ok 7 - should inlude root and specified workspace # time=113.961ms # Subtest: should filter by parent folder workspace config ok 1 - output 1..1 ok 8 - should filter by parent folder workspace config # time=106.205ms # Subtest: should print all tree and filter by dep within only the ws subtree ok 1 - output 1..1 ok 9 - should print all tree and filter by dep within only the ws subtree # time=113.649ms 1..9 ok 42 - loading a tree containing workspaces # time=1031.121ms # Subtest: filter pkg arg using depth option # Subtest: should list a in top-level only ok 1 - output 1..1 ok 1 - should list a in top-level only # time=60.177ms # Subtest: should print empty results msg ok 1 - output 1..1 ok 2 - should print empty results msg # time=49.796ms # Subtest: should print expected result ok 1 - output 1..1 ok 3 - should print expected result # time=88.902ms 1..3 ok 43 - filter pkg arg using depth option # time=239.457ms 1..43 ok 1 - ls # time=5609.401ms # Subtest: ls --parseable # Subtest: no args ok 1 - should output parseable representation of dependencies structure 1..1 ok 1 - no args # time=93.457ms # Subtest: missing package.json ok 1 - should output parseable missing name/version of top-level package 1..1 ok 2 - missing package.json # time=64.965ms # Subtest: extraneous deps ok 1 - should output containing problems info 1..1 ok 3 - extraneous deps # time=64.791ms # Subtest: overridden dep ok 1 - should contain overridden outout 1..1 ok 4 - overridden dep # time=53.145ms # Subtest: with filter arg ok 1 - should output parseable contaning only occurrences of filtered by package 1..1 ok 5 - with filter arg # time=94.783ms # Subtest: with filter arg nested dep ok 1 - should output parseable contaning only occurrences of filtered package 1..1 ok 6 - with filter arg nested dep # time=101.478ms # Subtest: with multiple filter args ok 1 - should output parseable contaning only occurrences of multiple filtered packages and their ancestors 1..1 ok 7 - with multiple filter args # time=89.503ms # Subtest: with missing filter arg ok 1 - should output parseable output containing no dependencies info 1..1 ok 8 - with missing filter arg # time=66.647ms # Subtest: default --depth value should be 0 ok 1 - should output parseable output containing only top-level dependencies 1..1 ok 9 - default --depth value should be 0 # time=59.71ms # Subtest: --depth=0 ok 1 - should output tree containing only top-level dependencies 1..1 ok 10 - --depth=0 # time=57.276ms # Subtest: --depth=1 ok 1 - should output parseable containing top-level deps and their deps only 1..1 ok 11 - --depth=1 # time=61.593ms # Subtest: missing/invalid/extraneous ok 1 - should list dep problems ok 2 - should output parseable containing top-level deps and their deps only 1..2 ok 12 - missing/invalid/extraneous # time=98.418ms # Subtest: --dev ok 1 - should output tree containing dev deps 1..1 ok 13 - --dev # time=59.801ms # Subtest: --link ok 1 - should output tree containing linked deps 1..1 ok 14 - --link # time=62.573ms # Subtest: --production ok 1 - should output tree containing production deps 1..1 ok 15 - --production # time=100.639ms # Subtest: --long ok 1 - should output tree info with descriptions 1..1 ok 16 - --long # time=69.406ms # Subtest: --long with extraneous deps ok 1 - should output long parseable output with extraneous info 1..1 ok 17 - --long with extraneous deps # time=72.168ms # Subtest: --long missing/invalid/extraneous ok 1 - should list dep problems ok 2 - should output parseable result containing EXTRANEOUS/INVALID labels 1..2 ok 18 - --long missing/invalid/extraneous # time=71.298ms # Subtest: --long print symlink target location ok 1 - should output parseable results with symlink targets 1..1 ok 19 - --long print symlink target location # time=72.222ms # Subtest: --long --depth=0 ok 1 - should output tree containing top-level deps with descriptions 1..1 ok 20 - --long --depth=0 # time=76.127ms # Subtest: json read problems ok 1 - should throw EJSONPARSE error ok 2 - should print empty result 1..2 ok 21 - json read problems # time=69.638ms # Subtest: empty location ok 1 - should print empty result 1..1 ok 22 - empty location # time=58.735ms # Subtest: unmet peer dep ok 1 - expect rejected Promise ok 2 - should output parseable signaling missing peer dep in problems 1..2 ok 23 - unmet peer dep # time=73.631ms # Subtest: unmet optional dep ok 1 - should have invalid dep error msg ok 2 - should output parseable with empty entry for missing optional deps 1..2 ok 24 - unmet optional dep # time=103.138ms # Subtest: cycle deps ok 1 - should print tree output omitting deduped ref 1..1 ok 25 - cycle deps # time=68.748ms # Subtest: using aliases ok 1 - should output tree containing aliases 1..1 ok 26 - using aliases # time=45.812ms # Subtest: resolved points to git ref ok 1 - should output tree containing git refs 1..1 ok 27 - resolved points to git ref # time=62.722ms # Subtest: from and resolved properties ok 1 - should not be printed in tree output 1..1 ok 28 - from and resolved properties # time=63.964ms # Subtest: global ok 1 - should print parseable output for global deps 1..1 ok 29 - global # time=102.657ms 1..29 ok 2 - ls --parseable # time=2641.832ms # Subtest: ignore missing optional deps # Subtest: --json ok 1 - expect rejected Promise ok 2 - ls --json problems 1..2 ok 1 - --json # time=79.992ms # Subtest: --parseable ok 1 - expect rejected Promise ok 2 - ls --parseable result 1..2 ok 2 - --parseable # time=74.436ms # Subtest: human output ok 1 - expect rejected Promise ok 2 - ls result 1..2 ok 3 - human output # time=90.856ms 1..3 ok 3 - ignore missing optional deps # time=313.042ms # Subtest: ls --json # Subtest: no args ok 1 - should output json representation of dependencies structure 1..1 ok 1 - no args # time=75.902ms # Subtest: missing package.json ok 1 - should output json missing name/version of top-level package 1..1 ok 2 - missing package.json # time=109.4ms # Subtest: extraneous deps ok 1 - should output json containing problems info 1..1 ok 3 - extraneous deps # time=45.643ms # Subtest: overridden dep ok 1 - should be equivalent 1..1 ok 4 - overridden dep # time=67.814ms # Subtest: missing deps --long 1..3 ok 1 - should log missing dep as error ok 2 - should have ELSPROBLEMS error code ok 3 - should output json containing problems info ok 5 - missing deps --long # time=76.292ms # Subtest: with filter arg ok 1 - should output json contaning only occurrences of filtered by package ok 2 - should not exit with error code 1 1..2 ok 6 - with filter arg # time=120.795ms # Subtest: with filter arg nested dep ok 1 - should output json contaning only occurrences of filtered by package ok 2 - expect falsey value 1..2 ok 7 - with filter arg nested dep # time=97.189ms # Subtest: with multiple filter args ok 1 - should output json contaning only occurrences of multiple filtered packages and their ancestors 1..1 ok 8 - with multiple filter args # time=59.719ms # Subtest: with missing filter arg ok 1 - should output json containing no dependencies info ok 2 - should exit with error code 1 1..2 ok 9 - with missing filter arg # time=52.094ms # Subtest: default --depth value should now be 0 ok 1 - should output json containing only top-level dependencies 1..1 ok 10 - default --depth value should now be 0 # time=67.579ms # Subtest: --depth=0 ok 1 - should output json containing only top-level dependencies 1..1 ok 11 - --depth=0 # time=67.012ms # Subtest: --depth=1 ok 1 - should output json containing top-level deps and their deps only 1..1 ok 12 - --depth=1 # time=65.014ms # Subtest: missing/invalid/extraneous ok 1 - should list dep problems ok 2 - should output json containing top-level deps and their deps only 1..2 ok 13 - missing/invalid/extraneous # time=93.725ms # Subtest: --dev ok 1 - should output json containing dev deps 1..1 ok 14 - --dev # time=88.545ms # Subtest: --link ok 1 - should output json containing linked deps 1..1 ok 15 - --link # time=92.102ms # Subtest: --production ok 1 - should output json containing production deps 1..1 ok 16 - --production # time=71.399ms # Subtest: from lockfile ok 1 - should output json containing only prod deps 1..1 ok 17 - from lockfile # time=79.661ms # Subtest: --long ok 1 - should output long json info 1..1 ok 18 - --long # time=90.391ms # Subtest: --long --depth=0 ok 1 - should output json containing top-level deps in long format 1..1 ok 19 - --long --depth=0 # time=92.262ms # Subtest: json read problems ok 1 - should have missin root package.json msg ok 2 - should print empty json result 1..2 ok 20 - json read problems # time=59.45ms # Subtest: empty location ok 1 - should print empty json result 1..1 ok 21 - empty location # time=76.684ms # Subtest: unmet peer dep ok 1 - Should have ELSPROBLEMS error code ok 2 - should output json signaling missing peer dep in problems 1..2 ok 22 - unmet peer dep # time=66.888ms # Subtest: unmet optional dep ok 1 - should have invalid dep error msg ok 2 - should output json with empty entry for missing optional deps 1..2 ok 23 - unmet optional dep # time=88.269ms # Subtest: cycle deps ok 1 - should print json output containing deduped ref 1..1 ok 24 - cycle deps # time=67.776ms # Subtest: using aliases ok 1 - should output json containing aliases 1..1 ok 25 - using aliases # time=74ms # Subtest: resolved points to git ref ok 1 - should output json containing git refs 1..1 ok 26 - resolved points to git ref # time=64.819ms # Subtest: from and resolved properties ok 1 - should be printed in json output 1..1 ok 27 - from and resolved properties # time=67.92ms # Subtest: node.name fallback if missing root package name ok 1 - should use node.name as key in json result obj 1..1 ok 28 - node.name fallback if missing root package name # time=58.28ms # Subtest: global ok 1 - should print json output for global deps 1..1 ok 29 - global # time=75.224ms 1..29 ok 4 - ls --json # time=2721.612ms # Subtest: show multiple invalid reasons ok 1 - should list dep problems ok 2 - ls result 1..2 ok 5 - show multiple invalid reasons # time=75.119ms # Subtest: ls --package-lock-only # Subtest: ls --package-lock-only --json # Subtest: no args ok 1 - should output json representation of dependencies structure 1..1 ok 1 - no args # time=72.583ms # Subtest: extraneous deps ok 1 - should output json containing no problem info 1..1 ok 2 - extraneous deps # time=63.747ms # Subtest: missing deps --long ok 1 - should output json containing no problems info 1..1 ok 3 - missing deps --long # time=66.565ms # Subtest: with filter arg ok 1 - should output json contaning only occurrences of filtered by package ok 2 - should not set exit code 1..2 ok 4 - with filter arg # time=51.943ms # Subtest: with filter arg nested dep ok 1 - should output json contaning only occurrences of filtered by package 1..1 ok 5 - with filter arg nested dep # time=87.793ms # Subtest: with multiple filter args ok 1 - should output json contaning only occurrences of multiple filtered packages and their ancestors 1..1 ok 6 - with multiple filter args # time=79.715ms # Subtest: with missing filter arg ok 1 - should output json containing no dependencies info ok 2 - should exit with error code 1 1..2 ok 7 - with missing filter arg # time=47.564ms # Subtest: default --depth value should now be 0 ok 1 - should output json containing only top-level dependencies 1..1 ok 8 - default --depth value should now be 0 # time=76.476ms # Subtest: --depth=0 ok 1 - should output json containing only top-level dependencies 1..1 ok 9 - --depth=0 # time=54.301ms # Subtest: --depth=1 ok 1 - should output json containing top-level deps and their deps only 1..1 ok 10 - --depth=1 # time=51.807ms # Subtest: missing/invalid/extraneous ok 1 - should list dep problems ok 2 - should output json containing top-level deps and their deps only 1..2 ok 11 - missing/invalid/extraneous # time=82.031ms # Subtest: from lockfile ok 1 - should output json containing only prod deps 1..1 ok 12 - from lockfile # time=58.474ms # Subtest: using aliases ok 1 - should output json containing aliases 1..1 ok 13 - using aliases # time=61.536ms # Subtest: resolved points to git ref ok 1 - should output json containing git refs 1..1 ok 14 - resolved points to git ref # time=69.279ms 1..14 ok 1 - ls --package-lock-only --json # time=1153.742ms 1..1 ok 6 - ls --package-lock-only # time=1155.494ms 1..6 # time=12531.532ms ok 45 - test/lib/commands/ls.js # time=12531.532ms # Subtest: test/lib/commands/login.js # Subtest: usage ok 1 - usage has command name in it 1..1 ok 1 - usage # time=146.042ms # Subtest: legacy # Subtest: basic login ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should only have token and un-nerfed old email 1..3 ok 1 - basic login # time=87.726ms # Subtest: scoped login default registry ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should be equivalent ok 4 - should only have token and scope:registry 1..4 ok 2 - scoped login default registry # time=60.336ms # Subtest: scoped login scoped registry ok 1 - should match pattern provided ok 2 - should be equivalent ok 3 - should be equivalent ok 4 - should only have token and scope:registry 1..4 ok 3 - scoped login scoped registry # time=92.126ms 1..3 ok 2 - legacy # time=297.713ms # Subtest: web # Subtest: basic login ok 1 - expect truthy value ok 2 - should be equivalent ok 3 - should be equivalent 1..3 ok 1 - basic login # time=79.47ms # Subtest: server error ok 1 - expect rejected Promise 1..1 ok 2 - server error # time=72.352ms # Subtest: fallback ok 1 - should match pattern provided ok 2 - should be equivalent 1..2 ok 3 - fallback # time=72.105ms 1..3 ok 3 - web # time=280.793ms 1..3 # time=741.294ms ok 46 - test/lib/commands/login.js # time=741.294ms # Subtest: test/lib/commands/outdated.js # Subtest: should display outdated deps # Subtest: outdated global ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 1 - outdated global # time=201.675ms # Subtest: outdated ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 2 - outdated # time=70.384ms # Subtest: outdated --omit=dev ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 3 - outdated --omit=dev # time=81.703ms # Subtest: outdated --omit=dev --omit=peer ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 4 - outdated --omit=dev --omit=peer # time=55.307ms # Subtest: outdated --omit=prod ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 5 - outdated --omit=prod # time=57.695ms # Subtest: outdated --long ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 6 - outdated --long # time=78.082ms # Subtest: outdated --json ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 7 - outdated --json # time=100.811ms # Subtest: outdated --json --long ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 8 - outdated --json --long # time=55.111ms # Subtest: outdated --parseable ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 9 - outdated --parseable # time=104.094ms # Subtest: outdated --parseable --long ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 10 - outdated --parseable --long # time=98.316ms # Subtest: outdated --all ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 11 - outdated --all # time=72.962ms # Subtest: outdated specific dep ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 12 - outdated specific dep # time=56.896ms 1..12 ok 1 - should display outdated deps # time=1311.265ms # Subtest: should return if no outdated deps ok 1 - no logs 1..1 ok 2 - should return if no outdated deps # time=59.852ms # Subtest: throws if error with a dep ok 1 - There is an error with this package. 1..1 ok 3 - throws if error with a dep # time=82.066ms # Subtest: should skip missing non-prod deps ok 1 - no logs 1..1 ok 4 - should skip missing non-prod deps # time=55.151ms # Subtest: should skip invalid pkg ranges ok 1 - no logs 1..1 ok 5 - should skip invalid pkg ranges # time=61.046ms # Subtest: should skip git specs ok 1 - no logs 1..1 ok 6 - should skip git specs # time=57.243ms # Subtest: workspaces # Subtest: should display ws outdated deps human output ok 1 - output ok 2 - should be equal 1..2 ok 1 - should display ws outdated deps human output # time=91.202ms # Subtest: should display only root outdated when ws disabled ok 1 - output ok 2 - should be equal 1..2 ok 2 - should display only root outdated when ws disabled # time=73.096ms # Subtest: should display ws outdated deps json output ok 1 - output ok 2 - should be equal 1..2 ok 3 - should display ws outdated deps json output # time=57.303ms # Subtest: should display ws outdated deps parseable output ok 1 - output ok 2 - should be equal 1..2 ok 4 - should display ws outdated deps parseable output # time=101.696ms # Subtest: should display all dependencies ok 1 - output ok 2 - should be equal 1..2 ok 5 - should display all dependencies # time=81.857ms # Subtest: should highlight ws in dependend by section ok 1 - output ok 2 - should be equal 1..2 ok 6 - should highlight ws in dependend by section # time=128.661ms # Subtest: should display results filtered by ws ok 1 - output ok 2 - should be equal 1..2 ok 7 - should display results filtered by ws # time=71.042ms # Subtest: should display json results filtered by ws ok 1 - output ok 2 - should be equal 1..2 ok 8 - should display json results filtered by ws # time=66.858ms # Subtest: should display parseable results filtered by ws ok 1 - output ok 2 - should be equal 1..2 ok 9 - should display parseable results filtered by ws # time=99.03ms # Subtest: should display nested deps when filtering by ws and using --all ok 1 - output ok 2 - should be equal 1..2 ok 10 - should display nested deps when filtering by ws and using --all # time=73.702ms # Subtest: should display no results if ws has no deps to display ok 1 - output ok 2 - should be equal 1..2 ok 11 - should display no results if ws has no deps to display # time=71.568ms # Subtest: should display missing deps when filtering by ws ok 1 - output ok 2 - should be equal 1..2 ok 12 - should display missing deps when filtering by ws # time=60.622ms 1..12 ok 7 - workspaces # time=1195.17ms # Subtest: aliases ok 1 - should display aliased outdated dep output ok 2 - should be equal 1..2 ok 8 - aliases # time=80.606ms 1..8 # time=2998.682ms ok 47 - test/lib/commands/outdated.js # time=2998.682ms # Subtest: test/lib/commands/org.js # Subtest: completion ok 1 - completion for: npm, org ok 2 - completion for: npm, org, ls ok 3 - completion for: npm, org, add ok 4 - completion for: npm, org, rm ok 5 - completion for: npm, org, set ok 6 - errors for unknown subcommand 1..6 ok 1 - completion # time=240.803ms # Subtest: npm org - invalid subcommand ok 1 - Manage orgs Usage: npm org set orgname username [developer | admin | owner] npm org rm orgname username npm org ls orgname [] Options: [--registry ] [--otp ] [--json] [-p|--parseable] alias: ogr Run "npm help org" for more info 1..1 ok 2 - npm org - invalid subcommand # time=88.765ms # Subtest: npm org add ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 3 - npm org add # time=75.177ms # Subtest: npm org add - no org ok 1 - returns the correct error 1..1 ok 4 - npm org add - no org # time=48.796ms # Subtest: npm org add - no user ok 1 - returns the correct error 1..1 ok 5 - npm org add - no user # time=59.301ms # Subtest: npm org add - invalid role ok 1 - returns the correct error 1..1 ok 6 - npm org add - invalid role # time=66.494ms # Subtest: npm org add - more users ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 7 - npm org add - more users # time=57.41ms # Subtest: npm org add - json output ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 8 - npm org add - json output # time=47.871ms # Subtest: npm org add - parseable output ok 1 - received the correct arguments ok 2 - printed the correct output 1..2 ok 9 - npm org add - parseable output # time=75.284ms # Subtest: npm org add - silent output ok 1 - received the correct arguments ok 2 - prints no output 1..2 ok 10 - npm org add - silent output # time=48.863ms # Subtest: npm org rm ok 1 - libnpmorg.rm received the correct args ok 2 - libnpmorg.ls received the correct args ok 3 - printed the correct output 1..3 ok 11 - npm org rm # time=72.213ms # Subtest: npm org rm - no org ok 1 - threw the correct error 1..1 ok 12 - npm org rm - no org # time=47.081ms # Subtest: npm org rm - no user ok 1 - threw the correct error 1..1 ok 13 - npm org rm - no user # time=64.874ms # Subtest: npm org rm - one user left ok 1 - libnpmorg.rm received the correct args ok 2 - libnpmorg.ls received the correct args ok 3 - printed the correct output 1..3 ok 14 - npm org rm - one user left # time=59.128ms # Subtest: npm org rm - json output ok 1 - libnpmorg.rm received the correct args ok 2 - libnpmorg.ls received the correct args ok 3 - printed the correct output 1..3 ok 15 - npm org rm - json output # time=73.878ms # Subtest: npm org rm - parseable output ok 1 - libnpmorg.rm received the correct args ok 2 - libnpmorg.ls received the correct args ok 3 - printed the correct output 1..3 ok 16 - npm org rm - parseable output # time=68.49ms # Subtest: npm org rm - silent output ok 1 - libnpmorg.rm received the correct args ok 2 - libnpmorg.ls received the correct args ok 3 - printed no output 1..3 ok 17 - npm org rm - silent output # time=41.998ms # Subtest: npm org ls ok 1 - receieved the correct args ok 2 - contains the developer member ok 3 - contains the admin member ok 4 - contains the owner member 1..4 ok 18 - npm org ls # time=80.703ms # Subtest: npm org ls - user filter ok 1 - receieved the correct args ok 2 - contains the filtered member ok 3 - does not contain other members 1..3 ok 19 - npm org ls - user filter # time=80.184ms # Subtest: npm org ls - user filter, missing user ok 1 - receieved the correct args ok 2 - does not contain the requested member ok 3 - does not contain other members 1..3 ok 20 - npm org ls - user filter, missing user # time=60.778ms # Subtest: npm org ls - no org ok 1 - throws the correct error 1..1 ok 21 - npm org ls - no org # time=55.33ms # Subtest: npm org ls - json output ok 1 - receieved the correct args ok 2 - prints the correct output 1..2 ok 22 - npm org ls - json output # time=61.536ms # Subtest: npm org ls - parseable output ok 1 - receieved the correct args ok 2 - printed the correct output 1..2 ok 23 - npm org ls - parseable output # time=49.987ms # Subtest: npm org ls - silent output ok 1 - receieved the correct args ok 2 - printed no output 1..2 ok 24 - npm org ls - silent output # time=80.453ms 1..24 # time=2139.409ms ok 48 - test/lib/commands/org.js # time=2139.409ms # Subtest: test/lib/commands/owner.js # Subtest: owner no args ok 1 - rejects with usage 1..1 ok 1 - owner no args # time=210.398ms # Subtest: owner ls no args ok 1 - should match pattern provided 1..1 ok 2 - owner ls no args # time=70.913ms # Subtest: local package.json has no name ok 1 - expect rejected Promise 1..1 ok 3 - local package.json has no name # time=59.123ms # Subtest: owner ls global ok 1 - rejects with usage 1..1 ok 4 - owner ls global # time=98.55ms # Subtest: owner ls no args no cwd package ok 1 - expect rejected Promise 1..1 ok 5 - owner ls no args no cwd package # time=48.894ms # Subtest: owner ls fails to retrieve packument ok 1 - expect rejected Promise ok 2 - should match pattern provided 1..2 ok 6 - owner ls fails to retrieve packument # time=55.333ms # Subtest: owner ls ok 1 - should match pattern provided 1..1 ok 7 - owner ls # time=52.731ms # Subtest: owner ls no maintainers ok 1 - should be equal 1..1 ok 8 - owner ls no maintainers # time=71.969ms # Subtest: owner add ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 9 - owner add # time=130.505ms # Subtest: owner add cwd package ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 10 - owner add cwd package # time=73.683ms # Subtest: owner add already an owner ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 11 - owner add already an owner # time=104.461ms # Subtest: owner add fails to retrieve user ok 1 - expect rejected Promise ok 2 - should match pattern provided 1..2 ok 12 - owner add fails to retrieve user # time=61.92ms # Subtest: owner add fails to PUT updates ok 1 - expect rejected Promise 1..1 ok 13 - owner add fails to PUT updates # time=58.373ms # Subtest: owner add no previous maintainers property from server ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 14 - owner add no previous maintainers property from server # time=65.115ms # Subtest: owner add no user ok 1 - expect rejected Promise 1..1 ok 15 - owner add no user # time=77.531ms # Subtest: owner add no pkg global ok 1 - expect rejected Promise 1..1 ok 16 - owner add no pkg global # time=44.703ms # Subtest: owner add no cwd package ok 1 - expect rejected Promise 1..1 ok 17 - owner add no cwd package # time=48.893ms # Subtest: owner rm ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 18 - owner rm # time=86.406ms # Subtest: owner rm not a current owner ok 1 - should match pattern provided 1..1 ok 19 - owner rm not a current owner # time=149.53ms # Subtest: owner rm cwd package ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 20 - owner rm cwd package # time=88.438ms # Subtest: owner rm only user ok 1 - expect rejected Promise 1..1 ok 21 - owner rm only user # time=89.624ms # Subtest: owner rm no user ok 1 - expect rejected Promise 1..1 ok 22 - owner rm no user # time=49.303ms # Subtest: owner rm no pkg global ok 1 - expect rejected Promise 1..1 ok 23 - owner rm no pkg global # time=73.748ms # Subtest: owner rm no cwd package ok 1 - expect rejected Promise 1..1 ok 24 - owner rm no cwd package # time=64.03ms # Subtest: workspaces # Subtest: owner no args --workspace ok 1 - rejects with usage 1..1 ok 1 - owner no args --workspace # time=74.061ms # Subtest: owner ls implicit workspace ok 1 - should match pattern provided 1..1 ok 2 - owner ls implicit workspace # time=98.218ms # Subtest: owner ls explicit workspace ok 1 - should match pattern provided 1..1 ok 3 - owner ls explicit workspace # time=66.498ms # Subtest: owner ls implicit workspace ok 1 - should match pattern provided 1..1 ok 4 - owner ls implicit workspace # time=77.981ms # Subtest: owner ls explicit workspace ok 1 - should match pattern provided 1..1 ok 5 - owner ls explicit workspace # time=83.978ms # Subtest: owner add implicit workspace ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 6 - owner add implicit workspace # time=154.775ms # Subtest: owner add --workspace ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 7 - owner add --workspace # time=94.841ms # Subtest: owner rm --workspace ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 8 - owner rm --workspace # time=89.804ms 1..8 ok 25 - workspaces # time=899.326ms # Subtest: completion # Subtest: basic commands ok 1 - owner npm foo ok 2 - npm owner ok 3 - npm owner add ok 4 - npm owner ls ok 5 - npm owner rm foo 1..5 ok 1 - basic commands # time=46.006ms # Subtest: completion npm owner rm ok 1 - should return list of current owners 1..1 ok 2 - completion npm owner rm # time=59.167ms # Subtest: completion npm owner rm no cwd package ok 1 - should have no owners to autocomplete if not cwd package 1..1 ok 3 - completion npm owner rm no cwd package # time=45.9ms # Subtest: completion npm owner rm global ok 1 - should have no owners to autocomplete if global 1..1 ok 4 - completion npm owner rm global # time=53.54ms # Subtest: completion npm owner rm no owners found ok 1 - should return no owners if not found 1..1 ok 5 - completion npm owner rm no owners found # time=45.547ms 1..5 ok 26 - completion # time=318.381ms 1..26 # time=3632.28ms ok 49 - test/lib/commands/owner.js # time=3632.28ms # Subtest: test/lib/commands/pack.js # Subtest: should pack current directory with no arguments ok 1 - should be equivalent strictly ok 2 - logs pack contents ok 3 - expect truthy value 1..3 ok 1 - should pack current directory with no arguments # time=684.597ms # Subtest: follows pack-destination config ok 1 - should be equivalent strictly ok 2 - expect truthy value 1..2 ok 2 - follows pack-destination config # time=109.591ms # Subtest: should pack given directory for scoped package ok 1 - should be equivalent strictly ok 2 - expect truthy value 1..2 ok 3 - should pack given directory for scoped package # time=101.179ms # Subtest: should log output as valid json ok 1 - outputs as json ok 2 - logs pack contents ok 3 - expect truthy value 1..3 ok 4 - should log output as valid json # time=67.289ms # Subtest: should log scoped package output as valid json ok 1 - outputs as json ok 2 - logs pack contents ok 3 - expect truthy value 1..3 ok 5 - should log scoped package output as valid json # time=100.278ms # Subtest: dry run ok 1 - should be equivalent strictly ok 2 - logs pack contents ok 3 - expected to throw 1..3 ok 6 - dry run # time=76.088ms # Subtest: invalid packument ok 1 - expect rejected Promise ok 2 - should be equivalent strictly 1..2 ok 7 - invalid packument # time=72.114ms # Subtest: workspaces # Subtest: all workspaces ok 1 - should be equivalent strictly 1..1 ok 1 - all workspaces # time=100.856ms # Subtest: all workspaces, `.` first arg ok 1 - should be equivalent strictly 1..1 ok 2 - all workspaces, `.` first arg # time=112.973ms # Subtest: one workspace ok 1 - should be equivalent strictly 1..1 ok 3 - one workspace # time=366.31ms # Subtest: specific package ok 1 - should be equivalent strictly 1..1 ok 4 - specific package # time=79.676ms 1..4 ok 8 - workspaces # time=725.482ms 1..8 # time=2057.569ms ok 50 - test/lib/commands/pack.js # time=2057.569ms # Subtest: test/lib/commands/ping.js # Subtest: no details ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 1 - no details # time=221.726ms # Subtest: with details ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 2 - with details # time=56.944ms # Subtest: valid json ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 3 - valid json # time=67.951ms # Subtest: invalid json ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 4 - invalid json # time=88.82ms 1..4 # time=507.57ms ok 51 - test/lib/commands/ping.js # time=507.57ms # Subtest: test/lib/commands/pkg.js # Subtest: no args ok 1 - should throw usage error 1..1 ok 1 - no args # time=301.01ms # Subtest: no global mode ok 1 - should throw no global mode error 1..1 ok 2 - no global mode # time=56.614ms # Subtest: get no args ok 1 - should print package.json content 1..1 ok 3 - get no args # time=62.57ms # Subtest: get single arg ok 1 - should print retrieved package.json field 1..1 ok 4 - get single arg # time=56.835ms # Subtest: get nested arg ok 1 - should print retrieved nested field 1..1 ok 5 - get nested arg # time=81.767ms # Subtest: get array field ok 1 - should print retrieved array field 1..1 ok 6 - get array field # time=40.913ms # Subtest: get array item ok 1 - should print retrieved array field 1..1 ok 7 - get array item # time=60.58ms # Subtest: get array nested items notation ok 1 - should print json result containing matching results 1..1 ok 8 - get array nested items notation # time=46.218ms # Subtest: set no args ok 1 - should throw an error if no args 1..1 ok 9 - set no args # time=51.671ms # Subtest: set missing value ok 1 - should throw an error if missing value 1..1 ok 10 - set missing value # time=42.677ms # Subtest: set missing key ok 1 - should throw an error if missing key 1..1 ok 11 - set missing key # time=74.028ms # Subtest: set single field ok 1 - should add single field to package.json 1..1 ok 12 - set single field # time=69.025ms # Subtest: push to array syntax ok 1 - should append to arrays using empty bracket syntax 1..1 ok 13 - push to array syntax # time=77.567ms # Subtest: set multiple fields ok 1 - should add single field to package.json 1..1 ok 14 - set multiple fields # time=65.304ms # Subtest: set = separate value ok 1 - should add single field to package.json 1..1 ok 15 - set = separate value # time=108.501ms # Subtest: set --json ok 1 - should add boolean field to package.json ok 2 - should add number field to package.json ok 3 - should add object field to package.json ok 4 - should add object field to package.json ok 5 - should add object field to package.json 1..5 ok 16 - set --json # time=73.745ms # Subtest: delete no args ok 1 - should throw an error if deleting no args 1..1 ok 17 - delete no args # time=49.479ms # Subtest: delete invalid key ok 1 - should throw an error if deleting invalid args 1..1 ok 18 - delete invalid key # time=79.76ms # Subtest: delete single field ok 1 - should delete single field from package.json 1..1 ok 19 - delete single field # time=56.637ms # Subtest: delete multiple field ok 1 - should delete multiple fields from package.json 1..1 ok 20 - delete multiple field # time=65.764ms # Subtest: delete nested field ok 1 - should delete nested fields from package.json 1..1 ok 21 - delete nested field # time=47.486ms # Subtest: workspaces ok 1 - should return expected result for configured workspaces ok 2 - should add field to workspace a ok 3 - should add field to workspace b ok 4 - should delete version field from workspace a ok 5 - should delete version field from workspace b 1..5 ok 22 - workspaces # time=107.551ms # Subtest: fix ok 1 - fixes package.json issues 1..1 ok 23 - fix # time=77.639ms 1..23 # time=2141.152ms ok 52 - test/lib/commands/pkg.js # time=2141.152ms # Subtest: test/lib/commands/prefix.js # Subtest: prefix ok 1 - outputs npm.prefix 1..1 ok 1 - prefix # time=237.969ms 1..1 # time=281.336ms ok 53 - test/lib/commands/prefix.js # time=281.336ms # Subtest: test/lib/commands/profile.js # Subtest: no args ok 1 - Change settings on your registry profile Usage: npm profile enable-2fa [auth-only|auth-and-writes] npm profile disable-2fa npm profile get [] npm profile set Options: [--registry ] [--json] [-p|--parseable] [--otp ] Run "npm help profile" for more info 1..1 ok 1 - no args # time=282.906ms # Subtest: profile get no args # Subtest: default output ok 1 - should output table with contents 1..1 ok 1 - default output # time=81.602ms # Subtest: --json ok 1 - should output json profile result 1..1 ok 2 - --json # time=68.901ms # Subtest: --parseable ok 1 - should output all profile info as parseable result 1..1 ok 3 - --parseable # time=81.927ms # Subtest: --color ok 1 - should output all profile info with color result 1..1 ok 4 - --color # time=45.986ms # Subtest: no tfa enabled ok 1 - should output expected profile values 1..1 ok 5 - no tfa enabled # time=74.08ms # Subtest: unverified email ok 1 - should output table with contents 1..1 ok 6 - unverified email # time=38.571ms # Subtest: profile has cidr_whitelist item ok 1 - should output table with contents 1..1 ok 7 - profile has cidr_whitelist item # time=48.054ms 1..7 ok 2 - profile get no args # time=566.171ms # Subtest: profile get # Subtest: default output ok 1 - should output value result 1..1 ok 1 - default output # time=65.068ms # Subtest: --json ok 1 - should output json profile result ignoring args filter 1..1 ok 2 - --json # time=46.739ms # Subtest: --parseable ok 1 - should output parseable result value 1..1 ok 3 - --parseable # time=44.642ms 1..3 ok 3 - profile get # time=200.548ms # Subtest: profile get multiple args # Subtest: default output ok 1 - should output all keys 1..1 ok 1 - default output # time=82.517ms # Subtest: --json ok 1 - should output json profile result and ignore args 1..1 ok 2 - --json # time=64.687ms # Subtest: --parseable ok 1 - should output parseable profile value results 1..1 ok 3 - --parseable # time=73.899ms # Subtest: comma separated ok 1 - should output all keys 1..1 ok 4 - comma separated # time=111.012ms 1..4 ok 4 - profile get multiple args # time=414.489ms # Subtest: profile set # Subtest: no key ok 1 - should throw proper usage message 1..1 ok 1 - no key # time=90.315ms # Subtest: no value ok 1 - should throw proper usage message 1..1 ok 2 - no value # time=70.631ms # Subtest: set password ok 1 - should throw an error refusing to set password from args 1..1 ok 3 - set password # time=50.574ms # Subtest: unwritable key ok 1 - should throw the unwritable key error 1..1 ok 4 - unwritable key # time=52.284ms # Subtest: writable key # Subtest: default output 1..2 ok 1 - should set new value to key ok 2 - should output set key success msg ok 1 - default output # time=85.003ms # Subtest: --json 1..2 ok 1 - should set new value to key ok 2 - should output json set key success msg ok 2 - --json # time=45.271ms # Subtest: --parseable 1..2 ok 1 - should set new value to key ok 2 - should output parseable set key success msg ok 3 - --parseable # time=50.712ms 1..3 ok 5 - writable key # time=230.882ms # Subtest: write new email 1..2 ok 1 - should set new value to email ok 2 - should output set key success msg ok 6 - write new email # time=79.649ms # Subtest: change password 1..5 ok 1 - expect truthy value ok 2 - expect truthy value ok 3 - expect truthy value ok 4 - should set new password ok 5 - should output set password success msg ok 7 - change password # time=63.57ms # Subtest: password confirmation mismatch 1..2 ok 1 - should log password mismatch message ok 2 - should output set password success msg ok 8 - password confirmation mismatch # time=82.346ms 1..8 ok 5 - profile set # time=823.167ms # Subtest: enable-2fa # Subtest: invalid args ok 1 - should throw usage error 1..1 ok 1 - invalid args # time=103.073ms # Subtest: invalid two factor auth mode ok 1 - should throw invalid auth mode error 1..1 ok 2 - invalid two factor auth mode # time=74.241ms # Subtest: no support for --json output ok 1 - should throw no support msg 1..1 ok 3 - no support for --json output # time=58.364ms # Subtest: no support for --parseable output ok 1 - should throw no support msg 1..1 ok 4 - no support for --parseable output # time=52.723ms # Subtest: no bearer tokens returned by registry 1..3 ok 1 - should use expected registry ok 2 - should use password for basic auth ok 3 - should throw no support msg ok 5 - no bearer tokens returned by registry # time=48.008ms # Subtest: from basic username/password auth ok 1 - should throw no support msg 1..1 ok 6 - from basic username/password auth # time=44.298ms # Subtest: no auth found ok 1 - You need to be logged in to registry https://registry.npmjs.org/ in order to enable 2fa 1..1 ok 7 - no auth found # time=57.094ms # Subtest: from basic auth, asks for otp 1..9 ok 1 - should use expected registry ok 2 - should use password for basic auth ok 3 - should set expected registry ok 4 - should set expected token ok 5 - should save to user config ok 6 - expect truthy value ok 7 - should ask for otp confirmation ok 8 - should set tfa mode ok 9 - should output success msg ok 8 - from basic auth, asks for otp # time=69.639ms # Subtest: from token and set otp, retries on pending and verifies with qrcode 1..4 ok 1 - should reset 2fa ok 2 - should set tfa mode approprietly in follow-up call ok 3 - should set tfa as otp code? ok 4 - should output 2fa enablement success msgs ok 9 - from token and set otp, retries on pending and verifies with qrcode # time=104.989ms # Subtest: from token and set otp, retrieves invalid otp ok 1 - should throw invalid 2fa auth url error 1..1 ok 10 - from token and set otp, retrieves invalid otp # time=65.056ms # Subtest: from token auth provides --otp config arg ok 1 - should output success msg 1..1 ok 11 - from token auth provides --otp config arg # time=59.061ms # Subtest: missing tfa from user profile ok 1 - should output success msg 1..1 ok 12 - missing tfa from user profile # time=46.023ms # Subtest: defaults to auth-and-writes permission if no mode specified ok 1 - should enable 2fa with auth-and-writes permission 1..1 ok 13 - defaults to auth-and-writes permission if no mode specified # time=74.723ms 1..13 ok 6 - enable-2fa # time=1138.354ms # Subtest: disable-2fa # Subtest: no tfa enabled ok 1 - should output already disalbed msg 1..1 ok 1 - no tfa enabled # time=44.675ms # Subtest: requests otp # Subtest: default output 1..4 ok 1 - expect truthy value ok 2 - should ask for otp confirmation ok 3 - should send the new info for setting in profile ok 4 - should output already disabled msg ok 1 - default output # time=77.885ms # Subtest: --json 1..4 ok 1 - expect truthy value ok 2 - should ask for otp confirmation ok 3 - should send the new info for setting in profile ok 4 - should output json already disabled msg ok 2 - --json # time=50.92ms # Subtest: --parseable 1..4 ok 1 - expect truthy value ok 2 - should ask for otp confirmation ok 3 - should send the new info for setting in profile ok 4 - should output parseable already disabled msg ok 3 - --parseable # time=60.125ms 1..3 ok 2 - requests otp # time=234.16ms # Subtest: --otp config already set 1..2 ok 1 - should send the new info for setting in profile ok 2 - should output already disalbed msg ok 3 - --otp config already set # time=57.757ms 1..3 ok 7 - disable-2fa # time=365.493ms # Subtest: unknown subcommand ok 1 - should throw unknown cmd error 1..1 ok 8 - unknown subcommand # time=52.875ms # Subtest: completion # Subtest: npm profile autocomplete ok 1 - should auto complete with subcommands 1..1 ok 1 - npm profile autocomplete # time=51.546ms # Subtest: npm profile enable autocomplete ok 1 - should auto complete with auth types 1..1 ok 2 - npm profile enable autocomplete # time=57.758ms # Subtest: npm profile no autocomplete # Subtest: disable-2fa ok 1 - disable-2fa should have no autocomplete 1..1 ok 1 - disable-2fa # time=72.598ms # Subtest: disable-tfa ok 1 - disable-tfa should have no autocomplete 1..1 ok 2 - disable-tfa # time=64.768ms # Subtest: get ok 1 - get should have no autocomplete 1..1 ok 3 - get # time=53.067ms # Subtest: set ok 1 - set should have no autocomplete 1..1 ok 4 - set # time=55.33ms 1..4 ok 3 - npm profile no autocomplete # time=306.413ms # Subtest: npm profile unknown subcommand autocomplete ok 1 - should throw unknown cmd error 1..1 ok 4 - npm profile unknown subcommand autocomplete # time=41.978ms 1..4 ok 9 - completion # time=490.129ms 1..9 # time=4415.503ms ok 54 - test/lib/commands/profile.js # time=4415.503ms # Subtest: test/lib/commands/prune.js # Subtest: should prune using Arborist 1..4 ok 1 - gets options object ok 2 - gets path option ok 3 - prune is called ok 4 - gets arborist tree ok 1 - should prune using Arborist # time=230.968ms 1..1 # time=274.908ms ok 55 - test/lib/commands/prune.js # time=274.908ms # Subtest: test/lib/commands/publish.js # Subtest: respects publishConfig.registry, runs appropriate scripts ok 1 - should match pattern provided ok 2 - new package version ok 3 - ran prepublishOnly ok 4 - did not run prepublish ok 5 - ran publish ok 6 - ran postpublish 1..6 ok 1 - respects publishConfig.registry, runs appropriate scripts # time=333.505ms # Subtest: re-loads publishConfig.registry if added during script process ok 1 - should match pattern provided ok 2 - new package version 1..2 ok 2 - re-loads publishConfig.registry if added during script process # time=122.86ms # Subtest: json ok 1 - must match snapshot ok 2 - new package json 1..2 ok 3 - json # time=106.287ms # Subtest: dry-run ok 1 - should be equal ok 2 - must match snapshot 1..2 ok 4 - dry-run # time=77.545ms # Subtest: shows usage with wrong set of arguments ok 1 - Publish a package Usage: npm publish Options: [--tag ] [--access ] [--dry-run] [--otp ] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--provenance|--provenance-file ] Run "npm help publish" for more info 1..1 ok 5 - shows usage with wrong set of arguments # time=132.041ms # Subtest: throws when invalid tag ok 1 - expect rejected Promise 1..1 ok 6 - throws when invalid tag # time=77.93ms # Subtest: tarball ok 1 - should match pattern provided ok 2 - must match snapshot ok 3 - new package json 1..3 ok 7 - tarball # time=149.512ms # Subtest: no auth default registry ok 1 - expect rejected Promise 1..1 ok 8 - no auth default registry # time=85.485ms # Subtest: no auth dry-run ok 1 - must match snapshot ok 2 - warns about auth being needed 1..2 ok 9 - no auth dry-run # time=153.413ms # Subtest: no auth for configured registry ok 1 - expect rejected Promise 1..1 ok 10 - no auth for configured registry # time=105.631ms # Subtest: no auth for scope configured registry ok 1 - expect rejected Promise 1..1 ok 11 - no auth for scope configured registry # time=96.159ms # Subtest: has token auth for scope configured registry ok 1 - should match pattern provided ok 2 - new package version 1..2 ok 12 - has token auth for scope configured registry # time=101.749ms # Subtest: has mTLS auth for scope configured registry ok 1 - should match pattern provided ok 2 - new package version 1..2 ok 13 - has mTLS auth for scope configured registry # time=109.589ms # Subtest: workspaces # Subtest: all workspaces - no color ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - all public workspaces ok 5 - warns about skipped private workspace 1..5 ok 1 - all workspaces - no color # time=179.625ms # Subtest: all workspaces - color ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - all public workspaces ok 5 - warns about skipped private workspace in color 1..5 ok 2 - all workspaces - color # time=135.582ms # Subtest: one workspace - success ok 1 - should match pattern provided ok 2 - single workspace 1..2 ok 3 - one workspace - success # time=113.874ms # Subtest: one workspace - failure ok 1 - expect rejected Promise ok 2 - should match pattern provided 1..2 ok 4 - one workspace - failure # time=89.383ms # Subtest: invalid workspace ok 1 - expect rejected Promise 1..1 ok 5 - invalid workspace # time=77.769ms # Subtest: json ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - all workspaces in json 1..4 ok 6 - json # time=286.173ms 1..6 ok 14 - workspaces # time=999.911ms # Subtest: ignore-scripts ok 1 - new package version ok 2 - did not run prepublishOnly ok 3 - did not run prepublish ok 4 - did not run publish ok 5 - did not run postpublish 1..5 ok 15 - ignore-scripts # time=105.939ms # Subtest: _auth config default registry ok 1 - new package version 1..1 ok 16 - _auth config default registry # time=75.534ms # Subtest: bare _auth and registry config ok 1 - new package version 1..1 ok 17 - bare _auth and registry config # time=130.143ms # Subtest: bare _auth config scoped registry ok 1 - expect rejected Promise 1..1 ok 18 - bare _auth config scoped registry # time=93.939ms # Subtest: scoped _auth config scoped registry ok 1 - new package version 1..1 ok 19 - scoped _auth config scoped registry # time=97.891ms # Subtest: restricted access ok 1 - access is explicitly set to restricted ok 2 - new package version ok 3 - must match snapshot 1..3 ok 20 - restricted access # time=141.753ms # Subtest: public access ok 1 - access is explicitly set to public ok 2 - new package version ok 3 - must match snapshot 1..3 ok 21 - public access # time=129.539ms # Subtest: manifest ok 1 - contributors ok 2 - bundleDependencies ok 3 - dependencies ok 4 - devDependencies ok 5 - templateOSS ok 6 - scripts ok 7 - tap ok 8 - readme ok 9 - engines ok 10 - workspaces ok 11 - manifest 1..11 ok 22 - manifest # time=10366.439ms 1..22 # time=14148.448ms ok 56 - test/lib/commands/publish.js # time=14148.448ms # Subtest: test/lib/commands/rebuild.js # Subtest: no args ok 1 - expected to throw ok 2 - expected to throw ok 3 - expected to throw ok 4 - expected to throw ok 5 - expect truthy value ok 6 - expect truthy value ok 7 - expect truthy value ok 8 - expect truthy value ok 9 - should output success msg 1..9 ok 1 - no args # time=764.611ms # Subtest: filter by pkg name ok 1 - expected to throw ok 2 - expected to throw ok 3 - should not link a bin ok 4 - should link filtered pkg bin 1..4 ok 2 - filter by pkg name # time=55.745ms # Subtest: filter by pkg@ ok 1 - should not link b bin ok 2 - should link filtered pkg bin 1..2 ok 3 - filter by pkg@ # time=50.823ms # Subtest: filter by directory ok 1 - expected to throw ok 2 - expected to throw ok 3 - should not link a bin ok 4 - should link filtered pkg bin 1..4 ok 4 - filter by directory # time=48.43ms # Subtest: filter must be a semver version/range, or directory ok 1 - should throw type error 1..1 ok 5 - filter must be a semver version/range, or directory # time=66.902ms # Subtest: global prefix ok 1 - expect truthy value ok 2 - should output success msg 1..2 ok 6 - global prefix # time=75.113ms 1..6 # time=1131.221ms ok 57 - test/lib/commands/rebuild.js # time=1131.221ms # Subtest: test/lib/commands/repo.js # Subtest: open repo urls ok 1 - opened https://github.com/foo/hostedgit ok 2 - opened https://github.com/foo/hostedgitat ok 3 - opened https://github.com/foo/hostedssh ok 4 - opened https://github.com/foo/hostedgitssh ok 5 - opened https://github.com/foo/hostedgithttp ok 6 - opened https://github.com/foo/hostedgithttps ok 7 - opened https://github.com/foo/hostedgitobj ok 8 - opened https://github.com/foo/hostedgitatobj ok 9 - opened https://github.com/foo/hostedsshobj ok 10 - opened https://github.com/foo/hostedgitsshobj ok 11 - opened https://github.com/foo/hostedgithttpobj ok 12 - opened https://github.com/foo/hostedgithttpsobj ok 13 - opened https://gothib.com/foo/unhostedgit ok 14 - opened https://gothib.com/foo/unhostedssh ok 15 - opened https://gothib.com/foo/unhostedgitssh ok 16 - opened http://gothib.com/foo/unhostedgithttp ok 17 - opened https://gothib.com/foo/unhostedgithttps ok 18 - opened https://gothib.com/foo/unhostedgitobj ok 19 - opened https://gothib.com/foo/unhostedsshobj ok 20 - opened https://gothib.com/foo/unhostedgitsshobj ok 21 - opened http://gothib.com/foo/unhostedgithttpobj ok 22 - opened https://gothib.com/foo/unhostedgithttpsobj ok 23 - opened https://github.com/foo/test-repo-with-directory/tree/HEAD/some/directory ok 24 - opened https://example.com/thispkg 1..24 ok 1 - open repo urls # time=583.926ms # Subtest: fail if cannot figure out repo url ok 1 - expect rejected Promise ok 2 - expect rejected Promise ok 3 - expect rejected Promise ok 4 - expect rejected Promise 1..4 ok 2 - fail if cannot figure out repo url # time=97.448ms # Subtest: open default package if none specified ok 1 - opened expected url 1..1 ok 3 - open default package if none specified # time=82.032ms # Subtest: workspaces # Subtest: include workspace root ok 1 - opened two valid repo urls 1..1 ok 1 - include workspace root # time=97.134ms # Subtest: all workspaces ok 1 - opened two valid repo urls 1..1 ok 2 - all workspaces # time=65.124ms # Subtest: one workspace ok 1 - opened one requested repo urls 1..1 ok 3 - one workspace # time=53.49ms # Subtest: invalid workspace ok 1 - expect rejected Promise ok 2 - opened no repo urls 1..2 ok 4 - invalid workspace # time=132.517ms # Subtest: package arg and workspace ok 1 - opened url for package arg, not workspace 1..1 ok 5 - package arg and workspace # time=61.637ms 1..5 ok 4 - workspaces # time=464.909ms 1..4 # time=1282.355ms ok 58 - test/lib/commands/repo.js # time=1282.355ms # Subtest: test/lib/commands/query.js # Subtest: simple query ok 1 - should return root object and direct children 1..1 ok 1 - simple query # time=693.209ms # Subtest: recursive tree ok 1 - should return everything in the tree, accounting for recursion 1..1 ok 2 - recursive tree # time=108.782ms # Subtest: workspace query ok 1 - should return workspace object 1..1 ok 3 - workspace query # time=104.786ms # Subtest: include-workspace-root ok 1 - should return workspace object and root object 1..1 ok 4 - include-workspace-root # time=80.39ms # Subtest: linked node ok 1 - should return linked node res 1..1 ok 5 - linked node # time=66.586ms # Subtest: global ok 1 - should return global package 1..1 ok 6 - global # time=65.877ms # Subtest: package-lock-only # Subtest: no package lock ok 1 - expect rejected Promise 1..1 ok 1 - no package lock # time=83.978ms # Subtest: with package lock ok 1 - should return valid response with only lock info 1..1 ok 2 - with package lock # time=64.122ms 1..2 ok 7 - package-lock-only # time=194.231ms 1..7 # time=1406.896ms ok 59 - test/lib/commands/query.js # time=1406.896ms # Subtest: test/lib/commands/restart.js # Subtest: should run restart script from package.json ok 1 - script ran 1..1 ok 1 - should run restart script from package.json # time=362.905ms 1..1 # time=382.588ms ok 60 - test/lib/commands/restart.js # time=382.588ms # Subtest: test/lib/commands/root.js # Subtest: prefix ok 1 - outputs npm.dir 1..1 ok 1 - prefix # time=253.469ms 1..1 # time=266.168ms ok 61 - test/lib/commands/root.js # time=266.168ms # Subtest: test/lib/commands/search.js # Subtest: no args ok 1 - should throw usage instructions 1..1 ok 1 - no args # time=189.475ms # Subtest: search text ok 1 - should have expected search results 1..1 ok 2 - search text # time=138.626ms # Subtest: search --json ok 1 - should have expected search results as json 1..1 ok 3 - search --json # time=74.314ms # Subtest: search --parseable ok 1 - should have expected search results as parseable 1..1 ok 4 - search --parseable # time=81.335ms # Subtest: search --color ok 1 - should have expected search results with color 1..1 ok 5 - search --color # time=92.973ms # Subtest: search //--color ok 1 - should have expected search results with color 1..1 ok 6 - search //--color # time=80.611ms # Subtest: search ok 1 - should have filtered expected search results 1..1 ok 7 - search # time=79.773ms # Subtest: empty search results ok 1 - should have expected search results 1..1 ok 8 - empty search results # time=116.458ms # Subtest: empty search results --json ok 1 - should have expected empty square brackets 1..1 ok 9 - empty search results --json # time=82.85ms # Subtest: search api response error ok 1 - should throw response error 1..1 ok 10 - search api response error # time=91.09ms # Subtest: search exclude string ok 1 - results should not have libnpmversion 1..1 ok 11 - search exclude string # time=78.851ms # Subtest: search exclude username with upper case letters ok 1 - results should not have nlf 1..1 ok 12 - search exclude username with upper case letters # time=72.804ms # Subtest: search exclude regex ok 1 - results should not have libnpmversion 1..1 ok 13 - search exclude regex # time=111.706ms # Subtest: search exclude forward slash ok 1 - results should not have libnpmversion 1..1 ok 14 - search exclude forward slash # time=72.034ms 1..14 # time=1662.849ms ok 62 - test/lib/commands/search.js # time=1662.849ms # Subtest: test/lib/commands/run-script.js # Subtest: completion # Subtest: already have a script name ok 1 - should be equal 1..1 ok 1 - already have a script name # time=218.516ms # Subtest: no package.json ok 1 - should be equivalent strictly 1..1 ok 2 - no package.json # time=88.016ms # Subtest: has package.json, no scripts ok 1 - should be equivalent strictly 1..1 ok 3 - has package.json, no scripts # time=56.141ms # Subtest: has package.json, with scripts ok 1 - should be equivalent strictly 1..1 ok 4 - has package.json, with scripts # time=79.283ms # Subtest: fish shell ok 1 - should be equivalent strictly 1..1 ok 5 - fish shell # time=76.147ms 1..5 ok 1 - completion # time=626.746ms # Subtest: fail if no package.json ok 1 - expect rejected Promise ok 2 - expect rejected Promise 1..2 ok 2 - fail if no package.json # time=53.877ms # Subtest: default env, start, and restart scripts # Subtest: start ok 1 - should match pattern provided 1..1 ok 1 - start # time=4.748ms # Subtest: env ok 1 - should match pattern provided 1..1 ok 2 - env # time=1.311ms # Subtest: restart ok 1 - should match pattern provided 1..1 ok 3 - restart # time=1.466ms 1..3 ok 3 - default env, start, and restart scripts # time=66.311ms # Subtest: default windows env ok 1 - should match pattern provided 1..1 ok 4 - default windows env # time=86.536ms # Subtest: non-default env script # Subtest: env ok 1 - should match pattern provided 1..1 ok 1 - env # time=1.963ms 1..1 ok 5 - non-default env script # time=50.115ms # Subtest: non-default env script windows ok 1 - should match pattern provided 1..1 ok 6 - non-default env script windows # time=74.182ms # Subtest: try to run missing script # Subtest: errors # Subtest: no suggestions ok 1 - Missing script: "notevenclose" 1..1 ok 1 - no suggestions # time=15.292ms # Subtest: script suggestions ok 1 - expect rejected Promise ok 2 - expect rejected Promise 1..2 ok 2 - script suggestions # time=10.384ms # Subtest: bin suggestions ok 1 - expect rejected Promise ok 2 - expect rejected Promise 1..2 ok 3 - bin suggestions # time=4.634ms 1..3 ok 1 - errors # time=112.076ms # Subtest: with --if-present ok 1 - did not try to run anything 1..1 ok 2 - with --if-present # time=93.977ms 1..2 ok 7 - try to run missing script # time=226.786ms # Subtest: run pre/post hooks ok 1 - should match pattern provided 1..1 ok 8 - run pre/post hooks # time=99.388ms # Subtest: skip pre/post hooks when using ignoreScripts ok 1 - should be equivalent 1..1 ok 9 - skip pre/post hooks when using ignoreScripts # time=52.397ms # Subtest: run silent ok 1 - should match pattern provided 1..1 ok 10 - run silent # time=56.376ms # Subtest: list scripts # Subtest: no args ok 1 - basic report 1..1 ok 1 - no args # time=73.964ms # Subtest: silent ok 1 - should be equivalent strictly 1..1 ok 2 - silent # time=67.118ms # Subtest: warn json ok 1 - json report 1..1 ok 3 - warn json # time=54.04ms # Subtest: parseable ok 1 - should be equivalent strictly 1..1 ok 4 - parseable # time=73.882ms 1..4 ok 11 - list scripts # time=330.4ms # Subtest: list scripts when no scripts ok 1 - nothing to report 1..1 ok 12 - list scripts when no scripts # time=66.439ms # Subtest: list scripts, only commands ok 1 - should be equivalent strictly 1..1 ok 13 - list scripts, only commands # time=54.401ms # Subtest: list scripts, only non-commands ok 1 - should be equivalent strictly 1..1 ok 14 - list scripts, only non-commands # time=79.589ms # Subtest: workspaces # Subtest: list all scripts ok 1 - should be equivalent strictly 1..1 ok 1 - list all scripts # time=77.526ms # Subtest: list regular scripts, filtered by name ok 1 - should be equivalent strictly 1..1 ok 2 - list regular scripts, filtered by name # time=75.576ms # Subtest: list regular scripts, filtered by path ok 1 - should be equivalent strictly 1..1 ok 3 - list regular scripts, filtered by path # time=110.447ms # Subtest: list regular scripts, filtered by parent folder ok 1 - should be equivalent strictly 1..1 ok 4 - list regular scripts, filtered by parent folder # time=97.134ms # Subtest: list all scripts with colors ok 1 - should be equivalent strictly 1..1 ok 5 - list all scripts with colors # time=89.344ms # Subtest: list all scripts --json ok 1 - should be equivalent strictly 1..1 ok 6 - list all scripts --json # time=97.537ms # Subtest: list all scripts --parseable ok 1 - should be equivalent strictly 1..1 ok 7 - list all scripts --parseable # time=92.659ms # Subtest: list no scripts --loglevel=silent ok 1 - should be equivalent strictly 1..1 ok 8 - list no scripts --loglevel=silent # time=72.047ms # Subtest: run scripts across all workspaces ok 1 - should match pattern provided 1..1 ok 9 - run scripts across all workspaces # time=128.511ms # Subtest: missing scripts in all workspaces ok 1 - should match pattern provided ok 2 - should log error msgs for each workspace script 1..2 ok 10 - missing scripts in all workspaces # time=61.491ms # Subtest: missing scripts in some workspaces ok 1 - should match pattern provided ok 2 - should log error msgs for each workspace script 1..2 ok 11 - missing scripts in some workspaces # time=87.971ms # Subtest: no workspaces when filtering by user args ok 1 - should throw error msg 1..1 ok 12 - no workspaces when filtering by user args # time=123.821ms # Subtest: no workspaces ok 1 - should throw error msg 1..1 ok 13 - no workspaces # time=63.281ms # Subtest: single failed workspace run ok 1 - should log error msgs for each workspace script 1..1 ok 14 - single failed workspace run # time=82.602ms # Subtest: failed workspace run with succeeded runs ok 1 - should log error msgs for each workspace script ok 2 - should match pattern provided 1..2 ok 15 - failed workspace run with succeeded runs # time=84.715ms 1..15 ok 15 - workspaces # time=1616.371ms 1..15 # time=3728.914ms ok 63 - test/lib/commands/run-script.js # time=3728.914ms # Subtest: test/lib/commands/shrinkwrap.js # Subtest: with nothing # Subtest: ancient ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 1 - ancient # time=578.459ms # Subtest: ancient upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 2 - ancient upgrade # time=66.836ms 1..2 ok 1 - with nothing # time=685.272ms # Subtest: with package-lock.json # Subtest: ancient ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 1 - ancient # time=80.261ms # Subtest: ancient upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 2 - ancient upgrade # time=70.768ms # Subtest: existing ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 3 - existing # time=63.153ms # Subtest: existing upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 4 - existing upgrade # time=55.216ms # Subtest: existing downgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 5 - existing downgrade # time=61.247ms 1..5 ok 2 - with package-lock.json # time=392.936ms # Subtest: with npm-shrinkwrap.json # Subtest: ancient ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 1 - ancient # time=53.281ms # Subtest: ancient upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 2 - ancient upgrade # time=83.778ms # Subtest: existing ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 3 - existing # time=53.021ms # Subtest: existing upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 4 - existing upgrade # time=50.343ms # Subtest: existing downgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 5 - existing downgrade # time=63.206ms 1..5 ok 3 - with npm-shrinkwrap.json # time=407.279ms # Subtest: with hidden lockfile # Subtest: ancient ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 1 - ancient # time=54.789ms # Subtest: ancient upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 2 - ancient upgrade # time=67.467ms # Subtest: existing ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 3 - existing # time=84.109ms # Subtest: existing upgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 4 - existing upgrade # time=61.178ms # Subtest: existing downgrade ok 1 - package-lock is always deleted ok 2 - no warnings ok 3 - should match pattern provided ok 4 - must match snapshot 1..4 ok 5 - existing downgrade # time=51.628ms 1..5 ok 4 - with hidden lockfile # time=408.653ms # Subtest: throws in global mode ok 1 - expect rejected Promise 1..1 ok 5 - throws in global mode # time=85.168ms 1..5 # time=2001.231ms ok 64 - test/lib/commands/shrinkwrap.js # time=2001.231ms # Subtest: test/lib/commands/star.js # Subtest: no args ok 1 - should throw usage error 1..1 ok 1 - no args # time=139.341ms # Subtest: first person to star a package unicode:false ok 1 - should output starred package msg 1..1 ok 2 - first person to star a package unicode:false # time=119.166ms # Subtest: second person to star a package unicode:true ok 1 - should output starred package msg 1..1 ok 3 - second person to star a package unicode:true # time=104.451ms 1..3 # time=502.211ms ok 65 - test/lib/commands/star.js # time=502.211ms # Subtest: test/lib/commands/stars.js # Subtest: no args 1..3 ok 1 - should fetch from expected uri ok 2 - should match logged in username ok 3 - should output a list of starred packages ok 1 - no args # time=256.308ms # Subtest: npm star 1..3 ok 1 - should fetch from expected uri ok 2 - should match username ok 3 - should output expected list of starred packages ok 2 - npm star # time=93.306ms # Subtest: unauthorized request ok 1 - should throw unauthorized request msg ok 2 - should warn auth required msg ok 3 - should have empty output 1..3 ok 3 - unauthorized request # time=45.75ms # Subtest: unexpected error ok 1 - should throw unexpected error message ok 2 - no logs 1..2 ok 4 - unexpected error # time=66.335ms # Subtest: no pkg starred ok 1 - should warn no starred packages msg 1..1 ok 5 - no pkg starred # time=42.392ms 1..5 # time=580.839ms ok 66 - test/lib/commands/stars.js # time=580.839ms # Subtest: test/lib/commands/set.js # Subtest: no args ok 1 - prints usage 1..1 ok 1 - no args # time=257.182ms # Subtest: test-config-item ok 1 - original config is set from npmrc ok 2 - config is not already new value ok 3 - outputs nothing ok 4 - config is set to new value ok 5 - npmrc is written with new value 1..5 ok 2 - test-config-item # time=88.816ms 1..2 # time=435.206ms ok 67 - test/lib/commands/set.js # time=435.206ms # Subtest: test/lib/commands/stop.js # Subtest: should run stop script from package.json ok 1 - script ran 1..1 ok 1 - should run stop script from package.json # time=238.273ms 1..1 # time=274.382ms ok 68 - test/lib/commands/stop.js # time=274.382ms # Subtest: test/lib/commands/start.js # Subtest: should run start script from package.json ok 1 - script ran 1..1 ok 1 - should run start script from package.json # time=241.308ms 1..1 # time=277.153ms ok 69 - test/lib/commands/start.js # time=277.153ms # Subtest: test/lib/commands/team.js # Subtest: no args ok 1 - should throw usage instructions 1..1 ok 1 - no args # time=282.227ms # Subtest: team add # Subtest: default output ok 1 - should output success result for add user 1..1 ok 1 - default output # time=74.035ms # Subtest: --parseable ok 1 - should output success result for parseable add user 1..1 ok 2 - --parseable # time=74.193ms # Subtest: --json ok 1 - should output success result for add user json 1..1 ok 3 - --json # time=52.932ms # Subtest: --silent ok 1 - should not output success if silent 1..1 ok 4 - --silent # time=107.247ms 1..4 ok 2 - team add # time=402.701ms # Subtest: team create # Subtest: default output ok 1 - should output success result for create team 1..1 ok 1 - default output # time=52.913ms # Subtest: --parseable ok 1 - should output parseable success result for create team 1..1 ok 2 - --parseable # time=60.304ms # Subtest: --json ok 1 - should output success result for create team 1..1 ok 3 - --json # time=44.477ms # Subtest: --silent ok 1 - should not output create success if silent 1..1 ok 4 - --silent # time=71.958ms 1..4 ok 3 - team create # time=302.856ms # Subtest: team destroy # Subtest: default output ok 1 - should output success result for destroy team 1..1 ok 1 - default output # time=61.77ms # Subtest: --parseable ok 1 - should output parseable result for destroy team 1..1 ok 2 - --parseable # time=58.673ms # Subtest: --json ok 1 - should output parseable result for destroy team 1..1 ok 3 - --json # time=76.957ms # Subtest: --silent ok 1 - should not output destroy if silent 1..1 ok 4 - --silent # time=77.869ms 1..4 ok 4 - team destroy # time=357.583ms # Subtest: team ls # Subtest: default output ok 1 - should list teams for a given scope 1..1 ok 1 - default output # time=63.575ms # Subtest: --parseable ok 1 - should list teams for a parseable scope 1..1 ok 2 - --parseable # time=57.611ms # Subtest: --json ok 1 - should json list teams for a scope json 1..1 ok 3 - --json # time=57.621ms # Subtest: --silent ok 1 - should not list teams if silent 1..1 ok 4 - --silent # time=49.481ms # Subtest: no teams ok 1 - should list no teams for a given scope 1..1 ok 5 - no teams # time=100.132ms # Subtest: single team ok 1 - should list single team for a given scope 1..1 ok 6 - single team # time=66.312ms 1..6 ok 5 - team ls # time=509.774ms # Subtest: team ls # Subtest: default output ok 1 - should list users for a given scope:team 1..1 ok 1 - default output # time=46.406ms # Subtest: --parseable ok 1 - should list users for a parseable scope:team 1..1 ok 2 - --parseable # time=43.337ms # Subtest: --json ok 1 - should list users for a scope:team json 1..1 ok 3 - --json # time=53.281ms # Subtest: --silent ok 1 - should not output users if silent 1..1 ok 4 - --silent # time=48.364ms # Subtest: no users ok 1 - should list no users for a given scope 1..1 ok 5 - no users # time=45.808ms # Subtest: single user ok 1 - should list single user for a given scope 1..1 ok 6 - single user # time=61.708ms 1..6 ok 6 - team ls # time=381.672ms # Subtest: team rm # Subtest: default output ok 1 - should output success result for remove user 1..1 ok 1 - default output # time=49.405ms # Subtest: --parseable ok 1 - should output parseable result for remove user 1..1 ok 2 - --parseable # time=60.352ms # Subtest: --json ok 1 - should output json result for remove user 1..1 ok 3 - --json # time=56.56ms # Subtest: --silent ok 1 - should not output rm result if silent 1..1 ok 4 - --silent # time=54.595ms 1..4 ok 7 - team rm # time=294.906ms # Subtest: completion # Subtest: npm team autocomplete ok 1 - should auto complete with subcommands 1..1 ok 1 - npm team autocomplete # time=1.423ms # Subtest: npm team autocomplete ok 1 - should not autocomplete create subcommand ok 2 - should not autocomplete destroy subcommand ok 3 - should not autocomplete add subcommand ok 4 - should not autocomplete rm subcommand ok 5 - should not autocomplete ls subcommand 1..5 ok 2 - npm team autocomplete # time=0.68ms # Subtest: npm team unknown subcommand autocomplete ok 1 - should throw a a not recognized error 1..1 ok 3 - npm team unknown subcommand autocomplete # time=0.739ms 1..3 ok 8 - completion # time=65.125ms 1..8 # time=2648.672ms ok 70 - test/lib/commands/team.js # time=2648.672ms # Subtest: test/lib/commands/token.js # Subtest: completion ok 1 - npm token ok 2 - npm token list ok 3 - npm token revoke ok 4 - npm token create ok 5 - expect rejected Promise 1..5 ok 1 - completion # time=293.558ms # Subtest: token foobar ok 1 - expect rejected Promise 1..1 ok 2 - token foobar # time=133.279ms # Subtest: token list ok 1 - requests correct registry ok 2 - should be equivalent ok 3 - includes the trimmed key ok 4 - includes the trimmed token ok 5 - includes the trimmed creation timestamp ok 6 - includes the "no" string for readonly state ok 7 - includes the trimmed key ok 8 - includes the trimmed token ok 9 - includes the trimmed creation timestamp ok 10 - includes the "no" string for readonly state ok 11 - includes the cidr whitelist 1..11 ok 3 - token list # time=76.493ms # Subtest: token list json output ok 1 - requests correct registry ok 2 - passes the correct auth ok 3 - prints the json parsed tokens 1..3 ok 4 - token list json output # time=64.241ms # Subtest: token list parseable output ok 1 - requests correct registry ok 2 - passes the correct auth ok 3 - prints header ok 4 - prints token info ok 5 - prints token info 1..5 ok 5 - token list parseable output # time=68.431ms # Subtest: token revoke ok 1 - requests correct registry ok 2 - passes the correct empty auth ok 3 - deletes the correct token ok 4 - should be equal 1..4 ok 6 - token revoke # time=44.617ms # Subtest: token revoke multiple tokens ok 1 - requests correct registry ok 2 - deletes the correct token ok 3 - deletes the correct token ok 4 - should be equal 1..4 ok 7 - token revoke multiple tokens # time=76.881ms # Subtest: token revoke json output ok 1 - requests correct registry ok 2 - deletes the correct token ok 3 - logs the token as json 1..3 ok 8 - token revoke json output # time=58.725ms # Subtest: token revoke parseable output ok 1 - requests correct registry ok 2 - deletes the correct token ok 3 - logs the token as a string 1..3 ok 9 - token revoke parseable output # time=61.371ms # Subtest: token revoke by token ok 1 - requests correct registry ok 2 - passes through user input ok 3 - should be equal 1..3 ok 10 - token revoke by token # time=69.097ms # Subtest: token revoke requires an id ok 1 - expect rejected Promise 1..1 ok 11 - token revoke requires an id # time=65.676ms # Subtest: token revoke ambiguous id errors ok 1 - requests correct registry ok 2 - expect rejected Promise 1..2 ok 12 - token revoke ambiguous id errors # time=76.86ms # Subtest: token revoke unknown id errors ok 1 - requests correct registry ok 2 - expect rejected Promise 1..2 ok 13 - token revoke unknown id errors # time=85.869ms # Subtest: token create ok 1 - requests correct registry ok 2 - should be equal ok 3 - should be equal ok 4 - defaults to empty array ok 5 - should match pattern provided ok 6 - prints the whole token ok 7 - should match pattern provided ok 8 - prints the correct timestamp ok 9 - should match pattern provided ok 10 - prints the readonly flag ok 11 - should match pattern provided 1..11 ok 14 - token create # time=66.189ms # Subtest: token create json output ok 1 - requests correct registry ok 2 - should be equal ok 3 - should be equal ok 4 - defaults to empty array 1..4 ok 15 - token create json output # time=89.734ms # Subtest: token create parseable output ok 1 - requests correct registry ok 2 - should be equal ok 3 - should be equal ok 4 - defaults to empty array ok 5 - prints the token ok 6 - prints the created timestamp ok 7 - prints the readonly flag ok 8 - prints the cidr whitelist 1..8 ok 16 - token create parseable output # time=58.73ms # Subtest: token create ipv6 cidr ok 1 - requests correct registry ok 2 - returns correct error 1..2 ok 17 - token create ipv6 cidr # time=52.387ms # Subtest: token create invalid cidr ok 1 - requests correct registry ok 2 - returns correct error 1..2 ok 18 - token create invalid cidr # time=60.933ms 1..18 # time=1867.764ms ok 71 - test/lib/commands/token.js # time=1867.764ms # Subtest: test/lib/commands/test.js # Subtest: should run test script from package.json ok 1 - script ran 1..1 ok 1 - should run test script from package.json # time=281.807ms 1..1 # time=306.484ms ok 72 - test/lib/commands/test.js # time=306.484ms # Subtest: test/lib/commands/uninstall.js # Subtest: remove single installed lib ok 1 - expect truthy value ok 2 - should have removed package from npm 1..2 ok 1 - remove single installed lib # time=765.428ms # Subtest: remove multiple installed libs ok 1 - expect truthy value ok 2 - expect truthy value ok 3 - should have removed a package from nm ok 4 - should have removed b package from nm 1..4 ok 2 - remove multiple installed libs # time=69.942ms # Subtest: no args local ok 1 - should throw package name required error 1..1 ok 3 - no args local # time=90.034ms # Subtest: no args global ok 1 - expect truthy value ok 2 - should have removed global nm symlink 1..2 ok 4 - no args global # time=74.743ms # Subtest: no args global but no package.json ok 1 - expect rejected Promise 1..1 ok 5 - no args global but no package.json # time=44.237ms # Subtest: non ENOENT error reading from localPrefix package.json ok 1 - should throw non ENOENT error 1..1 ok 6 - non ENOENT error reading from localPrefix package.json # time=79.165ms 1..6 # time=1233.799ms ok 73 - test/lib/commands/uninstall.js # time=1233.799ms # Subtest: test/lib/commands/unpublish.js # Subtest: no args --force success ok 1 - should be equal 1..1 ok 1 - no args --force success # time=223.112ms # Subtest: no args --force missing package.json ok 1 - should throw usage instructions on missing package.json 1..1 ok 2 - no args --force missing package.json # time=106.377ms # Subtest: no args --force error reading package.json ok 1 - should throw error from reading package.json 1..1 ok 3 - no args --force error reading package.json # time=75.835ms # Subtest: no args entire project ok 1 - expect rejected Promise 1..1 ok 4 - no args entire project # time=61.871ms # Subtest: too many args ok 1 - should throw usage instructions if too many args 1..1 ok 5 - too many args # time=48.716ms # Subtest: unpublish @version not the last version ok 1 - should be equal 1..1 ok 6 - unpublish @version not the last version # time=116.783ms # Subtest: unpublish @version last version ok 1 - expect rejected Promise 1..1 ok 7 - unpublish @version last version # time=62.29ms # Subtest: no version found in package.json ok 1 - should be equal 1..1 ok 8 - no version found in package.json # time=102.275ms # Subtest: unpublish --force no version set ok 1 - should be equal 1..1 ok 9 - unpublish --force no version set # time=96.931ms # Subtest: silent ok 1 - should be equal 1..1 ok 10 - silent # time=101.726ms # Subtest: workspaces # Subtest: no force ok 1 - expect rejected Promise 1..1 ok 1 - no force # time=63.07ms # Subtest: all workspaces --force ok 1 - should be equal 1..1 ok 2 - all workspaces --force # time=193.835ms # Subtest: one workspace --force ok 1 - should be equal 1..1 ok 3 - one workspace --force # time=147.502ms 1..3 ok 11 - workspaces # time=457.184ms # Subtest: dryRun with spec ok 1 - should be equal 1..1 ok 12 - dryRun with spec # time=91.117ms # Subtest: dryRun with no args ok 1 - should be equal 1..1 ok 13 - dryRun with no args # time=48.979ms # Subtest: publishConfig no spec ok 1 - should be equal 1..1 ok 14 - publishConfig no spec # time=93.377ms # Subtest: publishConfig with spec ok 1 - should be equal 1..1 ok 15 - publishConfig with spec # time=126.066ms # Subtest: scoped registry config 1..0 ok 16 - scoped registry config # time=110.682ms # Subtest: completion # Subtest: completing with multiple versions from the registry ok 1 - npm unpublish 1..1 ok 1 - completing with multiple versions from the registry # time=52.964ms # Subtest: no versions retrieved ok 1 - should autocomplete package name only 1..1 ok 2 - no versions retrieved # time=44.687ms # Subtest: packages starting with same letters ok 1 - npm unpublish 1..1 ok 3 - packages starting with same letters # time=30.661ms # Subtest: no packages retrieved ok 1 - should have no autocompletion 1..1 ok 4 - no packages retrieved # time=67.855ms # Subtest: no pkg name to complete ok 1 - should autocomplete with available package names from user 1..1 ok 5 - no pkg name to complete # time=66.65ms # Subtest: logged out user ok 1 - npm unpublish 1..1 ok 6 - logged out user # time=13.466ms # Subtest: too many args ok 1 - npm unpublish foo 1..1 ok 7 - too many args # time=1.153ms 1..7 ok 17 - completion # time=329.052ms 1..17 # time=2575.455ms ok 74 - test/lib/commands/unpublish.js # time=2575.455ms # Subtest: test/lib/commands/update.js # Subtest: no args ok 1 - path ok 2 - should default to save=false ok 3 - workspaces ok 4 - should update all deps ok 5 - should be equal 1..5 ok 1 - no args # time=236.441ms # Subtest: with args ok 1 - save ok 2 - ipt 1..2 ok 2 - with args # time=64.23ms # Subtest: update --depth= ok 1 - should print expected title ok 2 - should print expected warning message 1..2 ok 3 - update --depth= # time=53.557ms # Subtest: update --global ok 1 - should match pattern provided ok 2 - expect truthy value 1..2 ok 4 - update --global # time=51.722ms 1..4 # time=480.519ms ok 75 - test/lib/commands/update.js # time=480.519ms # Subtest: test/lib/commands/unstar.js # Subtest: no args ok 1 - should throw usage error 1..1 ok 1 - no args # time=143.907ms # Subtest: unstar a package unicode:false ok 1 - should output unstarred package msg 1..1 ok 2 - unstar a package unicode:false # time=126.732ms # Subtest: unstar a package unicode:true ok 1 - should output unstarred package msg 1..1 ok 3 - unstar a package unicode:true # time=86.694ms 1..3 # time=410.074ms ok 76 - test/lib/commands/unstar.js # time=410.074ms # Subtest: test/lib/commands/version.js # Subtest: node@1 # Subtest: no args ok 1 - should output expected values for various versions in npm 1..1 ok 1 - no args # time=594.293ms # Subtest: too many args ok 1 - should throw usage instructions error 1..1 ok 2 - too many args # time=79.449ms # Subtest: completion ok 1 - npm version ok 2 - npm version major 1..2 ok 3 - completion # time=97.781ms # Subtest: failure reading package.json ok 1 - should not have package name on returning object 1..1 ok 4 - failure reading package.json # time=58.458ms 1..4 ok 1 - node@1 # time=927.348ms # Subtest: empty versions # Subtest: --json option ok 1 - should return json stringified result 1..1 ok 1 - --json option # time=59.758ms # Subtest: with one arg ok 1 - outputs the new version prefixed by the tagVersionPrefix 1..1 ok 2 - with one arg # time=49.204ms # Subtest: workspaces # Subtest: no args, all workspaces ok 1 - outputs includes main package and workspace versions 1..1 ok 1 - no args, all workspaces # time=121.945ms # Subtest: no args, single workspaces ok 1 - outputs includes main package and requested workspace versions 1..1 ok 2 - no args, single workspaces # time=81.117ms # Subtest: no args, all workspaces, workspace with missing name or version ok 1 - outputs includes main package and valid workspace versions 1..1 ok 3 - no args, all workspaces, workspace with missing name or version # time=86.49ms # Subtest: with one arg, all workspaces ok 1 - outputs the new version for only the workspaces prefixed by the tagVersionPrefix ok 2 - must match snapshot 1..2 ok 4 - with one arg, all workspaces # time=161.194ms # Subtest: with one arg, all workspaces, saves package.json ok 1 - outputs the new version for only the workspaces prefixed by the tagVersionPrefix ok 2 - must match snapshot 1..2 ok 5 - with one arg, all workspaces, saves package.json # time=138.762ms # Subtest: too many args ok 1 - should throw usage instructions error 1..1 ok 6 - too many args # time=60.058ms # Subtest: no workspaces-update ok 1 - outputs the new version for only the workspaces prefixed by the tagVersionPrefix ok 2 - should not have a lockfile since have not reified 1..2 ok 7 - no workspaces-update # time=86.214ms 1..7 ok 3 - workspaces # time=836.576ms 1..3 ok 2 - empty versions # time=976.33ms 1..2 # time=1907.355ms ok 77 - test/lib/commands/version.js # time=1907.355ms # Subtest: test/lib/commands/view.js # Subtest: package from git ok 1 - must match snapshot 1..1 ok 1 - package from git # time=294.066ms # Subtest: deprecated package with license, bugs, repository and other fields ok 1 - must match snapshot 1..1 ok 2 - deprecated package with license, bugs, repository and other fields # time=65.348ms # Subtest: deprecated package with unicode ok 1 - must match snapshot 1..1 ok 3 - deprecated package with unicode # time=85.589ms # Subtest: package with more than 25 deps ok 1 - must match snapshot 1..1 ok 4 - package with more than 25 deps # time=56.985ms # Subtest: package with maintainers info as object ok 1 - must match snapshot 1..1 ok 5 - package with maintainers info as object # time=61.277ms # Subtest: package with homepage ok 1 - must match snapshot 1..1 ok 6 - package with homepage # time=53.36ms # Subtest: package with no versions ok 1 - no info to display 1..1 ok 7 - package with no versions # time=44.34ms # Subtest: package with no repo or homepage ok 1 - must match snapshot 1..1 ok 8 - package with no repo or homepage # time=54.774ms # Subtest: package with semver range ok 1 - must match snapshot 1..1 ok 9 - package with semver range # time=85.901ms # Subtest: package with no modified time ok 1 - must match snapshot 1..1 ok 10 - package with no modified time # time=48.312ms # Subtest: package with --json and semver range ok 1 - must match snapshot 1..1 ok 11 - package with --json and semver range # time=73.128ms # Subtest: package with --json and no versions ok 1 - no info to display 1..1 ok 12 - package with --json and no versions # time=57.672ms # Subtest: package in cwd # Subtest: specific version ok 1 - must match snapshot 1..1 ok 1 - specific version # time=126.463ms # Subtest: non-specific version ok 1 - must match snapshot 1..1 ok 2 - non-specific version # time=75.49ms # Subtest: directory ok 1 - must match snapshot 1..1 ok 3 - directory # time=66.585ms 1..3 ok 13 - package in cwd # time=318.274ms # Subtest: specific field names # Subtest: readme ok 1 - must match snapshot 1..1 ok 1 - readme # time=4.352ms # Subtest: several fields ok 1 - must match snapshot 1..1 ok 2 - several fields # time=1.285ms # Subtest: several fields with several versions ok 1 - must match snapshot 1..1 ok 3 - several fields with several versions # time=0.969ms # Subtest: nested field with brackets ok 1 - must match snapshot 1..1 ok 4 - nested field with brackets # time=0.661ms # Subtest: maintainers with email ok 1 - must match snapshot 1..1 ok 5 - maintainers with email # time=0.866ms # Subtest: maintainers with url ok 1 - must match snapshot 1..1 ok 6 - maintainers with url # time=0.63ms # Subtest: unknown nested field ok 1 - no info to display 1..1 ok 7 - unknown nested field # time=0.649ms # Subtest: array field - 1 element ok 1 - must match snapshot 1..1 ok 8 - array field - 1 element # time=1.575ms # Subtest: array field - 2 elements ok 1 - must match snapshot 1..1 ok 9 - array field - 2 elements # time=1.439ms 1..9 ok 14 - specific field names # time=63.054ms # Subtest: throw error if global mode ok 1 - expect rejected Promise 1..1 ok 15 - throw error if global mode # time=75.799ms # Subtest: throw ENOENT error if package.json missing ok 1 - expect rejected Promise 1..1 ok 16 - throw ENOENT error if package.json missing # time=85.284ms # Subtest: throw error if package.json has no name ok 1 - expect rejected Promise 1..1 ok 17 - throw error if package.json has no name # time=71.383ms # Subtest: throws when unpublished ok 1 - expect rejected Promise 1..1 ok 18 - throws when unpublished # time=68.439ms # Subtest: throws when version not matched ok 1 - expect rejected Promise 1..1 ok 19 - throws when version not matched # time=60.702ms # Subtest: workspaces # Subtest: all workspaces ok 1 - must match snapshot 1..1 ok 1 - all workspaces # time=79.823ms # Subtest: one specific workspace ok 1 - must match snapshot 1..1 ok 2 - one specific workspace # time=81.438ms # Subtest: all workspaces --json ok 1 - must match snapshot 1..1 ok 3 - all workspaces --json # time=113.935ms # Subtest: all workspaces single field ok 1 - must match snapshot 1..1 ok 4 - all workspaces single field # time=77.731ms # Subtest: all workspaces nonexistent field ok 1 - must match snapshot 1..1 ok 5 - all workspaces nonexistent field # time=62.482ms # Subtest: all workspaces nonexistent field --json ok 1 - must match snapshot 1..1 ok 6 - all workspaces nonexistent field --json # time=80.405ms # Subtest: all workspaces single field --json ok 1 - must match snapshot 1..1 ok 7 - all workspaces single field --json # time=70.833ms # Subtest: single workspace --json ok 1 - must match snapshot 1..1 ok 8 - single workspace --json # time=78.149ms # Subtest: remote package name ok 1 - must match snapshot ok 2 - should have warning of ignoring workspaces 1..2 ok 9 - remote package name # time=64.642ms 1..9 ok 20 - workspaces # time=876.721ms # Subtest: completion ok 1 - returns back fields 1..1 ok 21 - completion # time=55.398ms # Subtest: no package completion ok 1 - there is no package completion 1..1 ok 22 - no package completion # time=54.793ms 1..22 # time=3160.918ms ok 78 - test/lib/commands/view.js # time=3160.918ms # Subtest: test/lib/commands/whoami.js # Subtest: npm whoami ok 1 - should print username 1..1 ok 1 - npm whoami # time=205.66ms # Subtest: npm whoami --json ok 1 - should print username 1..1 ok 2 - npm whoami --json # time=108.487ms # Subtest: npm whoami using mTLS ok 1 - should print username 1..1 ok 3 - npm whoami using mTLS # time=61.556ms # Subtest: credentials from token ok 1 - should print username 1..1 ok 4 - credentials from token # time=88.335ms # Subtest: not logged in ok 1 - expect rejected Promise 1..1 ok 5 - not logged in # time=78.409ms # Subtest: non-string username in response ok 1 - expect rejected Promise ok 2 - expect truthy value 1..2 ok 6 - non-string username in response # time=93.007ms 1..6 # time=750.101ms ok 79 - test/lib/commands/whoami.js # time=750.101ms # Subtest: test/lib/utils/ansi-trim.js # Subtest: basic ok 1 - does nothing if no ansis ok 2 - strips out ansis 1..2 ok 1 - basic # time=26.988ms 1..1 # time=29.144ms ok 80 - test/lib/utils/ansi-trim.js # time=29.144ms # Subtest: test/lib/utils/audit-error.js # Subtest: no error, not audit command ok 1 - no error ok 2 - no error ok 3 - install output ok 4 - install output ok 5 - no warnings 1..5 ok 1 - no error, not audit command # time=671.965ms # Subtest: error, not audit command ok 1 - had error ok 2 - no error ok 3 - install output ok 4 - install output ok 5 - no warnings 1..5 ok 2 - error, not audit command # time=106.562ms # Subtest: error, audit command, not json ok 1 - should be equal ok 2 - throws error ok 3 - some output ok 4 - some warnings 1..4 ok 3 - error, audit command, not json # time=65.449ms # Subtest: error, audit command, json ok 1 - should be equal ok 2 - throws error ok 3 - some output ok 4 - some warnings 1..4 ok 4 - error, audit command, json # time=108.93ms 1..4 # time=1047.108ms ok 81 - test/lib/utils/audit-error.js # time=1047.108ms # Subtest: test/lib/utils/display.js # Subtest: setup ok 1 - should be equal ok 2 - should be equal ok 3 - should be equal ok 4 - should be equal ok 5 - should be equal ok 6 - should be equal 1..6 ok 1 - setup # time=33.903ms # Subtest: can log ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 2 - can log # time=5.658ms # Subtest: handles log throwing ok 1 - should match pattern provided 1..1 ok 3 - handles log throwing # time=4.187ms 1..3 # time=65.338ms ok 82 - test/lib/utils/display.js # time=65.338ms # Subtest: test/lib/utils/did-you-mean.js # Subtest: did-you-mean # Subtest: with package.json # Subtest: nistall ok 1 - should match pattern provided 1..1 ok 1 - nistall # time=476.72ms # Subtest: sttest ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 2 - sttest # time=4.24ms # Subtest: npz ok 1 - should match pattern provided 1..1 ok 3 - npz # time=2.604ms # Subtest: qwuijbo ok 1 - should match pattern provided 1..1 ok 4 - qwuijbo # time=2.71ms 1..4 ok 1 - with package.json # time=491.585ms # Subtest: with no package.json # Subtest: nistall ok 1 - should match pattern provided 1..1 ok 1 - nistall # time=0.804ms 1..1 ok 2 - with no package.json # time=2.186ms # Subtest: missing bin and script properties ok 1 - should match pattern provided 1..1 ok 3 - missing bin and script properties # time=1.651ms 1..3 ok 1 - did-you-mean # time=505.271ms 1..1 # time=506.514ms ok 83 - test/lib/utils/did-you-mean.js # time=506.514ms # Subtest: test/lib/utils/explain-dep.js # Subtest: basic # Subtest: prodDep ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 1 - prodDep # time=3.132ms # Subtest: deepDev ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 2 - deepDev # time=1.173ms # Subtest: optional ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 3 - optional # time=1.176ms # Subtest: peer ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 4 - peer # time=4.438ms # Subtest: bundled ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 5 - bundled # time=0.804ms # Subtest: extraneous ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 6 - extraneous # time=0.423ms # Subtest: overridden ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 7 - overridden # time=0.573ms # Subtest: manyDeps ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 8 - manyDeps # time=0.801ms # Subtest: workspaces ok 1 - print color ok 2 - print nocolor ok 3 - explain color deep ok 4 - explain nocolor shallow 1..4 ok 9 - workspaces # time=0.642ms ok 10 - ellipses test one ok 11 - ellipses test two 1..11 ok 1 - basic # time=63.847ms 1..1 # time=67.411ms ok 84 - test/lib/utils/explain-dep.js # time=67.411ms # Subtest: test/lib/utils/exit-handler.js # Subtest: handles unknown error with logs and debug file ok 1 - should be equal ok 2 - log appears in debug file ok 3 - log appears in debug file ok 4 - log appears in debug file ok 5 - log appears in debug file ok 6 - log appears in debug file ok 7 - log appears in debug file ok 8 - log appears in debug file ok 9 - log appears in debug file ok 10 - log appears in debug file ok 11 - log appears in debug file ok 12 - log appears in debug file ok 13 - log appears in debug file ok 14 - log appears in debug file ok 15 - log appears in debug file ok 16 - log appears in debug file ok 17 - log appears in debug file ok 18 - log appears in debug file ok 19 - log appears in debug file ok 20 - log appears in debug file ok 21 - log appears in debug file ok 22 - log appears in debug file ok 23 - log appears in debug file ok 24 - log appears in debug file ok 25 - log appears in debug file ok 26 - log appears in debug file ok 27 - log appears in debug file ok 28 - log appears in debug file ok 29 - log appears in debug file ok 30 - log appears in debug file ok 31 - log appears in debug file ok 32 - log appears in debug file ok 33 - log appears in debug file ok 34 - log appears in debug file ok 35 - log appears in debug file ok 36 - log appears in debug file ok 37 - log appears in debug file ok 38 - log appears in debug file ok 39 - log appears in debug file ok 40 - log appears in debug file ok 41 - log appears in debug file ok 42 - should be equal ok 43 - should match pattern provided ok 44 - should match pattern provided ok 45 - should match pattern provided ok 46 - should match pattern provided ok 47 - logs ok 48 - debug file contents 1..48 ok 1 - handles unknown error with logs and debug file # time=463.832ms # Subtest: exit handler never called - loglevel silent ok 1 - should match pattern provided ok 2 - logs one empty string to console.error 1..2 ok 2 - exit handler never called - loglevel silent # time=42.668ms # Subtest: exit handler never called - loglevel notice ok 1 - should be equal ok 2 - should match pattern provided ok 3 - logs two empty strings to console.error 1..3 ok 3 - exit handler never called - loglevel notice # time=45.341ms # Subtest: exit handler never called - no npm ok 1 - should be equal ok 2 - should match pattern provided ok 3 - logs one empty string to console.error 1..3 ok 4 - exit handler never called - no npm # time=23.932ms # Subtest: exit handler called - no npm ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 5 - exit handler called - no npm # time=36.846ms # Subtest: exit handler called - no npm with error ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 6 - exit handler called - no npm with error # time=23.92ms # Subtest: exit handler called - no npm with error without stack ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 7 - exit handler called - no npm with error without stack # time=25.852ms # Subtest: console.log output using --json ok 1 - should be equal ok 2 - should output expected json output 1..2 ok 8 - console.log output using --json # time=48.802ms # Subtest: merges output buffers errors with --json ok 1 - should be equal ok 2 - should output expected json output 1..2 ok 9 - merges output buffers errors with --json # time=77.081ms # Subtest: output buffer without json ok 1 - should be equal ok 2 - should output expected output ok 3 - should match pattern provided 1..3 ok 10 - output buffer without json # time=69.908ms # Subtest: throw a non-error obj ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 11 - throw a non-error obj # time=86.042ms # Subtest: throw a string error ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 12 - throw a string error # time=57.503ms # Subtest: update notification ok 1 - should match pattern provided 1..1 ok 13 - update notification # time=60.323ms # Subtest: npm.config not ready ok 1 - should be equal ok 2 - should exit with config error msg ok 3 - should exit with config error msg 1..3 ok 14 - npm.config not ready # time=28.08ms # Subtest: no logs dir ok 1 - should match pattern provided 1..1 ok 15 - no logs dir # time=46.631ms # Subtest: timers fail to write ok 1 - should match pattern provided 1..1 ok 16 - timers fail to write # time=75.973ms # Subtest: log files fail to write ok 1 - should match pattern provided 1..1 ok 17 - log files fail to write # time=88.28ms # Subtest: files from error message ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 18 - files from error message # time=41.12ms # Subtest: files from error message with error ok 1 - should match pattern provided 1..1 ok 19 - files from error message with error # time=49.024ms # Subtest: timing with no error ok 1 - should be equal ok 2 - should match pattern provided ok 3 - should match pattern provided ok 4 - should match pattern provided ok 5 - should be equivalent strictly ok 6 - should match pattern provided 1..6 ok 20 - timing with no error # time=52.604ms # Subtest: unfinished timers ok 1 - should be equal ok 2 - should match pattern provided ok 3 - should match pattern provided 1..3 ok 21 - unfinished timers # time=94.015ms # Subtest: uses code from errno ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 22 - uses code from errno # time=46.241ms # Subtest: uses code from number ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 23 - uses code from number # time=59.397ms # Subtest: uses all err special properties ok 1 - should be equal ok 2 - all special keys get logged 1..2 ok 24 - uses all err special properties # time=39.735ms # Subtest: verbose logs replace info on err props ok 1 - should be equal ok 2 - all special keys get replaced 1..2 ok 25 - verbose logs replace info on err props # time=100.541ms # Subtest: call exitHandler with no error ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 26 - call exitHandler with no error # time=46.426ms # Subtest: defaults to log error msg if stack is missing when unloaded ok 1 - should be equal ok 2 - should use error msg ok 3 - should match pattern provided 1..3 ok 27 - defaults to log error msg if stack is missing when unloaded # time=37.786ms # Subtest: exits uncleanly when only emitting exit event ok 1 - should match pattern provided ok 2 - exitCode coerced to 1 1..2 ok 28 - exits uncleanly when only emitting exit event # time=55.359ms # Subtest: do no fancy handling for shellouts # Subtest: shellout with a numeric error code ok 1 - got expected exit code ok 2 - no noisy warnings 1..2 ok 1 - shellout with a numeric error code # time=2.358ms # Subtest: shellout without a numeric error code (something in npm) ok 1 - got expected exit code ok 2 - bring the noise 1..2 ok 2 - shellout without a numeric error code (something in npm) # time=2.951ms # Subtest: shellout with code=0 (extra weird?) ok 1 - got expected exit code ok 2 - bring the noise 1..2 ok 3 - shellout with code=0 (extra weird?) # time=1.926ms 1..3 ok 29 - do no fancy handling for shellouts # time=600.653ms 1..29 # time=2819.542ms ok 85 - test/lib/utils/exit-handler.js # time=2819.542ms # Subtest: test/lib/utils/explain-eresolve.js # Subtest: basic # Subtest: cycleNested ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 1 - cycleNested # time=4.03ms # Subtest: withShrinkwrap ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 2 - withShrinkwrap # time=1.321ms # Subtest: chain-conflict ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 3 - chain-conflict # time=1.067ms # Subtest: gatsby ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 4 - gatsby # time=0.852ms # Subtest: no current node, but has current edge ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 5 - no current node, but has current edge # time=0.732ms # Subtest: no current node, no current edge, idk ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 6 - no current node, no current edge, idk # time=0.682ms # Subtest: eslint-plugin case ok 1 - report with color ok 2 - report from color ok 3 - report with no color ok 4 - same report written for object ok 5 - explain with color, depth of 2 ok 6 - explain with no color, depth of 6 1..6 ok 7 - eslint-plugin case # time=0.743ms 1..7 ok 1 - basic # time=74.432ms 1..1 # time=82.145ms ok 86 - test/lib/utils/explain-eresolve.js # time=82.145ms # Subtest: test/lib/utils/log-shim.js # Subtest: has properties ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 1 - has properties # time=78.194ms # Subtest: works with npmlog/proclog proxy ok 1 - can get a property ok 2 - can get a property after update on npmlog ok 3 - can get a property after update on shim ok 4 - can call method on shim to call npmlog ok 5 - can call method on proclog ok 6 - only includes levels from npmlog ok 7 - cant set getters properies 1..7 ok 2 - works with npmlog/proclog proxy # time=3.376ms # Subtest: works with npmlog/proclog proxy ok 1 - expected to not throw ok 2 - expected to not throw ok 3 - expected to not throw ok 4 - expected to not throw ok 5 - expected to not throw ok 6 - expected to not throw ok 7 - expected to not throw ok 8 - expected to not throw ok 9 - expected to not throw 1..9 ok 3 - works with npmlog/proclog proxy # time=2.145ms 1..3 # time=133.178ms ok 87 - test/lib/utils/log-shim.js # time=133.178ms # Subtest: test/lib/utils/log-file.js # Subtest: init ok 1 - total log files ok 2 - max logs per file ok 3 - 1 ok 4 - all logs end with newline ok 5 - should be equivalent strictly 1..5 ok 1 - init # time=93.07ms # Subtest: max files per process ok 1 - total log files ok 2 - should match pattern provided 1..2 ok 2 - max files per process # time=18.65ms # Subtest: stream error ok 1 - total log files 1..1 ok 3 - stream error # time=33.504ms # Subtest: initial stream error ok 1 - total log files 1..1 ok 4 - initial stream error # time=30.241ms # Subtest: turns off ok 1 - should match pattern provided 1..1 ok 5 - turns off # time=24.203ms # Subtest: cleans logs ok 1 - should be equal 1..1 ok 6 - cleans logs # time=19.696ms # Subtest: doesnt clean current log by default ok 1 - should match pattern provided 1..1 ok 7 - doesnt clean current log by default # time=18.017ms # Subtest: negative logs max ok 1 - should be equal 1..1 ok 8 - negative logs max # time=19.303ms # Subtest: doesnt need to clean ok 1 - should be equal 1..1 ok 9 - doesnt need to clean # time=15.602ms # Subtest: glob error ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 10 - glob error # time=15.015ms # Subtest: do not log cleaning errors when logging is disabled ok 1 - should be equal 1..1 ok 11 - do not log cleaning errors when logging is disabled # time=3.76ms # Subtest: cleans old style logs too ok 1 - should be equal 1..1 ok 12 - cleans old style logs too # time=40.698ms # Subtest: rimraf error ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 13 - rimraf error # time=27.495ms # Subtest: delete log file while open ok 1 - should match pattern provided ok 2 - logs arent written after error 1..2 ok 14 - delete log file while open # time=23.208ms # Subtest: snapshot ok 1 - must match snapshot 1..1 ok 15 - snapshot # time=28.388ms 1..15 # time=493.84ms ok 88 - test/lib/utils/log-file.js # time=493.84ms # Subtest: test/lib/utils/open-url.js # Subtest: opens a url ok 1 - opened the given url ok 2 - passed command as null (the default) ok 3 - printed no output 1..3 ok 1 - opens a url # time=132.669ms # Subtest: returns error for non-https url ok 1 - got the correct error ok 2 - did not open ok 3 - did not open ok 4 - printed no output 1..4 ok 2 - returns error for non-https url # time=66.469ms # Subtest: returns error for file url ok 1 - got the correct error ok 2 - did not open ok 3 - did not open ok 4 - printed no output 1..4 ok 3 - returns error for file url # time=53.322ms # Subtest: file url allowed if explicitly asked for ok 1 - opened the given url ok 2 - passed command as null (the default) ok 3 - printed no output 1..3 ok 4 - file url allowed if explicitly asked for # time=91.176ms # Subtest: returns error for non-parseable url ok 1 - got the correct error ok 2 - did not open ok 3 - did not open ok 4 - printed no output 1..4 ok 5 - returns error for non-parseable url # time=50.791ms # Subtest: encodes non-URL-safe characters in url provided ok 1 - opened the encoded url ok 2 - passed command as null (the default) ok 3 - printed no output 1..3 ok 6 - encodes non-URL-safe characters in url provided # time=53.898ms # Subtest: opens a url with the given browser ok 1 - opened the given url ok 2 - passed the given browser as command ok 3 - printed no output 1..3 ok 7 - opens a url with the given browser # time=51.646ms # Subtest: prints where to go when browser is disabled ok 1 - did not open ok 2 - did not open ok 3 - printed expected message 1..3 ok 8 - prints where to go when browser is disabled # time=59.74ms # Subtest: prints where to go when browser is disabled and json is enabled ok 1 - did not open ok 2 - did not open ok 3 - printed expected message 1..3 ok 9 - prints where to go when browser is disabled and json is enabled # time=58.049ms # Subtest: prints where to go when given browser does not exist ok 1 - tried to open the correct url ok 2 - tried to use the correct browser ok 3 - printed expected message 1..3 ok 10 - prints where to go when given browser does not exist # time=57.482ms # Subtest: handles unknown opener error ok 1 - got the correct error 1..1 ok 11 - handles unknown opener error # time=58.226ms 1..11 # time=938.378ms ok 89 - test/lib/utils/open-url.js # time=938.378ms # Subtest: test/lib/utils/otplease.js # Subtest: returns function results on success ok 1 - should be equal 1..1 ok 1 - returns function results on success # time=157.2ms # Subtest: returns function results on otp success ok 1 - should be equal 1..1 ok 2 - returns function results on otp success # time=76.903ms # Subtest: prompts for otp for EOTP ok 1 - should be equivalent strictly 1..1 ok 3 - prompts for otp for EOTP # time=75.802ms # Subtest: returns function results on webauth success ok 1 - should be equal 1..1 ok 4 - returns function results on webauth success # time=57.019ms # Subtest: prompts for otp for 401 ok 1 - should be equivalent strictly 1..1 ok 5 - prompts for otp for 401 # time=53.402ms # Subtest: does not prompt for non-otp errors ok 1 - rejects with the original error 1..1 ok 6 - does not prompt for non-otp errors # time=49.758ms # Subtest: does not prompt if stdin or stdout is not a tty ok 1 - rejects with the original error 1..1 ok 7 - does not prompt if stdin or stdout is not a tty # time=69.553ms 1..7 # time=674.381ms ok 90 - test/lib/utils/otplease.js # time=674.381ms # Subtest: test/lib/utils/error-message.js # Subtest: just simple messages ok 1 - must match snapshot ok 2 - must match snapshot ok 3 - must match snapshot ok 4 - must match snapshot ok 5 - must match snapshot ok 6 - must match snapshot ok 7 - must match snapshot ok 8 - must match snapshot ok 9 - must match snapshot ok 10 - must match snapshot ok 11 - must match snapshot ok 12 - must match snapshot ok 13 - must match snapshot ok 14 - must match snapshot ok 15 - must match snapshot ok 16 - must match snapshot ok 17 - must match snapshot ok 18 - must match snapshot ok 19 - must match snapshot ok 20 - must match snapshot ok 21 - must match snapshot ok 22 - must match snapshot ok 23 - must match snapshot 1..23 ok 1 - just simple messages # time=654.599ms # Subtest: replace message/stack sensistive info ok 1 - must match snapshot 1..1 ok 2 - replace message/stack sensistive info # time=104.77ms # Subtest: bad engine without config loaded ok 1 - must match snapshot 1..1 ok 3 - bad engine without config loaded # time=35.193ms # Subtest: enoent without a file ok 1 - must match snapshot 1..1 ok 4 - enoent without a file # time=77.241ms # Subtest: enolock without a command ok 1 - must match snapshot 1..1 ok 5 - enolock without a command # time=56.51ms # Subtest: default message ok 1 - must match snapshot ok 2 - must match snapshot ok 3 - must match snapshot 1..3 ok 6 - default message # time=51.964ms # Subtest: args are cleaned ok 1 - must match snapshot 1..1 ok 7 - args are cleaned # time=69.885ms # Subtest: eacces/eperm # Subtest: {"windows":true,"loaded":true,"cachePath":true,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 1 - {"windows":true,"loaded":true,"cachePath":true,"cacheDest":true} # time=61.382ms # Subtest: {"windows":true,"loaded":true,"cachePath":true,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 2 - {"windows":true,"loaded":true,"cachePath":true,"cacheDest":false} # time=63.705ms # Subtest: {"windows":true,"loaded":true,"cachePath":false,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 3 - {"windows":true,"loaded":true,"cachePath":false,"cacheDest":true} # time=52.601ms # Subtest: {"windows":true,"loaded":true,"cachePath":false,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 4 - {"windows":true,"loaded":true,"cachePath":false,"cacheDest":false} # time=110.545ms # Subtest: {"windows":true,"loaded":false,"cachePath":true,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 5 - {"windows":true,"loaded":false,"cachePath":true,"cacheDest":true} # time=51.525ms # Subtest: {"windows":true,"loaded":false,"cachePath":true,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 6 - {"windows":true,"loaded":false,"cachePath":true,"cacheDest":false} # time=33.473ms # Subtest: {"windows":true,"loaded":false,"cachePath":false,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 7 - {"windows":true,"loaded":false,"cachePath":false,"cacheDest":true} # time=32.74ms # Subtest: {"windows":true,"loaded":false,"cachePath":false,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 8 - {"windows":true,"loaded":false,"cachePath":false,"cacheDest":false} # time=33.7ms # Subtest: {"windows":false,"loaded":true,"cachePath":true,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 9 - {"windows":false,"loaded":true,"cachePath":true,"cacheDest":true} # time=123.988ms # Subtest: {"windows":false,"loaded":true,"cachePath":true,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 10 - {"windows":false,"loaded":true,"cachePath":true,"cacheDest":false} # time=63.408ms # Subtest: {"windows":false,"loaded":true,"cachePath":false,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 11 - {"windows":false,"loaded":true,"cachePath":false,"cacheDest":true} # time=58.641ms # Subtest: {"windows":false,"loaded":true,"cachePath":false,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 12 - {"windows":false,"loaded":true,"cachePath":false,"cacheDest":false} # time=56.926ms # Subtest: {"windows":false,"loaded":false,"cachePath":true,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 13 - {"windows":false,"loaded":false,"cachePath":true,"cacheDest":true} # time=40.422ms # Subtest: {"windows":false,"loaded":false,"cachePath":true,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 14 - {"windows":false,"loaded":false,"cachePath":true,"cacheDest":false} # time=40.242ms # Subtest: {"windows":false,"loaded":false,"cachePath":false,"cacheDest":true} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 15 - {"windows":false,"loaded":false,"cachePath":false,"cacheDest":true} # time=31.375ms # Subtest: {"windows":false,"loaded":false,"cachePath":false,"cacheDest":false} ok 1 - must match snapshot ok 2 - must match snapshot 1..2 ok 16 - {"windows":false,"loaded":false,"cachePath":false,"cacheDest":false} # time=27.284ms 1..16 ok 8 - eacces/eperm # time=1130.889ms # Subtest: json parse # Subtest: merge conflict in package.json ok 1 - must match snapshot 1..1 ok 1 - merge conflict in package.json # time=51.947ms # Subtest: just regular bad json in package.json ok 1 - must match snapshot 1..1 ok 2 - just regular bad json in package.json # time=50.361ms # Subtest: json somewhere else ok 1 - must match snapshot 1..1 ok 3 - json somewhere else # time=61.83ms 1..3 ok 9 - json parse # time=212.892ms # Subtest: eotp/e401 # Subtest: 401, no auth headers ok 1 - must match snapshot 1..1 ok 1 - 401, no auth headers # time=1.946ms # Subtest: 401, no message ok 1 - must match snapshot 1..1 ok 2 - 401, no message # time=0.5ms # Subtest: one-time pass challenge code ok 1 - must match snapshot 1..1 ok 3 - one-time pass challenge code # time=1.01ms # Subtest: one-time pass challenge message ok 1 - must match snapshot 1..1 ok 4 - one-time pass challenge message # time=1.144ms # Subtest: www-authenticate challenges 1..4 # Subtest: Bearer realm=do, charset="UTF-8", challenge="yourself" ok 1 - must match snapshot 1..1 ok 1 - Bearer realm=do, charset="UTF-8", challenge="yourself" # time=1.601ms # Subtest: Basic realm=by, charset="UTF-8", challenge="your friends" ok 1 - must match snapshot 1..1 ok 2 - Basic realm=by, charset="UTF-8", challenge="your friends" # time=1.597ms # Subtest: PickACardAnyCard realm=friday, charset="UTF-8" ok 1 - must match snapshot 1..1 ok 3 - PickACardAnyCard realm=friday, charset="UTF-8" # time=1.437ms # Subtest: WashYourHands, charset="UTF-8" ok 1 - must match snapshot 1..1 ok 4 - WashYourHands, charset="UTF-8" # time=1.232ms ok 5 - www-authenticate challenges # time=10.288ms 1..5 ok 10 - eotp/e401 # time=68.27ms # Subtest: 404 # Subtest: no package id ok 1 - must match snapshot 1..1 ok 1 - no package id # time=1.873ms # Subtest: you should publish it ok 1 - must match snapshot 1..1 ok 2 - you should publish it # time=2.716ms # Subtest: name with warning ok 1 - must match snapshot 1..1 ok 3 - name with warning # time=1.547ms # Subtest: name with error ok 1 - must match snapshot 1..1 ok 4 - name with error # time=1.304ms # Subtest: cleans sensitive info from package id ok 1 - must match snapshot 1..1 ok 5 - cleans sensitive info from package id # time=2.104ms 1..5 ok 11 - 404 # time=55.407ms # Subtest: bad platform # Subtest: string os/arch ok 1 - must match snapshot 1..1 ok 1 - string os/arch # time=2.178ms # Subtest: array os/arch ok 1 - must match snapshot 1..1 ok 2 - array os/arch # time=1.222ms # Subtest: omits keys with no required value ok 1 - must match snapshot ok 2 - omits cpu from message ok 3 - omits libc from message 1..3 ok 3 - omits keys with no required value # time=2.738ms 1..3 ok 12 - bad platform # time=59.978ms # Subtest: explain ERESOLVE errors ok 1 - must match snapshot ok 2 - should be equal ok 3 - should match pattern provided ok 4 - color chalk level is not 0 ok 5 - colorless chalk level is 0 1..5 ok 13 - explain ERESOLVE errors # time=45.95ms 1..13 # time=2811.592ms ok 91 - test/lib/utils/error-message.js # time=2811.592ms # Subtest: test/lib/utils/pulse-till-done.js # Subtest: pulses (with promise) ok 1 - returned the resolved promise 1..1 ok 1 - pulses (with promise) # time=154.888ms 1..1 # time=156.662ms ok 92 - test/lib/utils/pulse-till-done.js # time=156.662ms # Subtest: test/lib/utils/queryable.js # Subtest: retrieve single nested property ok 1 - should retrieve property value when querying for dot-sep name 1..1 ok 1 - retrieve single nested property # time=54.37ms # Subtest: query ok 1 - should retrieve property values when querying for multiple dot-sep names ok 2 - should retrieve property from nested array items ok 3 - should retrieve property from deep nested array items ok 4 - should retrieve single level property value ok 5 - should automatically expand arrays ok 6 - should automatically expand multiple arrays ok 7 - should return arrays ok 8 - should return single item ok 9 - should return undefined ok 10 - should return undefined also ok 11 - should throw if using empty brackets notation ok 12 - should throw if using nested empty brackets notation ok 13 - should return an object with results in an empty key 1..13 ok 2 - query # time=11.047ms # Subtest: missing key ok 1 - should retrieve no results 1..1 ok 3 - missing key # time=0.454ms # Subtest: no data object ok 1 - should throw ENOQUERYABLEOBJ error ok 2 - should throw ENOQUERYABLEOBJ error 1..2 ok 4 - no data object # time=1.832ms # Subtest: get values ok 1 - should retrieve value ok 2 - should return undefined 1..2 ok 5 - get values # time=1.137ms # Subtest: set property values ok 1 - should add new property and its assigned value ok 2 - should be able to set square brackets props ok 3 - should be able to nest square brackets props ok 4 - should be able to nest multiple square brackets props ok 5 - should be able to use dot-sep notation after square bracket props ok 6 - should be able to have multiple, separated, square brackets props ok 7 - many many times... ok 8 - should throw if trying to override a literal value with an object ok 9 - should allow overriding literal values when using force option ok 10 - should add new props to qq object ok 11 - should add new props to a previously existing object ok 12 - should append new props added to object later ok 13 - should append new props added to object later 1..13 ok 6 - set property values # time=3.936ms # Subtest: set arrays ok 1 - should be able to set items in an array using index references ok 2 - should be able to set a previously missing item to an array ok 3 - should be able to append more items to an array ok 4 - should be able to override array items ok 5 - should throw if trying to override an array literal item with an obj ok 6 - should be able to override an array string item with an obj ok 7 - should be able to append more items to an array ok 8 - should be able to override property of an obj inside an array ok 9 - should append as many arrays as necessary ok 10 - should append as many arrays as necessary ok 11 - should be able to set a value to null ok 12 - should be able to replace a null value with properties ok 13 - should be able to append to array using empty bracket notation ok 14 - should be able to append objects to array using empty bracket notation ok 15 - should be able to append more objects to array using empty brackets ok 16 - should be able to append to array using empty brackets in nested objs ok 17 - should be able to append to array using empty brackets in nested objs ok 18 - should throw an override error ok 19 - should be able to override arrays with objects when using force=true ok 20 - should be able to create new array with item when using force=true ok 21 - should be able to append items to arrays when using force=true ok 22 - should be able to append items with empty items ok 23 - should be able to replace empty items in an array ok 24 - should be able to replace empty items in an array ok 25 - should throw error if using empty square bracket in an non-array item ok 26 - should be able add indexes as props when finding an object ok 27 - should be able add numeric props to an obj 1..27 ok 7 - set arrays # time=3.08ms # Subtest: delete values ok 1 - should delete queried item ok 2 - should delete nested items ok 3 - should delete array item ok 4 - should delete array item 1..4 ok 8 - delete values # time=0.567ms # Subtest: logger ok 1 - should retrieve expected data 1..1 ok 9 - logger # time=5.623ms # Subtest: bracket lovers ok 1 - should be able to set top-level props using square brackets notation ok 2 - should bypass square bracket in top-level properties ok 3 - any top-level item can not be parsed with square bracket notation 1..3 ok 10 - bracket lovers # time=0.634ms 1..10 # time=113.945ms ok 93 - test/lib/utils/queryable.js # time=113.945ms # Subtest: test/lib/utils/open-url-prompt.js # Subtest: does not open a url in non-interactive environments ok 1 - did not open ok 2 - did not open 1..2 ok 1 - does not open a url in non-interactive environments # time=184.04ms # Subtest: opens a url ok 1 - opened the given url ok 2 - passed command as null (the default) ok 3 - must match snapshot 1..3 ok 2 - opens a url # time=39.322ms # Subtest: opens a url with browser string ok 1 - opened the given url ok 2 - passed command as null (the default) 1..2 ok 3 - opens a url with browser string # time=49.922ms # Subtest: prints json output ok 1 - must match snapshot 1..1 ok 4 - prints json output # time=48.35ms # Subtest: returns error for non-https url ok 1 - got the correct error ok 2 - did not open ok 3 - did not open ok 4 - printed no output 1..4 ok 5 - returns error for non-https url # time=47.151ms # Subtest: does not open url if canceled ok 1 - did not open ok 2 - did not open 1..2 ok 6 - does not open url if canceled # time=81.444ms # Subtest: returns error when opener errors ok 1 - got the correct error ok 2 - did not open 1..2 ok 7 - returns error when opener errors # time=76.719ms # Subtest: throws "canceled" error on SIGINT ok 1 - message is canceled 1..1 ok 8 - throws "canceled" error on SIGINT # time=76.834ms 1..8 # time=794.027ms ok 94 - test/lib/utils/open-url-prompt.js # time=794.027ms # Subtest: test/lib/utils/reify-finish.js # Subtest: ok by default ok 1 - should be equivalent ok 2 - should be equivalent strictly 1..2 ok 1 - ok by default # time=175.223ms # Subtest: should not write if no global npm module ok 1 - should be equivalent ok 2 - should be equivalent strictly 1..2 ok 2 - should not write if no global npm module # time=53.464ms # Subtest: should not write if builtin conf had load error ok 1 - should be equivalent ok 2 - should be equivalent strictly 1..2 ok 3 - should not write if builtin conf had load error # time=65.809ms # Subtest: should write if everything above passes ok 1 - should be equivalent ok 2 - should be equivalent strictly ok 3 - should be equal 1..3 ok 4 - should write if everything above passes # time=72.502ms 1..4 # time=421.218ms ok 95 - test/lib/utils/reify-finish.js # time=421.218ms # Subtest: test/lib/utils/read-user-info.js # Subtest: otp ok 1 - received the otp 1..1 ok 1 - otp # time=5.951ms # Subtest: password ok 1 - received the password ok 2 - got the correct options 1..2 ok 2 - password # time=1.953ms # Subtest: username ok 1 - received the username 1..1 ok 3 - username # time=0.666ms # Subtest: username - invalid warns and retries ok 1 - received the username ok 2 - should be equal 1..2 ok 4 - username - invalid warns and retries # time=0.416ms # Subtest: email ok 1 - received the email 1..1 ok 5 - email # time=0.461ms # Subtest: email - invalid warns and retries ok 1 - received the email ok 2 - should be equal 1..2 ok 6 - email - invalid warns and retries # time=0.369ms 1..6 # time=67.104ms ok 96 - test/lib/utils/read-user-info.js # time=67.104ms # Subtest: test/lib/utils/reify-output.js # Subtest: missing info ok 1 - should not print fund message if missing info 1..1 ok 1 - missing info # time=156.65ms # Subtest: even more missing info ok 1 - should not print fund message if missing info 1..1 ok 2 - even more missing info # time=81.077ms # Subtest: single package ok 1 - should print single package message 1..1 ok 3 - single package # time=67.269ms # Subtest: no message when funding config is false ok 1 - should not print funding info 1..1 ok 4 - no message when funding config is false # time=47.853ms # Subtest: print appropriate message for many packages ok 1 - should print single package message 1..1 ok 5 - print appropriate message for many packages # time=61.78ms # Subtest: showing and not showing audit report # Subtest: no output when silent ok 1 - should not get output when silent 1..1 ok 1 - no output when silent # time=44.083ms # Subtest: output when not silent ok 1 - got audit report 1..1 ok 2 - output when not silent # time=41.467ms # Subtest: json=true # Subtest: set exit code when cmd is audit ok 1 - set exit code 1..1 ok 1 - set exit code when cmd is audit # time=56.793ms # Subtest: do not set exit code when cmd is install ok 1 - did not set exit code 1..1 ok 2 - do not set exit code when cmd is install # time=58.822ms 1..2 ok 3 - json=true # time=148.561ms # Subtest: json=false # Subtest: set exit code when cmd is audit ok 1 - set exit code 1..1 ok 1 - set exit code when cmd is audit # time=46.301ms # Subtest: do not set exit code when cmd is install ok 1 - did not set exit code 1..1 ok 2 - do not set exit code when cmd is install # time=43.416ms 1..2 ok 4 - json=false # time=119.822ms 1..4 ok 6 - showing and not showing audit report # time=377.832ms # Subtest: packages changed message # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":0,"json":true} 1..1 ok 1 # time=47.411ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":0,"json":false} 1..1 ok 2 # time=42.966ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":1,"json":true} 1..1 ok 3 # time=48.275ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":1,"json":false} 1..1 ok 4 # time=50.174ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":2,"json":true} 1..1 ok 5 # time=40.753ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":2,"json":false} 1..1 ok 6 # time=39.154ms # Subtest ok 1 - {"added":0,"removed":0,"changed":1,"audited":0,"json":true} 1..1 ok 7 # time=41.967ms # Subtest ok 1 - {"added":0,"removed":0,"changed":1,"audited":0,"json":false} 1..1 ok 8 # time=40.65ms # Subtest ok 1 - {"added":0,"removed":0,"changed":1,"audited":1,"json":true} 1..1 ok 9 # time=41.496ms # Subtest ok 1 - {"added":0,"removed":0,"changed":1,"audited":1,"json":false} 1..1 ok 10 # time=39.878ms # Subtest ok 1 - {"added":0,"removed":0,"changed":1,"audited":2,"json":true} 1..1 ok 11 # time=41.354ms # Subtest ok 1 - {"added":0,"removed":0,"changed":1,"audited":2,"json":false} 1..1 ok 12 # time=41.778ms # Subtest ok 1 - {"added":0,"removed":0,"changed":2,"audited":0,"json":true} 1..1 ok 13 # time=38.886ms # Subtest ok 1 - {"added":0,"removed":0,"changed":2,"audited":0,"json":false} 1..1 ok 14 # time=38.263ms # Subtest ok 1 - {"added":0,"removed":0,"changed":2,"audited":1,"json":true} 1..1 ok 15 # time=39.682ms # Subtest ok 1 - {"added":0,"removed":0,"changed":2,"audited":1,"json":false} 1..1 ok 16 # time=38.805ms # Subtest ok 1 - {"added":0,"removed":0,"changed":2,"audited":2,"json":true} 1..1 ok 17 # time=39.234ms # Subtest ok 1 - {"added":0,"removed":0,"changed":2,"audited":2,"json":false} 1..1 ok 18 # time=39.937ms # Subtest ok 1 - {"added":0,"removed":1,"changed":0,"audited":0,"json":true} 1..1 ok 19 # time=38.166ms # Subtest ok 1 - {"added":0,"removed":1,"changed":0,"audited":0,"json":false} 1..1 ok 20 # time=38.876ms # Subtest ok 1 - {"added":0,"removed":1,"changed":0,"audited":1,"json":true} 1..1 ok 21 # time=38.737ms # Subtest ok 1 - {"added":0,"removed":1,"changed":0,"audited":1,"json":false} 1..1 ok 22 # time=37.819ms # Subtest ok 1 - {"added":0,"removed":1,"changed":0,"audited":2,"json":true} 1..1 ok 23 # time=40.056ms # Subtest ok 1 - {"added":0,"removed":1,"changed":0,"audited":2,"json":false} 1..1 ok 24 # time=38.118ms # Subtest ok 1 - {"added":0,"removed":1,"changed":1,"audited":0,"json":true} 1..1 ok 25 # time=37.456ms # Subtest ok 1 - {"added":0,"removed":1,"changed":1,"audited":0,"json":false} 1..1 ok 26 # time=38.328ms # Subtest ok 1 - {"added":0,"removed":1,"changed":1,"audited":1,"json":true} 1..1 ok 27 # time=35.719ms # Subtest ok 1 - {"added":0,"removed":1,"changed":1,"audited":1,"json":false} 1..1 ok 28 # time=38.531ms # Subtest ok 1 - {"added":0,"removed":1,"changed":1,"audited":2,"json":true} 1..1 ok 29 # time=38.079ms # Subtest ok 1 - {"added":0,"removed":1,"changed":1,"audited":2,"json":false} 1..1 ok 30 # time=36.292ms # Subtest ok 1 - {"added":0,"removed":1,"changed":2,"audited":0,"json":true} 1..1 ok 31 # time=36.354ms # Subtest ok 1 - {"added":0,"removed":1,"changed":2,"audited":0,"json":false} 1..1 ok 32 # time=37.972ms # Subtest ok 1 - {"added":0,"removed":1,"changed":2,"audited":1,"json":true} 1..1 ok 33 # time=35.97ms # Subtest ok 1 - {"added":0,"removed":1,"changed":2,"audited":1,"json":false} 1..1 ok 34 # time=36.356ms # Subtest ok 1 - {"added":0,"removed":1,"changed":2,"audited":2,"json":true} 1..1 ok 35 # time=37.493ms # Subtest ok 1 - {"added":0,"removed":1,"changed":2,"audited":2,"json":false} 1..1 ok 36 # time=35.276ms # Subtest ok 1 - {"added":0,"removed":2,"changed":0,"audited":0,"json":true} 1..1 ok 37 # time=38.212ms # Subtest ok 1 - {"added":0,"removed":2,"changed":0,"audited":0,"json":false} 1..1 ok 38 # time=37.562ms # Subtest ok 1 - {"added":0,"removed":2,"changed":0,"audited":1,"json":true} 1..1 ok 39 # time=36.622ms # Subtest ok 1 - {"added":0,"removed":2,"changed":0,"audited":1,"json":false} 1..1 ok 40 # time=37.104ms # Subtest ok 1 - {"added":0,"removed":2,"changed":0,"audited":2,"json":true} 1..1 ok 41 # time=37.442ms # Subtest ok 1 - {"added":0,"removed":2,"changed":0,"audited":2,"json":false} 1..1 ok 42 # time=36.433ms # Subtest ok 1 - {"added":0,"removed":2,"changed":1,"audited":0,"json":true} 1..1 ok 43 # time=37.329ms # Subtest ok 1 - {"added":0,"removed":2,"changed":1,"audited":0,"json":false} 1..1 ok 44 # time=36.301ms # Subtest ok 1 - {"added":0,"removed":2,"changed":1,"audited":1,"json":true} 1..1 ok 45 # time=35.502ms # Subtest ok 1 - {"added":0,"removed":2,"changed":1,"audited":1,"json":false} 1..1 ok 46 # time=36.032ms # Subtest ok 1 - {"added":0,"removed":2,"changed":1,"audited":2,"json":true} 1..1 ok 47 # time=37.629ms # Subtest ok 1 - {"added":0,"removed":2,"changed":1,"audited":2,"json":false} 1..1 ok 48 # time=36.004ms # Subtest ok 1 - {"added":0,"removed":2,"changed":2,"audited":0,"json":true} 1..1 ok 49 # time=36.382ms # Subtest ok 1 - {"added":0,"removed":2,"changed":2,"audited":0,"json":false} 1..1 ok 50 # time=34.619ms # Subtest ok 1 - {"added":0,"removed":2,"changed":2,"audited":1,"json":true} 1..1 ok 51 # time=35.349ms # Subtest ok 1 - {"added":0,"removed":2,"changed":2,"audited":1,"json":false} 1..1 ok 52 # time=36.863ms # Subtest ok 1 - {"added":0,"removed":2,"changed":2,"audited":2,"json":true} 1..1 ok 53 # time=36.427ms # Subtest ok 1 - {"added":0,"removed":2,"changed":2,"audited":2,"json":false} 1..1 ok 54 # time=35.515ms # Subtest ok 1 - {"added":1,"removed":0,"changed":0,"audited":0,"json":true} 1..1 ok 55 # time=36.914ms # Subtest ok 1 - {"added":1,"removed":0,"changed":0,"audited":0,"json":false} 1..1 ok 56 # time=36.371ms # Subtest ok 1 - {"added":1,"removed":0,"changed":0,"audited":1,"json":true} 1..1 ok 57 # time=36.619ms # Subtest ok 1 - {"added":1,"removed":0,"changed":0,"audited":1,"json":false} 1..1 ok 58 # time=37.346ms # Subtest ok 1 - {"added":1,"removed":0,"changed":0,"audited":2,"json":true} 1..1 ok 59 # time=34.457ms # Subtest ok 1 - {"added":1,"removed":0,"changed":0,"audited":2,"json":false} 1..1 ok 60 # time=35.812ms # Subtest ok 1 - {"added":1,"removed":0,"changed":1,"audited":0,"json":true} 1..1 ok 61 # time=35.879ms # Subtest ok 1 - {"added":1,"removed":0,"changed":1,"audited":0,"json":false} 1..1 ok 62 # time=36.442ms # Subtest ok 1 - {"added":1,"removed":0,"changed":1,"audited":1,"json":true} 1..1 ok 63 # time=37.46ms # Subtest ok 1 - {"added":1,"removed":0,"changed":1,"audited":1,"json":false} 1..1 ok 64 # time=36.076ms # Subtest ok 1 - {"added":1,"removed":0,"changed":1,"audited":2,"json":true} 1..1 ok 65 # time=36.569ms # Subtest ok 1 - {"added":1,"removed":0,"changed":1,"audited":2,"json":false} 1..1 ok 66 # time=36.707ms # Subtest ok 1 - {"added":1,"removed":0,"changed":2,"audited":0,"json":true} 1..1 ok 67 # time=35.547ms # Subtest ok 1 - {"added":1,"removed":0,"changed":2,"audited":0,"json":false} 1..1 ok 68 # time=36.911ms # Subtest ok 1 - {"added":1,"removed":0,"changed":2,"audited":1,"json":true} 1..1 ok 69 # time=49.086ms # Subtest ok 1 - {"added":1,"removed":0,"changed":2,"audited":1,"json":false} 1..1 ok 70 # time=38.424ms # Subtest ok 1 - {"added":1,"removed":0,"changed":2,"audited":2,"json":true} 1..1 ok 71 # time=34.995ms # Subtest ok 1 - {"added":1,"removed":0,"changed":2,"audited":2,"json":false} 1..1 ok 72 # time=36.84ms # Subtest ok 1 - {"added":1,"removed":1,"changed":0,"audited":0,"json":true} 1..1 ok 73 # time=34.8ms # Subtest ok 1 - {"added":1,"removed":1,"changed":0,"audited":0,"json":false} 1..1 ok 74 # time=34.613ms # Subtest ok 1 - {"added":1,"removed":1,"changed":0,"audited":1,"json":true} 1..1 ok 75 # time=36.367ms # Subtest ok 1 - {"added":1,"removed":1,"changed":0,"audited":1,"json":false} 1..1 ok 76 # time=34.094ms # Subtest ok 1 - {"added":1,"removed":1,"changed":0,"audited":2,"json":true} 1..1 ok 77 # time=33.539ms # Subtest ok 1 - {"added":1,"removed":1,"changed":0,"audited":2,"json":false} 1..1 ok 78 # time=36.589ms # Subtest ok 1 - {"added":1,"removed":1,"changed":1,"audited":0,"json":true} 1..1 ok 79 # time=34.312ms # Subtest ok 1 - {"added":1,"removed":1,"changed":1,"audited":0,"json":false} 1..1 ok 80 # time=35.452ms # Subtest ok 1 - {"added":1,"removed":1,"changed":1,"audited":1,"json":true} 1..1 ok 81 # time=35.011ms # Subtest ok 1 - {"added":1,"removed":1,"changed":1,"audited":1,"json":false} 1..1 ok 82 # time=34.869ms # Subtest ok 1 - {"added":1,"removed":1,"changed":1,"audited":2,"json":true} 1..1 ok 83 # time=34.285ms # Subtest ok 1 - {"added":1,"removed":1,"changed":1,"audited":2,"json":false} 1..1 ok 84 # time=35.572ms # Subtest ok 1 - {"added":1,"removed":1,"changed":2,"audited":0,"json":true} 1..1 ok 85 # time=34.562ms # Subtest ok 1 - {"added":1,"removed":1,"changed":2,"audited":0,"json":false} 1..1 ok 86 # time=35.417ms # Subtest ok 1 - {"added":1,"removed":1,"changed":2,"audited":1,"json":true} 1..1 ok 87 # time=35.66ms # Subtest ok 1 - {"added":1,"removed":1,"changed":2,"audited":1,"json":false} 1..1 ok 88 # time=35.334ms # Subtest ok 1 - {"added":1,"removed":1,"changed":2,"audited":2,"json":true} 1..1 ok 89 # time=34.747ms # Subtest ok 1 - {"added":1,"removed":1,"changed":2,"audited":2,"json":false} 1..1 ok 90 # time=36.897ms # Subtest ok 1 - {"added":1,"removed":2,"changed":0,"audited":0,"json":true} 1..1 ok 91 # time=36.118ms # Subtest ok 1 - {"added":1,"removed":2,"changed":0,"audited":0,"json":false} 1..1 ok 92 # time=35.291ms # Subtest ok 1 - {"added":1,"removed":2,"changed":0,"audited":1,"json":true} 1..1 ok 93 # time=37.053ms # Subtest ok 1 - {"added":1,"removed":2,"changed":0,"audited":1,"json":false} 1..1 ok 94 # time=36.461ms # Subtest ok 1 - {"added":1,"removed":2,"changed":0,"audited":2,"json":true} 1..1 ok 95 # time=36.974ms # Subtest ok 1 - {"added":1,"removed":2,"changed":0,"audited":2,"json":false} 1..1 ok 96 # time=37.081ms # Subtest ok 1 - {"added":1,"removed":2,"changed":1,"audited":0,"json":true} 1..1 ok 97 # time=35.555ms # Subtest ok 1 - {"added":1,"removed":2,"changed":1,"audited":0,"json":false} 1..1 ok 98 # time=36.08ms # Subtest ok 1 - {"added":1,"removed":2,"changed":1,"audited":1,"json":true} 1..1 ok 99 # time=36.812ms # Subtest ok 1 - {"added":1,"removed":2,"changed":1,"audited":1,"json":false} 1..1 ok 100 # time=35.16ms # Subtest ok 1 - {"added":1,"removed":2,"changed":1,"audited":2,"json":true} 1..1 ok 101 # time=35.557ms # Subtest ok 1 - {"added":1,"removed":2,"changed":1,"audited":2,"json":false} 1..1 ok 102 # time=35.622ms # Subtest ok 1 - {"added":1,"removed":2,"changed":2,"audited":0,"json":true} 1..1 ok 103 # time=34.469ms # Subtest ok 1 - {"added":1,"removed":2,"changed":2,"audited":0,"json":false} 1..1 ok 104 # time=35.306ms # Subtest ok 1 - {"added":1,"removed":2,"changed":2,"audited":1,"json":true} 1..1 ok 105 # time=35.082ms # Subtest ok 1 - {"added":1,"removed":2,"changed":2,"audited":1,"json":false} 1..1 ok 106 # time=36.079ms # Subtest ok 1 - {"added":1,"removed":2,"changed":2,"audited":2,"json":true} 1..1 ok 107 # time=34.966ms # Subtest ok 1 - {"added":1,"removed":2,"changed":2,"audited":2,"json":false} 1..1 ok 108 # time=35.094ms # Subtest ok 1 - {"added":2,"removed":0,"changed":0,"audited":0,"json":true} 1..1 ok 109 # time=34.958ms # Subtest ok 1 - {"added":2,"removed":0,"changed":0,"audited":0,"json":false} 1..1 ok 110 # time=34.935ms # Subtest ok 1 - {"added":2,"removed":0,"changed":0,"audited":1,"json":true} 1..1 ok 111 # time=36.733ms # Subtest ok 1 - {"added":2,"removed":0,"changed":0,"audited":1,"json":false} 1..1 ok 112 # time=36.129ms # Subtest ok 1 - {"added":2,"removed":0,"changed":0,"audited":2,"json":true} 1..1 ok 113 # time=36.075ms # Subtest ok 1 - {"added":2,"removed":0,"changed":0,"audited":2,"json":false} 1..1 ok 114 # time=37.044ms # Subtest ok 1 - {"added":2,"removed":0,"changed":1,"audited":0,"json":true} 1..1 ok 115 # time=34.761ms # Subtest ok 1 - {"added":2,"removed":0,"changed":1,"audited":0,"json":false} 1..1 ok 116 # time=34.229ms # Subtest ok 1 - {"added":2,"removed":0,"changed":1,"audited":1,"json":true} 1..1 ok 117 # time=34.884ms # Subtest ok 1 - {"added":2,"removed":0,"changed":1,"audited":1,"json":false} 1..1 ok 118 # time=35.951ms # Subtest ok 1 - {"added":2,"removed":0,"changed":1,"audited":2,"json":true} 1..1 ok 119 # time=36.112ms # Subtest ok 1 - {"added":2,"removed":0,"changed":1,"audited":2,"json":false} 1..1 ok 120 # time=35.89ms # Subtest ok 1 - {"added":2,"removed":0,"changed":2,"audited":0,"json":true} 1..1 ok 121 # time=36.177ms # Subtest ok 1 - {"added":2,"removed":0,"changed":2,"audited":0,"json":false} 1..1 ok 122 # time=35.705ms # Subtest ok 1 - {"added":2,"removed":0,"changed":2,"audited":1,"json":true} 1..1 ok 123 # time=34.717ms # Subtest ok 1 - {"added":2,"removed":0,"changed":2,"audited":1,"json":false} 1..1 ok 124 # time=36.034ms # Subtest ok 1 - {"added":2,"removed":0,"changed":2,"audited":2,"json":true} 1..1 ok 125 # time=37.501ms # Subtest ok 1 - {"added":2,"removed":0,"changed":2,"audited":2,"json":false} 1..1 ok 126 # time=35.626ms # Subtest ok 1 - {"added":2,"removed":1,"changed":0,"audited":0,"json":true} 1..1 ok 127 # time=34.993ms # Subtest ok 1 - {"added":2,"removed":1,"changed":0,"audited":0,"json":false} 1..1 ok 128 # time=35.336ms # Subtest ok 1 - {"added":2,"removed":1,"changed":0,"audited":1,"json":true} 1..1 ok 129 # time=35.271ms # Subtest ok 1 - {"added":2,"removed":1,"changed":0,"audited":1,"json":false} 1..1 ok 130 # time=36.707ms # Subtest ok 1 - {"added":2,"removed":1,"changed":0,"audited":2,"json":true} 1..1 ok 131 # time=35.844ms # Subtest ok 1 - {"added":2,"removed":1,"changed":0,"audited":2,"json":false} 1..1 ok 132 # time=35.926ms # Subtest ok 1 - {"added":2,"removed":1,"changed":1,"audited":0,"json":true} 1..1 ok 133 # time=36.824ms # Subtest ok 1 - {"added":2,"removed":1,"changed":1,"audited":0,"json":false} 1..1 ok 134 # time=35.284ms # Subtest ok 1 - {"added":2,"removed":1,"changed":1,"audited":1,"json":true} 1..1 ok 135 # time=34.348ms # Subtest ok 1 - {"added":2,"removed":1,"changed":1,"audited":1,"json":false} 1..1 ok 136 # time=35.127ms # Subtest ok 1 - {"added":2,"removed":1,"changed":1,"audited":2,"json":true} 1..1 ok 137 # time=34.984ms # Subtest ok 1 - {"added":2,"removed":1,"changed":1,"audited":2,"json":false} 1..1 ok 138 # time=36.917ms # Subtest ok 1 - {"added":2,"removed":1,"changed":2,"audited":0,"json":true} 1..1 ok 139 # time=35.75ms # Subtest ok 1 - {"added":2,"removed":1,"changed":2,"audited":0,"json":false} 1..1 ok 140 # time=35.125ms # Subtest ok 1 - {"added":2,"removed":1,"changed":2,"audited":1,"json":true} 1..1 ok 141 # time=36.621ms # Subtest ok 1 - {"added":2,"removed":1,"changed":2,"audited":1,"json":false} 1..1 ok 142 # time=36.151ms # Subtest ok 1 - {"added":2,"removed":1,"changed":2,"audited":2,"json":true} 1..1 ok 143 # time=35.517ms # Subtest ok 1 - {"added":2,"removed":1,"changed":2,"audited":2,"json":false} 1..1 ok 144 # time=35.256ms # Subtest ok 1 - {"added":2,"removed":2,"changed":0,"audited":0,"json":true} 1..1 ok 145 # time=36.745ms # Subtest ok 1 - {"added":2,"removed":2,"changed":0,"audited":0,"json":false} 1..1 ok 146 # time=35.775ms # Subtest ok 1 - {"added":2,"removed":2,"changed":0,"audited":1,"json":true} 1..1 ok 147 # time=34.836ms # Subtest ok 1 - {"added":2,"removed":2,"changed":0,"audited":1,"json":false} 1..1 ok 148 # time=35.726ms # Subtest ok 1 - {"added":2,"removed":2,"changed":0,"audited":2,"json":true} 1..1 ok 149 # time=36.585ms # Subtest ok 1 - {"added":2,"removed":2,"changed":0,"audited":2,"json":false} 1..1 ok 150 # time=34.968ms # Subtest ok 1 - {"added":2,"removed":2,"changed":1,"audited":0,"json":true} 1..1 ok 151 # time=35.631ms # Subtest ok 1 - {"added":2,"removed":2,"changed":1,"audited":0,"json":false} 1..1 ok 152 # time=36.62ms # Subtest ok 1 - {"added":2,"removed":2,"changed":1,"audited":1,"json":true} 1..1 ok 153 # time=35.407ms # Subtest ok 1 - {"added":2,"removed":2,"changed":1,"audited":1,"json":false} 1..1 ok 154 # time=35.427ms # Subtest ok 1 - {"added":2,"removed":2,"changed":1,"audited":2,"json":true} 1..1 ok 155 # time=37.034ms # Subtest ok 1 - {"added":2,"removed":2,"changed":1,"audited":2,"json":false} 1..1 ok 156 # time=34.899ms # Subtest ok 1 - {"added":2,"removed":2,"changed":2,"audited":0,"json":true} 1..1 ok 157 # time=35.229ms # Subtest ok 1 - {"added":2,"removed":2,"changed":2,"audited":0,"json":false} 1..1 ok 158 # time=34.431ms # Subtest ok 1 - {"added":2,"removed":2,"changed":2,"audited":1,"json":true} 1..1 ok 159 # time=36.834ms # Subtest ok 1 - {"added":2,"removed":2,"changed":2,"audited":1,"json":false} 1..1 ok 160 # time=37.036ms # Subtest ok 1 - {"added":2,"removed":2,"changed":2,"audited":2,"json":true} 1..1 ok 161 # time=35.36ms # Subtest ok 1 - {"added":2,"removed":2,"changed":2,"audited":2,"json":false} 1..1 ok 162 # time=35.65ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":2,"json":true} 1..1 ok 163 # time=36.664ms # Subtest ok 1 - {"added":0,"removed":0,"changed":0,"audited":2,"json":false} 1..1 ok 164 # time=36.458ms 1..164 ok 7 - packages changed message # time=7254.845ms # Subtest: added packages should be looked up within returned tree # Subtest: has added pkg in inventory ok 1 - must match snapshot 1..1 ok 1 - has added pkg in inventory # time=29.654ms # Subtest: missing added pkg in inventory ok 1 - must match snapshot 1..1 ok 2 - missing added pkg in inventory # time=28.288ms 1..2 ok 8 - added packages should be looked up within returned tree # time=71.248ms 1..8 # time=8226.649ms ok 97 - test/lib/utils/reify-output.js # time=8226.649ms # Subtest: test/lib/utils/tar.js # Subtest: should log tarball contents ok 1 - must match snapshot 1..1 ok 1 - should log tarball contents # time=138.07ms # Subtest: should log tarball contents of a scoped package ok 1 - must match snapshot 1..1 ok 2 - should log tarball contents of a scoped package # time=23.345ms # Subtest: should log tarball contents with unicode ok 1 - defaults to proc-log ok 2 - defaults to proc-log ok 3 - defaults to proc-log ok 4 - defaults to proc-log ok 5 - defaults to proc-log ok 6 - defaults to proc-log 1..6 ok 3 - should log tarball contents with unicode # time=16.712ms # Subtest: should getContents of a tarball ok 1 - contents are correct 1..1 ok 4 - should getContents of a tarball # time=22.707ms 1..4 # time=226.829ms ok 98 - test/lib/utils/tar.js # time=226.829ms # Subtest: test/lib/utils/timers.js # Subtest: getters ok 1 - should match pattern provided ok 2 - should match pattern provided 1..2 ok 1 - getters # time=12.114ms # Subtest: listens/stops on process ok 1 - should match pattern provided ok 2 - should match pattern provided ok 3 - expect falsey value 1..3 ok 2 - listens/stops on process # time=12.961ms # Subtest: convenience time method ok 1 - should match pattern provided 1..1 ok 3 - convenience time method # time=23.339ms # Subtest: initial timer ok 1 - should match pattern provided 1..1 ok 4 - initial timer # time=4.309ms # Subtest: initial listener ok 1 - should be equal ok 2 - should match pattern provided 1..2 ok 5 - initial listener # time=4.104ms # Subtest: finish unstarted timer ok 1 - should match pattern provided 1..1 ok 6 - finish unstarted timer # time=6.427ms # Subtest: writes file ok 1 - should match pattern provided 1..1 ok 7 - writes file # time=5.363ms # Subtest: fails to write file ok 1 - should match pattern provided ok 2 - should be equal 1..2 ok 8 - fails to write file # time=5.029ms # Subtest: no dir and no file ok 1 - should be equivalent strictly ok 2 - should be equal 1..2 ok 9 - no dir and no file # time=6.737ms 1..9 # time=117.955ms ok 99 - test/lib/utils/timers.js # time=117.955ms # Subtest: test/lib/utils/validate-lockfile.js # Subtest: identical inventory for both idealTree and virtualTree ok 1 - should have no errors on identical inventories 1..1 ok 1 - identical inventory for both idealTree and virtualTree # time=14.291ms # Subtest: extra inventory items on idealTree ok 1 - should have missing entries error 1..1 ok 2 - extra inventory items on idealTree # time=0.893ms # Subtest: extra inventory items on virtualTree ok 1 - should have no errors if finding virtualTree extra items 1..1 ok 3 - extra inventory items on virtualTree # time=0.627ms # Subtest: mismatching versions on inventory ok 1 - should have errors for each mismatching version 1..1 ok 4 - mismatching versions on inventory # time=0.546ms # Subtest: missing virtualTree inventory ok 1 - should have errors for each mismatching version 1..1 ok 5 - missing virtualTree inventory # time=0.684ms 1..5 # time=28.756ms ok 100 - test/lib/utils/validate-lockfile.js # time=28.756ms # Subtest: test/lib/utils/update-notifier.js # Subtest: does not notify by default ok 1 - should not be equal ok 2 - should be equal 1..2 ok 1 - does not notify by default # time=260.998ms # Subtest: situations in which we do not notify # Subtest: nothing to do if notifier disabled ok 1 - should be equal ok 2 - no requests for manifests 1..2 ok 1 - nothing to do if notifier disabled # time=51.579ms # Subtest: do not suggest update if already updating ok 1 - should be equal ok 2 - no requests for manifests 1..2 ok 2 - do not suggest update if already updating # time=307.868ms # Subtest: do not suggest update if already updating with spec ok 1 - should be equal ok 2 - no requests for manifests 1..2 ok 3 - do not suggest update if already updating with spec # time=69.333ms # Subtest: do not update if same as latest ok 1 - should be equal ok 2 - requested latest version 1..2 ok 4 - do not update if same as latest # time=42.882ms # Subtest: check if stat errors (here for coverage) ok 1 - should be equal ok 2 - requested latest version 1..2 ok 5 - check if stat errors (here for coverage) # time=42.393ms # Subtest: ok if write errors (here for coverage) ok 1 - should be equal ok 2 - requested latest version 1..2 ok 6 - ok if write errors (here for coverage) # time=38.669ms # Subtest: ignore pacote failures (here for coverage) ok 1 - should be equal ok 2 - requested latest version 1..2 ok 7 - ignore pacote failures (here for coverage) # time=38.507ms # Subtest: do not update if newer than latest, but same as next ok 1 - should be equal ok 2 - requested latest and next versions 1..2 ok 8 - do not update if newer than latest, but same as next # time=45.209ms # Subtest: do not update if on the latest beta ok 1 - should be equal ok 2 - requested latest and next versions 1..2 ok 9 - do not update if on the latest beta # time=40.147ms # Subtest: do not update in CI ok 1 - should be equal ok 2 - no requests for manifests 1..2 ok 10 - do not update in CI # time=38.46ms # Subtest: only check weekly for GA releases ok 1 - should be equal ok 2 - no requests for manifests 1..2 ok 11 - only check weekly for GA releases # time=48.927ms # Subtest: only check daily for betas ok 1 - should be equal ok 2 - no requests for manifests 1..2 ok 12 - only check daily for betas # time=39.527ms 1..12 ok 2 - situations in which we do not notify # time=916.415ms # Subtest: notification situations # Subtest: 124.0.0-beta.0 - color=false ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 1 - 124.0.0-beta.0 - color=false # time=38.491ms # Subtest: 124.0.0-beta.0 - color=always ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 2 - 124.0.0-beta.0 - color=always # time=37.34ms # Subtest: 123.421.69 - color=false ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 3 - 123.421.69 - color=false # time=38.972ms # Subtest: 123.421.69 - color=always ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 4 - 123.421.69 - color=always # time=37.11ms # Subtest: 123.420.70 - color=false ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 5 - 123.420.70 - color=false # time=38.461ms # Subtest: 123.420.70 - color=always ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 6 - 123.420.70 - color=always # time=38.769ms # Subtest: 123.420.68 - color=false ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 7 - 123.420.68 - color=false # time=39.602ms # Subtest: 123.420.68 - color=always ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 8 - 123.420.68 - color=always # time=38.135ms # Subtest: 123.419.69 - color=false ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 9 - 123.419.69 - color=false # time=36.69ms # Subtest: 123.419.69 - color=always ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 10 - 123.419.69 - color=always # time=37.235ms # Subtest: 122.420.69 - color=false ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 11 - 122.420.69 - color=false # time=37.179ms # Subtest: 122.420.69 - color=always ok 1 - must match snapshot ok 2 - should be equivalent strictly 1..2 ok 12 - 122.420.69 - color=always # time=36.467ms 1..12 ok 3 - notification situations # time=554.372ms 1..3 # time=1747.21ms ok 101 - test/lib/utils/update-notifier.js # time=1747.21ms # Subtest: test/lib/utils/web-auth.js # Subtest: returns token on success ok 1 - should be equal 1..1 ok 1 - returns token on success # time=3.267ms # Subtest: closes opener when auth check finishes ok 1 - should be equal 1..1 ok 2 - closes opener when auth check finishes # time=0.612ms 1..2 # time=66.864ms ok 102 - test/lib/utils/web-auth.js # time=66.864ms # Subtest: test/lib/utils/replace-info.js ok 1 - should return undefined item ok 2 - should return null ok 3 - should return numbers ok 4 - should return same string with only separators ok 5 - should return empty string ok 6 - should replace single item ok 7 - should replace single item token ok 8 - should not replace single item with no password ok 9 - should not replace single item with no password with multiple items ok 10 - should replace multiple items on a string ok 11 - should replace single item within a phrase ok 12 - should replace single item within a phrase separated by = ok 13 - should replace items in an array ok 14 - should replace items in an array with equals ok 15 - should ignore invalid items of array 1..15 # time=6.126ms ok 103 - test/lib/utils/replace-info.js # time=6.126ms # Subtest: test/lib/utils/completion/installed-deep.js # Subtest: get list of package names ok 1 - should return list of package names and global flag 1..1 ok 1 - get list of package names # time=417.603ms # Subtest: get list of package names as global ok 1 - should return list of global packages with no extra flags 1..1 ok 2 - get list of package names as global # time=42.242ms # Subtest: limit depth ok 1 - should print only packages up to the specified depth 1..1 ok 3 - limit depth # time=48.406ms # Subtest: limit depth as global ok 1 - should reorder so that packages above that level depth goes last 1..1 ok 4 - limit depth as global # time=39.574ms 1..4 # time=601.922ms ok 104 - test/lib/utils/completion/installed-deep.js # time=601.922ms # Subtest: test/lib/utils/completion/installed-shallow.js # Subtest: global not set, include globals with -g ok 1 - should be equivalent strictly 1..1 ok 1 - global not set, include globals with -g # time=142.738ms # Subtest: global set, include globals and not locals ok 1 - should be equivalent strictly 1..1 ok 2 - global set, include globals and not locals # time=37.547ms # Subtest: more than 3 items in argv, skip it ok 1 - should be equivalent strictly 1..1 ok 3 - more than 3 items in argv, skip it # time=47.724ms 1..3 # time=277.884ms ok 105 - test/lib/utils/completion/installed-shallow.js # time=277.884ms 1..105 # time=37521.848ms --------------------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------------------|---------|----------|---------|---------|------------------- All files | 100 | 100 | 100 | 100 | cli | 100 | 100 | 100 | 100 | index.js | 100 | 100 | 100 | 100 | cli/bin | 100 | 100 | 100 | 100 | npm-cli.js | 100 | 100 | 100 | 100 | npx-cli.js | 100 | 100 | 100 | 100 | cli/lib | 100 | 100 | 100 | 100 | arborist-cmd.js | 100 | 100 | 100 | 100 | base-command.js | 100 | 100 | 100 | 100 | cli-entry.js | 100 | 100 | 100 | 100 | cli.js | 100 | 100 | 100 | 100 | lifecycle-cmd.js | 100 | 100 | 100 | 100 | npm.js | 100 | 100 | 100 | 100 | package-url-cmd.js | 100 | 100 | 100 | 100 | cli/lib/commands | 100 | 100 | 100 | 100 | access.js | 100 | 100 | 100 | 100 | adduser.js | 100 | 100 | 100 | 100 | audit.js | 100 | 100 | 100 | 100 | bugs.js | 100 | 100 | 100 | 100 | cache.js | 100 | 100 | 100 | 100 | ci.js | 100 | 100 | 100 | 100 | completion.js | 100 | 100 | 100 | 100 | config.js | 100 | 100 | 100 | 100 | dedupe.js | 100 | 100 | 100 | 100 | deprecate.js | 100 | 100 | 100 | 100 | diff.js | 100 | 100 | 100 | 100 | dist-tag.js | 100 | 100 | 100 | 100 | docs.js | 100 | 100 | 100 | 100 | doctor.js | 100 | 100 | 100 | 100 | edit.js | 100 | 100 | 100 | 100 | exec.js | 100 | 100 | 100 | 100 | explain.js | 100 | 100 | 100 | 100 | explore.js | 100 | 100 | 100 | 100 | find-dupes.js | 100 | 100 | 100 | 100 | fund.js | 100 | 100 | 100 | 100 | get.js | 100 | 100 | 100 | 100 | help-search.js | 100 | 100 | 100 | 100 | help.js | 100 | 100 | 100 | 100 | hook.js | 100 | 100 | 100 | 100 | init.js | 100 | 100 | 100 | 100 | install.js | 100 | 100 | 100 | 100 | link.js | 100 | 100 | 100 | 100 | ll.js | 100 | 100 | 100 | 100 | login.js | 100 | 100 | 100 | 100 | logout.js | 100 | 100 | 100 | 100 | ls.js | 100 | 100 | 100 | 100 | org.js | 100 | 100 | 100 | 100 | outdated.js | 100 | 100 | 100 | 100 | owner.js | 100 | 100 | 100 | 100 | pack.js | 100 | 100 | 100 | 100 | ping.js | 100 | 100 | 100 | 100 | pkg.js | 100 | 100 | 100 | 100 | prefix.js | 100 | 100 | 100 | 100 | profile.js | 100 | 100 | 100 | 100 | prune.js | 100 | 100 | 100 | 100 | publish.js | 100 | 100 | 100 | 100 | query.js | 100 | 100 | 100 | 100 | rebuild.js | 100 | 100 | 100 | 100 | repo.js | 100 | 100 | 100 | 100 | restart.js | 100 | 100 | 100 | 100 | root.js | 100 | 100 | 100 | 100 | run-script.js | 100 | 100 | 100 | 100 | search.js | 100 | 100 | 100 | 100 | set.js | 100 | 100 | 100 | 100 | shrinkwrap.js | 100 | 100 | 100 | 100 | star.js | 100 | 100 | 100 | 100 | stars.js | 100 | 100 | 100 | 100 | start.js | 100 | 100 | 100 | 100 | stop.js | 100 | 100 | 100 | 100 | team.js | 100 | 100 | 100 | 100 | test.js | 100 | 100 | 100 | 100 | token.js | 100 | 100 | 100 | 100 | uninstall.js | 100 | 100 | 100 | 100 | unpublish.js | 100 | 100 | 100 | 100 | unstar.js | 100 | 100 | 100 | 100 | update.js | 100 | 100 | 100 | 100 | version.js | 100 | 100 | 100 | 100 | view.js | 100 | 100 | 100 | 100 | whoami.js | 100 | 100 | 100 | 100 | cli/lib/es6 | 100 | 100 | 100 | 100 | validate-engines.js | 100 | 100 | 100 | 100 | cli/lib/utils | 100 | 100 | 100 | 100 | ansi-trim.js | 100 | 100 | 100 | 100 | audit-error.js | 100 | 100 | 100 | 100 | auth.js | 100 | 100 | 100 | 100 | cmd-list.js | 100 | 100 | 100 | 100 | did-you-mean.js | 100 | 100 | 100 | 100 | display.js | 100 | 100 | 100 | 100 | error-message.js | 100 | 100 | 100 | 100 | exit-handler.js | 100 | 100 | 100 | 100 | explain-dep.js | 100 | 100 | 100 | 100 | explain-eresolve.js | 100 | 100 | 100 | 100 | format-bytes.js | 100 | 100 | 100 | 100 | format-search-stream.js | 100 | 100 | 100 | 100 | get-identity.js | 100 | 100 | 100 | 100 | is-windows.js | 100 | 100 | 100 | 100 | log-file.js | 100 | 100 | 100 | 100 | log-shim.js | 100 | 100 | 100 | 100 | npm-usage.js | 100 | 100 | 100 | 100 | open-url-prompt.js | 100 | 100 | 100 | 100 | open-url.js | 100 | 100 | 100 | 100 | otplease.js | 100 | 100 | 100 | 100 | ping.js | 100 | 100 | 100 | 100 | pulse-till-done.js | 100 | 100 | 100 | 100 | queryable.js | 100 | 100 | 100 | 100 | read-user-info.js | 100 | 100 | 100 | 100 | reify-finish.js | 100 | 100 | 100 | 100 | reify-output.js | 100 | 100 | 100 | 100 | replace-info.js | 100 | 100 | 100 | 100 | tar.js | 100 | 100 | 100 | 100 | timers.js | 100 | 100 | 100 | 100 | update-notifier.js | 100 | 100 | 100 | 100 | validate-lockfile.js | 100 | 100 | 100 | 100 | web-auth.js | 100 | 100 | 100 | 100 | cli/lib/utils/completion | 100 | 100 | 100 | 100 | installed-deep.js | 100 | 100 | 100 | 100 | installed-shallow.js | 100 | 100 | 100 | 100 | cli/lib/workspaces | 100 | 100 | 100 | 100 | get-workspaces.js | 100 | 100 | 100 | 100 | update-workspaces.js | 100 | 100 | 100 | 100 | --------------------------|---------|----------|---------|---------|------------------- --- tap-snapshots/test/lib/docs.js.test.cjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index a97753c84b3ce..32bacbf2c0808 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -2642,6 +2642,7 @@ npm ci Options: [--install-strategy ] [--legacy-bundling] [--global-style] [--omit [--omit ...]] +[--include [--include ...]] [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [-w|--workspace [-w|--workspace ...]] @@ -2661,6 +2662,7 @@ aliases: clean-install, ic, install-clean, isntall-clean #### \`legacy-bundling\` #### \`global-style\` #### \`omit\` +#### \`include\` #### \`strict-peer-deps\` #### \`foreground-scripts\` #### \`ignore-scripts\` @@ -3195,6 +3197,7 @@ Options: [-E|--save-exact] [-g|--global] [--install-strategy ] [--legacy-bundling] [--global-style] [--omit [--omit ...]] +[--include [--include ...]] [--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [--cpu ] [--os ] @@ -3218,6 +3221,7 @@ aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall #### \`legacy-bundling\` #### \`global-style\` #### \`omit\` +#### \`include\` #### \`strict-peer-deps\` #### \`prefer-dedupe\` #### \`package-lock\` @@ -3245,6 +3249,7 @@ npm install-ci-test Options: [--install-strategy ] [--legacy-bundling] [--global-style] [--omit [--omit ...]] +[--include [--include ...]] [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [-w|--workspace [-w|--workspace ...]] @@ -3264,6 +3269,7 @@ aliases: cit, clean-install-test, sit #### \`legacy-bundling\` #### \`global-style\` #### \`omit\` +#### \`include\` #### \`strict-peer-deps\` #### \`foreground-scripts\` #### \`ignore-scripts\` @@ -3288,6 +3294,7 @@ Options: [-E|--save-exact] [-g|--global] [--install-strategy ] [--legacy-bundling] [--global-style] [--omit [--omit ...]] +[--include [--include ...]] [--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [--cpu ] [--os ] @@ -3311,6 +3318,7 @@ alias: it #### \`legacy-bundling\` #### \`global-style\` #### \`omit\` +#### \`include\` #### \`strict-peer-deps\` #### \`prefer-dedupe\` #### \`package-lock\` From d082e5a379f3857e9662dc28ae582b1ca828a9d4 Mon Sep 17 00:00:00 2001 From: siemhesda <143130929+siemhesda@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:43:51 -0700 Subject: [PATCH 3/5] docs: add flag to sections containint the flag --- lib/commands/audit.js | 1 + lib/commands/dedupe.js | 1 + lib/commands/find-dupes.js | 1 + lib/commands/link.js | 1 + lib/commands/ls.js | 1 + lib/commands/prune.js | 1 + lib/commands/update.js | 1 + 7 files changed, 7 insertions(+) diff --git a/lib/commands/audit.js b/lib/commands/audit.js index 2a40d541c20db..c95d992c05c99 100644 --- a/lib/commands/audit.js +++ b/lib/commands/audit.js @@ -406,6 +406,7 @@ class Audit extends ArboristWorkspaceCmd { 'package-lock-only', 'package-lock', 'omit', + 'include', 'foreground-scripts', 'ignore-scripts', ...super.params, diff --git a/lib/commands/dedupe.js b/lib/commands/dedupe.js index d4e8d0e8c80c3..0d0e26621b227 100644 --- a/lib/commands/dedupe.js +++ b/lib/commands/dedupe.js @@ -13,6 +13,7 @@ class Dedupe extends ArboristWorkspaceCmd { 'strict-peer-deps', 'package-lock', 'omit', + 'include', 'ignore-scripts', 'audit', 'bin-links', diff --git a/lib/commands/find-dupes.js b/lib/commands/find-dupes.js index b1a3120860366..2e06e8b6bd93f 100644 --- a/lib/commands/find-dupes.js +++ b/lib/commands/find-dupes.js @@ -11,6 +11,7 @@ class FindDupes extends ArboristWorkspaceCmd { 'strict-peer-deps', 'package-lock', 'omit', + 'include', 'ignore-scripts', 'audit', 'bin-links', diff --git a/lib/commands/link.js b/lib/commands/link.js index a81450a247ed6..0c0929115a557 100644 --- a/lib/commands/link.js +++ b/lib/commands/link.js @@ -27,6 +27,7 @@ class Link extends ArboristWorkspaceCmd { 'strict-peer-deps', 'package-lock', 'omit', + 'include', 'ignore-scripts', 'audit', 'bin-links', diff --git a/lib/commands/ls.js b/lib/commands/ls.js index 92300b1c404a3..3f9775cf12504 100644 --- a/lib/commands/ls.js +++ b/lib/commands/ls.js @@ -32,6 +32,7 @@ class LS extends ArboristWorkspaceCmd { 'global', 'depth', 'omit', + 'include', 'link', 'package-lock-only', 'unicode', diff --git a/lib/commands/prune.js b/lib/commands/prune.js index 12136e20e4943..189fc29cb8bc3 100644 --- a/lib/commands/prune.js +++ b/lib/commands/prune.js @@ -7,6 +7,7 @@ class Prune extends ArboristWorkspaceCmd { static name = 'prune' static params = [ 'omit', + 'include', 'dry-run', 'json', 'foreground-scripts', diff --git a/lib/commands/update.js b/lib/commands/update.js index caa69dd317ca6..43d031c7ada3f 100644 --- a/lib/commands/update.js +++ b/lib/commands/update.js @@ -16,6 +16,7 @@ class Update extends ArboristWorkspaceCmd { 'legacy-bundling', 'global-style', 'omit', + 'include', 'strict-peer-deps', 'package-lock', 'foreground-scripts', From 50639e460d516515f208bbaab4a7e25520cb0144 Mon Sep 17 00:00:00 2001 From: siemhesda <143130929+siemhesda@users.noreply.github.com> Date: Mon, 25 Sep 2023 11:00:04 -0700 Subject: [PATCH 4/5] docs: run build docs and run 'npm run snap' --- tap-snapshots/test/lib/docs.js.test.cjs | 40 +++++++++++++++++-------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index 32bacbf2c0808..6e55457be929d 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -2554,6 +2554,7 @@ Options: [--audit-level ] [--dry-run] [-f|--force] [--json] [--package-lock-only] [--no-package-lock] [--omit [--omit ...]] +[--include [--include ...]] [--foreground-scripts] [--ignore-scripts] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -2571,6 +2572,7 @@ npm audit [fix|signatures] #### \`package-lock-only\` #### \`package-lock\` #### \`omit\` +#### \`include\` #### \`foreground-scripts\` #### \`ignore-scripts\` #### \`workspace\` @@ -2741,8 +2743,9 @@ npm dedupe Options: [--install-strategy ] [--legacy-bundling] [--global-style] [--strict-peer-deps] [--no-package-lock] -[--omit [--omit ...]] [--ignore-scripts] -[--no-audit] [--no-bin-links] [--no-fund] [--dry-run] +[--omit [--omit ...]] +[--include [--include ...]] +[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -2762,6 +2765,7 @@ alias: ddp #### \`strict-peer-deps\` #### \`package-lock\` #### \`omit\` +#### \`include\` #### \`ignore-scripts\` #### \`audit\` #### \`bin-links\` @@ -3012,8 +3016,9 @@ npm find-dupes Options: [--install-strategy ] [--legacy-bundling] [--global-style] [--strict-peer-deps] [--no-package-lock] -[--omit [--omit ...]] [--ignore-scripts] -[--no-audit] [--no-bin-links] [--no-fund] +[--omit [--omit ...]] +[--include [--include ...]] +[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3029,6 +3034,7 @@ npm find-dupes #### \`strict-peer-deps\` #### \`package-lock\` #### \`omit\` +#### \`include\` #### \`ignore-scripts\` #### \`audit\` #### \`bin-links\` @@ -3348,8 +3354,9 @@ Options: [-E|--save-exact] [-g|--global] [--install-strategy ] [--legacy-bundling] [--global-style] [--strict-peer-deps] [--no-package-lock] -[--omit [--omit ...]] [--ignore-scripts] -[--no-audit] [--no-bin-links] [--no-fund] [--dry-run] +[--omit [--omit ...]] +[--include [--include ...]] +[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3372,6 +3379,7 @@ alias: ln #### \`strict-peer-deps\` #### \`package-lock\` #### \`omit\` +#### \`include\` #### \`ignore-scripts\` #### \`audit\` #### \`bin-links\` @@ -3391,8 +3399,9 @@ npm ll [[<@scope>/] ...] Options: [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth ] -[--omit [--omit ...]] [--link] -[--package-lock-only] [--unicode] +[--omit [--omit ...]] +[--include [--include ...]] +[--link] [--package-lock-only] [--unicode] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3413,6 +3422,7 @@ alias: la #### \`global\` #### \`depth\` #### \`omit\` +#### \`include\` #### \`link\` #### \`package-lock-only\` #### \`unicode\` @@ -3473,8 +3483,9 @@ npm ls Options: [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth ] -[--omit [--omit ...]] [--link] -[--package-lock-only] [--unicode] +[--omit [--omit ...]] +[--include [--include ...]] +[--link] [--package-lock-only] [--unicode] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3495,6 +3506,7 @@ alias: list #### \`global\` #### \`depth\` #### \`omit\` +#### \`include\` #### \`link\` #### \`package-lock-only\` #### \`unicode\` @@ -3745,8 +3757,9 @@ Usage: npm prune [[<@scope>/]...] Options: -[--omit [--omit ...]] [--dry-run] -[--json] [--foreground-scripts] [--ignore-scripts] +[--omit [--omit ...]] +[--include [--include ...]] +[--dry-run] [--json] [--foreground-scripts] [--ignore-scripts] [-w|--workspace [-w|--workspace ...]] [-ws|--workspaces] [--include-workspace-root] [--install-links] @@ -3757,6 +3770,7 @@ npm prune [[<@scope>/]...] \`\`\` #### \`omit\` +#### \`include\` #### \`dry-run\` #### \`json\` #### \`foreground-scripts\` @@ -4266,6 +4280,7 @@ Options: [-g|--global] [--install-strategy ] [--legacy-bundling] [--global-style] [--omit [--omit ...]] +[--include [--include ...]] [--strict-peer-deps] [--no-package-lock] [--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] [-w|--workspace [-w|--workspace ...]] @@ -4287,6 +4302,7 @@ aliases: up, upgrade, udpate #### \`legacy-bundling\` #### \`global-style\` #### \`omit\` +#### \`include\` #### \`strict-peer-deps\` #### \`package-lock\` #### \`foreground-scripts\` From e43b24b6ed2863577c3c880b6e9de57f77c996ac Mon Sep 17 00:00:00 2001 From: siemhesda <143130929+siemhesda@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:27:19 -0700 Subject: [PATCH 5/5] docs: run 'npm run snap -w smoke-tests' --- smoke-tests/tap-snapshots/test/index.js.test.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/smoke-tests/tap-snapshots/test/index.js.test.cjs b/smoke-tests/tap-snapshots/test/index.js.test.cjs index 5ba8778109226..a6a84d13f158e 100644 --- a/smoke-tests/tap-snapshots/test/index.js.test.cjs +++ b/smoke-tests/tap-snapshots/test/index.js.test.cjs @@ -57,6 +57,7 @@ npm ERR! npm ERR! Options: npm ERR! [--install-strategy ] [--legacy-bundling] npm ERR! [--global-style] [--omit [--omit ...]] +npm ERR! [--include [--include ...]] npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit] npm ERR! [--no-bin-links] [--no-fund] [--dry-run] npm ERR! [-w|--workspace [-w|--workspace ...]]