GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Replace vague 'may not' with definitive 'will not' by mikemaccana · Pull Request #23143 · nodejs/node Conversation
|
|
CI-lite: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1050/ (Not sure why CI shows different commit though) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
If you're referring to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/CC @nodejs/modules |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It could potentially be clarified that this will not happen under default circumstances. Once you modify the require cache all bets are off. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| exactly the same object returned, if it would resolve to the same file. | ||
|
|
||
| Multiple calls to `require('foo')` may not cause the module code to be | ||
| Multiple calls to `require('foo')` will not cause the module code to be |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It’s “may” because someone could have deleted it from require.cache - i think “will” is incorrect.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Updated as requested
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Typo.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Updated per @Fishrock123 - now it's more specific:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| executed multiple times. This is an important feature. With it, | ||
| "partially done" objects can be returned, thus allowing transitive | ||
| dependencies to be loaded even when they would cause cycles. | ||
| By default (provided the `require.cache` is not modified), multiple calls to |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Optional nit: Get rid of By default and the parentheses:
Provided `require.cache` is not modified, multiple calls to
I'm fine with it the way it is but I think that change makes it a tiny bit more clear.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| By default (provided the `require.cache` is not modified), multiple calls to | ||
| `require('foo')` will not cause the module code to be executed multiple times. | ||
|
|
||
| This is an important feature. With it, "partially done" objects can be returned, |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This line has trailing space and exceeds the limit of 80 characters producing linter issue.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM with @Trott nit.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Removing author ready label as there are some outstanding comments
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Since the comments were rather minor (remove a space here, optionally change wording there), I did them rather than waiting for OP to do it and have restored the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks Rich! I can enjoy the rest of my weekend 😀
…On Sun, 30 Sep 2018 at 5:43 pm, Rich Trott ***@***.***> wrote:
Since the comments were rather minor (remove a space here, optionally
change wording there), I did them rather than waiting for OP to do it and
have restored the author ready label.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23143 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKiMh16ZcGm-8XxDsho6Kc6qNL8Ajh7ks5ugPS2gaJpZM4W-TUm>
.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
CI Lite: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1091/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in a82ac6e |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This vagueness of 'may' has caused a great deal of confusion. See https://stackoverflow.com/questions/8887318 PR-URL: #23143 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
This vagueness of 'may' has caused a great deal of confusion. See https://stackoverflow.com/questions/8887318 PR-URL: #23143 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.