You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "kumo01GitHub (via GitHub)" <gi...@apache.org> on 2025/07/18 03:19:26 UTC
[PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
kumo01GitHub opened a new pull request, #125:
URL: https://github.com/apache/cordova-fetch/pull/125
<!--
Please make sure the checklist boxes are all checked before submitting the PR. The checklist is intended as a quick reference, for complete details please see our Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
n/a
### Motivation and Context
<!-- Why is this change required? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here. -->
node < 20 are already EOL.
### Description
<!-- Describe your changes in detail -->
- Upgrade node to 20.5.0
- Bump node modules:
- @npmcli/arborist
- cordova-common
- npm-package-arg
- pacote
- resolve
- semver
- which
- @cordova/eslint-config
- jasmine
- nyc
- Update packages by `npm update`
NOTE:
- `execa` could not be updated because it switched commonjs to esm from next version.
- `file-url` ould not be updated because it switched commonjs to esm from next version.
- `nyc` should be replaced with `c8` but separate from this PR.
### Testing
<!-- Please describe in detail how you tested your changes. -->
- npm t
- npm run lint
### Checklist
- [x] I've run the tests to see all new and existing tests pass
- [x] I added automated test coverage as appropriate for this change
- [x] Commit is prefixed with `(platform)` if this change only applies to one platform (e.g. `(android)`)
- [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
- [ ] I've updated the documentation if necessary
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek merged PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "github-advanced-security[bot] (via GitHub)" <gi...@apache.org>.
github-advanced-security[bot] commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3089181802
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on [this overview](/apache/cordova-fetch/security/code-scanning?query=pr%3A125+is%3Aopen). Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out [the documentation](https://docs.github.com/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "kumo01GitHub (via GitHub)" <gi...@apache.org>.
kumo01GitHub commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3123953159
I've added back `engines.npm` requirement and bump modules excluding `@cordova/eslint-config` because I thought it should be separated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "kumo01GitHub (via GitHub)" <gi...@apache.org>.
kumo01GitHub commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3119919542
@breautek @erisu
npm@8.1.0 was released on Oct 15, 2021 and node@20.5.0 was released on on Jul 21, 2023, It's almost 2 years later. I confirmed that below in my local.
> in a fresh environment, the lowest npm version typically bundled with it is 9.8.0.
I doubt actual effect... For now, I would like to add back `engines.npm`. But I think npm requirement should be bump or removed even in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3089181758
## [Codecov](https://app.codecov.io/gh/apache/cordova-fetch/pull/125?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 92.18%. Comparing base [(`d137bc7`)](https://app.codecov.io/gh/apache/cordova-fetch/commit/d137bc787dde8794f718f7e7daec0c28b98814d6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`62cbc9f`)](https://app.codecov.io/gh/apache/cordova-fetch/commit/62cbc9f39c2320a1d0f6b11191a47877bea7beeb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #125 +/- ##
=======================================
Coverage 92.18% 92.18%
=======================================
Files 1 1
Lines 64 64
=======================================
Hits 59 59
Misses 5 5
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/cordova-fetch/pull/125?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "kumo01GitHub (via GitHub)" <gi...@apache.org>.
kumo01GitHub commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3086751158
> test error occurs on windows/node22 because of timeout
I confirmed that this problem occurs in master too. I would like to scope this problem out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "erisu (via GitHub)" <gi...@apache.org>.
erisu commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3116455593
@kumo01GitHub Lets back the `engines.npm` requirement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "kumo01GitHub (via GitHub)" <gi...@apache.org>.
kumo01GitHub commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3119950856
If there is no problem, I would like to bump some dependencies including `jasmine`. Is it ok?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "kumo01GitHub (via GitHub)" <gi...@apache.org>.
kumo01GitHub commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3086640757
I confirmed that test error occurs on windows/node22 because of timeout and can be fixed by expand timeout. I'm not sure that expand timeout is good way and moreover should be fixed...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3116271858
> I'll wait a bit to see if anyone else has input on this change before merging.
Unless if we have a good reason to remove the engine requirement, we probably should at least keep the `>= 8.1.0` npm requirement. I don't see why we would remove the requirement if it's already there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [PR] chore!: bump node requirement & npm dependencies [cordova-fetch]
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on PR #125:
URL: https://github.com/apache/cordova-fetch/pull/125#issuecomment-3137658930
All tests passing, merging!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org