update most packages

This commit is contained in:
2021-08-01 20:45:02 +03:00
committed by Stepan Usatiuk
parent 240804405e
commit a0567f60fa
10 changed files with 4302 additions and 4313 deletions

View File

@@ -16,4 +16,5 @@ module.exports = {
"react-spring": "<rootDir>/node_modules/react-spring/web.cjs",
},
setupFilesAfterEnv: ["<rootDir>/src/setupTests.ts"],
testEnvironment: "jsdom",
};

File diff suppressed because it is too large Load Diff

View File

@@ -13,57 +13,58 @@
}
},
"dependencies": {
"@blueprintjs/core": "^3.33.0",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"autoprefixer": "^9.8.6",
"@blueprintjs/core": "^3.47.0",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"autoprefixer": "^9",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-html": "^6.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.1.2",
"jest": "^26.5.2",
"@wojtekmaj/enzyme-adapter-react-17": "^0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.0.6",
"parcel": "^1.12.4",
"pluralize": "^8.0.0",
"postcss": "^8.1.1",
"prettier": "^2.1.2",
"prettier-eslint": "^11.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.1",
"postcss": "^8.3.6",
"prettier": "^2.3.2",
"prettier-eslint": "^13.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-spring": "^8.0.27",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"react-spring": "^8",
"redux": "^4.1.0",
"redux-devtools-extension": "^2.13.9",
"redux-persist": "^6.0.0",
"redux-saga": "^1.1.3",
"sass": "^1.27.0",
"sass": "^1.37.0",
"spark-md5": "^3.0.1",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3"
"ts-jest": "^27.0.4",
"typescript": "^4.3.5",
"flush-promises": "^1.0.2"
},
"devDependencies": {
"@types/autoprefixer": "^9.7.2",
"@types/enzyme": "^3.10.7",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/eslint": "^7.2.4",
"@types/enzyme": "^3.10.9",
"@types/eslint": "^7.28.0",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/jest": "^26.0.24",
"@types/pluralize": "^0.0.29",
"@types/prettier": "^2.1.1",
"@types/react": "^16.9.51",
"@types/react-dom": "^16.9.8",
"@types/react-redux": "^7.1.9",
"@types/react-router": "^5.1.8",
"@types/react-router-dom": "^5.1.6",
"@types/sass": "^1.16.0",
"@types/prettier": "^2.3.2",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
"@types/react-redux": "^7.1.18",
"@types/react-router": "^5.1.16",
"@types/react-router-dom": "^5.1.8",
"@types/sass": "^1.16.1",
"@types/spark-md5": "^3.0.2"
}
}

View File

@@ -1,4 +1,4 @@
import * as Enzyme from "enzyme";
import * as Adapter from "enzyme-adapter-react-16";
import * as Adapter from "@wojtekmaj/enzyme-adapter-react-17";
Enzyme.configure({ adapter: new Adapter() });

View File

@@ -1,3 +0,0 @@
export function flushPromises(): Promise<unknown> {
return new Promise(setImmediate);
}