{"action":"opened","issue":{"url":"https://api.github.com/repos/standard-things/esm/issues/516","repository_url":"https://api.github.com/repos/standard-things/esm","labels_url":"https://api.github.com/repos/standard-things/esm/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/standard-things/esm/issues/516/comments","events_url":"https://api.github.com/repos/standard-things/esm/issues/516/events","html_url":"https://github.com/standard-things/esm/issues/516","id":343739333,"node_id":"MDU6SXNzdWUzNDM3MzkzMzM=","number":516,"title":"import * as fs from 'fs' discrepancy with esm vs. node experimental modules","user":{"login":"dnalborczyk","id":2903325,"node_id":"MDQ6VXNlcjI5MDMzMjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2903325?v=4","gravatar_id":"","url":"https://api.github.com/users/dnalborczyk","html_url":"https://github.com/dnalborczyk","followers_url":"https://api.github.com/users/dnalborczyk/followers","following_url":"https://api.github.com/users/dnalborczyk/following{/other_user}","gists_url":"https://api.github.com/users/dnalborczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/dnalborczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnalborczyk/subscriptions","organizations_url":"https://api.github.com/users/dnalborczyk/orgs","repos_url":"https://api.github.com/users/dnalborczyk/repos","events_url":"https://api.github.com/users/dnalborczyk/events{/privacy}","received_events_url":"https://api.github.com/users/dnalborczyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-23T18:13:12Z","updated_at":"2018-07-23T18:13:12Z","closed_at":null,"author_association":"COLLABORATOR","body":"`node` v10.7.0\r\n`esm` 3.0.72\r\n\r\n```javascript\r\n// index.mjs\r\nimport assert from 'assert'\r\nimport * as fs from 'fs'\r\n\r\nassert(fs.promises === void 0)\r\n```\r\n\r\n```shell\r\nnode --experimental-modules index.mjs\r\n# no error\r\n\r\nnode -r esm index.mjs\r\n# AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value\r\n```"}}
{"actor":{"display_login":"dnalborczyk"}}