@tachybase/plugin-i18n-editor 0.23.18 → 0.23.22

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.
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const Localization: () => React.JSX.Element;
1
+ export declare const Localization: () => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,14 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.18",
4
- "@tachybase/schema": "0.23.18",
3
+ "@tachybase/client": "0.23.22",
4
+ "@tachybase/schema": "0.23.22",
5
5
  "@ant-design/icons": "5.5.2",
6
6
  "ahooks": "3.8.4",
7
7
  "antd": "5.22.5",
8
- "@tachybase/database": "0.23.18",
9
- "@tachybase/module-ui-schema": "0.23.18",
10
- "@tachybase/server": "0.23.18",
11
- "@tachybase/cache": "0.23.18",
8
+ "@tachybase/database": "0.23.22",
9
+ "@tachybase/module-ui-schema": "0.23.22",
10
+ "@tachybase/server": "0.23.22",
11
+ "@tachybase/cache": "0.23.22",
12
12
  "react-i18next": "15.2.0",
13
- "@tachybase/actions": "0.23.18"
13
+ "@tachybase/actions": "0.23.22"
14
14
  };
@@ -1 +1 @@
1
- {"name":"deepmerge","description":"A library for deep (recursive) merging of Javascript objects","keywords":["merge","deep","extend","copy","clone","recursive"],"version":"4.3.1","homepage":"https://github.com/TehShrike/deepmerge","repository":{"type":"git","url":"git://github.com/TehShrike/deepmerge.git"},"main":"dist/cjs.js","engines":{"node":">=0.10.0"},"scripts":{"build":"rollup -c","test":"npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript","test:typescript":"tsc --noEmit test/typescript.ts && ts-node test/typescript.ts","size":"npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c"},"devDependencies":{"@types/node":"^8.10.54","is-mergeable-object":"1.1.0","is-plain-object":"^5.0.0","jsmd":"^1.0.2","rollup":"^1.23.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","tape":"^4.11.0","ts-node":"7.0.1","typescript":"=2.2.2","uglify-js":"^3.6.1"},"license":"MIT","_lastModified":"2024-12-26T09:18:45.049Z"}
1
+ {"name":"deepmerge","description":"A library for deep (recursive) merging of Javascript objects","keywords":["merge","deep","extend","copy","clone","recursive"],"version":"4.3.1","homepage":"https://github.com/TehShrike/deepmerge","repository":{"type":"git","url":"git://github.com/TehShrike/deepmerge.git"},"main":"dist/cjs.js","engines":{"node":">=0.10.0"},"scripts":{"build":"rollup -c","test":"npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript","test:typescript":"tsc --noEmit test/typescript.ts && ts-node test/typescript.ts","size":"npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c"},"devDependencies":{"@types/node":"^8.10.54","is-mergeable-object":"1.1.0","is-plain-object":"^5.0.0","jsmd":"^1.0.2","rollup":"^1.23.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","tape":"^4.11.0","ts-node":"7.0.1","typescript":"=2.2.2","uglify-js":"^3.6.1"},"license":"MIT","_lastModified":"2024-12-30T04:24:37.613Z"}
@@ -132,7 +132,7 @@ class LocalizationManagementPlugin extends import_server.Plugin {
132
132
  return;
133
133
  }
134
134
  ctx.status = 200;
135
- ctx.set("ETag", `${responseETag.substring(0, 36)}-${pluginETag}`);
135
+ ctx.res.setHeader("ETag", `${responseETag.substring(0, 36)}-${pluginETag}`);
136
136
  const custom = await this.resources.getResources(ctx.get("X-Locale") || "en-US");
137
137
  const appLang = ctx.body;
138
138
  const resources = { ...appLang.resources };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-i18n-editor",
3
3
  "displayName": "Localization",
4
- "version": "0.23.18",
4
+ "version": "0.23.22",
5
5
  "description": "Allows to manage localization resources of the application.",
6
6
  "keywords": [
7
7
  "System management"
@@ -15,17 +15,17 @@
15
15
  "antd": "5.22.5",
16
16
  "deepmerge": "^4.3.1",
17
17
  "react-i18next": "^15.2.0",
18
- "@tachybase/schema": "0.23.18"
18
+ "@tachybase/schema": "0.23.22"
19
19
  },
20
20
  "peerDependencies": {
21
- "@tachybase/actions": "0.23.18",
22
- "@tachybase/cache": "0.23.18",
23
- "@tachybase/client": "0.23.18",
24
- "@tachybase/database": "0.23.18",
25
- "@tachybase/module-ui-schema": "0.23.18",
26
- "@tachybase/module-web": "0.23.18",
27
- "@tachybase/server": "0.23.18",
28
- "@tachybase/test": "0.23.18"
21
+ "@tachybase/actions": "0.23.22",
22
+ "@tachybase/database": "0.23.22",
23
+ "@tachybase/client": "0.23.22",
24
+ "@tachybase/module-ui-schema": "0.23.22",
25
+ "@tachybase/cache": "0.23.22",
26
+ "@tachybase/module-web": "0.23.22",
27
+ "@tachybase/test": "0.23.22",
28
+ "@tachybase/server": "0.23.22"
29
29
  },
30
30
  "description.zh-CN": "支持管理应用程序的本地化资源。",
31
31
  "displayName.zh-CN": "本地化",