Title: module: fix require.resolve() crash on non-string paths · nodejs/node@a274b28 · GitHub
Open Graph Title: module: fix require.resolve() crash on non-string paths · nodejs/node@a274b28
X Title: module: fix require.resolve() crash on non-string paths · nodejs/node@a274b28
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: Previously, `require.resolve()` could crash when: - The first parameter was a relative path and - The `paths` array contained non-string entries This commit fixes the issue by adding a check in `M...
X Description: Previously, `require.resolve()` could crash when: - The first parameter was a relative path and - The `paths` array contained non-string entries This commit fixes the issue by adding a check in `M...
Opengraph URL: /nodejs/node/commit/a274b28857b1548e1bb3f4eafff42fb8069285d4
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:29afccdf-fb28-8a8e-5b96-5982f22ab612 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B854:1D772C:22FC0E1:2E31305:696B167C |
| html-safe-nonce | bbeaa24ccf3fb09fb6f0c6196f847c4639de3bcce13f3fc684022ce77d9c674c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODU0OjFENzcyQzoyMkZDMEUxOjJFMzEzMDU6Njk2QjE2N0MiLCJ2aXNpdG9yX2lkIjoiMjAyMjkyMjg4NTE1MDc0MjE0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b54b42304e479db04ec3f051806c6381ab989fed54207a21e8a4b1bc62b35c39 |
| 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/a274b28857 |
| twitter:image | https://opengraph.githubassets.com/f294029f1fdc562f52f533eb0d5d5e29e589e41f86245ee60d4611eefc78e7d3/nodejs/node/commit/a274b28857b1548e1bb3f4eafff42fb8069285d4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f294029f1fdc562f52f533eb0d5d5e29e589e41f86245ee60d4611eefc78e7d3/nodejs/node/commit/a274b28857b1548e1bb3f4eafff42fb8069285d4 |
| og:image:alt | Previously, `require.resolve()` could crash when: - The first parameter was a relative path and - The `paths` array contained non-string entries This commit fixes the issue by adding a check in `M... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1739349296 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width