Skip to content

Replace sync-request with nodejs-file-downloader #19769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 15, 2024

Conversation

DmitriiBobreshev
Copy link
Contributor

@DmitriiBobreshev DmitriiBobreshev commented Apr 12, 2024

Task name: -

Description:

  • Replaced sync-request with nodejs-file-downloader because the package is not supported anymore
  • Replaced sync methods with async because nodejs-file-downloader and nodejs makes only async requests
  • Bumped task versions for changed tasks

Pipeline with all built tasks run:
Linux: https://dev.azure.com/mseng/PipelineTools/_build/results?buildId=27803107
Macos: https://dev.azure.com/mseng/PipelineTools/_build/results?buildId=27803554
Windows: https://dev.azure.com/mseng/PipelineTools/_build/results?buildId=27803434

Test fails are expected

Documentation changes required: N

Added unit tests: N

Attached related issue: N

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

- Replaced sync-request with nodejs-file-downloader because the package is not supported anymore
- Replaced sync methods with async because nodejs-file-downloader and nodejs makes only async requests
@qianz2
Copy link
Contributor

qianz2 commented Apr 12, 2024

Looks that after we changed node version from 20.3.1 to 20.11.0, the npm version came with it updated from 9.6.7 to ⁠⁠10.2.4 in pipelines, and then sync-request library not supported any more.
(checking which npm version came with node: https://nodejs.org/dist/index.json)

@DmitriiBobreshev DmitriiBobreshev enabled auto-merge (squash) April 15, 2024 15:25
@DmitriiBobreshev
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@DmitriiBobreshev DmitriiBobreshev merged commit 0e190cd into master Apr 15, 2024
11 checks passed
@DmitriiBobreshev DmitriiBobreshev deleted the user/v-bobreshev/replace-sync-request branch April 15, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants