FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

util: use template literals by a0viedo · Pull Request #9120 · nodejs/node · GitHub

/ node Public

util: use template literals - #9120

Closed
a0viedo wants to merge 1 commit into
nodejs:masterfrom
a0viedo:template-literals-util
Closed

util: use template literals#9120
a0viedo wants to merge 1 commit into
nodejs:masterfrom
a0viedo:template-literals-util

Conversation

a0viedo commented Oct 16, 2016

Copy link
Copy Markdown
Member
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

Util

Description of change

This commit changes string manipulation in favor of template literals in the util module.

nodejs-github-bot added the util Issues and PRs related to the built-in util module. label Oct 16, 2016

mscdex commented Oct 16, 2016

Copy link
Copy Markdown
Contributor

a0viedo commented Oct 16, 2016

Copy link
Copy Markdown
Member Author

oh the linter was failing for a long line, gonna make that fix once CI finishes

Copy link
Copy Markdown
Contributor

I'd be curious to see if this causes any performance regressions in util.format/util.inspect

targos commented Oct 17, 2016

Copy link
Copy Markdown
Member

There should be no change in performance. AFAIK untagged template literals are desugared to string concatenation by V8's parser.

jasnell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

This commit changes string manipulation in favor of template literals in the `util` module.

a0viedo commented Oct 17, 2016

Copy link
Copy Markdown
Member Author

Fixed linter.

rvagg force-pushed the master branch 2 times, most recently from c133999 to 83c7a88 Compare October 18, 2016 17:02

jasnell commented Oct 19, 2016

Copy link
Copy Markdown
Member

jasnell commented Oct 24, 2016

Copy link
Copy Markdown
Member

New CI since the last one was aborted: https://ci.nodejs.org/job/node-test-pull-request/4637/

jasnell pushed a commit that referenced this pull request Oct 26, 2016
This commit changes string manipulation in favor of template
literals in the `util` module.

PR-URL: #9120
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

jasnell commented Oct 26, 2016

Copy link
Copy Markdown
Member

Landed in 1ee36f6

jasnell closed this Oct 26, 2016
evanlucas pushed a commit that referenced this pull request Nov 3, 2016
This commit changes string manipulation in favor of template
literals in the `util` module.

PR-URL: #9120
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
This commit changes string manipulation in favor of template
literals in the `util` module.

PR-URL: #9120
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
This commit changes string manipulation in favor of template
literals in the `util` module.

PR-URL: #9120
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This was referenced Nov 22, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL