-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: never use cached npm ping request #7789
Conversation
3faefd0
to
710449f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Reopening, didn't see your testing there. Looks like the This should work. This really should have a test though since we thought this was fixed already and it wasn't. |
test/lib/commands/ping.js
Outdated
@@ -74,3 +76,19 @@ t.test('invalid json', async t => { | |||
details: {}, | |||
}) | |||
}) | |||
t.test('fail when registry is unreachable', async t => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.test('fail when registry is unreachable', async t => { | |
t.test('fail when registry is unreachable even if request is cached', async t => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Updated..
##### [`v10.9.0](https://github.com/npm/cli/blob/HEAD/CHANGELOG.md#1090-2024-10-03) ##### Features - [`4d57928`](npm/cli@4d57928) [#7766](npm/cli#7766) devEngines ([#7766](npm/cli#7766)) ([@reggi](https://github.com/reggi)) ##### Bug Fixes - [`6ca609e`](npm/cli@6ca609e) [#7789](npm/cli#7789) ping and doctor commands fix for checking if registry is online ([#7789](npm/cli#7789)) ([@milaninfy](https://github.com/milaninfy)) ##### Documentation - [`63d6a73`](npm/cli@63d6a73) [#7783](npm/cli#7783) package.json: add brief section on exports, link to Node.js docs ([#7783](npm/cli#7783)) ([@wheresrhys](https://github.com/wheresrhys)) - [`366c07e`](npm/cli@366c07e) [#7776](npm/cli#7776) remove incorrect note about npm install ([#7776](npm/cli#7776)) ([@wraithgar](https://github.com/wraithgar)) ##### Dependencies - [`60a7ee5`](npm/cli@60a7ee5) [#7803](npm/cli#7803) hoist npm-normalize-package-bin - [`20dd44f`](npm/cli@20dd44f) [#7803](npm/cli#7803) hoist minipass-fetch - [`5795987`](npm/cli@5795987) [#7803](npm/cli#7803) update `[email protected]` - [`99ccae3`](npm/cli@99ccae3) [#7803](npm/cli#7803) update `[email protected]` - [`75786ad`](npm/cli@75786ad) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`1c25a1d`](npm/cli@1c25a1d) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`2d7fc3d`](npm/cli@2d7fc3d) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`1e09334`](npm/cli@1e09334) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`820e983`](npm/cli@820e983) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`9cd6603`](npm/cli@9cd6603) [#7803](npm/cli#7803) update `[email protected]` - [`b84d907`](npm/cli@b84d907) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`53ed632`](npm/cli@53ed632) [#7803](npm/cli#7803) update `[email protected]` - [`ab40dab`](npm/cli@ab40dab) [#7803](npm/cli#7803) update `[email protected]` - [`b1c4770`](npm/cli@b1c4770) [#7803](npm/cli#7803) update `[email protected]` - [`8206c4f`](npm/cli@8206c4f) [#7803](npm/cli#7803) update `[email protected]` - [`8b7dbc8`](npm/cli@8b7dbc8) [#7803](npm/cli#7803) update `[email protected]` - [`f6909a0`](npm/cli@f6909a0) [#7803](npm/cli#7803) update `[email protected]` - [`f9b2e18`](npm/cli@f9b2e18) [#7803](npm/cli#7803) update `[email protected]` - [`e7ab206`](npm/cli@e7ab206) [#7803](npm/cli#7803) update `[email protected]` - [`b28dbb1`](npm/cli@b28dbb1) [#7803](npm/cli#7803) update `[email protected]` - [`d13a20b`](npm/cli@d13a20b) [#7803](npm/cli#7803) update `[email protected]` - [`5208f74`](npm/cli@5208f74) [#7803](npm/cli#7803) update `[email protected]` - [`092f41f`](npm/cli@092f41f) [#7803](npm/cli#7803) update `[email protected]` - [`50a7bc8`](npm/cli@50a7bc8) [#7803](npm/cli#7803) update `[email protected]` - [`591130d`](npm/cli@591130d) [#7803](npm/cli#7803) update `[email protected]` - [`be6ae96`](npm/cli@be6ae96) [#7803](npm/cli#7803) update `[email protected]` - [`8d4060a`](npm/cli@8d4060a) [#7803](npm/cli#7803) update `[email protected]` - [`105fa2b`](npm/cli@105fa2b) [#7803](npm/cli#7803) update `[email protected]` - [`eae4f57`](npm/cli@eae4f57) [#7803](npm/cli#7803) update `[email protected]` - [`7214149`](npm/cli@7214149) [#7803](npm/cli#7803) update `[email protected]` - [`c4bed31`](npm/cli@c4bed31) [#7803](npm/cli#7803) update `[email protected]` - [`f54b155`](npm/cli@f54b155) [#7803](npm/cli#7803) update `[email protected]` - [`6deae9e`](npm/cli@6deae9e) [#7803](npm/cli#7803) update `[email protected]` - [`034c729`](npm/cli@034c729) [#7803](npm/cli#7803) update `[email protected]` - [`ddb8be0`](npm/cli@ddb8be0) [#7803](npm/cli#7803) update `[email protected]` - [`538a4cc`](npm/cli@538a4cc) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`b80d048`](npm/cli@b80d048) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`81137fc`](npm/cli@81137fc) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`2076368`](npm/cli@2076368) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`feac87c`](npm/cli@feac87c) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`dd90f9e`](npm/cli@dd90f9e) [#7803](npm/cli#7803) update `@npmcli/[email protected]` ##### Chores - [`95e2cb1`](npm/cli@95e2cb1) [#7810](npm/cli#7810) ignore .github folder in release-please ([@reggi](https://github.com/reggi)) - [`be1e6da`](npm/cli@be1e6da) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`43f2374`](npm/cli@43f2374) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`bb03036`](npm/cli@bb03036) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`2072705`](npm/cli@2072705) [#7803](npm/cli#7803) update `@npmcli/[email protected]` ([@reggi](https://github.com/reggi)) - [`949d8f8`](npm/cli@949d8f8) [#7803](npm/cli#7803) engine ^18.17.0 || >=20.5.0 in package template ([@reggi](https://github.com/reggi)) - [`fefd509`](npm/cli@fefd509) [#7764](npm/cli#7764) deps: bump actions/download-artifact from 3 to 4 in /.github/workflows ([#7764](npm/cli#7764)) ([@dependabot](https://github.com/dependabot)\[bot], [@wraithgar](https://github.com/wraithgar)) - [workspace](https://github.com/npm/cli/releases/tag/arborist-v8.0.0): `@npmcli/[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/config-v9.0.0): `@npmcli/[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmaccess-v9.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v9.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v6.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v11.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v8.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v10.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmsearch-v8.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmteam-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmversion-v7.0.0): `[email protected]`
##### [`v10.9.0](https://github.com/npm/cli/blob/HEAD/CHANGELOG.md#1090-2024-10-03) ##### Features - [`4d57928`](npm/cli@4d57928) [#7766](npm/cli#7766) devEngines ([#7766](npm/cli#7766)) ([@reggi](https://github.com/reggi)) ##### Bug Fixes - [`6ca609e`](npm/cli@6ca609e) [#7789](npm/cli#7789) ping and doctor commands fix for checking if registry is online ([#7789](npm/cli#7789)) ([@milaninfy](https://github.com/milaninfy)) ##### Documentation - [`63d6a73`](npm/cli@63d6a73) [#7783](npm/cli#7783) package.json: add brief section on exports, link to Node.js docs ([#7783](npm/cli#7783)) ([@wheresrhys](https://github.com/wheresrhys)) - [`366c07e`](npm/cli@366c07e) [#7776](npm/cli#7776) remove incorrect note about npm install ([#7776](npm/cli#7776)) ([@wraithgar](https://github.com/wraithgar)) ##### Dependencies - [`60a7ee5`](npm/cli@60a7ee5) [#7803](npm/cli#7803) hoist npm-normalize-package-bin - [`20dd44f`](npm/cli@20dd44f) [#7803](npm/cli#7803) hoist minipass-fetch - [`5795987`](npm/cli@5795987) [#7803](npm/cli#7803) update `[email protected]` - [`99ccae3`](npm/cli@99ccae3) [#7803](npm/cli#7803) update `[email protected]` - [`75786ad`](npm/cli@75786ad) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`1c25a1d`](npm/cli@1c25a1d) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`2d7fc3d`](npm/cli@2d7fc3d) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`1e09334`](npm/cli@1e09334) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`820e983`](npm/cli@820e983) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`9cd6603`](npm/cli@9cd6603) [#7803](npm/cli#7803) update `[email protected]` - [`b84d907`](npm/cli@b84d907) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`53ed632`](npm/cli@53ed632) [#7803](npm/cli#7803) update `[email protected]` - [`ab40dab`](npm/cli@ab40dab) [#7803](npm/cli#7803) update `[email protected]` - [`b1c4770`](npm/cli@b1c4770) [#7803](npm/cli#7803) update `[email protected]` - [`8206c4f`](npm/cli@8206c4f) [#7803](npm/cli#7803) update `[email protected]` - [`8b7dbc8`](npm/cli@8b7dbc8) [#7803](npm/cli#7803) update `[email protected]` - [`f6909a0`](npm/cli@f6909a0) [#7803](npm/cli#7803) update `[email protected]` - [`f9b2e18`](npm/cli@f9b2e18) [#7803](npm/cli#7803) update `[email protected]` - [`e7ab206`](npm/cli@e7ab206) [#7803](npm/cli#7803) update `[email protected]` - [`b28dbb1`](npm/cli@b28dbb1) [#7803](npm/cli#7803) update `[email protected]` - [`d13a20b`](npm/cli@d13a20b) [#7803](npm/cli#7803) update `[email protected]` - [`5208f74`](npm/cli@5208f74) [#7803](npm/cli#7803) update `[email protected]` - [`092f41f`](npm/cli@092f41f) [#7803](npm/cli#7803) update `[email protected]` - [`50a7bc8`](npm/cli@50a7bc8) [#7803](npm/cli#7803) update `[email protected]` - [`591130d`](npm/cli@591130d) [#7803](npm/cli#7803) update `[email protected]` - [`be6ae96`](npm/cli@be6ae96) [#7803](npm/cli#7803) update `[email protected]` - [`8d4060a`](npm/cli@8d4060a) [#7803](npm/cli#7803) update `[email protected]` - [`105fa2b`](npm/cli@105fa2b) [#7803](npm/cli#7803) update `[email protected]` - [`eae4f57`](npm/cli@eae4f57) [#7803](npm/cli#7803) update `[email protected]` - [`7214149`](npm/cli@7214149) [#7803](npm/cli#7803) update `[email protected]` - [`c4bed31`](npm/cli@c4bed31) [#7803](npm/cli#7803) update `[email protected]` - [`f54b155`](npm/cli@f54b155) [#7803](npm/cli#7803) update `[email protected]` - [`6deae9e`](npm/cli@6deae9e) [#7803](npm/cli#7803) update `[email protected]` - [`034c729`](npm/cli@034c729) [#7803](npm/cli#7803) update `[email protected]` - [`ddb8be0`](npm/cli@ddb8be0) [#7803](npm/cli#7803) update `[email protected]` - [`538a4cc`](npm/cli@538a4cc) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`b80d048`](npm/cli@b80d048) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`81137fc`](npm/cli@81137fc) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`2076368`](npm/cli@2076368) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`feac87c`](npm/cli@feac87c) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`dd90f9e`](npm/cli@dd90f9e) [#7803](npm/cli#7803) update `@npmcli/[email protected]` ##### Chores - [`95e2cb1`](npm/cli@95e2cb1) [#7810](npm/cli#7810) ignore .github folder in release-please ([@reggi](https://github.com/reggi)) - [`be1e6da`](npm/cli@be1e6da) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`43f2374`](npm/cli@43f2374) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`bb03036`](npm/cli@bb03036) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`2072705`](npm/cli@2072705) [#7803](npm/cli#7803) update `@npmcli/[email protected]` ([@reggi](https://github.com/reggi)) - [`949d8f8`](npm/cli@949d8f8) [#7803](npm/cli#7803) engine ^18.17.0 || >=20.5.0 in package template ([@reggi](https://github.com/reggi)) - [`fefd509`](npm/cli@fefd509) [#7764](npm/cli#7764) deps: bump actions/download-artifact from 3 to 4 in /.github/workflows ([#7764](npm/cli#7764)) ([@dependabot](https://github.com/dependabot)\[bot], [@wraithgar](https://github.com/wraithgar)) - [workspace](https://github.com/npm/cli/releases/tag/arborist-v8.0.0): `@npmcli/[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/config-v9.0.0): `@npmcli/[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmaccess-v9.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v9.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v6.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v11.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v8.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v10.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmsearch-v8.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmteam-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmversion-v7.0.0): `[email protected]`
##### [`v10.9.0](https://github.com/npm/cli/blob/HEAD/CHANGELOG.md#1090-2024-10-03) ##### Features - [`4d57928`](npm/cli@4d57928) [#7766](npm/cli#7766) devEngines ([#7766](npm/cli#7766)) ([@reggi](https://github.com/reggi)) ##### Bug Fixes - [`6ca609e`](npm/cli@6ca609e) [#7789](npm/cli#7789) ping and doctor commands fix for checking if registry is online ([#7789](npm/cli#7789)) ([@milaninfy](https://github.com/milaninfy)) ##### Documentation - [`63d6a73`](npm/cli@63d6a73) [#7783](npm/cli#7783) package.json: add brief section on exports, link to Node.js docs ([#7783](npm/cli#7783)) ([@wheresrhys](https://github.com/wheresrhys)) - [`366c07e`](npm/cli@366c07e) [#7776](npm/cli#7776) remove incorrect note about npm install ([#7776](npm/cli#7776)) ([@wraithgar](https://github.com/wraithgar)) ##### Dependencies - [`60a7ee5`](npm/cli@60a7ee5) [#7803](npm/cli#7803) hoist npm-normalize-package-bin - [`20dd44f`](npm/cli@20dd44f) [#7803](npm/cli#7803) hoist minipass-fetch - [`5795987`](npm/cli@5795987) [#7803](npm/cli#7803) update `[email protected]` - [`99ccae3`](npm/cli@99ccae3) [#7803](npm/cli#7803) update `[email protected]` - [`75786ad`](npm/cli@75786ad) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`1c25a1d`](npm/cli@1c25a1d) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`2d7fc3d`](npm/cli@2d7fc3d) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`1e09334`](npm/cli@1e09334) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`820e983`](npm/cli@820e983) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`9cd6603`](npm/cli@9cd6603) [#7803](npm/cli#7803) update `[email protected]` - [`b84d907`](npm/cli@b84d907) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`53ed632`](npm/cli@53ed632) [#7803](npm/cli#7803) update `[email protected]` - [`ab40dab`](npm/cli@ab40dab) [#7803](npm/cli#7803) update `[email protected]` - [`b1c4770`](npm/cli@b1c4770) [#7803](npm/cli#7803) update `[email protected]` - [`8206c4f`](npm/cli@8206c4f) [#7803](npm/cli#7803) update `[email protected]` - [`8b7dbc8`](npm/cli@8b7dbc8) [#7803](npm/cli#7803) update `[email protected]` - [`f6909a0`](npm/cli@f6909a0) [#7803](npm/cli#7803) update `[email protected]` - [`f9b2e18`](npm/cli@f9b2e18) [#7803](npm/cli#7803) update `[email protected]` - [`e7ab206`](npm/cli@e7ab206) [#7803](npm/cli#7803) update `[email protected]` - [`b28dbb1`](npm/cli@b28dbb1) [#7803](npm/cli#7803) update `[email protected]` - [`d13a20b`](npm/cli@d13a20b) [#7803](npm/cli#7803) update `[email protected]` - [`5208f74`](npm/cli@5208f74) [#7803](npm/cli#7803) update `[email protected]` - [`092f41f`](npm/cli@092f41f) [#7803](npm/cli#7803) update `[email protected]` - [`50a7bc8`](npm/cli@50a7bc8) [#7803](npm/cli#7803) update `[email protected]` - [`591130d`](npm/cli@591130d) [#7803](npm/cli#7803) update `[email protected]` - [`be6ae96`](npm/cli@be6ae96) [#7803](npm/cli#7803) update `[email protected]` - [`8d4060a`](npm/cli@8d4060a) [#7803](npm/cli#7803) update `[email protected]` - [`105fa2b`](npm/cli@105fa2b) [#7803](npm/cli#7803) update `[email protected]` - [`eae4f57`](npm/cli@eae4f57) [#7803](npm/cli#7803) update `[email protected]` - [`7214149`](npm/cli@7214149) [#7803](npm/cli#7803) update `[email protected]` - [`c4bed31`](npm/cli@c4bed31) [#7803](npm/cli#7803) update `[email protected]` - [`f54b155`](npm/cli@f54b155) [#7803](npm/cli#7803) update `[email protected]` - [`6deae9e`](npm/cli@6deae9e) [#7803](npm/cli#7803) update `[email protected]` - [`034c729`](npm/cli@034c729) [#7803](npm/cli#7803) update `[email protected]` - [`ddb8be0`](npm/cli@ddb8be0) [#7803](npm/cli#7803) update `[email protected]` - [`538a4cc`](npm/cli@538a4cc) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`b80d048`](npm/cli@b80d048) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`81137fc`](npm/cli@81137fc) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`2076368`](npm/cli@2076368) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`feac87c`](npm/cli@feac87c) [#7803](npm/cli#7803) update `@npmcli/[email protected]` - [`dd90f9e`](npm/cli@dd90f9e) [#7803](npm/cli#7803) update `@npmcli/[email protected]` ##### Chores - [`95e2cb1`](npm/cli@95e2cb1) [#7810](npm/cli#7810) ignore .github folder in release-please ([@reggi](https://github.com/reggi)) - [`be1e6da`](npm/cli@be1e6da) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`43f2374`](npm/cli@43f2374) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`bb03036`](npm/cli@bb03036) [#7803](npm/cli#7803) update `[email protected]` ([@reggi](https://github.com/reggi)) - [`2072705`](npm/cli@2072705) [#7803](npm/cli#7803) update `@npmcli/[email protected]` ([@reggi](https://github.com/reggi)) - [`949d8f8`](npm/cli@949d8f8) [#7803](npm/cli#7803) engine ^18.17.0 || >=20.5.0 in package template ([@reggi](https://github.com/reggi)) - [`fefd509`](npm/cli@fefd509) [#7764](npm/cli#7764) deps: bump actions/download-artifact from 3 to 4 in /.github/workflows ([#7764](npm/cli#7764)) ([@dependabot](https://github.com/dependabot)\[bot], [@wraithgar](https://github.com/wraithgar)) - [workspace](https://github.com/npm/cli/releases/tag/arborist-v8.0.0): `@npmcli/[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/config-v9.0.0): `@npmcli/[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmaccess-v9.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v9.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v6.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v11.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v8.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v10.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmsearch-v8.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmteam-v7.0.0): `[email protected]` - [workspace](https://github.com/npm/cli/releases/tag/libnpmversion-v7.0.0): `[email protected]`
Ping: Don't use cache so ping does not report ping sucess incorrectly if it's offline or no internet
Doctor: Don't use cache for pinging the registry.
Fixes: #5870, #3576, #4112
Testing of ping and doctor