{"action":"closed","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/11233","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/11233/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/11233/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/11233/events","html_url":"https://github.com/nodejs/node/issues/11233","id":206105685,"number":11233,"title":"tracking issue: async loader for module interop","user":{"login":"Trott","id":718899,"avatar_url":"https://avatars2.githubusercontent.com/u/718899?v=4","gravatar_id":"","url":"https://api.github.com/users/Trott","html_url":"https://github.com/Trott","followers_url":"https://api.github.com/users/Trott/followers","following_url":"https://api.github.com/users/Trott/following{/other_user}","gists_url":"https://api.github.com/users/Trott/gists{/gist_id}","starred_url":"https://api.github.com/users/Trott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trott/subscriptions","organizations_url":"https://api.github.com/users/Trott/orgs","repos_url":"https://api.github.com/users/Trott/repos","events_url":"https://api.github.com/users/Trott/events{/privacy}","received_events_url":"https://api.github.com/users/Trott/received_events","type":"User","site_admin":false},"labels":[{"id":155435814,"url":"https://api.github.com/repos/nodejs/node/labels/module","name":"module","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"bmeck","id":234659,"avatar_url":"https://avatars1.githubusercontent.com/u/234659?v=4","gravatar_id":"","url":"https://api.github.com/users/bmeck","html_url":"https://github.com/bmeck","followers_url":"https://api.github.com/users/bmeck/followers","following_url":"https://api.github.com/users/bmeck/following{/other_user}","gists_url":"https://api.github.com/users/bmeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeck/subscriptions","organizations_url":"https://api.github.com/users/bmeck/orgs","repos_url":"https://api.github.com/users/bmeck/repos","events_url":"https://api.github.com/users/bmeck/events{/privacy}","received_events_url":"https://api.github.com/users/bmeck/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmeck","id":234659,"avatar_url":"https://avatars1.githubusercontent.com/u/234659?v=4","gravatar_id":"","url":"https://api.github.com/users/bmeck","html_url":"https://github.com/bmeck","followers_url":"https://api.github.com/users/bmeck/followers","following_url":"https://api.github.com/users/bmeck/following{/other_user}","gists_url":"https://api.github.com/users/bmeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeck/subscriptions","organizations_url":"https://api.github.com/users/bmeck/orgs","repos_url":"https://api.github.com/users/bmeck/repos","events_url":"https://api.github.com/users/bmeck/events{/privacy}","received_events_url":"https://api.github.com/users/bmeck/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2017-02-08T06:13:01Z","updated_at":"2017-07-30T12:17:19Z","closed_at":"2017-07-30T12:17:19Z","body":"@bmeck Please feel free to edit the title or anything else if I'm being imprecise or worse with anything.\r\n\r\nCTC has tentatively agreed to try implementing async module loading. This issue is being opened to have a central place to track progress, issues, conversation, questions, whatever.\r\n\r\nLabeling `ctc-agenda` because we are probably going to want to talk about this at least a little bit every weekly meeting for a while. \r\n\r\n- [ ] Docs\r\n- CLI\r\n  - [ ] --module\r\n    - REPL\r\n      - 🚲 prepend full list of existing imports on every line / const declare them on global\r\n      - 🚲 warn on attempted export\r\n- Default ESM Loader\r\n  - [ ] Safe global cache manipulation\r\n  - [x] 🚲 `js:context` - url\r\n  - [ ] 🚲 `node:context` - require/__dirname/etc.\r\n  - Hooks\r\n     - [ ] pre-resolve notification\r\n     - [ ] post-resolve notification\r\n  - VM Module bits\r\n     - [ ] import notification options on creating a Context\r\n     - [x] vm.compileModule\r\n     - [x] 🚲 vm.facadeModule (subset of [WHATWG Loader Module](https://whatwg.github.io/loader/#module-constructor))\r\n- [x] Expose Script::Module to JS\r\n   - [x] Safe local cache\r\n- [ ] import() support\r\n  - 🚫 awaiting v8\r\n- [x] require(esm) behavior\r\n  - [ ] add .mjs to require above .js (searches for CJS)\r\n  - 🚲 if no CJS fallback throw error saying to use `import()`\r\n- [x] CJS -> ESM Facade\r\n  - [ ] ESM idempotency tests\r\n- [x] Cache propagation\r\n  - [ ] ESM idempotency tests\r\n- Path algorithm\r\n  - [x] errors include if `require` would have found something"}}
{"actor":{"display_login":"TimothyGu"}}