New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/global-agent

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/global-agent - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

global-agent/index.d.ts

@@ -7,5 +7,5 @@ // Type definitions for global-agent 2.1

export interface ProxyAgentConfigurationInputType {
environmentVariableNamespace?: string;
forceGlobalAgent?: boolean;
socketConnectionTimeout?: number;
environmentVariableNamespace?: string | undefined;
forceGlobalAgent?: boolean | undefined;
socketConnectionTimeout?: number | undefined;
}

@@ -12,0 +12,0 @@

{
"name": "@types/global-agent",
"version": "2.1.0",
"version": "2.1.1",
"description": "TypeScript definitions for global-agent",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/global-agent",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "18735a5843d499094e99fa374de2d4b4b0b686ab907c00c6245342246f66c01c",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "c33855605da85ad14d185ef13f3615efbee02633e0fb89dce8755b6e1fe05f21",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,30 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/global-agent.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/global-agent/index.d.ts)
````ts
// Type definitions for global-agent 2.1
// Project: https://github.com/gajus/global-agent#readme
// Definitions by: Jamie Magee <https://github.com/JamieMagee>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface ProxyAgentConfigurationInputType {
environmentVariableNamespace?: string | undefined;
forceGlobalAgent?: boolean | undefined;
socketConnectionTimeout?: number | undefined;
}
export interface ProxyAgentConfigurationType {
readonly HTTP_PROXY: string | null;
readonly HTTPS_PROXY: string | null;
readonly NO_PROXY: string | null;
}
export function bootstrap(configurationInput?: ProxyAgentConfigurationInputType): boolean;
export function createGlobalProxyAgent(
configurationInput: ProxyAgentConfigurationInputType,
): ProxyAgentConfigurationType;
````
### Additional Details
* Last updated: Mon, 27 Jan 2020 21:29:28 GMT
* Last updated: Thu, 08 Jul 2021 12:02:13 GMT
* Dependencies: none

@@ -17,2 +42,2 @@ * Global values: none

# Credits
These definitions were written by Jamie Magee (https://github.com/JamieMagee).
These definitions were written by [Jamie Magee](https://github.com/JamieMagee).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc