Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(audit): audit should work with a proxy (#4057)
close #3755
- Loading branch information
Showing
7 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pnpm/audit": minor | ||
--- | ||
|
||
Added options for the HTTP agent. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pnpm/fetch": minor | ||
--- | ||
|
||
Add `fetchWithAgent()`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"pnpm": patch | ||
--- | ||
|
||
`pnpm audit` should work when a proxy is configured for the registry [#3755](https://github.com/pnpm/pnpm/issues/3755). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import { FetchFromRegistry } from '@pnpm/fetching-types' | ||
import fetch, { RetryTimeoutOptions } from './fetch' | ||
import createFetchFromRegistry, { AgentOptions } from './fetchFromRegistry' | ||
import createFetchFromRegistry, { fetchWithAgent, AgentOptions } from './fetchFromRegistry' | ||
|
||
export default fetch | ||
export { | ||
AgentOptions, | ||
createFetchFromRegistry, | ||
fetchWithAgent, | ||
FetchFromRegistry, | ||
RetryTimeoutOptions, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters