@modern-js/plugin-i18n 2.60.3-alpha.0 → 2.60.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js
CHANGED
|
@@ -21,7 +21,7 @@ __export(src_exports, {
|
|
|
21
21
|
I18n: () => I18n
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(src_exports);
|
|
24
|
-
var import_lodash = require("@modern-js/
|
|
24
|
+
var import_lodash = require("@modern-js/utils/lodash");
|
|
25
25
|
var import_utils = require("./utils");
|
|
26
26
|
class I18n {
|
|
27
27
|
format(msg, vars) {
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -21,7 +21,7 @@ __export(utils_exports, {
|
|
|
21
21
|
getObjKeyMap: () => getObjKeyMap
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(utils_exports);
|
|
24
|
-
var import_lodash = require("@modern-js/
|
|
24
|
+
var import_lodash = require("@modern-js/utils/lodash");
|
|
25
25
|
function getObjKeyMap(obj, prefix = "") {
|
|
26
26
|
const result = {};
|
|
27
27
|
Object.keys(obj).forEach((key) => {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check";
|
|
2
|
-
import { get } from "@modern-js/
|
|
2
|
+
import { get } from "@modern-js/utils/lodash";
|
|
3
3
|
import { getObjKeyMap } from "./utils";
|
|
4
4
|
var I18n = /* @__PURE__ */ function() {
|
|
5
5
|
"use strict";
|
package/dist/esm/utils/index.js
CHANGED
package/dist/esm-node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.60.
|
|
18
|
+
"version": "2.60.4",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -47,20 +47,21 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@swc/helpers": "0.5.13",
|
|
50
|
-
"@modern-js/
|
|
50
|
+
"@modern-js/utils": "2.60.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/jest": "^29",
|
|
54
54
|
"@types/node": "^14",
|
|
55
55
|
"jest": "^29",
|
|
56
56
|
"typescript": "^5",
|
|
57
|
-
"@scripts/build": "2.60.
|
|
58
|
-
"@scripts/jest-config": "2.60.
|
|
57
|
+
"@scripts/build": "2.60.4",
|
|
58
|
+
"@scripts/jest-config": "2.60.4"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"registry": "https://registry.npmjs.org/",
|
|
63
|
-
"access": "public"
|
|
63
|
+
"access": "public",
|
|
64
|
+
"provenance": true
|
|
64
65
|
},
|
|
65
66
|
"scripts": {
|
|
66
67
|
"new": "modern-lib new",
|