Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Conversation

Trott
Copy link
Contributor

@Trott Trott commented Jun 10, 2018

Update to node-gyp@3.6.3 to accommodate LLVM 10.0.0. Earlier versions of
node-gyp had a regular expression that did not match the version string
'10.0.0'. node-gyp@3.6.3 fixes this bug.

Refs: nodejs/node#21239
Refs: nodejs/node-gyp#1454
Refs: nodejs/node-gyp#1455
Refs: nodejs/node-gyp@293092c

Commit message from original patch:

gyp: fix regex to match multi-digit versions

This fixes the regular expression matching in `xcode_emulation`
to also handle version numbers with multiple-digit major versions
which would otherwise break under use of XCode 10

Fixes: https://github.com/nodejs/node-gyp/issues/1454

@Trott Trott requested a review from a team as a code owner June 10, 2018 01:10
@bnoordhuis
Copy link
Contributor

In node-gyp's v3.x branch we pinned request to <2.82.0 for compatibility with old Node.js versions. I'd suggest floating a patch here that relaxes that constraint so it can share a copy with npm (which is at 2.86.0, I think?)

This fixes the regular expression matching in `xcode_emulation`
to also handle version numbers with multiple-digit major versions
which would otherwise break under use of XCode 10

Fixes: nodejs/node-gyp#1454
@Trott Trott force-pushed the update-node-gyp branch from 65e3e0a to 0ecd2fb Compare June 10, 2018 15:20
@Trott
Copy link
Contributor Author

Trott commented Jun 10, 2018

@bnoordhuis Certainly makes for a much easier-to-review change set. Done.

@Trott Trott changed the title node-gyp@3.6.3 gyp: fix regex to match multi-digit versions Jun 10, 2018
Copy link
Contributor

@zkat zkat left a comment

Choose a reason for hiding this comment

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

I'm going to accept this patch while nodejs/node-gyp#1484 or similar lands. I really don't want a bunch more copies of request in our tree.

@bnoordhuis
Copy link
Contributor

That PR isn't going to land in node-gyp's v3.x branch so I closed it out, see discussion in that issue. This PR is a good way forward for now.

@zkat zkat changed the base branch from latest to release-next June 28, 2018 21:51
@zkat zkat merged commit 8f033d7 into npm:release-next Jun 28, 2018
@zkat zkat mentioned this pull request Jun 29, 2018
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants