Updated npm package versions.

Command: `npm update`
This commit is contained in:
Przemek Wiech 2021-03-27 18:12:44 +01:00
parent e914511644
commit 2916a30bee
3 changed files with 1602 additions and 1512 deletions

3072
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,16 +3,16 @@
"version": "1.0.0",
"main": "src/index.tsx",
"dependencies": {
"array.prototype.flatmap": "^1.2.1",
"array.prototype.flatmap": "^1.2.4",
"canvas-toBlob": "^1.0.0",
"d3-array": "^2.4.0",
"d3-array": "^2.12.1",
"d3-interpolate": "^1.4.0",
"d3-selection": "^1.4.1",
"d3-transition": "^1.3.2",
"d3-zoom": "^1.8.3",
"debounce": "^1.2.0",
"debounce": "^1.2.1",
"detect-browser": "^4.1.0",
"file-saver": "^2.0.1",
"file-saver": "^2.0.5",
"history": "^4.7.2",
"javascript-natural-sort": "^0.7.1",
"js-cookie": "^2.2.1",
@ -22,8 +22,8 @@
"md5": "^2.2.1",
"parse-gedcom": "^1.0.5",
"query-string": "^5.1.1",
"react": "latest",
"react-dom": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^2.8.0",
"react-linkify": "^0.2.2",
"react-router-dom": "^4.3.1",
@ -33,32 +33,32 @@
},
"devDependencies": {
"@types/array.prototype.flatmap": "^1.2.0",
"@types/d3-array": "^2.0.0",
"@types/d3-interpolate": "^1.3.1",
"@types/d3-selection": "^1.4.1",
"@types/d3-transition": "^1.1.6",
"@types/d3-zoom": "^1.7.4",
"@types/d3-array": "^2.9.0",
"@types/d3-interpolate": "^1.4.2",
"@types/d3-selection": "^1.4.3",
"@types/d3-transition": "^1.3.1",
"@types/d3-zoom": "^1.8.2",
"@types/debounce": "^1.2.0",
"@types/file-saver": "^2.0.0",
"@types/history": "^4.7.2",
"@types/history": "^4.7.8",
"@types/js-cookie": "^2.2.4",
"@types/jspdf": "^1.2.2",
"@types/lunr": "^2.3.2",
"@types/md5": "^2.1.33",
"@types/md5": "^2.3.0",
"@types/query-string": "6.2.0",
"@types/react": "*",
"@types/react-dom": "*",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-intl": "^2.3.15",
"@types/react-router-dom": "^4.3.1",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"cypress": "^4.0.1",
"gh-pages": "^2.0.1",
"prettier": "^1.15.3",
"react-scripts": "^3.4.3",
"start-server-and-test": "^1.11.0",
"react-scripts": "^3.4.4",
"start-server-and-test": "^1.12.1",
"tslint-config-prettier": "^1.17.0",
"typescript": "latest"
"typescript": "^4.2.3"
},
"scripts": {
"start": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` REACT_APP_GIT_TIME=`git log -1 --format=%ci` react-scripts start",

View File

@ -28,7 +28,7 @@ function formatDate(date: TopolaDate, intl: InjectedIntl) {
defaultMessage: DATE_QUALIFIERS.get(qualifier) || qualifier,
});
const formatOptions = {
const formatOptions: Intl.DateTimeFormatOptions = {
day: hasDay ? 'numeric' : undefined,
month: hasMonth ? 'long' : undefined,
year: hasYear ? 'numeric' : undefined,