{"name":"vue-i18n","version":"9.3.0-beta.12-e5210d2","description":"Internationalization plugin for Vue.js","keywords":["i18n","internationalization","intlify","plugin","vue","vue.js"],"license":"MIT","author":{"name":"kazuya kawaguchi","email":"kawakazu80@gmail.com"},"homepage":"https://github.com/intlify/vue-i18n-next/tree/master/packages/vue-i18n#readme","repository":{"type":"git","url":"git+https://github.com/intlify/vue-i18n-next.git","directory":"packages/vue-i18n"},"bugs":{"url":"https://github.com/intlify/vue-i18n-next/issues"},"main":"index.js","module":"dist/vue-i18n.mjs","unpkg":"dist/vue-i18n.global.js","jsdelivr":"dist/vue-i18n.global.js","types":"dist/vue-i18n.d.ts","dependencies":{"@intlify/core-base":"9.3.0-beta.12-e5210d2","@intlify/shared":"9.3.0-beta.12-e5210d2","@intlify/vue-devtools":"9.3.0-beta.12-e5210d2","@vue/devtools-api":"^6.2.1"},"devDependencies":{"@intlify/devtools-if":"9.3.0-beta.12-e5210d2"},"peerDependencies":{"vue":"^3.0.0"},"engines":{"node":">= 14"},"buildOptions":{"name":"VueI18n","formats":["mjs","mjs-runtime","browser","browser-runtime","cjs","global","global-runtime"]},"exports":{".":{"types":"./dist/vue-i18n.d.ts","import":"./dist/vue-i18n.mjs","browser":"./dist/vue-i18n.esm-browser.js","node":{"import":{"production":"./dist/vue-i18n.node.mjs","development":"./dist/vue-i18n.mjs","default":"./dist/vue-i18n.mjs"},"require":{"production":"./dist/vue-i18n.prod.cjs","development":"./dist/vue-i18n.cjs","default":"./index.js"}}},"./dist/*":"./dist/*","./package.json":"./package.json"},"funding":"https://github.com/sponsors/kazupon","sideEffects":false,"vetur":{"tags":"vetur/tags.json","attributes":"vetur/attributes.json"},"readme":"# vue-i18n\n\nInternationalization plugin for Vue.js\n\n## Which dist file to use?\n\n### From CDN or without a Bundler\n\n- **`vue-i18n(.runtime).global(.prod).js`**:\n\n  - For direct use via `<script src=\"...\">` in the browser. Exposes the `VueI18n` global\n  - Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and is only meant for direct use via `<script src=\"...\">`\n  - In-browser locale messages compilation:\n    - **`vue-i18n.global.js`** is the \"full\" build that includes both the compiler and the runtime so it supports compiling locale messages on the fly\n    - **`vue-i18n.runtime.global.js`** contains only the runtime and requires locale messages to be pre-compiled during a build step\n  - Inlines internal the bellow packages - i.e. it’s a single file with no dependencies on other files. This means you **must** import everything from this file and this file only to ensure you are getting the same instance of code\n    - `@intlify/shared`\n    - `@intlify/message-compiler`\n    - `@intlify/core`\n  - Contains hard-coded prod/dev branches, and the prod build is pre-minified. Use the `*.prod.js` files for production\n\n- **`vue-i18n(.runtime).esm-browser(.prod).js`**:\n  - For usage via native ES modules imports (in browser via `<script type=\"module\">`)\n  - Shares the same runtime compilation, dependency inlining and hard-coded prod/dev behavior with the global build\n\n### With a Bundler\n\n- **`vue-i18n(.runtime).esm-bundler.js`**:\n  - For use with bundlers like `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  - Imports dependencies (e.g. `@intlify/core-base`, `@intlify/message-compiler`)\n    - Imported dependencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@intlify/message-compiler` imports `@intlify/shared`)\n    - This means you **can** install/import these deps individually without ending up with different instances of these dependencies, but you must make sure they all resolve to the same version\n  - In-browser locale messages compilation:\n    - **`vue-i18n.runtime.esm-bundler.js` (default)** is runtime only, and requires all locale messages to be pre-compiled. This is the default entry for bundlers (via `module` field in `package.json`) because when using a bundler templates are typically pre-compiled (e.g. in `*.json` files)\n    - **`vue-i18n.esm-bundler.js`**: includes the runtime compiler. Use this if you are using a bundler but still want locale messages compilation (e.g. templates via inline JavaScript strings)\n\n### For Node.js (Server-Side)\n\n- **`vue-i18n.cjs(.prod).js`**:\n  - For use in Node.js via `require()`\n  - If you bundle your app with webpack with `target: 'node'` and properly externalize `vue-i18n`, this is the build that will be loaded\n  - The dev/prod files are pre-built, but the appropriate file is automatically required based on `process.env.NODE_ENV`\n\n## For Bundler feature flags\n\n### Build Feature Flags\n\nThe `esm-bundler` builds now exposes global feature flags that can be overwritten at compile time:\n\n- `__VUE_I18N_FULL_INSTALL__` (enable/disable, in addition to vue-i18n APIs, components and directives all fully support installation: `true`)\n- `__VUE_I18N_LEGACY_API__` (enable/disable vue-i18n legacy style APIs support, default: `true`)\n- `__INTLIFY_PROD_DEVTOOLS__` (enable/disable `@intlify/devtools` support in production, default: `false`)\n\n> NOTE: `__INTLIFY_PROD_DEVTOOLS__` flag is experimental, and `@intlify/devtools` is WIP yet.\n\nThe build will work without configuring these flags, however it is **strongly recommended** to properly configure them in order to get proper tree shaking in the final bundle. To configure these flags:\n\n- webpack: use [DefinePlugin](https://webpack.js.org/plugins/define-plugin/)\n- Rollup: use [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/master/packages/replace)\n- Vite: configured by default, but can be overwritten using the [`define` option](https://github.com/vitejs/vite/blob/a4133c073e640b17276b2de6e91a6857bdf382e1/src/node/config.ts#L72-L76)\n\nNote: the replacement value **must be boolean literals** and cannot be strings, otherwise the bundler/minifier will not be able to properly evaluate the conditions.\n\n## :copyright: License\n\n[MIT](http://opensource.org/licenses/MIT)\n","readmeFilename":"README.md","_id":"vue-i18n@9.3.0-beta.12-e5210d2","_integrity":"sha512-l/iLxkC5j2FG5wklXYjom+y3zJ/2DFEy3KBsevqdwyfEFKTofz6sqHdESqMbnaUnMVkZisf1PEbaOP8XK4cBYA==","_resolved":"/tmp/25527a7f56de59fc494fa3814c5be148/vue-i18n-9.3.0-beta.12-e5210d2.tgz","_from":"file:vue-i18n-9.3.0-beta.12-e5210d2.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-l/iLxkC5j2FG5wklXYjom+y3zJ/2DFEy3KBsevqdwyfEFKTofz6sqHdESqMbnaUnMVkZisf1PEbaOP8XK4cBYA==","shasum":"2821449f987298fdd15fce4f7db36f0bedc900a6","tarball":"http://registry-npm.ywwl.com/vue-i18n/download/vue-i18n-9.3.0-beta.12-e5210d2.tgz","fileCount":24,"unpackedSize":1503739,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdX1vf0WGInWC+jUg4pQp03ps6eywlRBnzUSahp0xxjAiEA6ncxhMkwu3o6FYcICb0sbs9RaaT8zxG2G1aYA90Ojfk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrd6fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9fw//Y9WlXeHN+sB3xrEGc+3TMwS+2sVuC2GtvNBIRiFrkR6buQl3\r\nFP5bdogOCVoFZHOav6eReeQP0TIeoYjxysstzRebrorSZ3oD85ZzXv/arO6K\r\nPf0VeR3gqvr/ozyrVbVOJjqxPfCqag9Mb/1hy8Z8pdzJLju5Ch0JYoc+obqh\r\nO3I/hkz4IxVK+h6Z7jYwkpIOKlFX0fmXarqrPgkOKqErvzRog6myE13HC1Q7\r\nYe/qCn5F3jGth5L0I/3LS7BJvMgoE2ZfY2Cb3+QMn6tXrHur5aspHRz/Y7LA\r\nRcG7RqhGHzl/OcARJA4aqxlYyzjfaK9zV+EQ/JbetR3TPJiADd9rX8hPYS7u\r\nMaz0SU0jsvNvO7vLebsRuGBhCzR6qbZ7KHImdr2TkZsZhJiDYwo+J9WcPYEa\r\nXFZwByrpo5Dsoyyxzg33HzcuMCpj/80yFmUb22Ynlg89lAe8u2GMa3LSrlPc\r\nsf8mcBf2V3mjjfsbDiyRcpd+WDr4oUh0P3FgnNW32DqSixJCfBTRHRc0YeCq\r\nnwKReHCdPHKIcSjvM07U0EhykoBtz/u/ef2eXxehTWpoBwU7gUiLmNpRcl7X\r\nTlhoZW9tYKpMNSmfF2Tl++oIzgfDIcWA3XuKUFDY9P6YBz4uiwnXPOx4CXCz\r\n8ndPgfEa/ilqv8yyTdEaDSqw571a3Ivq3Nc=\r\n=w7lO\r\n-----END PGP SIGNATURE-----\r\n","size":291593,"noattachment":false,"key":"/vue-i18n/-/vue-i18n-9.3.0-beta.12-e5210d2.tgz"},"_npmUser":{"name":"kazupon","email":"kawakazu80@gmail.com"},"directories":{},"maintainers":[{"name":"kazupon","email":"kawakazu80@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-i18n_9.3.0-beta.12-e5210d2_1672339102839_0.6531671610515855"},"_hasShrinkwrap":false,"publish_time":1672339103103,"deprecated":"v9 and v10 no longer supported. please migrate to v11. about maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html","_cnpm_publish_time":1672339103103,"dist-tags":{"alpha":"9.2.0-alpha.9","beta":"9.3.0-beta.27","edge":"9.3.0-beta.14-77e850b","latest":"11.4.18","legacy":"8.28.2","legacy10":"10.0.8","legacy9":"9.14.5","next":"12.0.0-alpha.9","rc":"9.0.0-rc.9","stable":"11.1.10","stable9":"9.14.5"}}