nodejs/node

[Converge] child_process argument type checking

rvagg opened this issue · 9 comments

rvagg commented

Continuing from nodejs/node-convergence-archive#22, I don't believe this has been done yet, @jasnell can you confirm please? That thread seems to have enough agreement to pull these changes in. Marking on the 4.0.0 milestone.

These commits add argument type checking to methods within child_process. This needs to be reconciled with the current io.js behavior. The change introduces a new throw so there's a potential API compatibility issue.
/cc @trevnorris

Correct, AFAIK this has not yet been completed. It's actually on my list for later this week but if someone gets to it before then ..... ;-)

@sam-github @trevnorris ... this particular set of commits were yours originally, I believe. Would either of you be able to take a look to see what needs to land in nodejs/node?

lint fix doesn't matter. processing the arguments the same would be helpful, but not sure if it's currently done that way ATM. so may be worth bringing in.

rvagg commented

@trevnorris I'm assigning this to you, please close this when it lands, before the end of the week please.

@rvagg want me to just cherry-pick the applicable onto master?

rvagg commented

@trevnorris your call, including assessing whether this is even necessary, PR obviously even if cherry-picking.

rvagg commented

ping @trevnorris, are we close here?

@rvagg @trevnorris ... I'm going to take a look at this today. I'll port over the changes and open a new PR against master

rvagg commented

closed by #2667 I believe