Skip to content

Commit 1e8e221

Browse files
Fix vulnerable packages (#600)
* Fix vulnerable packages * Update samples/package.json Co-authored-by: Konstantin Tyukalov <[email protected]> --------- Co-authored-by: Konstantin Tyukalov <[email protected]>
1 parent 1351c2c commit 1e8e221

File tree

7 files changed

+2818
-409
lines changed

7 files changed

+2818
-409
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ More detailed information for the endpoints of each API can be found at https://
109109

110110
## Running Samples
111111

112-
Pre-reqs: [Node >= 4.4.7 LTS](https://nodejs.org) and [typescript (tsc) >= 1.8](https://www.npmjs.com/package/typescript)
112+
Pre-reqs: [Node >= 16](https://nodejs.org) and [typescript (tsc) >= 4](https://www.npmjs.com/package/typescript)
113113

114114
Run `npm install` first
115115

@@ -136,6 +136,11 @@ Run a specific sample:
136136
$ npm run samples -- projectAnalysis
137137
```
138138

139+
## Node support
140+
v14 and above - [current, maintained] - Supports node 16 and above
141+
142+
v13 and below - End Of Life, for Node < 16, contains security vulnerabilities, use at your own risk
143+
139144
## API and TFS Mapping
140145

141146
Below you'll find a quick mapping of azure-devops-node-api versions and their corresponding TFS releases. All API versions will work on the TFS version mentioned as well as later TFS versions.

azure-pipelines.yml

+9-15
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,18 @@ extends:
2828
- job: job
2929
strategy:
3030
matrix:
31-
'Node 6':
32-
versionSpec: '6.x'
33-
npmVersion: '5'
34-
'Node 8':
35-
versionSpec: '8.x'
36-
npmVersion: '6'
37-
'Node 10':
38-
versionSpec: '10.x'
39-
npmVersion: '6'
40-
'Node 12':
41-
versionSpec: '12.x'
42-
npmVersion: '6'
43-
'Node 14':
44-
versionSpec: '14.x'
45-
npmVersion: '6'
4631
'Node 16':
4732
versionSpec: '16.x'
4833
npmVersion: '8'
34+
'Node 18':
35+
versionSpec: '18.x'
36+
npmVersion: '10'
37+
'Node 20':
38+
versionSpec: '20.x'
39+
npmVersion: '10'
40+
'Node 22':
41+
versionSpec: '22.x'
42+
npmVersion: '10'
4943
steps:
5044
- task: NodeTool@0
5145
inputs:

0 commit comments

Comments
 (0)