{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/modules/issues/160","repository_url":"https://api.github.com/repos/nodejs/modules","labels_url":"https://api.github.com/repos/nodejs/modules/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/modules/issues/160/comments","events_url":"https://api.github.com/repos/nodejs/modules/issues/160/events","html_url":"https://github.com/nodejs/modules/pull/160","id":345468731,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjA0ODg1","number":160,"title":"Proposals for configuring parse goals of files in --experimental-modules","user":{"login":"GeoffreyBooth","id":456802,"node_id":"MDQ6VXNlcjQ1NjgwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/456802?v=4","gravatar_id":"","url":"https://api.github.com/users/GeoffreyBooth","html_url":"https://github.com/GeoffreyBooth","followers_url":"https://api.github.com/users/GeoffreyBooth/followers","following_url":"https://api.github.com/users/GeoffreyBooth/following{/other_user}","gists_url":"https://api.github.com/users/GeoffreyBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/GeoffreyBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeoffreyBooth/subscriptions","organizations_url":"https://api.github.com/users/GeoffreyBooth/orgs","repos_url":"https://api.github.com/users/GeoffreyBooth/repos","events_url":"https://api.github.com/users/GeoffreyBooth/events{/privacy}","received_events_url":"https://api.github.com/users/GeoffreyBooth/received_events","type":"User","site_admin":false},"labels":[{"id":831667853,"node_id":"MDU6TGFiZWw4MzE2Njc4NTM=","url":"https://api.github.com/repos/nodejs/modules/labels/cjs","name":"cjs","color":"ff6dff","default":false},{"id":831674587,"node_id":"MDU6TGFiZWw4MzE2NzQ1ODc=","url":"https://api.github.com/repos/nodejs/modules/labels/discussion","name":"discussion","color":"d93f0b","default":false},{"id":831667894,"node_id":"MDU6TGFiZWw4MzE2Njc4OTQ=","url":"https://api.github.com/repos/nodejs/modules/labels/esm","name":"esm","color":"f49573","default":false},{"id":831667756,"node_id":"MDU6TGFiZWw4MzE2Njc3NTY=","url":"https://api.github.com/repos/nodejs/modules/labels/interoperability","name":"interoperability","color":"7eeac3","default":false},{"id":831666985,"node_id":"MDU6TGFiZWw4MzE2NjY5ODU=","url":"https://api.github.com/repos/nodejs/modules/labels/modules-agenda","name":"modules-agenda","color":"0e8a16","default":false},{"id":977830544,"node_id":"MDU6TGFiZWw5Nzc4MzA1NDQ=","url":"https://api.github.com/repos/nodejs/modules/labels/proposal","name":"proposal","color":"e5e367","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-07-28T18:20:41Z","updated_at":"2018-08-10T18:15:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nodejs/modules/pulls/160","html_url":"https://github.com/nodejs/modules/pull/160","diff_url":"https://github.com/nodejs/modules/pull/160.diff","patch_url":"https://github.com/nodejs/modules/pull/160.patch"},"body":"Following up from #150, this thread is for determining the user experience of an addition to `package.json` that configures Node to treat `.js` files as ESM within a package boundary (i.e. with the “module” parse goal). This assumes the `--experimental-modules` implementation as a baseline; other implementations might not have this issue, for example if they don’t allow importing ESM via `import` statements. For suggestions of other implementations, can I invite people to open their own threads for alternate proposals? And let’s keep this one focused on what ESM in `.js` in `--experimental-modules` should look like.\r\n\r\nReadable view: https://github.com/GeoffreyBooth/modules/blob/esm-in-js-ux/proposals/esm-in-js-ux.md\r\n\r\nTo discuss particular proposals, please add comments as PR notes after those proposals. Add general comments to suggest new proposals or broader changes."},"comment":{"url":"https://api.github.com/repos/nodejs/modules/issues/comments/412163739","html_url":"https://github.com/nodejs/modules/pull/160#issuecomment-412163739","issue_url":"https://api.github.com/repos/nodejs/modules/issues/160","id":412163739,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjE2MzczOQ==","user":{"login":"ljharb","id":45469,"node_id":"MDQ6VXNlcjQ1NDY5","avatar_url":"https://avatars1.githubusercontent.com/u/45469?v=4","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T18:15:04Z","updated_at":"2018-08-10T18:15:04Z","author_association":"CONTRIBUTOR","body":"@GeoffreyBooth it wouldn't be challenging at all; every build tool already uses something like https://npmjs.com/resolve to do just that. More to the point, if it allowed *any file path whatsoever*, it'd have to be a require path imo, otherwise it would make no sense."}}
{"actor":{"display_login":"ljharb"}}