i18next 22.4.10 → 22.4.11
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/esm/package.json +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"22.4.
|
|
1
|
+
{"type":"module","version":"22.4.11"}
|
package/index.d.ts
CHANGED
|
@@ -1164,7 +1164,7 @@ export interface PostProcessorModule extends Module {
|
|
|
1164
1164
|
/** Unique name */
|
|
1165
1165
|
name: string;
|
|
1166
1166
|
type: 'postProcessor';
|
|
1167
|
-
process(value: string, key: string, options: TOptions, translator: any): string;
|
|
1167
|
+
process(value: string, key: string | string[], options: TOptions, translator: any): string;
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
1170
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "i18next",
|
|
3
|
-
"version": "22.4.
|
|
3
|
+
"version": "22.4.11",
|
|
4
4
|
"description": "i18next internationalization framework",
|
|
5
5
|
"main": "./dist/cjs/i18next.js",
|
|
6
6
|
"module": "./dist/esm/i18next.js",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"tdd:compat": "karma start karma.backward.conf.js",
|
|
116
116
|
"build": "rimraf dist && rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json && cpy \"./dist/umd/*.js\" ./",
|
|
117
117
|
"fix_dist_package": "node -e 'console.log(`{\"type\":\"module\",\"version\":\"${process.env.npm_package_version}\"}`)' > dist/esm/package.json",
|
|
118
|
-
"preversion": "npm run
|
|
118
|
+
"preversion": "npm run build && git push",
|
|
119
119
|
"postversion": "npm run fix_dist_package && git push && git push --tags && npm run release",
|
|
120
120
|
"prettier": "prettier --write \"{,**/}*.{ts,tsx,js,json,md}\"",
|
|
121
121
|
"prepare": "husky install",
|