@truedat/df 4.56.5 → 4.56.7
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 +20 -20
- package/src/components/__tests__/DynamicFieldValue.spec.js +2 -12
- package/src/components/__tests__/FieldGroupDetail.spec.js +3 -18
- package/src/components/__tests__/__snapshots__/DynamicFieldValue.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/FieldGroupDetail.spec.js.snap +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/df",
|
|
3
|
-
"version": "4.56.
|
|
3
|
+
"version": "4.56.7",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -22,26 +22,25 @@
|
|
|
22
22
|
"eslint:fix": "eslint --fix src/**"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@babel/cli": "^7.
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
28
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
29
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
25
|
+
"@babel/cli": "^7.19.3",
|
|
26
|
+
"@babel/core": "^7.20.5",
|
|
27
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
28
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
|
|
29
|
+
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
30
30
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
31
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
32
|
-
"@babel/preset-env": "^7.
|
|
33
|
-
"@babel/preset-react": "^7.
|
|
34
|
-
"@testing-library/jest-dom": "^5.16.
|
|
31
|
+
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
|
|
32
|
+
"@babel/preset-env": "^7.20.2",
|
|
33
|
+
"@babel/preset-react": "^7.18.6",
|
|
34
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.56.
|
|
37
|
+
"@truedat/test": "4.56.7",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
41
41
|
"babel-plugin-react-intl": "^5.1.18",
|
|
42
42
|
"babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
|
|
43
43
|
"enzyme": "^3.11.0",
|
|
44
|
-
"enzyme-adapter-react-16": "^1.15.6",
|
|
45
44
|
"enzyme-to-json": "^3.6.2",
|
|
46
45
|
"identity-obj-proxy": "^3.0.0",
|
|
47
46
|
"jest": "^28.1.0",
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
"react-dom": "^16.14.0",
|
|
51
50
|
"redux-saga-test-plan": "^4.0.4",
|
|
52
51
|
"rimraf": "^3.0.2",
|
|
53
|
-
"semantic-ui-react": "^2.
|
|
52
|
+
"semantic-ui-react": "^2.1.4"
|
|
54
53
|
},
|
|
55
54
|
"jest": {
|
|
56
55
|
"maxWorkers": "50%",
|
|
@@ -87,9 +86,9 @@
|
|
|
87
86
|
]
|
|
88
87
|
},
|
|
89
88
|
"dependencies": {
|
|
90
|
-
"@apollo/client": "^3.7.
|
|
91
|
-
"@truedat/auth": "4.56.
|
|
92
|
-
"@truedat/core": "4.56.
|
|
89
|
+
"@apollo/client": "^3.7.1",
|
|
90
|
+
"@truedat/auth": "4.56.7",
|
|
91
|
+
"@truedat/core": "4.56.7",
|
|
93
92
|
"path-to-regexp": "^1.7.0",
|
|
94
93
|
"prop-types": "^15.8.1",
|
|
95
94
|
"react-color": "^2.17.3",
|
|
@@ -98,14 +97,15 @@
|
|
|
98
97
|
"react-router-dom": "^5.2.0",
|
|
99
98
|
"react-sortable-hoc": "^1.11.0",
|
|
100
99
|
"redux": "^4.1.1",
|
|
101
|
-
"redux-saga": "^1.1
|
|
100
|
+
"redux-saga": "^1.2.1",
|
|
102
101
|
"redux-saga-routines": "^3.2.3",
|
|
103
|
-
"reselect": "^4.
|
|
102
|
+
"reselect": "^4.1.7",
|
|
103
|
+
"semantic-ui-react": "^2.1.4"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": ">= 16.8.6 < 17",
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
|
-
"semantic-ui-react": ">= 0.
|
|
108
|
+
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "e321b6e541c2205813236081e4c9c5eab34f0007"
|
|
111
111
|
}
|
|
@@ -4,11 +4,6 @@ import { DynamicFieldValue } from "../DynamicFieldValue";
|
|
|
4
4
|
|
|
5
5
|
describe("<DynamicFieldValue />", () => {
|
|
6
6
|
it("matches the latest snapshot", () => {
|
|
7
|
-
const renderOpts = {
|
|
8
|
-
messages: {
|
|
9
|
-
en: {},
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
7
|
const props = {
|
|
13
8
|
label: "label",
|
|
14
9
|
value: "value",
|
|
@@ -16,16 +11,11 @@ describe("<DynamicFieldValue />", () => {
|
|
|
16
11
|
values: null,
|
|
17
12
|
widget: "text",
|
|
18
13
|
};
|
|
19
|
-
const wrapper = render(<DynamicFieldValue {...props}
|
|
14
|
+
const wrapper = render(<DynamicFieldValue {...props} />);
|
|
20
15
|
expect(wrapper).toMatchSnapshot();
|
|
21
16
|
});
|
|
22
17
|
|
|
23
18
|
it("matches the latest snapshot with field changed", () => {
|
|
24
|
-
const renderOpts = {
|
|
25
|
-
messages: {
|
|
26
|
-
en: {},
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
19
|
const props = {
|
|
30
20
|
isChanged: true,
|
|
31
21
|
label: "label",
|
|
@@ -34,7 +24,7 @@ describe("<DynamicFieldValue />", () => {
|
|
|
34
24
|
values: null,
|
|
35
25
|
widget: "text",
|
|
36
26
|
};
|
|
37
|
-
const wrapper = render(<DynamicFieldValue {...props}
|
|
27
|
+
const wrapper = render(<DynamicFieldValue {...props} />);
|
|
38
28
|
expect(wrapper).toMatchSnapshot();
|
|
39
29
|
});
|
|
40
30
|
});
|
|
@@ -4,11 +4,6 @@ import { FieldGroupDetail } from "../FieldGroupDetail";
|
|
|
4
4
|
|
|
5
5
|
describe("<FieldGroupDetail />", () => {
|
|
6
6
|
it("matches the latest snapshot without boxLayout", () => {
|
|
7
|
-
const renderOpts = {
|
|
8
|
-
messages: {
|
|
9
|
-
en: {},
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
7
|
const props = {
|
|
13
8
|
name: "foo group",
|
|
14
9
|
fields: [
|
|
@@ -37,16 +32,11 @@ describe("<FieldGroupDetail />", () => {
|
|
|
37
32
|
],
|
|
38
33
|
boxLayout: false,
|
|
39
34
|
};
|
|
40
|
-
const wrapper = render(<FieldGroupDetail {...props}
|
|
35
|
+
const wrapper = render(<FieldGroupDetail {...props} />);
|
|
41
36
|
expect(wrapper).toMatchSnapshot();
|
|
42
37
|
});
|
|
43
38
|
|
|
44
39
|
it("matches the latest snapshot with boxLayout", () => {
|
|
45
|
-
const renderOpts = {
|
|
46
|
-
messages: {
|
|
47
|
-
en: {},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
40
|
const props = {
|
|
51
41
|
name: "foo group",
|
|
52
42
|
fields: [
|
|
@@ -75,16 +65,11 @@ describe("<FieldGroupDetail />", () => {
|
|
|
75
65
|
],
|
|
76
66
|
boxLayout: true,
|
|
77
67
|
};
|
|
78
|
-
const wrapper = render(<FieldGroupDetail {...props}
|
|
68
|
+
const wrapper = render(<FieldGroupDetail {...props} />);
|
|
79
69
|
expect(wrapper).toMatchSnapshot();
|
|
80
70
|
});
|
|
81
71
|
|
|
82
72
|
it("matches the latest snapshot with field differences", () => {
|
|
83
|
-
const renderOpts = {
|
|
84
|
-
messages: {
|
|
85
|
-
en: {},
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
73
|
const props = {
|
|
89
74
|
name: "foo group",
|
|
90
75
|
fields: [
|
|
@@ -114,7 +99,7 @@ describe("<FieldGroupDetail />", () => {
|
|
|
114
99
|
boxLayout: true,
|
|
115
100
|
diff: ["foo_field"],
|
|
116
101
|
};
|
|
117
|
-
const wrapper = render(<FieldGroupDetail {...props}
|
|
102
|
+
const wrapper = render(<FieldGroupDetail {...props} />);
|
|
118
103
|
expect(wrapper).toMatchSnapshot();
|
|
119
104
|
});
|
|
120
105
|
});
|
|
@@ -112,7 +112,7 @@ Object {
|
|
|
112
112
|
>
|
|
113
113
|
<div
|
|
114
114
|
class="header dynamic-field-header template-field-changed"
|
|
115
|
-
title="
|
|
115
|
+
title="This field has been changed"
|
|
116
116
|
>
|
|
117
117
|
label
|
|
118
118
|
</div>
|
|
@@ -135,7 +135,7 @@ Object {
|
|
|
135
135
|
>
|
|
136
136
|
<div
|
|
137
137
|
class="header dynamic-field-header template-field-changed"
|
|
138
|
-
title="
|
|
138
|
+
title="This field has been changed"
|
|
139
139
|
>
|
|
140
140
|
label
|
|
141
141
|
</div>
|
|
@@ -184,7 +184,7 @@ Object {
|
|
|
184
184
|
>
|
|
185
185
|
<div
|
|
186
186
|
class="header dynamic-field-header template-field-changed"
|
|
187
|
-
title="
|
|
187
|
+
title="This field has been changed"
|
|
188
188
|
>
|
|
189
189
|
foo field
|
|
190
190
|
</div>
|
|
@@ -238,7 +238,7 @@ Object {
|
|
|
238
238
|
>
|
|
239
239
|
<div
|
|
240
240
|
class="header dynamic-field-header template-field-changed"
|
|
241
|
-
title="
|
|
241
|
+
title="This field has been changed"
|
|
242
242
|
>
|
|
243
243
|
foo field
|
|
244
244
|
</div>
|