Title: module: fix error message about importing names from cjs · nodejs/node@84a5e6c · GitHub
Open Graph Title: module: fix error message about importing names from cjs · nodejs/node@84a5e6c
X Title: module: fix error message about importing names from cjs · nodejs/node@84a5e6c
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: When importing specific names from a CJS module, and renaming them using `as`, the example fix in the error message erroneously contains the keyword `as` in the destructuring variable declaration. ...
X Description: When importing specific names from a CJS module, and renaming them using `as`, the example fix in the error message erroneously contains the keyword `as` in the destructuring variable declaration. ...
Opengraph URL: /nodejs/node/commit/84a5e6cec81024f21749d99d8abc1506ef710553
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:a3850514-61ce-d351-fe12-cc24dd692341 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | C026:2780A3:12A32CC:19A842F:696A90E5 |
| html-safe-nonce | ce6f004dc0d8aca58651905268ea770a68ed06a577d4d926d5fda5ce4fc5c797 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDI2OjI3ODBBMzoxMkEzMkNDOjE5QTg0MkY6Njk2QTkwRTUiLCJ2aXNpdG9yX2lkIjoiNjI3MzUzNjEyMjYwNDM5MjY3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cba98f1ebc0fcc58497f3654da2b077c54a8bdc5c57f07bb3f5544180be3aa66 |
| 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/84a5e6cec8 |
| twitter:image | https://opengraph.githubassets.com/3a42e1a92b08006e74d1266ea034008ebb5e56b5512b17c80f1699f3436f149b/nodejs/node/commit/84a5e6cec81024f21749d99d8abc1506ef710553 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a42e1a92b08006e74d1266ea034008ebb5e56b5512b17c80f1699f3436f149b/nodejs/node/commit/84a5e6cec81024f21749d99d8abc1506ef710553 |
| og:image:alt | When importing specific names from a CJS module, and renaming them using `as`, the example fix in the error message erroneously contains the keyword `as` in the destructuring variable declaration. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1593277346 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| 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 | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width