@tachybase/plugin-api-logs 1.3.22 → 1.3.23

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,10 +1,11 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.3.22",
4
- "@tachybase/schema": "1.3.39",
3
+ "@tachybase/client": "1.3.23",
4
+ "@tachybase/schema": "1.3.43",
5
5
  "@ant-design/icons": "5.6.1",
6
6
  "react-i18next": "15.2.0",
7
- "@tego/server": "1.3.39",
8
- "@tego/client": "1.3.39",
9
- "antd": "5.22.5"
7
+ "@tego/server": "1.3.43",
8
+ "@tego/client": "1.3.43",
9
+ "antd": "5.22.5",
10
+ "lodash": "4.17.21"
10
11
  };
@@ -1,6 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
7
  var __export = (target, all) => {
6
8
  for (var name in all)
@@ -14,13 +16,21 @@ var __copyProps = (to, from, except, desc) => {
14
16
  }
15
17
  return to;
16
18
  };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
17
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
28
  var getFieldChange_exports = {};
19
29
  __export(getFieldChange_exports, {
20
30
  getChanged: () => getChanged
21
31
  });
22
32
  module.exports = __toCommonJS(getFieldChange_exports);
23
- var import_server = require("@tego/server");
33
+ var import_lodash = __toESM(require("lodash"));
24
34
  function isSameBasic(val1, val2) {
25
35
  if (val1 instanceof Date || val2 instanceof Date) {
26
36
  return new Date(val1).getTime() === new Date(val2).getTime();
@@ -91,7 +101,7 @@ function getDiffKeyExceptAfter(before, after, path = "") {
91
101
  }
92
102
  async function getChanged(ctx, filterByTk) {
93
103
  try {
94
- const params = import_server.lodash.cloneDeep(ctx.action.params);
104
+ const params = import_lodash.default.cloneDeep(ctx.action.params);
95
105
  if (!filterByTk) {
96
106
  filterByTk = params.filterByTk;
97
107
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-api-logs",
3
3
  "displayName": "Api Logs",
4
- "version": "1.3.22",
4
+ "version": "1.3.23",
5
5
  "description": "Provides seamless tracking of API actions through enhanced user interface components, configuration panels, and dashboards",
6
6
  "keywords": [
7
7
  "Logging and monitoring"
@@ -9,15 +9,15 @@
9
9
  "main": "dist/server/index.js",
10
10
  "devDependencies": {
11
11
  "@ant-design/icons": "^5.6.1",
12
- "@tachybase/schema": "^1.3.39",
13
- "@tachybase/test": "^1.3.39",
14
- "@tego/client": "^1.3.39",
15
- "@tego/server": "^1.3.39",
12
+ "@tachybase/schema": "^1.3.43",
13
+ "@tachybase/test": "^1.3.43",
14
+ "@tego/client": "^1.3.43",
15
+ "@tego/server": "^1.3.43",
16
16
  "antd": "5.22.5",
17
17
  "lodash": "4.17.21",
18
18
  "react-i18next": "15.2.0",
19
19
  "react-router-dom": "6.28.1",
20
- "@tachybase/client": "1.3.22"
20
+ "@tachybase/client": "1.3.23"
21
21
  },
22
22
  "description.zh-CN": "Api Logs通过增强的用户界面组件、配置面板和仪表板提供对 API 操作的无缝跟踪",
23
23
  "displayName.zh-CN": "Api 日志"