@truedat/profile 8.6.7 → 8.7.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/profile",
3
- "version": "8.6.7",
3
+ "version": "8.7.1",
4
4
  "description": "Truedat Web Custom",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -51,7 +51,7 @@
51
51
  "@testing-library/jest-dom": "^6.6.3",
52
52
  "@testing-library/react": "^16.3.0",
53
53
  "@testing-library/user-event": "^14.6.1",
54
- "@truedat/test": "8.6.7",
54
+ "@truedat/test": "8.7.1",
55
55
  "identity-obj-proxy": "^3.0.0",
56
56
  "jest": "^29.7.0",
57
57
  "redux-saga-test-plan": "^4.0.6"
@@ -83,5 +83,5 @@
83
83
  "semantic-ui-react": "^3.0.0-beta.2",
84
84
  "swr": "^2.3.3"
85
85
  },
86
- "gitHead": "17b10e045d4b90147c0f98ed5e781c20804024ba"
86
+ "gitHead": "f7605a6ea3f78839b42bb7d8339eec125ba49acb"
87
87
  }
@@ -8,7 +8,7 @@ const getDistribution = _.flow(
8
8
  _.pathOr("[]", "most_frequent"),
9
9
  _.map(({ k, v }) => ({ x: v, y: k })),
10
10
  _.orderBy("x", "desc"),
11
- _.take(30)
11
+ _.take(30),
12
12
  );
13
13
 
14
14
  export const ProfilingGraph = ({ count, distribution }) => (
@@ -12,7 +12,7 @@ export const ProfilingPatterns = ({ patterns, totalCount }) => {
12
12
  frecuency: k,
13
13
  count: formatNumber(v),
14
14
  percentage: parseFloat(((v / totalCount) * 100).toFixed(2)),
15
- }))
15
+ })),
16
16
  )(patterns);
17
17
 
18
18
  return !_.isEmpty(dataPatterns) ? (
@@ -148,7 +148,7 @@ const StructureProfileForParent = () => {
148
148
  pathname: pathname,
149
149
  search: queryString.stringify({ q: value }),
150
150
  },
151
- { replace: true }
151
+ { replace: true },
152
152
  );
153
153
  });
154
154
  const handleInputChange = (e) => {
@@ -212,7 +212,7 @@ StructureProfiling.propTypes = {
212
212
  const mapStateToProps = ({ structure, userPermissions }) => ({
213
213
  canExecuteProfiling: _.propOr(
214
214
  false,
215
- "view_profiling_permission"
215
+ "view_profiling_permission",
216
216
  )(userPermissions),
217
217
  structure,
218
218
  });