@truedat/dd 4.46.3 → 4.46.4
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/dd",
|
|
3
|
-
"version": "4.46.
|
|
3
|
+
"version": "4.46.4",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.4",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.46.
|
|
37
|
+
"@truedat/test": "4.46.4",
|
|
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",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@apollo/client": "^3.6.4",
|
|
91
|
-
"@truedat/auth": "4.46.
|
|
92
|
-
"@truedat/core": "4.46.
|
|
93
|
-
"@truedat/df": "4.46.
|
|
91
|
+
"@truedat/auth": "4.46.4",
|
|
92
|
+
"@truedat/core": "4.46.4",
|
|
93
|
+
"@truedat/df": "4.46.4",
|
|
94
94
|
"lodash": "^4.17.21",
|
|
95
95
|
"path-to-regexp": "^1.7.0",
|
|
96
96
|
"prop-types": "^15.8.1",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"react-dom": ">= 16.8.6 < 17",
|
|
112
112
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "dcd0aa42ffe1fb816945154ec2a2d06889dca7e7"
|
|
115
115
|
}
|
|
@@ -6,7 +6,6 @@ import { Link } from "react-router-dom";
|
|
|
6
6
|
import { linkTo } from "@truedat/core/routes";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
8
|
import Moment from "react-moment";
|
|
9
|
-
import moment from "moment";
|
|
10
9
|
import PropTypes from "prop-types";
|
|
11
10
|
|
|
12
11
|
export const GrantUserDecorator = ({ authentication, user }) => {
|
|
@@ -137,11 +136,7 @@ export const EndDateDecorator = ({ end_date, pending_removal }) => {
|
|
|
137
136
|
trigger={
|
|
138
137
|
<Header>
|
|
139
138
|
<Header.Subheader>
|
|
140
|
-
<Moment
|
|
141
|
-
locale={locale}
|
|
142
|
-
date={end_date}
|
|
143
|
-
from={moment().format("L")}
|
|
144
|
-
/>
|
|
139
|
+
<Moment locale={locale} date={end_date} fromNow />
|
|
145
140
|
</Header.Subheader>
|
|
146
141
|
</Header>
|
|
147
142
|
}
|