Skip to content
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

Use the Fetch API to download the l10n files #17711

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

Snuffleupagus
Copy link
Collaborator

Given that the Fetch API is supported since Node.js 18 we should be able to use it when downloading l10n files, which allows us to simplify the code and to make it fully async.

@Snuffleupagus Snuffleupagus force-pushed the importl10n-Fetch-API branch 2 times, most recently from 1c48400 to 1d361ef Compare February 26, 2024 09:55
Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

Given that the Fetch API is supported since Node.js 18 we should be able to use it when downloading l10n files, which allows us to simplify the code and to make it fully `async`.
@Snuffleupagus Snuffleupagus merged commit b14f696 into mozilla:master Mar 8, 2024
7 checks passed
@Snuffleupagus Snuffleupagus removed the request for review from timvandermeij March 8, 2024 10:51
@Snuffleupagus Snuffleupagus deleted the importl10n-Fetch-API branch March 8, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n Localization other
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants