Skip to content

Commit 0c21b04

Browse files
fix tunnel.d.ts and bump to 4.1
1 parent a03b3ef commit 0c21b04

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

api/HttpClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
/// <reference path="../node/tunnel.d.ts"/>
5-
64
import url = require("url");
75

86
import http = require("http");
@@ -104,6 +102,7 @@ export class HttpClient implements ifm.IHttpClient {
104102
proxyUrl = url.parse(process.env.HTTP_PROXY);
105103
}
106104

105+
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
107106
var options: any = {
108107
host: parsedUrl.hostname,
109108
port: parsedUrl.port || defaultPort,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vso-node-api",
33
"description": "Node client for Visual Studio Online/TFS REST APIs",
4-
"version": "4.0.0",
4+
"version": "4.1.0",
55
"main": "./WebApi.js",
66
"typings": "./WebApi.d.ts",
77
"scripts": {

typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/// <reference path="globals/q/index.d.ts" />
55
/// <reference path="globals/shelljs/index.d.ts" />
66
/// <reference path="globals/underscore/index.d.ts" />
7+
/// <reference path="tunnel.d.ts" />
File renamed without changes.

0 commit comments

Comments
 (0)