{"bugs":{"url":"https://github.com/vuejs/vuex/issues"},"dist":{"shasum":"7b319ead2ef30432b7eaa4e37258ea3c5e44f698","tarball":"https://registry.npmjs.org/vuex/-/vuex-4.0.0-beta.4.tgz","fileCount":17,"integrity":"sha512-/+4E1dokq5cwbl4mohOqOj8h0vOLOWmLSqlqTf++bfmN9/JKWtwYfsBrzlK0sYrNfuYcpQeX0BVxQHoHXDfYZQ==","signatures":[{"sig":"MEUCIH+jExUyKMenghPn+qyQlC12QDyuQMUMrdnKMaP9GBVxAiEA6/lcTtYLVcosxhEkKQ+S0d2FxKEgW7mhpqJOYGs7uRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+gqcCRA9TVsSAnZWagAAB9MP/ROGhvC6EWCxQswA6P0K\nXBjLykFj/Q/zLdcIvmUdSVFB5yDxvME+n90hFJvzep+hYBZKGkDvXybxRXjI\nPJ6pV53fLVePNOc8IRpTBOe/8BaSwiyHWpk7a0A1/xuulMLlpZ/wPpFm9BZs\n2W8LxJIUpKQZ8BIAnqoWrBL1OY7wtmTd7UabdSZjaZ3k6UK69MjZ1Vviarde\nbvQSqx8rgxJQ7o7CJc9jfMgUUDALFL5ujeUSe9jd2LGmYtRW7wnrn6lZAy4w\n9si+VGvF+eJJkeb597m8e6OKzK2Rji7oX7ZNMWUK3VLVmwZ21DQQlTYUFXBd\nLd/HCyrhYu24J43kAxtWnm2JA06TE6OOmTInMkE71PaypgDOCDkhLsWAlq2m\n2LyQjqfHVzIwVaHEquA2dUKbdMr1gU4wEXZLFXijiQ2yBljYNqx7iJomv5KQ\n/6soLGbKc/g8YlxCfzKYwdZquQPcZVmIqrSkxfjUxoNA9tDo3jZ5O85ziqe8\nuGkVWt2uo6U0hVzGIvBJdz+QbIsPwn5kdY2wpYikh7whhGirT2qKpalqBn47\nGgfqYsiu8Y880R4fAtZr3JRq1UX8QVewIWLDctZLwQHP0lMxWwHs7l9S/tfq\nyPMDSAlLsXKCei8jbrGFiZILmnR+NvTx0EgX6w/h8QV9LnkD1v2qyz8ReUyZ\n8SX+\r\n=mkx9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/vuex.cjs.js","name":"vuex","unpkg":"dist/vuex.global.js","author":{"name":"Evan You"},"module":"dist/vuex.esm-bundler.js","readme":"# Vuex 4\n\nThis is the Vue 3 compatible version of Vuex. The focus is compatibility, and it provides the exact same API as Vuex 3, so users can reuse their existing Vuex code with Vue 3.\n\n## Status: Beta\n\nAll Vuex 3 features work. There are a few breaking changes described in a later section, so please check them out. You can find basic usage with both option and Composition API in the `example` directory.\n\nFeedback is welcome should you discover any issues. You may use [vue-next-webpack-preview](https://github.com/vuejs/vue-next-webpack-preview) to test out Vue 3 with Vuex 4.\n\n## Breaking changes\n\n### Installation process has changed\n\nTo align with the new Vue 3 initialization process, the installation process of Vuex has changed.\n\nTo create a new store instance, users are now encouraged to use the newly introduced `createStore` function.\n\n```js\nimport { createStore } from 'vuex'\n\nexport const store = createStore({\n  state () {\n    return {\n      count: 1\n    }\n  }\n})\n```\n\n> Whilst this is not technically a breaking change, you may still use the `new Store(...)` syntax, we recommend this approach to align with Vue 3 and Vue Router Next.\n\nTo install Vuex to a Vue instance, pass the store instance instead of Vuex.\n\n```js\nimport { createApp } from 'vue'\nimport { store } from './store'\nimport App from './App.vue'\n\nconst app = createApp(App)\n\napp.use(store)\n\napp.mount('#app')\n```\n\n### Bundles are now aligned with Vue 3\n\nThe following bundles are generated to align with Vue 3 bundles:\n\n- `vuex.global(.prod).js`\n  - For direct use with `<script src=\"...\">` in the browser. Exposes the Vuex global.\n  - Global build is built as IIFE, and not UMD, and is only meant for direct use with `<script src=\"...\">`.\n  - Contains hard-coded prod/dev branches and the prod build is pre-minified. Use the `.prod.js` files for production.\n- `vuex.esm-browser(.prod).js`\n  - For use with native ES module imports (including module supporting browsers via `<script type=\"module\">`.\n- `vuex.esm-bundler.js`\n  - For use with bundlers such as `webpack`, `rollup` and `parcel`.\n  - Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler).\n  - Does not ship minified builds (to be done together with the rest of the code after bundling).\n- `vuex.cjs.js`\n  - For use in Node.js server-side rendering with `require()`.\n\n### Typings for `ComponentCustomProperties`\n\nVuex 4 removes its global typings for `this.$store` within Vue Component to solve [issue #994](https://github.com/vuejs/vuex/issues/994). When used with TypeScript, you must declare your own module augmentation.\n\nPlace the following code in your project to allow `this.$store` to be typed correctly:\n\n```ts\n// vuex-shim.d.ts\n\nimport { ComponentCustomProperties } from 'vue'\nimport { Store } from 'vuex'\n\ndeclare module '@vue/runtime-core' {\n  // Declare your own store states.\n  interface State {\n    count: number\n  }\n\n  interface ComponentCustomProperties {\n    $store: Store<State>\n  }\n}\n```\n\n### `createLogger` function is exported from the core module\n\nIn Vuex 3, `createLogger` function was exported from `vuex/dist/logger` but it's now included in the core package. You should import the function directly from `vuex` package.\n\n```js\nimport { createLogger } from 'vuex'\n```\n\n## TODOs as of 4.0.0-beta.2\n\n- Update docs\n","browser":"dist/vuex.esm-browser.js","license":"MIT","scripts":{"dev":"node examples/server.js","docs":"vuepress dev docs","lint":"eslint src test","test":"npm run lint && npm run test:types && npm run test:unit && npm run test:ssr && npm run test:e2e","build":"node scripts/build.js","release":"node scripts/release.js","coverage":"jest --testPathIgnorePatterns test/e2e --coverage","test:e2e":"start-server-and-test dev http://localhost:8080 'jest --testPathIgnorePatterns test/unit'","test:ssr":"cross-env VUE_ENV=server jest --testPathIgnorePatterns test/e2e","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test:unit":"jest --testPathIgnorePatterns test/e2e","docs:build":"vuepress build docs","test:types":"tsc -p types/test"},"typings":"types/index.d.ts","_npmUser":{"name":"ktsn","email":"ktsn55@gmail.com"},"homepage":"https://github.com/vuejs/vuex#readme","jsdelivr":"dist/vuex.global.js","repository":{"url":"git+https://github.com/vuejs/vuex.git","type":"git"},"description":"state management for Vue.js","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015-present Evan You\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"name":"akryum","email":"guillaume.b.chau@gmail.com"},{"name":"ktsn","email":"ktsn55@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"sideEffects":false,"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vue":"^3.0.0-beta.10","jest":"^26.0.1","chalk":"^4.0.0","execa":"^4.0.0","brotli":"^1.3.2","eslint":"^6.8.0","rollup":"^2.8.2","semver":"^7.3.2","express":"^4.17.1","webpack":"^4.43.0","enquirer":"^2.3.5","vuepress":"^0.14.1","cross-env":"^5.2.0","puppeteer":"^4.0.0","babel-jest":"^26.0.1","css-loader":"^2.1.0","typescript":"^3.8.3","vue-loader":"^16.0.0-beta.1","@babel/core":"^7.9.6","@types/node":"^13.13.5","babel-loader":"^8.1.0","todomvc-app-css":"^2.1.0","@babel/preset-env":"^7.9.6","@vue/compiler-sfc":"^3.0.0-beta.10","vuepress-theme-vue":"^1.1.0","regenerator-runtime":"^0.13.5","@rollup/plugin-buble":"^0.21.3","rollup-plugin-terser":"^5.3.0","start-server-and-test":"^1.11.0","vue-template-compiler":"^2.5.22","@rollup/plugin-replace":"^2.3.2","eslint-plugin-vue-libs":"^4.0.0","webpack-dev-middleware":"^3.7.2","webpack-hot-middleware":"^2.25.0","@rollup/plugin-commonjs":"^11.1.0","conventional-changelog-cli":"^2.0.31","@rollup/plugin-node-resolve":"^7.1.3"},"peerDependencies":{"vue":"^3.0.0-beta.10"},"_npmOperationalInternal":{"tmp":"tmp/vuex_4.0.0-beta.4_1593445019552_0.5690469016042823","host":"s3://npm-registry-packages"},"_id":"vuex@4.0.0-beta.4","version":"4.0.0-beta.4"}