You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change in NODE_OPTIONS parsing behavior in Node 11 #26521
I stumbled across this while attempting to use Yarn's PnP system on Node 11 (see yarnpkg/yarn#7092 for the original report there). Yarn 1.13.0 adds --require ${PATH_TO_PNP_FILE} to NODE_OPTIONS which causes this issue.
I'll give it a look this evening (I might have to revert part of 8ec3c35 since it wouldn't make sense to use the same SplitString anymore?) - if no progress by the end of the week feel free to fix it separately 🙂
@arcanis I think both consumers of SplitString() would like to skip empty items (which I assume is the issue here), so I think it’s okay to modify the common code. But yeah, reverting it should also be fine.
Activity
arcanis commentedon Mar 8, 2019
Wow 😮 The most obvious suspect would be 8ec3c35
Probably a good time to put #24065 back on the table as well
addaleax commentedon Mar 8, 2019
@arcanis Do you want to continue work on your PR and fix this along with it? Otherwise we can do a new PR for this specific problem?
arcanis commentedon Mar 8, 2019
I'll give it a look this evening (I might have to revert part of 8ec3c35 since it wouldn't make sense to use the same
SplitStringanymore?) - if no progress by the end of the week feel free to fix it separately 🙂addaleax commentedon Mar 8, 2019
@arcanis I think both consumers of
SplitString()would like to skip empty items (which I assume is the issue here), so I think it’s okay to modify the common code. But yeah, reverting it should also be fine.stefanpenner commentedon Mar 8, 2019
@rwjblue thanks for debugging this one!
himself65 commentedon Mar 9, 2019
Can we make
SplitString()to trim white spaces?himself65 commentedon Mar 9, 2019
maybe we should ignore white spaces like this on
SplitString()arcanis commentedon Mar 9, 2019
I've rebased, updated, and fixed this issue in #24065
himself65 commentedon Mar 13, 2019
fixed on 17ab2ed
stefanpenner commentedon Mar 13, 2019
@himself65 / @arcanis is the plan to ship this as part of an upcoming node@11.x.y release?
himself65 commentedon Mar 13, 2019
i don’t know :(
you can ask the Node Team Members about it.
stefanpenner commentedon Mar 13, 2019
cc @addaleax ^
lpinca commentedon Mar 23, 2019
@stefanpenner it seems this shipped with Node.js 11.12.0. I'm going to close this. Please comment back if needed.
Node 11 is fixed, so let’s remove this.
Node 11 is fixed, so let’s remove this.