update deps

This commit is contained in:
Vyrtsev Mikhail
2019-04-12 01:52:53 +03:00
parent 69d5a5e4a9
commit bed8d28c5a
3 changed files with 706 additions and 650 deletions
+6 -3
View File
@@ -34,8 +34,10 @@ export default (input: string): boolean => {
range = document.createRange();
range.selectNodeContents(el);
selection.removeAllRanges();
selection.addRange(range);
if (selection) {
selection.removeAllRanges();
selection.addRange(range);
}
}
document.execCommand('copy');
@@ -46,7 +48,8 @@ export default (input: string): boolean => {
} catch (err) {}
if (!(document.body as any).createTextRange && window.getSelection) {
window.getSelection().removeAllRanges();
const selection = window.getSelection();
selection && selection.removeAllRanges();
}
document.body.removeChild(el);
+685 -632
View File
File diff suppressed because it is too large Load Diff
+15 -15
View File
@@ -30,24 +30,24 @@
}
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/core": "^7.4.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@types/core-js": "^2.5.0",
"@types/jest": "^24.0.11",
"@types/node": "^11.11.6",
"@typescript-eslint/eslint-plugin": "^1.5.0",
"@typescript-eslint/parser": "^1.5.0",
"autoprefixer": "^9.5.0",
"@types/node": "^11.13.4",
"@typescript-eslint/eslint-plugin": "^1.6.0",
"@typescript-eslint/parser": "^1.6.0",
"autoprefixer": "^9.5.1",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"clean-webpack-plugin": "^2.0.1",
"copy-webpack-plugin": "^5.0.2",
"css-loader": "^2.1.1",
"eslint": "^5.15.3",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
@@ -55,10 +55,10 @@
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"jest": "^24.5.0",
"jest": "^24.7.1",
"jest-localstorage-mock": "^2.4.0",
"lint-staged": "^8.1.5",
"mini-css-extract-plugin": "^0.5.0",
"mini-css-extract-plugin": "^0.6.0",
"npm-run-all": "^4.1.5",
"postcss-calc": "^7.0.1",
"postcss-csso": "^3.0.0",
@@ -70,18 +70,18 @@
"postcss-wrap": "0.0.4",
"prettier": "^1.16.4",
"style-loader": "^0.23.1",
"ts-jest": "^24.0.0",
"ts-jest": "^24.0.2",
"ts-loader": "^5.3.3",
"typescript": "^3.3.4000",
"typescript": "^3.4.3",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1",
"webpack-dev-server": "^3.3.1",
"whatwg-fetch": "^3.0.0"
},
"dependencies": {
"bem-react-helper": "^1.1.2",
"core-js": "^3.0.0",
"core-js": "^3.0.1",
"focus-visible": "^4.1.5",
"preact": "^8.4.2",
"preact-redux": "^2.0.3",