mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-21 14:17:56 +01:00
Update dependencies.
This commit is contained in:
parent
e976f3747a
commit
b5f47ee41d
@ -26,7 +26,7 @@
|
||||
"babel-loader": "^8.2.2",
|
||||
"clean-webpack-plugin": "^4.0.0-alpha.0",
|
||||
"core-js": "^3.15.2",
|
||||
"webpack": "^5.44.0",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^4.7.2",
|
||||
"webpack-merge": "^5.8.0"
|
||||
},
|
||||
|
@ -19,8 +19,6 @@
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"@formatjs/cli": "^4.8.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
||||
"@typescript-eslint/parser": "^4.8.1",
|
||||
"clean-webpack-plugin": "^4.0.0",
|
||||
@ -38,18 +36,18 @@
|
||||
"ts-loader": "^8.0.11",
|
||||
"ts-node": "^9.0.0",
|
||||
"typescript": "^4.1.2",
|
||||
"webpack": "^5.67.0",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-dev-server": "^4.7.3",
|
||||
"webpack-merge": "^5.8.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/styled-components": "^5.1.4",
|
||||
"@wisemapping/mindplot": "^5.0.1",
|
||||
"styled-components": "^5.2.1"
|
||||
"@wisemapping/mindplot": "^5.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^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"
|
||||
}
|
||||
}
|
@ -71,7 +71,7 @@
|
||||
"ts-jest": "^27.1.2",
|
||||
"ts-loader": "^9.2.6",
|
||||
"ts-node": "^10.4.0",
|
||||
"webpack": "^5.44.0",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
"webpack-cli": "^4.7.2",
|
||||
"webpack-dev-server": "^3.11.2",
|
||||
|
@ -45,7 +45,7 @@
|
||||
"jquery": "3.6.0",
|
||||
"nodemon": "^2.0.12",
|
||||
"start-server-and-test": "^1.14.0",
|
||||
"webpack": "^5.44.0",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^4.7.2",
|
||||
"webpack-dev-server": "^3.11.2",
|
||||
"webpack-merge": "^5.8.0"
|
||||
|
@ -49,33 +49,34 @@
|
||||
"ts-node": "^9.0.0",
|
||||
"typescript": "^4.1.2",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.6.0",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-bundle-analyzer": "^4.4.0",
|
||||
"webpack-cli": "^4.2.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": {
|
||||
"@emotion/react": "^11.7.1",
|
||||
"@emotion/styled": "^11.6.0",
|
||||
"@mui/icons-material": "^5.3.0",
|
||||
"@mui/lab": "^5.0.0-alpha.67",
|
||||
"@mui/material": "^5.3.0",
|
||||
"@mui/styles": "^5.3.0",
|
||||
"@emotion/react": "^11.10.4",
|
||||
"@emotion/styled": "^11.10.4",
|
||||
"@mui/icons-material": "^5.9.3",
|
||||
"@mui/lab": "^5.0.0-alpha.98",
|
||||
"@mui/material": "^5.9.3",
|
||||
"@mui/styles": "^5.9.3",
|
||||
"@reduxjs/toolkit": "^1.5.0",
|
||||
"@wisemapping/editor": "^0.4.0",
|
||||
"axios": "^0.21.0",
|
||||
"axios": "^0.27.2",
|
||||
"dayjs": "^1.10.7",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-google-recaptcha": "^2.1.0",
|
||||
"react-ga4": "^1.4.1",
|
||||
"react-intl": "^3.0.0",
|
||||
"react-query": "^3.6.0",
|
||||
"react-query": "^3.39.1",
|
||||
"react-redux": "^7.2.2",
|
||||
"react-router": "^5.1.8",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"start-server-and-test": "^1.12.0",
|
||||
"styled-components": "^5.1.7"
|
||||
"styled-components": "^5.3.5"
|
||||
}
|
||||
}
|
||||
|
@ -212,7 +212,7 @@ export default class RestClient implements Client {
|
||||
{ headers: { 'Content-Type': 'application/xml' } },
|
||||
)
|
||||
.then((response) => {
|
||||
const mapId = response.headers.resourceid;
|
||||
const mapId = Number.parseInt(response.headers.resourceid, 10);
|
||||
success(mapId);
|
||||
})
|
||||
.catch((error) => {
|
||||
@ -367,7 +367,7 @@ export default class RestClient implements Client {
|
||||
{ headers: { 'Content-Type': 'application/json' } },
|
||||
)
|
||||
.then((response) => {
|
||||
const mapId = response.headers.resourceid;
|
||||
const mapId = Number.parseInt(response.headers.resourceid, 10);
|
||||
success(mapId);
|
||||
})
|
||||
.catch((error) => {
|
||||
@ -480,7 +480,7 @@ export default class RestClient implements Client {
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
})
|
||||
.then((response) => {
|
||||
const mapId = response.headers.resourceid;
|
||||
const mapId = Number.parseInt(response.headers.resourceid, 10);
|
||||
success(mapId);
|
||||
})
|
||||
.catch((error) => {
|
||||
@ -548,7 +548,8 @@ export default class RestClient implements Client {
|
||||
},
|
||||
)
|
||||
.then((response) => {
|
||||
success(response.headers.resourceid);
|
||||
const mapId = Number.parseInt(response.headers.resourceid, 10);
|
||||
success(mapId);
|
||||
})
|
||||
.catch((error) => {
|
||||
const errorInfo = this.parseResponseOnError(error.response);
|
||||
|
Loading…
Reference in New Issue
Block a user