Title: lib: reject string "0" in validatePort when allowZero is false · nodejs/node@243b0e4 · GitHub
Open Graph Title: lib: reject string "0" in validatePort when allowZero is false · nodejs/node@243b0e4
X Title: lib: reject string "0" in validatePort when allowZero is false · nodejs/node@243b0e4
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: The allowZero guard compared the raw value with `port === 0`, but validatePort accepts strings and coerces them with `+port` in every other clause. Since `'0' === 0` is false, string forms ...
X Description: The allowZero guard compared the raw value with `port === 0`, but validatePort accepts strings and coerces them with `+port` in every other clause. Since `'0' === 0` is false, strin...
Opengraph URL: /nodejs/node/commit/243b0e4e57913fd7ac130be23951faccf6ea95a1
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:13e7562f-62ec-dd8d-7ef8-5f1109556caa |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | A882:294AFE:8FAED:C0818:6A4D29A2 |
| html-safe-nonce | 80812edabd2db0966630031ccc1805bc17f5a8cf69b65e48340fe83cebb21d0a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODgyOjI5NEFGRTo4RkFFRDpDMDgxODo2QTREMjlBMiIsInZpc2l0b3JfaWQiOiIzNzk5NTE5NzA4OTcwODIyMDUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 15dc7dd11aec2de5a10a26be47032679b46638531ef20cb96a5924ba061fcce2 |
| 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/243b0e4e57 |
| twitter:image | https://opengraph.githubassets.com/c1321316aa6fd35535e4e42816eee3d97ed16a692c3bb2eb2ab0e845be8f2966/nodejs/node/commit/243b0e4e57913fd7ac130be23951faccf6ea95a1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1321316aa6fd35535e4e42816eee3d97ed16a692c3bb2eb2ab0e845be8f2966/nodejs/node/commit/243b0e4e57913fd7ac130be23951faccf6ea95a1 |
| og:image:alt | The allowZero guard compared the raw value with `port === 0`, but validatePort accepts strings and coerces them with `+port` in every other clause. Since `'0' === 0` is false, string forms ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1783341912 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width