{"action":"created","issue":{"url":"https://api.github.com/repos/peteward44/rhinoify/issues/1","repository_url":"https://api.github.com/repos/peteward44/rhinoify","labels_url":"https://api.github.com/repos/peteward44/rhinoify/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/peteward44/rhinoify/issues/1/comments","events_url":"https://api.github.com/repos/peteward44/rhinoify/issues/1/events","html_url":"https://github.com/peteward44/rhinoify/issues/1","id":175081034,"number":1,"title":"reserved property names","user":{"login":"xkr47","id":1488474,"avatar_url":"https://avatars.githubusercontent.com/u/1488474?v=3","gravatar_id":"","url":"https://api.github.com/users/xkr47","html_url":"https://github.com/xkr47","followers_url":"https://api.github.com/users/xkr47/followers","following_url":"https://api.github.com/users/xkr47/following{/other_user}","gists_url":"https://api.github.com/users/xkr47/gists{/gist_id}","starred_url":"https://api.github.com/users/xkr47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xkr47/subscriptions","organizations_url":"https://api.github.com/users/xkr47/orgs","repos_url":"https://api.github.com/users/xkr47/repos","events_url":"https://api.github.com/users/xkr47/events{/privacy}","received_events_url":"https://api.github.com/users/xkr47/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T14:18:26Z","updated_at":"2016-09-05T15:10:31Z","closed_at":"2016-09-05T15:10:31Z","body":"`foo.default` should be replaced with `foo[\"default\"]`. Problem occurs for example with [bignumber.js](https://www.npmjs.com/package/bignumber.js)."},"comment":{"url":"https://api.github.com/repos/peteward44/rhinoify/issues/comments/244768368","html_url":"https://github.com/peteward44/rhinoify/issues/1#issuecomment-244768368","issue_url":"https://api.github.com/repos/peteward44/rhinoify/issues/1","id":244768368,"user":{"login":"xkr47","id":1488474,"avatar_url":"https://avatars.githubusercontent.com/u/1488474?v=3","gravatar_id":"","url":"https://api.github.com/users/xkr47","html_url":"https://github.com/xkr47","followers_url":"https://api.github.com/users/xkr47/followers","following_url":"https://api.github.com/users/xkr47/following{/other_user}","gists_url":"https://api.github.com/users/xkr47/gists{/gist_id}","starred_url":"https://api.github.com/users/xkr47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xkr47/subscriptions","organizations_url":"https://api.github.com/users/xkr47/orgs","repos_url":"https://api.github.com/users/xkr47/repos","events_url":"https://api.github.com/users/xkr47/events{/privacy}","received_events_url":"https://api.github.com/users/xkr47/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T15:10:31Z","updated_at":"2016-09-05T15:10:31Z","body":"yup.. so I use this instead:\r\n```js\r\nvar rhinoify = require('rhinoify');\r\nvar gt = require('through-gulp');\r\nvar buffer = require('vinyl-buffer');\r\n// ...\r\nbundler.bundle()\r\n  .pipe(source(filename))\r\n  .pipe(buffer());\r\n  .pipe(gt(function(vinyl, enc, cb) {\r\n    rhinoify.exec(vinyl.contents.toString(), function(err, newCode) {\r\n      vinyl.contents = new Buffer(newCode);\r\n      cb(err, vinyl);\r\n    });\r\n  }))\r\n  .pipe(gulp.dest(dir));\r\n```"}}
{"actor":{"display_login":"xkr47"}}