Commit 2f1b5cd
authored
KubernetesV1 task Node 24 migration (#21714)
* fix(KubernetesV1): Update TestSetup.ts for Node 24 compatibility
- Replace deprecated fs.Stats constructor with plain object to avoid
DEP0180 deprecation warning in Node 24
- Fix writeFileSync mock to use flexible path matching instead of
exact match, resolving path format mismatches across platforms
These changes fix test failures when running under Node 24.
* Bumped the task version
* chore(KubernetesV1): Update dependencies for Node 24 support
- Update @types/node from ^20.3.1 to ^24.10.0
- Update azure-pipelines-task-lib from ^4.16.0 to ^5.2.4
- Update azure-pipelines-tasks-kubernetes-common from ^2.252.0 to ^2.267.0
- Update typescript from 5.1.6 to ^5.7.2
These dependency updates enable Node 24 runtime support and address
security vulnerabilities in transitive dependencies.
* chore(KubernetesV1): Add rm entries for nested kubernetes-common dependencies
- Remove nested azure-pipelines-tool-lib from kubernetes-common
- Remove nested azure-devops-node-api from kubernetes-common
Prevents singleton conflicts when running with Node 24.
* chore(KubernetesV1): Regenerate package-lock.json with Azure DevOps registry
Regenerated package-lock.json to resolve dependencies from the correct
Azure DevOps registry (pkgs.dev.azure.com/mseng/PipelineTools) instead
of registry.npmjs.org.
This ensures CI pipeline compatibility and proper dependency resolution.1 parent 977a359 commit 2f1b5cd
File tree
6 files changed
+1049
-261
lines changed- Tasks/KubernetesV1
- Tests
6 files changed
+1049
-261
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
284 | 284 | | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments