Skip to content

Commit

Permalink
Merge pull request #208 from pastelnetwork/feature/upgrade-packages
Browse files Browse the repository at this point in the history
upgrade packages
  • Loading branch information
ngvtuan authored Dec 20, 2023
2 parents 4ce9030 + 832970c commit 24093d4
Show file tree
Hide file tree
Showing 308 changed files with 12,066 additions and 14,407 deletions.
15 changes: 14 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@
"react/jsx-props-no-spreading": ["warn", { "custom": "ignore" }],
"@typescript-eslint/explicit-module-boundary-types": [0], // Disabled, we don't need to expose return types of functions
"react/state-in-constructor": [0], // Disabled because we want to allow to write components with and without constructor
"camelcase": "off"
"camelcase": "off",
"react/function-component-definition": [
2,
{
"namedComponents": ["arrow-function", "function-declaration"],
"unnamedComponents": "arrow-function"
}
],
"react/no-unstable-nested-components": [
"error",
{
"allowAsProps": true
}
]
}
}
7 changes: 4 additions & 3 deletions jest-setup.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
const { TextDecoder, TextEncoder } = require('util');

global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;

const Enzyme = require('enzyme');
const Adapter = require('@wojtekmaj/enzyme-adapter-react-17');

Enzyme.configure({ adapter: new Adapter() });

global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;
164 changes: 84 additions & 80 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,101 +27,105 @@
]
},
"dependencies": {
"@babel/preset-env": "7.14.1",
"@date-io/core": "1.3.13",
"@date-io/date-fns": "1.3.13",
"@highlight-run/react": "1.1.11",
"@loadable/component": "5.15.2",
"@material-ui/core": "4.11.4",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.58",
"@material-ui/pickers": "3.3.10",
"@material-ui/styles": "4.11.4",
"@material-ui/system": "4.11.3",
"@babel/preset-env": "7.23.2",
"@date-io/core": "2.17.0",
"@date-io/date-fns": "2.17.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@highlight-run/react": "3.2.1",
"@loadable/component": "5.15.3",
"@mui/icons-material": "5.14.18",
"@mui/lab": "5.0.0-alpha.153",
"@mui/material": "5.14.18",
"@mui/styled-engine-sc": "6.0.0-alpha.6",
"@mui/styles": "5.14.18",
"@mui/system": "5.14.18",
"@mui/x-date-pickers": "6.18.2",
"@types/react-router-dom": "5.3.3",
"axios": "0.21.2",
"axios": "1.5.1",
"css-vendor": "2.0.8",
"date-fns": "2.21.2",
"echarts": "5.1.1",
"echarts-for-react": "3.0.1",
"date-fns": "2.30.0",
"echarts": "5.4.3",
"echarts-for-react": "3.0.2",
"file-saver": "2.0.5",
"fzstd": "0.1.0",
"gsap": "3.12.2",
"highlight.run": "4.3.4",
"html-react-parser": "3.0.4",
"html-to-image": "1.6.2",
"i18next": "22.4.10",
"i18next-http-backend": "2.1.1",
"js-base64": "3.7.3",
"jss": "10.6.0",
"highlight.run": "8.0.0",
"html-react-parser": "4.2.5",
"html-to-image": "1.11.11",
"i18next": "23.5.1",
"i18next-http-backend": "2.2.2",
"js-base64": "3.7.5",
"jss": "10.10.0",
"jss-preset-default": "10.10.0",
"lodash.debounce": "4.0.8",
"lz-string": "1.5.0",
"polished": "4.1.2",
"react": "17.0.2",
"react-csv": "2.0.3",
"react-datepicker": "4.10.0",
"react-dom": "17.0.2",
"react-helmet-async": "1.0.9",
"react-i18next": "12.2.0",
"polished": "4.2.2",
"react": "18.2.0",
"react-csv": "2.2.2",
"react-datepicker": "4.21.0",
"react-dom": "18.2.0",
"react-helmet-async": "1.3.0",
"react-i18next": "13.3.0",
"react-jvectormap": "0.0.16",
"react-paginate": "8.1.4",
"react-paginate": "8.2.0",
"react-perfect-scrollbar": "1.5.8",
"react-redux": "7.2.4",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.3",
"react-redux": "8.1.3",
"react-router-dom": "6.17.0",
"react-scripts": "5.0.1",
"react-share": "4.4.1",
"react-timeago": "7.1.0",
"react-virtualized": "9.22.3",
"redux": "4.1.0",
"react-timeago": "7.2.0",
"react-virtualized": "9.22.5",
"redux": "4.2.1",
"redux-persist": "6.0.0",
"redux-thunk": "2.3.0",
"socket.io-client": "4.1.3",
"styled-components": "5.3.0",
"swr": "2.0.0"
"redux-thunk": "2.4.2",
"socket.io-client": "4.7.2",
"styled-components": "6.1.0",
"swr": "2.2.4"
},
"devDependencies": {
"@types/enzyme": "3.10.12",
"@types/file-saver": "2.0.2",
"@types/jest": "26.0.24",
"@types/loadable__component": "5.13.4",
"@types/lodash.debounce": "4.0.6",
"@types/node": "16.6.1",
"@types/react": "17.0.5",
"@types/react-csv": "1.1.1",
"@types/react-datepicker": "4.8.0",
"@types/react-dom": "17.0.3",
"@types/react-helmet": "6.1.1",
"@types/react-paginate": "7.1.1",
"@types/react-redux": "7.1.16",
"@types/react-timeago": "4.1.3",
"@types/react-virtualized": "9.21.11",
"@types/redux-mock-store": "1.0.3",
"@types/styled-components": "5.1.9",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"axios-mock-adapter": "1.21.2",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@types/enzyme": "3.10.15",
"@types/file-saver": "2.0.6",
"@types/jest": "29.5.6",
"@types/loadable__component": "5.13.6",
"@types/lodash.debounce": "4.0.8",
"@types/node": "20.8.6",
"@types/react": "18.2.38",
"@types/react-csv": "1.1.9",
"@types/react-datepicker": "4.19.0",
"@types/react-dom": "18.2.17",
"@types/react-helmet": "6.1.7",
"@types/react-paginate": "7.1.2",
"@types/react-redux": "7.1.27",
"@types/react-timeago": "4.1.4",
"@types/react-virtualized": "9.21.23",
"@types/redux-mock-store": "1.0.4",
"@types/styled-components": "5.1.28",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
"axios-mock-adapter": "1.22.0",
"babel-jest": "29.7.0",
"enzyme": "3.11.0",
"eslint": "^7.25.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "26.6.0",
"jest-styled-components": "7.1.1",
"prettier": "2.2.1",
"prop-types": "15.7.2",
"react-app-rewire-alias": "^1.0.3",
"react-app-rewired": "^2.1.8",
"eslint": "8.51.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-styled-components": "7.2.0",
"prettier": "3.0.3",
"prop-types": "15.8.1",
"react-app-rewire-alias": "1.1.7",
"react-app-rewired": "2.2.1",
"redux-devtools-extension": "2.13.9",
"redux-mock-store": "1.5.4",
"ts-jest": "26.5.6",
"typescript": "4.2.4"
},
"resolutions": {
"jss": "10.6.0"
"ts-jest": "29.1.1",
"typescript": "5.2.2"
}
}
Loading

0 comments on commit 24093d4

Please sign in to comment.