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

doc: createRequire can take import.meta.url directly by GeoffreyBooth · Pull Request #30495 · nodejs/node · GitHub

/ node Public

doc: createRequire can take import.meta.url directly - #30495

Closed
GeoffreyBooth wants to merge 1 commit into
nodejs:masterfrom
GeoffreyBooth:fix-create-require-example
Closed

doc: createRequire can take import.meta.url directly#30495
GeoffreyBooth wants to merge 1 commit into
nodejs:masterfrom
GeoffreyBooth:fix-create-require-example

Conversation

GeoffreyBooth commented Nov 15, 2019
edited
Loading

Copy link
Copy Markdown
Member

This PR updates the createRequire example in https://nodejs.org/api/esm.html#esm_commonjs_json_and_native_modules to follow the new createRequire behavior, as opposed to the deprecated createRequireFromPath behavior. cc @MylesBorins

Checklist

nodejs-github-bot added the doc Issues and PRs related to the documentations. label Nov 15, 2019

MylesBorins left a comment

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

Can we please fast-track

MylesBorins added the fast-track PRs that do not need to wait for 48 hours to land. label Nov 15, 2019

Copy link
Copy Markdown
Contributor

Landed in 79126fc

MylesBorins pushed a commit that referenced this pull request Nov 16, 2019
PR-URL: #30495
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
GeoffreyBooth deleted the fix-create-require-example branch November 16, 2019 19:23
MylesBorins pushed a commit that referenced this pull request Nov 17, 2019
PR-URL: #30495
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
BridgeAR mentioned this pull request Nov 19, 2019
targos pushed a commit that referenced this pull request Dec 1, 2019
PR-URL: #30495
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
BethGriggs mentioned this pull request Dec 9, 2019
MylesBorins pushed a commit that referenced this pull request Dec 17, 2019
PR-URL: #30495
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
BethGriggs mentioned this pull request Dec 23, 2019
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

doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL