Skip to content
New issue

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

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

Already on GitHub? # to your account

Bump which to v4 #139

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Bump which to v4 #139

merged 2 commits into from
Aug 30, 2024

Conversation

fregante
Copy link
Contributor

In retrospect, I should have updated which before or together with dropping when 😅 but hindsight is 20/20

@fregante

This comment was marked as outdated.

@fregante fregante mentioned this pull request Aug 11, 2024
16 tasks
@fregante fregante changed the title Update which Bump which to v4 Aug 11, 2024
Copy link
Member

@Rob--W Rob--W left a comment

Choose a reason for hiding this comment

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

The changes here look good. Although which dropped support for Node 14, CI still runs with 14. If the tests are green, I suppose that we are good to go.

@@ -12,6 +12,10 @@ var sandbox = require('sandboxed-module');
var binary = utils.normalizeBinary;

sandbox.configure({
requires: {
// sandboxed-module is unable to find this module directly
Copy link
Member

Choose a reason for hiding this comment

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

... because it is not listed at https://github.com/felixge/node-sandboxed-module/blob/v2.0.4/lib/builtin_modules.json and would therefore result in the module being resolved as a relative file path?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I opened a PR upstream. This PR can be merged in the meanwhile because that package hasn't seen updates in 4 years.

@@ -23,7 +23,7 @@
"dependencies": {
"commander": "2.9.0",
"shell-quote": "1.8.1",
"which": "1.2.4",
"which": "^4.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

Version 4.0.0 drops Node 14 support, and does not have other significant changes, per https://github.com/npm/node-which/blob/main/CHANGELOG.md#400-2023-08-29

If we are planning to release a major version then this lgtm. Otherwise we should use 3.0.1 instead.

Considering that we are indeed preparing for a major version in #89, 4.0.0 here is acceptable.

@Rob--W Rob--W merged commit b31bbca into mozilla:master Aug 30, 2024
3 checks passed
@fregante fregante deleted the which branch August 30, 2024 12:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants