vue-intl 8.1.1
JavaScript source mapFilename is package.json
SHA-25643ef15e2a3a62c8171e2fbf3080e249174ec8f7575b26e7eb954f9a95e30bcb8
MaleculeH(Db)Md₂(Pa₅)
Evidence
⋯12 lines
13 "license": "MIT",
14 "author": "Long Ho <[email protected]>",
15 "repository": {
16 "type": "git",
17 "url": "formatjs/formatjs.git"
18 },
19 "type": "module",
20 "types": "index.d.ts",
21 "exports": {
22 ".": "./index.js"
23 },
24 "dependencies": {
25 "@formatjs/icu-messageformat-parser": "3.5.19",
26 "@formatjs/intl": "6.1.1"
⋯5 lines
1:180… IntlCache, defineMessage, defineMessages } from "@formatjs/intl";
2import { inject, provide } from "vue";
3//#region packages/vue-intl/injection-key.ts
4const intlKey = Symbol();
5//#endregion
6//#region packages/vue-intl/plugin.ts
7const createIntl = (options) => ({ install(app) {
8 if (!options) throw new Error("Missing `options` for vue-intl plugin");
9 const intl = createIntl$1(options);
10 app.config.globalProperties.$intl = intl;
11 app.config.globalProperties.$formatMessage = intl.formatMessage;
12 app.config.globalProperties. …
28:23… Error(`An intl object was not injected. Install the plugin or use provideIntl.`);
29 return intl;
30}
31//#endregion
32export { IntlError, IntlErrorCode, I …
1{"version":3,"file":"index.js","names":["_createIntl"],"sources":["../injection-key.ts","../plugin.ts","../provider.ts"],"sourcesContent":["export const intlKey: unique symbol = Symbol()\n","import {\n createIntl as _createIntl,\n type IntlConfig,\n type IntlForma …
9:109… D TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE …
No evidence locations were recorded for this file. Raw result