diff --git a/package-lock.json b/package-lock.json index d4152ed..2d154dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.0.tgz", "integrity": "sha512-c+R/U5X+2zz2+UCrCFv6odQzJdoqI+YecuhnAJLa1zYaMc13zPfwMwZrr91Pd1DYNo/yPRbiM4WVf9whgwFsIg==", "requires": { - "es6-promisify": "5.0.0" + "es6-promisify": "^5.0.0" } }, "debug": { @@ -36,7 +36,7 @@ "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", "requires": { - "es6-promise": "4.2.4" + "es6-promise": "^4.0.3" } }, "http-proxy-agent": { @@ -44,17 +44,27 @@ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==", "requires": { - "agent-base": "4.2.0", + "agent-base": "4", "debug": "3.1.0" } }, "https-proxy-agent": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz", - "integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", "requires": { - "agent-base": "4.2.0", - "debug": "3.1.0" + "agent-base": "^4.3.0", + "debug": "^3.1.0" + }, + "dependencies": { + "agent-base": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", + "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", + "requires": { + "es6-promisify": "^5.0.0" + } + } } }, "ms": { @@ -69,9 +79,9 @@ "dev": true }, "vscode-nls": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-4.0.0.tgz", - "integrity": "sha512-qCfdzcH+0LgQnBpZA53bA32kzp9rpq/f66Som577ObeuDlFIrtbEJ+A/+CCxjIh4G8dpJYNCKIsxpRAHIfsbNw==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-4.1.1.tgz", + "integrity": "sha512-4R+2UoUUU/LdnMnFjePxfLqNhBS8lrAFyX7pjb2ud/lqDkrUavFUTcG7wR0HBZFakae0Q6KLBFjMS6W93F403A==" } } } diff --git a/package.json b/package.json index 05e55b5..a102102 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "author": "Microsoft Corporation", "repository": { "type": "git", - "url": "https://github.com/Microsoft/node-request-light" + "url": "https://github.com/microsoft/node-request-light" }, "license": "MIT", "bugs": { - "url": "https://github.com/Microsoft/node-request-light/issues" + "url": "https://github.com/microsoft/node-request-light/issues" }, "devDependencies": { "typescript": "^2.8.3", @@ -19,11 +19,11 @@ }, "dependencies": { "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.1", - "vscode-nls": "^4.0.0" + "https-proxy-agent": "^2.2.3", + "vscode-nls": "^4.1.1" }, "scripts": { - "prepublish": "tsc -p ./src", + "prepublishOnly": "tsc -p ./src", "compile": "tsc -p ./src", "watch": "tsc -w -p ./src" } diff --git a/src/typings/https-proxy-agent.d.ts b/src/typings/https-proxy-agent.d.ts deleted file mode 100644 index 384bee1..0000000 --- a/src/typings/https-proxy-agent.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - -declare module 'https-proxy-agent' { - - import * as tls from 'tls'; - - interface IHttpsProxyAgentOptions extends tls.ConnectionOptions { - host: string; - port: number; - auth?: string; - secureProxy?: boolean; - secureEndpoint?: boolean; - } - - class HttpsProxyAgent { - constructor(proxy: string); - constructor(opts: IHttpsProxyAgentOptions); - } - - export = HttpsProxyAgent; -} \ No newline at end of file