Skip to content

lib: remove unused modules - #4683

Closed
Trott wants to merge 15 commits into
nodejs:v4.x-stagingfrom
Trott:v4-headache-1
Closed

lib: remove unused modules#4683
Trott wants to merge 15 commits into
nodejs:v4.x-stagingfrom
Trott:v4-headache-1

Conversation

@Trott

Copy link
Copy Markdown
Member

Some files in lib were using require to load modules that were
subsequently not used in the file. This removes those require
statements.

Trottand others added 15 commits January 13, 2016 12:44
PR-URL: nodejs#4536
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: nodejs#4538
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Refs: nodejs#3254
PR-URL: nodejs#4540
Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#4549
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Adds Myles Borins and his public key to the README
PR-URL: nodejs#4578
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Adds Evan Lucas and his public key to the README for releases
PR-URL: nodejs#4579
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
fix description about the latest LTS release download page
to make it clear
PR-URL: nodejs#4583
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
`Server`, `ServerResponse` etc. were marked as classes, this one class
was overlooked.
PR-URL: nodejs#4589Fixes: nodejs#4576
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
The server method returns `self` in order to allow chaining.
PR-URL: nodejs#4590Fixes: nodejs#4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
In order to make developers aware of node-core built-in
functionality, which might replace module APIs, we should
add an example of readline`s interface usage.
SEO will eventually aid this goal, since it is well searched
on Q&A sites.
PR-URL: nodejs#4609
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>>
- Changed colors to match frontpage as close as possible.
- Links are slightly more horizontally padded as compared before to
accomodate for the hover effect.
- Slightly reduced the scroll indication height on the TOC.
- The main content is now offset using margin instead of the previous
border hack.
- remove empty footer that was rendering a dark bar on the bottom of
each page without any content.
PR-URL: nodejs#4621
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Useful to have for reference, especially for onboarding
PR-URL: nodejs#4636
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell<jasnell@gmail.com>
PR-URL: nodejs#4656
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: James M Snell <jasnell@gmail.com>
Original key did not have personal information associated with it.
The new key rectifies this problem
PR-URL: nodejs#4657
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: James M Snell <jasnell@gmail.com>
Some files in `lib` were using `require` to load modules that were
subsequently not used in the file. This removes those `require`
statements.
@TrottTrott added the lib / src Issues and PRs related to general changes in the lib or src directory. label Jan 14, 2016
@TrottTrott mentioned this pull request Jan 14, 2016
@mscdexmscdex added http Issues or PRs related to the http subsystem. os Issues and PRs related to the os subsystem. labels Jan 14, 2016
@mscdex

Copy link
Copy Markdown
Contributor

@jasnell

Copy link
Copy Markdown
Member

@Trott ... PR has some linting issues: https://ci.nodejs.org/job/node-test-commit/1736/

@mscdex

Copy link
Copy Markdown
Contributor

@jasnell I'm betting those linter issues have more to do with the recently committed changes to the linter.

@Trott

Copy link
Copy Markdown
MemberAuthor

Yeah, it's unlikely that this PR, which removes two lines of code and adds zero lines of code, would generate 219 linting errors.

Those errors are already in v4.x-staging and were not introduced in this PR. Here's a lint run against current v4.x-staging: https://ci.nodejs.org/job/node-test-linter/859/

@jasnell

Copy link
Copy Markdown
Member

;-) I saw the red button but didn't look into the details. /cc @thealphanerd

@MylesBorins

Copy link
Copy Markdown
Contributor

closing for #4688

MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Jan 14, 2016
Some files in `lib` were using `require` to load modules that were
subsequently not used in the file. This removes those `require`
statements.
PR-URL: nodejs#4683
Reviewed-By: Myles Borins <mborins@us.ibm.com>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
Some files in `lib` were using `require` to load modules that were
subsequently not used in the file. This removes those `require`
statements.
PR-URL: #4683
Reviewed-By: Myles Borins <mborins@us.ibm.com>
@MylesBorinsMylesBorins mentioned this pull request Jan 19, 2016
@MylesBorinsMylesBorins removed their assignment Dec 27, 2016
@Trott
Trott deleted the v4-headache-1 branch January 13, 2022 22:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.lib / srcIssues and PRs related to general changes in the lib or src directory.osIssues and PRs related to the os subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@Trott@mscdex@jasnell@MylesBorins@richardsun29@cjihrig@evanlucas@JungMinu@Sequoia@eljefedelrodeodeljefe@silverwind