payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/ianwalter/vuex-reset/issues/244","repository_url":"https://api.github.com/repos/ianwalter/vuex-reset","labels_url":"https://api.github.com/repos/ianwalter/vuex-reset/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/ianwalter/vuex-reset/issues/244/comments","events_url":"https://api.github.com/repos/ianwalter/vuex-reset/issues/244/events","html_url":"https://github.com/ianwalter/vuex-reset/issues/244","id":469335948,"node_id":"MDU6SXNzdWU0NjkzMzU5NDg=","number":244,"title":"Can't Compile projects after 4.0.0 release of this library","user":{"login":"Rubemlrm","id":480040,"node_id":"MDQ6VXNlcjQ4MDA0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/480040?v=4","gravatar_id":"","url":"https://api.github.com/users/Rubemlrm","html_url":"https://github.com/Rubemlrm","followers_url":"https://api.github.com/users/Rubemlrm/followers","following_url":"https://api.github.com/users/Rubemlrm/following{/other_user}","gists_url":"https://api.github.com/users/Rubemlrm/gists{/gist_id}","starred_url":"https://api.github.com/users/Rubemlrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rubemlrm/subscriptions","organizations_url":"https://api.github.com/users/Rubemlrm/orgs","repos_url":"https://api.github.com/users/Rubemlrm/repos","events_url":"https://api.github.com/users/Rubemlrm/events{/privacy}","received_events_url":"https://api.github.com/users/Rubemlrm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-07-17T16:56:13Z","updated_at":"2019-07-17T17:16:09Z","closed_at":"2019-07-17T17:16:08Z","author_association":"NONE","body":"In a project that i'm working after updated the version from 3.0.0 to 4.0.0, i've started to getting this error on compilation:\r\n\r\n```javascript\r\n\r\nERROR in ./node_modules/@ianwalter/vuex-reset/dist/vuex-reset.browser.js\r\nModule parse failed: Unexpected token (37:12)\r\nYou may need an appropriate loader to handle this file type.\r\n|           // Reset the state for the module containing the mutation.\r\n|           store.replaceState({\r\n|             ...clone(state),\r\n|             [mod]: clone(initialState[mod])\r\n|           });\r\n @ ./src/store/index.js 5:0-46\r\n @ ./src/main.js\r\n\r\n```\r\n\r\nThe package.json of the application is the following:\r\n\r\n``` javascript\r\n{\r\n  \"name\": \"vue-app\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"vue-app\",\r\n  \"author\": \"devop\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"dev\": \"webpack-dev-server --inline --progress --config build/webpack.dev.conf.js\",\r\n    \"start\": \"npm run dev\",\r\n    \"lint\": \"eslint --ext .js,.vue src\",\r\n    \"build\": \"node build/build.js\"\r\n  },\r\n  \"dependencies\": {\r\n    \"vue\": \"^2.5.2\",\r\n    \"vue-router\": \"^3.0.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@ckeditor/ckeditor5-basic-styles\": \"^10.1.0\",\r\n    \"@ckeditor/ckeditor5-build-classic\": \"^11.2.0\",\r\n    \"@ckeditor/ckeditor5-build-decoupled-document\": \"^11.2.0\",\r\n    \"@ckeditor/ckeditor5-editor-classic\": \"^11.0.2\",\r\n    \"@ckeditor/ckeditor5-essentials\": \"^10.1.3\",\r\n    \"@ckeditor/ckeditor5-link\": \"github:ckeditor/ckeditor5-link\",\r\n    \"@ckeditor/ckeditor5-paragraph\": \"^10.0.4\",\r\n    \"@ckeditor/ckeditor5-vue\": \"^1.0.0-beta.1\",\r\n    \"@fortawesome/fontawesome-free\": \"^5.6.3\",\r\n    \"@ianwalter/vuex-reset\": \"^4.0.0\",\r\n    \"autoprefixer\": \"^7.1.2\",\r\n    \"axios\": \"^0.18.0\",\r\n    \"babel-core\": \"^6.26.3\",\r\n    \"babel-eslint\": \"^8.2.6\",\r\n    \"babel-helper-vue-jsx-merge-props\": \"^2.0.3\",\r\n    \"babel-loader\": \"^7.1.5\",\r\n    \"babel-plugin-dynamic-import-webpack\": \"^1.1.0\",\r\n    \"babel-plugin-syntax-jsx\": \"^6.18.0\",\r\n    \"babel-plugin-transform-runtime\": \"^6.22.0\",\r\n    \"babel-plugin-transform-vue-jsx\": \"^3.7.0\",\r\n    \"babel-preset-env\": \"^1.7.0\",\r\n    \"babel-preset-stage-2\": \"^6.22.0\",\r\n    \"chalk\": \"^2.0.1\",\r\n    \"copy-webpack-plugin\": \"^4.0.1\",\r\n    \"css-loader\": \"^0.28.0\",\r\n    \"element-ui\": \"^2.4.11\",\r\n    \"eslint\": \"^4.15.0\",\r\n    \"eslint-config-standard\": \"^10.2.1\",\r\n    \"eslint-friendly-formatter\": \"^3.0.0\",\r\n    \"eslint-loader\": \"^1.7.1\",\r\n    \"eslint-plugin-import\": \"^2.7.0\",\r\n    \"eslint-plugin-node\": \"^5.2.0\",\r\n    \"eslint-plugin-promise\": \"^3.4.0\",\r\n    \"eslint-plugin-standard\": \"^3.0.1\",\r\n    \"eslint-plugin-vue\": \"^4.0.0\",\r\n    \"eslint-plugin-vuefix\": \"^0.2.1\",\r\n    \"extract-text-webpack-plugin\": \"^3.0.0\",\r\n    \"file-loader\": \"^1.1.4\",\r\n    \"friendly-errors-webpack-plugin\": \"^1.6.1\",\r\n    \"html-webpack-plugin\": \"^2.30.1\",\r\n    \"jquery\": \"^3.3.1\",\r\n    \"lodash\": \"^4.17.11\",\r\n    \"node-notifier\": \"^5.1.2\",\r\n    \"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\r\n    \"ora\": \"^1.2.0\",\r\n    \"portfinder\": \"^1.0.13\",\r\n    \"postcss-import\": \"^11.0.0\",\r\n    \"postcss-loader\": \"^3.0.0\",\r\n    \"postcss-url\": \"^7.2.1\",\r\n    \"rimraf\": \"^2.6.0\",\r\n    \"semver\": \"^5.3.0\",\r\n    \"shelljs\": \"^0.7.6\",\r\n    \"signalr\": \"^2.4.0\",\r\n    \"style-loader\": \"^0.23.1\",\r\n    \"stylus\": \"^0.54.5\",\r\n    \"stylus-loader\": \"^3.0.2\",\r\n    \"uglifyjs-webpack-plugin\": \"^1.1.1\",\r\n    \"url-loader\": \"^0.5.8\",\r\n    \"vue-loader\": \"^13.3.0\",\r\n    \"vue-multiselect\": \"^2.1.3\",\r\n    \"vue-style-loader\": \"^3.0.1\",\r\n    \"vue-template-compiler\": \"^2.5.2\",\r\n    \"vue-uuid\": \"^1.1.1\",\r\n    \"vue2-dropzone\": \"^3.5.2\",\r\n    \"vuetify\": \"^1.3.8\",\r\n    \"vuex\": \"^3.0.1\",\r\n    \"webpack\": \"^3.6.0\",\r\n    \"webpack-bundle-analyzer\": \"^2.9.0\",\r\n    \"webpack-dev-server\": \"^2.9.1\",\r\n    \"webpack-merge\": \"^4.1.0\"\r\n  },\r\n  \"engines\": {\r\n    \"node\": \">= 6.0.0\",\r\n    \"npm\": \">= 3.0.0\"\r\n  },\r\n  \"browserslist\": [\r\n    \"> 1%\",\r\n    \"last 2 versions\",\r\n    \"not ie <= 8\"\r\n  ]\r\n}\r\n```\r\n\r\n\r\nAfter downgraded the version to 3.0.0 again, i've started to be able to compile the project again. \r\n\r\nAny suggestion for this problem?\r\n\r\nThanks in advance.\r\n"}}
other: {"actor":{"display_login":"ianwalter"}}