{"action":"created","issue":{"url":"https://api.github.com/repos/mafintosh/mongojs/issues/300","repository_url":"https://api.github.com/repos/mafintosh/mongojs","labels_url":"https://api.github.com/repos/mafintosh/mongojs/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/mafintosh/mongojs/issues/300/comments","events_url":"https://api.github.com/repos/mafintosh/mongojs/issues/300/events","html_url":"https://github.com/mafintosh/mongojs/issues/300","id":151238240,"number":300,"title":"Proxy.create is not a function","user":{"login":"dhritzkiv","id":1349865,"avatar_url":"https://avatars.githubusercontent.com/u/1349865?v=3","gravatar_id":"","url":"https://api.github.com/users/dhritzkiv","html_url":"https://github.com/dhritzkiv","followers_url":"https://api.github.com/users/dhritzkiv/followers","following_url":"https://api.github.com/users/dhritzkiv/following{/other_user}","gists_url":"https://api.github.com/users/dhritzkiv/gists{/gist_id}","starred_url":"https://api.github.com/users/dhritzkiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhritzkiv/subscriptions","organizations_url":"https://api.github.com/users/dhritzkiv/orgs","repos_url":"https://api.github.com/users/dhritzkiv/repos","events_url":"https://api.github.com/users/dhritzkiv/events{/privacy}","received_events_url":"https://api.github.com/users/dhritzkiv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T21:02:16Z","updated_at":"2016-04-27T11:54:41Z","closed_at":null,"body":"node.js v6 was released today which enabled `Proxy` support without the `--harmony_proxies` flag.\r\n\r\nHowever, the `Proxy` API has changed from [`Proxy.create(handler)`](https://developer.mozilla.org/en-US/docs/Archive/Web/Old_Proxy_API) to [`new Proxy(target, handler)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy).\r\n\r\nI fixed the error locally by editing index.js L7 from \r\n\r\n```js\r\nvar p = Proxy.create({\r\n      get: function (obj, prop) {\r\n//...\r\n```\r\n\r\nto \r\n\r\n```js\r\nvar p = new Proxy({}, {\r\n   get: function (obj, prop) {\r\n//...\r\n```\r\n\r\nHowever, I'm not too familiar with the use of `Proxy`, so I'll let the project maintainers make the PR (especially since there's reference to a \"Work around\" in the code)."},"comment":{"url":"https://api.github.com/repos/mafintosh/mongojs/issues/comments/215059862","html_url":"https://github.com/mafintosh/mongojs/issues/300#issuecomment-215059862","issue_url":"https://api.github.com/repos/mafintosh/mongojs/issues/300","id":215059862,"user":{"login":"hustcer","id":1161607,"avatar_url":"https://avatars.githubusercontent.com/u/1161607?v=3","gravatar_id":"","url":"https://api.github.com/users/hustcer","html_url":"https://github.com/hustcer","followers_url":"https://api.github.com/users/hustcer/followers","following_url":"https://api.github.com/users/hustcer/following{/other_user}","gists_url":"https://api.github.com/users/hustcer/gists{/gist_id}","starred_url":"https://api.github.com/users/hustcer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hustcer/subscriptions","organizations_url":"https://api.github.com/users/hustcer/orgs","repos_url":"https://api.github.com/users/hustcer/repos","events_url":"https://api.github.com/users/hustcer/events{/privacy}","received_events_url":"https://api.github.com/users/hustcer/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T11:54:41Z","updated_at":"2016-04-27T11:54:41Z","body":"Waiting for a fix."}}