Skip to content

Commit

Permalink
[frontend][chore] update eslint & babel, downgrade Iron
Browse files Browse the repository at this point in the history
* update babel
* update eslint force old version of babel-eslint babel/babel-eslint#815 (comment) due to import and curly strings
* downgrade previously upgraded Iron that has a breaking change
  • Loading branch information
iamdey committed Apr 19, 2020
1 parent f96b9a8 commit 1f69cc0
Show file tree
Hide file tree
Showing 3 changed files with 878 additions and 856 deletions.
10 changes: 2 additions & 8 deletions src/frontend/web_application/.eslintrc.json
Expand Up @@ -16,16 +16,10 @@
"import/no-useless-path-segments": "warn",
"import/prefer-default-export": 0,
"jsx-a11y/label-has-associated-control": ["error", {
"labelComponents": ["Label"],
"controlComponents": ["Field"]
}],
"jsx-a11y/label-has-for": [ "error", {
"components": [ "Label" ],
"required": {
"oneOf": [ "nesting", "id" ]
},
"allowChildren": false
}],
"jsx-a11y/anchor-is-valid": [ "warning", {
"jsx-a11y/anchor-is-valid": [ "warn", {
"components": [ "Link" ],
"specialLink": [ "to" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
Expand Down
40 changes: 20 additions & 20 deletions src/frontend/web_application/package.json
Expand Up @@ -42,7 +42,7 @@
"author": "CaliOpen <contact@caliopen.org> (https://caliopen.org/)",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.2",
"@lingui/react": "^2.9.1",
"argv": "^0.0.2",
"async-validator": "^3.2.4",
Expand All @@ -51,15 +51,15 @@
"body-parser": "^1.18.3",
"classnames": "^2.2.6",
"cookie": "^0.4.0",
"cookie-parser": "^1.4.4",
"cookie-parser": "^1.4.5",
"debug": "^4.1.1",
"elliptic": "^6.5.2",
"express": "^4.16.4",
"express-http-proxy": "1.6.0",
"font-awesome": "^4.6.3",
"foundation-sites": "~6.3.0",
"history": "^4.10.1",
"iron": "^5.0.6",
"iron": "4.0.5",
"jquery": "^3.3.1",
"jssha": "^2.3.1",
"linkifyjs": "^2.1.9",
Expand All @@ -73,15 +73,15 @@
"mimemessage": "^1.0.5",
"moment": "^2.24.0",
"moment-timezone": "^0.5.28",
"openpgp": "^4.10.1",
"openpgp": "^4.10.2",
"piwik-react-router": "^0.12.1",
"prop-types": "^15.7.2",
"quoted-printable": "^1.0.1",
"react": "^16.13.0",
"react": "^16.13.1",
"react-country-region-selector": "^1.4.7",
"react-datepicker": "2.4.0",
"react-document-title": "^2.0.3",
"react-dom": "^16.13.0",
"react-dom": "^16.13.1",
"react-loadable": "^5.5.0",
"react-modal": "^3.11.2",
"react-moment": "^0.9.7",
Expand All @@ -93,7 +93,7 @@
"reactour": "^1.10.0",
"redux": "^4.0.5",
"redux-axios-middleware": "^4.0.1",
"redux-form": "^8.3.1",
"redux-form": "^8.3.5",
"reselect": "^4.0.0",
"scroll": "^3.0.1",
"serialize-javascript": "^3.0.0",
Expand All @@ -102,30 +102,30 @@
"utf8": "^3.0.0",
"uuid": "3.3.2",
"winston": "^3.2.1",
"winston-syslog": "^2.4.0",
"winston-syslog": "^2.4.4",
"xregexp": "^4.3.0",
"zxcvbn": "^4.4.1"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@lingui/cli": "^2.9.1",
"@lingui/macro": "^2.9.1",
"autoprefixer": "^9.7.4",
"axios-mock-adapter": "^1.17.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.5",
"babel-eslint": "8.2.6",
"babel-jest": "^25.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-macros": "^2.8.0",
"babel-preset-lingui-react": "^1.0.14",
Expand All @@ -136,7 +136,7 @@
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"expose-loader": "^0.7.5",
Expand All @@ -159,8 +159,8 @@
"raf": "^3.4.1",
"raw-loader": "^4.0.0",
"react-addons-test-utils": "^15.6.2",
"react-dev-utils": "^10.2.0",
"react-test-renderer": "^16.13.0",
"react-dev-utils": "^10.2.1",
"react-test-renderer": "^16.13.1",
"redux-mock-store": "^1.5.4",
"sass-loader": "^8.0.2",
"script-loader": "^0.7.2",
Expand All @@ -170,7 +170,7 @@
"stylelint-scss": "^3.14.2",
"stylelint-webpack-plugin": "^1.2.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.42.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2",
Expand Down

0 comments on commit 1f69cc0

Please sign in to comment.