Skip to content

Commit cb310bb

Browse files
Update library to support Node 16 (#509)
1 parent 1032df8 commit cb310bb

File tree

4 files changed

+104
-21
lines changed

4 files changed

+104
-21
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ strategy:
1313
versionSpec: '12.x'
1414
'Node 14':
1515
versionSpec: '14.x'
16+
'Node 16':
17+
versionSpec: '16.x'
1618

1719
steps:
1820
- task: NodeTool@0

test/package-lock.json

Lines changed: 100 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"homepage": "https://github.com/Microsoft/azure-devops-node-api#readme",
1919
"dependencies": {
2020
"azure-devops-node-api": "file:../_build",
21-
"typed-rest-client": "file:../_build"
21+
"typed-rest-client": "file:../_build/node_modules/typed-rest-client"
2222
}
2323
}

test/units/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import nock = require('nock');
44
import os = require('os');
55
import vsom = require('../../_build/VsoClient');
66
import WebApi = require('../../_build/WebApi');
7-
import * as rm from '../../_build/node_modules/typed-rest-client/RestClient';
7+
import * as rm from 'typed-rest-client/RestClient';
88
import { ApiResourceLocation } from '../../_build/interfaces/common/VsoBaseInterfaces';
99
import semver = require('semver');
1010

0 commit comments

Comments
 (0)