{"action":"created","issue":{"url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/issues/3","repository_url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign","labels_url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/issues/3/comments","events_url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/issues/3/events","html_url":"https://github.com/newoga/babel-plugin-transform-replace-object-assign/pull/3","id":306306722,"number":3,"title":"Babel v7 compatibility","user":{"login":"jaydenseric","id":1754873,"avatar_url":"https://avatars0.githubusercontent.com/u/1754873?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydenseric","html_url":"https://github.com/jaydenseric","followers_url":"https://api.github.com/users/jaydenseric/followers","following_url":"https://api.github.com/users/jaydenseric/following{/other_user}","gists_url":"https://api.github.com/users/jaydenseric/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydenseric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydenseric/subscriptions","organizations_url":"https://api.github.com/users/jaydenseric/orgs","repos_url":"https://api.github.com/users/jaydenseric/repos","events_url":"https://api.github.com/users/jaydenseric/events{/privacy}","received_events_url":"https://api.github.com/users/jaydenseric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-03-19T01:29:19Z","updated_at":"2018-03-19T22:52:38Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/pulls/3","html_url":"https://github.com/newoga/babel-plugin-transform-replace-object-assign/pull/3","diff_url":"https://github.com/newoga/babel-plugin-transform-replace-object-assign/pull/3.diff","patch_url":"https://github.com/newoga/babel-plugin-transform-replace-object-assign/pull/3.patch"},"body":"With this update, the package should be compatible with both Babel v6 and v7.\r\n\r\n* Updated dependencies.\r\n* Removed the unused `simple-assign` dependency.\r\n* Plugin options now an object instead of a string (Babel v7 requirement).\r\n* Option is called `moduleSpecifier`:\r\n  * This is [how it is called in the modules spec](https://tc39.github.io/ecma262/#prod-ModuleSpecifier).\r\n  * Options default to use `object-assign`:\r\n    * It's the most popular implementation.\r\n    * IMO the strongest use case for `babel-plugin-transform-replace-object-assign` is to optimize React projects by configuring all plugins to output the `Object.assign` builtin (instead of helpers), then instead of polyfilling, replace all occurrences with the same `object-assign` dependency used by React.\r\n* `declar` to `declare` variable name typo fix.\r\n* Uses [@babel/helper-module-imports](https://github.com/babel/babel/tree/master/packages/babel-helper-module-imports) to fix https://github.com/newoga/babel-plugin-transform-replace-object-assign/issues/1. The output is either ESM or CJS depending if `sourceType` is `module` or `script`.\r\n* Updated tests and fixtures. Babel v7 outputs slight differences.\r\n* Disabled and ignored package-lock.json. Package lock files are for apps, not packages; npm blacklists them from ever being published.\r\n* Updated readme for the new API.\r\n* Replaced `lodash.assign` in readme examples with `object-assign`. It looks more intuitive and demos the defaults."},"comment":{"url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/issues/comments/374412164","html_url":"https://github.com/newoga/babel-plugin-transform-replace-object-assign/pull/3#issuecomment-374412164","issue_url":"https://api.github.com/repos/newoga/babel-plugin-transform-replace-object-assign/issues/3","id":374412164,"user":{"login":"newoga","id":344018,"avatar_url":"https://avatars2.githubusercontent.com/u/344018?v=4","gravatar_id":"","url":"https://api.github.com/users/newoga","html_url":"https://github.com/newoga","followers_url":"https://api.github.com/users/newoga/followers","following_url":"https://api.github.com/users/newoga/following{/other_user}","gists_url":"https://api.github.com/users/newoga/gists{/gist_id}","starred_url":"https://api.github.com/users/newoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newoga/subscriptions","organizations_url":"https://api.github.com/users/newoga/orgs","repos_url":"https://api.github.com/users/newoga/repos","events_url":"https://api.github.com/users/newoga/events{/privacy}","received_events_url":"https://api.github.com/users/newoga/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T22:52:38Z","updated_at":"2018-03-19T22:52:38Z","author_association":"OWNER","body":"@jaydenseric I'm going to cut a `v1` release now. Sorry for creating all the extra work for you but after that's done, can you rebase this on top and then we can create a `beta` release with this (we can do a full release when babel 7 is stable)."}}
{"actor":{"display_login":"newoga"}}