@truedat/auth 4.29.1 → 4.30.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.30.0] 2021-10-06
4
+
5
+ ### Changed
6
+
7
+ - [TD-3603] Update react-intl version to v5
8
+
3
9
  ## [4.27.0] 2021-08-25
4
10
 
5
11
  ## Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/auth",
3
- "version": "4.29.1",
3
+ "version": "4.30.2",
4
4
  "description": "Truedat Web Auth",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.14.1",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.29.1",
37
+ "@truedat/test": "4.30.1",
38
38
  "babel-jest": "^27.0.6",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -82,7 +82,7 @@
82
82
  ]
83
83
  },
84
84
  "dependencies": {
85
- "@truedat/core": "4.29.1",
85
+ "@truedat/core": "4.30.2",
86
86
  "auth0-js": "^9.12.2",
87
87
  "immutable": "^4.0.0-rc.12",
88
88
  "jwt-decode": "^2.2.0",
@@ -91,7 +91,7 @@
91
91
  "prop-types": "^15.7.2",
92
92
  "query-string": "^6.11.0",
93
93
  "react-hook-form": "^6.15.8",
94
- "react-intl": "^3.12.0",
94
+ "react-intl": "^5.20.10",
95
95
  "react-redux": "^7.2.4",
96
96
  "react-router-dom": "^5.2.0",
97
97
  "redux": "^4.1.1",
@@ -104,5 +104,5 @@
104
104
  "react-dom": ">= 16.8.6 < 17",
105
105
  "semantic-ui-react": ">= 0.88.2 < 2.1"
106
106
  },
107
- "gitHead": "bd33b4258962a80b10ffedf9d222272cd3babaf0"
107
+ "gitHead": "d1b2a5b74458267ecb68a30eb3cc331a6899a67f"
108
108
  }
@@ -57,16 +57,15 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
57
57
  basic={true}
58
58
  color="green"
59
59
  content={
60
- <FormattedMessage
60
+ <Memo(MemoizedFormattedMessage)
61
61
  id="actions.edit"
62
- values={Object {}}
63
62
  />
64
63
  }
65
64
  to="/groups/1/edit"
66
65
  />
67
66
  <ConfirmModal
68
67
  content={
69
- <FormattedMessage
68
+ <Memo(MemoizedFormattedMessage)
70
69
  id="group.actions.delete.confirmation.content"
71
70
  values={
72
71
  Object {
@@ -79,9 +78,8 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
79
78
  }
80
79
  handleSubmit={[Function]}
81
80
  header={
82
- <FormattedMessage
81
+ <Memo(MemoizedFormattedMessage)
83
82
  id="group.actions.delete.confirmation.header"
84
- values={Object {}}
85
83
  />
86
84
  }
87
85
  icon="trash"
@@ -90,9 +88,8 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
90
88
  as="button"
91
89
  basic={true}
92
90
  content={
93
- <FormattedMessage
91
+ <Memo(MemoizedFormattedMessage)
94
92
  id="actions.delete"
95
- values={Object {}}
96
93
  />
97
94
  }
98
95
  negative={true}
@@ -25,9 +25,8 @@ exports[`<GroupCards /> matches the latest snapshot 1`] = `
25
25
  textAlign="center"
26
26
  >
27
27
  <CardHeader>
28
- <FormattedMessage
28
+ <MemoizedFormattedMessage
29
29
  id="groups.actions.create"
30
- values={Object {}}
31
30
  />
32
31
  </CardHeader>
33
32
  <CardDescription>
@@ -20,9 +20,8 @@ exports[`<GroupUsers /> matches the latest snapshot 1`] = `
20
20
  }
21
21
  }
22
22
  content={
23
- <FormattedMessage
23
+ <Memo(MemoizedFormattedMessage)
24
24
  id="actions.edit"
25
- values={Object {}}
26
25
  />
27
26
  }
28
27
  floated="right"
@@ -21,9 +21,8 @@ exports[`<Role /> matches the latest snapshot 1`] = `
21
21
  }
22
22
  to="/roles"
23
23
  >
24
- <FormattedMessage
24
+ <MemoizedFormattedMessage
25
25
  id="navigation.members.roles"
26
- values={Object {}}
27
26
  />
28
27
  </BreadcrumbSection>
29
28
  <BreadcrumbDivider
@@ -49,9 +48,8 @@ exports[`<Role /> matches the latest snapshot 1`] = `
49
48
  updateName={[Function]}
50
49
  />
51
50
  <HeaderSubheader>
52
- <FormattedMessage
51
+ <MemoizedFormattedMessage
53
52
  id="role.subheader"
54
- values={Object {}}
55
53
  />
56
54
  </HeaderSubheader>
57
55
  </HeaderContent>
@@ -59,9 +57,8 @@ exports[`<Role /> matches the latest snapshot 1`] = `
59
57
  <Checkbox
60
58
  label={
61
59
  Object {
62
- "children": <FormattedMessage
60
+ "children": <Memo(MemoizedFormattedMessage)
63
61
  id="roles.default"
64
- values={Object {}}
65
62
  />,
66
63
  }
67
64
  }
@@ -34,7 +34,7 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
34
34
  >
35
35
  <ConfirmModal
36
36
  content={
37
- <FormattedMessage
37
+ <Memo(MemoizedFormattedMessage)
38
38
  id="roles.actions.delete.confirmation.content"
39
39
  values={
40
40
  Object {
@@ -47,9 +47,8 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
47
47
  }
48
48
  handleSubmit={[Function]}
49
49
  header={
50
- <FormattedMessage
50
+ <Memo(MemoizedFormattedMessage)
51
51
  id="roles.actions.delete.confirmation.header"
52
- values={Object {}}
53
52
  />
54
53
  }
55
54
  icon="trash"
@@ -97,7 +96,7 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
97
96
  >
98
97
  <ConfirmModal
99
98
  content={
100
- <FormattedMessage
99
+ <Memo(MemoizedFormattedMessage)
101
100
  id="roles.actions.delete.confirmation.content"
102
101
  values={
103
102
  Object {
@@ -110,9 +109,8 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
110
109
  }
111
110
  handleSubmit={[Function]}
112
111
  header={
113
- <FormattedMessage
112
+ <Memo(MemoizedFormattedMessage)
114
113
  id="roles.actions.delete.confirmation.header"
115
- values={Object {}}
116
114
  />
117
115
  }
118
116
  icon="trash"
@@ -21,9 +21,8 @@ exports[`<Roles /> matches the latest snapshot 1`] = `
21
21
  }
22
22
  }
23
23
  content={
24
- <FormattedMessage
24
+ <Memo(MemoizedFormattedMessage)
25
25
  id="roles.create"
26
- values={Object {}}
27
26
  />
28
27
  }
29
28
  floated="right"
@@ -36,14 +35,12 @@ exports[`<Roles /> matches the latest snapshot 1`] = `
36
35
  name="student"
37
36
  />
38
37
  <HeaderContent>
39
- <FormattedMessage
38
+ <MemoizedFormattedMessage
40
39
  id="roles.header"
41
- values={Object {}}
42
40
  />
43
41
  <HeaderSubheader>
44
- <FormattedMessage
42
+ <MemoizedFormattedMessage
45
43
  id="roles.subheader"
46
- values={Object {}}
47
44
  />
48
45
  </HeaderSubheader>
49
46
  </HeaderContent>
@@ -8,9 +8,8 @@ exports[`<Auth0LoginButton /> matches the latest snapshot 1`] = `
8
8
  <i
9
9
  className="user icon"
10
10
  />
11
- <FormattedMessage
11
+ <MemoizedFormattedMessage
12
12
  id="login.form.actions.auth0"
13
- values={Object {}}
14
13
  />
15
14
  </a>
16
15
  `;
@@ -23,9 +22,8 @@ exports[`<Auth0LoginButton /> matches the latest snapshot with a default icon 1`
23
22
  <i
24
23
  className="sign-in icon"
25
24
  />
26
- <FormattedMessage
25
+ <MemoizedFormattedMessage
27
26
  id="login.form.actions.auth0"
28
- values={Object {}}
29
27
  />
30
28
  </a>
31
29
  `;
@@ -5,9 +5,8 @@ exports[`<OidcLoginButton /> matches the latest snapshot 1`] = `
5
5
  className="ui secondary button yellow"
6
6
  href="https://auth.oidc.org/authorize?foo=bar"
7
7
  >
8
- <FormattedMessage
8
+ <MemoizedFormattedMessage
9
9
  id="login.form.actions.oidc"
10
- values={Object {}}
11
10
  />
12
11
  </a>
13
12
  `;
@@ -17,9 +16,8 @@ exports[`<OidcLoginButton /> matches the latest snapshot with a default icon 1`]
17
16
  className="ui secondary button yellow"
18
17
  href="https://auth.oidc.org/authorize?foo=bar"
19
18
  >
20
- <FormattedMessage
19
+ <MemoizedFormattedMessage
21
20
  id="login.form.actions.oidc"
22
- values={Object {}}
23
21
  />
24
22
  </a>
25
23
  `;
@@ -22,9 +22,8 @@ exports[`<User /> matches the latest snapshot 1`] = `
22
22
  <HeaderContent>
23
23
  joe
24
24
  <HeaderSubheader>
25
- <FormattedMessage
25
+ <MemoizedFormattedMessage
26
26
  id="user.type.admin"
27
- values={Object {}}
28
27
  />
29
28
  </HeaderSubheader>
30
29
  </HeaderContent>
@@ -21,10 +21,9 @@ exports[`<UserActions /> matches the latest snapshot 1`] = `
21
21
  "icon": "edit",
22
22
  "key": "edit",
23
23
  "selected": false,
24
- "text": <FormattedMessage
24
+ "text": <Memo(MemoizedFormattedMessage)
25
25
  defaultMessage="edit"
26
26
  id="actions.edit"
27
- values={Object {}}
28
27
  />,
29
28
  "to": "/users/2/edit",
30
29
  "value": "edit",
@@ -46,10 +45,9 @@ exports[`<UserActions /> matches the latest snapshot 1`] = `
46
45
  "icon": "unlock alternate",
47
46
  "key": "edit_password",
48
47
  "selected": false,
49
- "text": <FormattedMessage
48
+ "text": <Memo(MemoizedFormattedMessage)
50
49
  defaultMessage="Change password"
51
50
  id="user.actions.edit_password"
52
- values={Object {}}
53
51
  />,
54
52
  "to": "/users/2/password",
55
53
  "value": "edit_password",
@@ -11,14 +11,12 @@ exports[`<UsersAndGroups /> matches the latest snapshot 1`] = `
11
11
  name="users"
12
12
  />
13
13
  <HeaderContent>
14
- <FormattedMessage
14
+ <MemoizedFormattedMessage
15
15
  id="users.header"
16
- values={Object {}}
17
16
  />
18
17
  <HeaderSubheader>
19
- <FormattedMessage
18
+ <MemoizedFormattedMessage
20
19
  id="users.subheader"
21
- values={Object {}}
22
20
  />
23
21
  </HeaderSubheader>
24
22
  </HeaderContent>