Skip to content

node: deprecate process.EventEmitter#5049

Merged
evanlucas merged 1 commit intonodejs:masterfrom
evanlucas:depee
Feb 4, 2016
Merged

node: deprecate process.EventEmitter#5049
evanlucas merged 1 commit intonodejs:masterfrom
evanlucas:depee

Conversation

@evanlucas
Copy link
Copy Markdown
Contributor

The comment stating it was deprecated was added in 2011 via
4ef8f06. It is time to actually deprecate it.

@mscdex mscdex added the process Issues and PRs related to the process subsystem. label Feb 3, 2016
@mscdex
Copy link
Copy Markdown
Contributor

mscdex commented Feb 3, 2016

/cc @ChALkeR

Does anyone use this anywhere?

@evanlucas
Copy link
Copy Markdown
Contributor Author

@jasnell
Copy link
Copy Markdown
Member

jasnell commented Feb 3, 2016

LGTM

1 similar comment
@bnoordhuis
Copy link
Copy Markdown
Member

LGTM

@evanlucas
Copy link
Copy Markdown
Contributor Author

CI: https://ci.nodejs.org/job/node-test-pull-request/1524/

Was the decision that we could deprecate in a minor version, or did we go with major?

@ChALkeR
Copy link
Copy Markdown
Member

ChALkeR commented Feb 3, 2016

@mscdex This is used, though the usage is not high. Will post a list a bit later today.

@cjihrig
Copy link
Copy Markdown
Contributor

cjihrig commented Feb 3, 2016

LGTM

1 similar comment
@thefourtheye
Copy link
Copy Markdown
Contributor

LGTM

@silverwind
Copy link
Copy Markdown
Contributor

@evanlucas you can get better results by quoting.

@evanlucas
Copy link
Copy Markdown
Contributor Author

oh nice

@ChALkeR
Copy link
Copy Markdown
Member

ChALkeR commented Feb 4, 2016

https://gist.github.com/ChALkeR/232fdf64be9c34c9c733, sorted by downloads count per month.
The first entry (array-difference) looks like a false positive to me.

I'm +1 for deprecating this, but in a semver-major, of course.

@ChALkeR ChALkeR added the semver-major PRs that contain breaking changes and should be released in the next major version. label Feb 4, 2016
@evanlucas
Copy link
Copy Markdown
Contributor Author

Major works for me

@Fishrock123 Fishrock123 added this to the 6.0.0 milestone Feb 4, 2016
@silverwind
Copy link
Copy Markdown
Contributor

LGTM, looks to be low-impact.

@evanlucas
Copy link
Copy Markdown
Contributor Author

The comment stating it was deprecated was added in 2011 via
4ef8f06. It is time to
actually deprecate it.

PR-URL: nodejs#5049
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
@evanlucas evanlucas closed this Feb 4, 2016
@evanlucas evanlucas deleted the depee branch February 4, 2016 19:45
@evanlucas evanlucas merged commit 25751be into nodejs:master Feb 4, 2016
@evanlucas
Copy link
Copy Markdown
Contributor Author

Landed in 25751be. Thanks

@jasnell jasnell mentioned this pull request Mar 17, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
The comment stating it was deprecated was added in 2011 via
4ef8f06. It is time to
actually deprecate it.

PR-URL: nodejs#5049
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
cjihrig added a commit that referenced this pull request May 24, 2016
process.EventEmitter was deprecated for v6. This commit removes
it for v7.

Refs: #5049
PR-URL: #6862
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

process Issues and PRs related to the process subsystem. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants