Title: module: fix node_modules search path in edge case · nodejs/node@ccbb463 · GitHub
Open Graph Title: module: fix node_modules search path in edge case · nodejs/node@ccbb463
X Title: module: fix node_modules search path in edge case · nodejs/node@ccbb463
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: The `p < nmLen` condition will fail when a module's name is end with `node_modules` like `foo_node_modules`. The old logic will miss the `foo_node_modules/node_modules` in node_modules paths...
X Description: The `p < nmLen` condition will fail when a module's name is end with `node_modules` like `foo_node_modules`. The old logic will miss the `foo_node_modules/node_modules` in node_modul...
Opengraph URL: /nodejs/node/commit/ccbb46378ff93d7dae41bf00d7f85aa081dbabaa
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:08bbb284-58f5-7d0f-5ea3-484d5028bc75 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B234:385F9F:139349C:1B00DB8:696AA03A |
| html-safe-nonce | 5ee1a8660aa394fcf8eef34466fc65aa1528ee8153a1bd31763c2dff8f236034 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjM0OjM4NUY5RjoxMzkzNDlDOjFCMDBEQjg6Njk2QUEwM0EiLCJ2aXNpdG9yX2lkIjoiMTczNDY1NDA4MTkyNjYwMjgxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8db17d1c393ed6ad966d4d429a8a3cc6aa6f8b17cee5ee4656915f8da625e77c |
| hovercard-subject-tag | repository:27193779 |
| github-keyboard-shortcuts | repository,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/commit/ccbb46378f |
| twitter:image | https://opengraph.githubassets.com/5b626397cd33ffeccca8af65ccc5a3e80cf66a74e7588c5d00f5968cc59523b7/nodejs/node/commit/ccbb46378ff93d7dae41bf00d7f85aa081dbabaa |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b626397cd33ffeccca8af65ccc5a3e80cf66a74e7588c5d00f5968cc59523b7/nodejs/node/commit/ccbb46378ff93d7dae41bf00d7f85aa081dbabaa |
| og:image:alt | The `p < nmLen` condition will fail when a module's name is end with `node_modules` like `foo_node_modules`. The old logic will miss the `foo_node_modules/node_modules` in node_modules paths... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1470848212 |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width