Update dependencies.

This commit is contained in:
Paulo Gustavo Veiga 2022-09-11 12:38:56 -07:00
parent e976f3747a
commit b5f47ee41d
7 changed files with 407 additions and 368 deletions

View File

@ -26,7 +26,7 @@
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"clean-webpack-plugin": "^4.0.0-alpha.0", "clean-webpack-plugin": "^4.0.0-alpha.0",
"core-js": "^3.15.2", "core-js": "^3.15.2",
"webpack": "^5.44.0", "webpack": "^5.74.0",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0" "webpack-merge": "^5.8.0"
}, },

View File

@ -19,8 +19,6 @@
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7", "@babel/preset-react": "^7.16.7",
"@formatjs/cli": "^4.8.1", "@formatjs/cli": "^4.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.8.1", "@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1", "@typescript-eslint/parser": "^4.8.1",
"clean-webpack-plugin": "^4.0.0", "clean-webpack-plugin": "^4.0.0",
@ -38,18 +36,18 @@
"ts-loader": "^8.0.11", "ts-loader": "^8.0.11",
"ts-node": "^9.0.0", "ts-node": "^9.0.0",
"typescript": "^4.1.2", "typescript": "^4.1.2",
"webpack": "^5.67.0", "webpack": "^5.74.0",
"webpack-dev-server": "^4.7.3", "webpack-dev-server": "^4.7.3",
"webpack-merge": "^5.8.0" "webpack-merge": "^5.8.0"
}, },
"dependencies": { "dependencies": {
"@types/styled-components": "^5.1.4", "@wisemapping/mindplot": "^5.0.1"
"@wisemapping/mindplot": "^5.0.1",
"styled-components": "^5.2.1"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-intl": "^5.24.3" "react-intl": "^5.24.3",
"styled-components": "^5.3.5",
"@types/styled-components": "^5.1.26"
} }
} }

View File

@ -71,7 +71,7 @@
"ts-jest": "^27.1.2", "ts-jest": "^27.1.2",
"ts-loader": "^9.2.6", "ts-loader": "^9.2.6",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"webpack": "^5.44.0", "webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0", "webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2", "webpack-dev-server": "^3.11.2",

View File

@ -45,7 +45,7 @@
"jquery": "3.6.0", "jquery": "3.6.0",
"nodemon": "^2.0.12", "nodemon": "^2.0.12",
"start-server-and-test": "^1.14.0", "start-server-and-test": "^1.14.0",
"webpack": "^5.44.0", "webpack": "^5.74.0",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2", "webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.8.0" "webpack-merge": "^5.8.0"

View File

@ -49,33 +49,34 @@
"ts-node": "^9.0.0", "ts-node": "^9.0.0",
"typescript": "^4.1.2", "typescript": "^4.1.2",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"webpack": "^5.6.0", "webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.4.0", "webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.2.0", "webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0", "webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.7.3" "webpack-merge": "^5.7.3",
"start-server-and-test": "^1.12.0"
}, },
"dependencies": { "dependencies": {
"@emotion/react": "^11.7.1", "@emotion/react": "^11.10.4",
"@emotion/styled": "^11.6.0", "@emotion/styled": "^11.10.4",
"@mui/icons-material": "^5.3.0", "@mui/icons-material": "^5.9.3",
"@mui/lab": "^5.0.0-alpha.67", "@mui/lab": "^5.0.0-alpha.98",
"@mui/material": "^5.3.0", "@mui/material": "^5.9.3",
"@mui/styles": "^5.3.0", "@mui/styles": "^5.9.3",
"@reduxjs/toolkit": "^1.5.0", "@reduxjs/toolkit": "^1.5.0",
"@wisemapping/editor": "^0.4.0", "@wisemapping/editor": "^0.4.0",
"axios": "^0.21.0", "axios": "^0.27.2",
"dayjs": "^1.10.7", "dayjs": "^1.10.7",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-google-recaptcha": "^2.1.0", "react-google-recaptcha": "^2.1.0",
"react-ga4": "^1.4.1", "react-ga4": "^1.4.1",
"react-intl": "^3.0.0", "react-intl": "^3.0.0",
"react-query": "^3.6.0", "react-query": "^3.39.1",
"react-redux": "^7.2.2", "react-redux": "^7.2.2",
"react-router": "^5.1.8", "react-router": "^5.1.8",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"start-server-and-test": "^1.12.0", "styled-components": "^5.3.5"
"styled-components": "^5.1.7"
} }
} }

View File

@ -212,7 +212,7 @@ export default class RestClient implements Client {
{ headers: { 'Content-Type': 'application/xml' } }, { headers: { 'Content-Type': 'application/xml' } },
) )
.then((response) => { .then((response) => {
const mapId = response.headers.resourceid; const mapId = Number.parseInt(response.headers.resourceid, 10);
success(mapId); success(mapId);
}) })
.catch((error) => { .catch((error) => {
@ -367,7 +367,7 @@ export default class RestClient implements Client {
{ headers: { 'Content-Type': 'application/json' } }, { headers: { 'Content-Type': 'application/json' } },
) )
.then((response) => { .then((response) => {
const mapId = response.headers.resourceid; const mapId = Number.parseInt(response.headers.resourceid, 10);
success(mapId); success(mapId);
}) })
.catch((error) => { .catch((error) => {
@ -480,7 +480,7 @@ export default class RestClient implements Client {
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
}) })
.then((response) => { .then((response) => {
const mapId = response.headers.resourceid; const mapId = Number.parseInt(response.headers.resourceid, 10);
success(mapId); success(mapId);
}) })
.catch((error) => { .catch((error) => {
@ -548,7 +548,8 @@ export default class RestClient implements Client {
}, },
) )
.then((response) => { .then((response) => {
success(response.headers.resourceid); const mapId = Number.parseInt(response.headers.resourceid, 10);
success(mapId);
}) })
.catch((error) => { .catch((error) => {
const errorInfo = this.parseResponseOnError(error.response); const errorInfo = this.parseResponseOnError(error.response);

723
yarn.lock

File diff suppressed because it is too large Load Diff