Bump deps

This commit is contained in:
SleepWalker 2019-11-09 15:07:03 +02:00
parent 39c186e341
commit 116a92b75a
8 changed files with 1873 additions and 2396 deletions

View File

@ -17,11 +17,12 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": "https://github.com/elyby/accounts-frontend", "repository": "https://github.com/elyby/accounts-frontend",
"engines": { "engines": {
"node": ">=8.0.0" "node": ">=10.0.0"
}, },
"workspaces": [ "workspaces": [
"webpack-utils", "webpack-utils",
"scripts" "scripts",
"tests-e2e"
], ],
"scripts": { "scripts": {
"start": "yarn run clean && yarn run build:dll && NODE_PATH=./src webpack-dev-server --colors", "start": "yarn run clean && yarn run build:dll && NODE_PATH=./src webpack-dev-server --colors",
@ -35,7 +36,7 @@
"i18n:push": "babel-node ./scripts/i18n-crowdin.js push", "i18n:push": "babel-node ./scripts/i18n-crowdin.js push",
"i18n:pull": "babel-node ./scripts/i18n-crowdin.js pull", "i18n:pull": "babel-node ./scripts/i18n-crowdin.js pull",
"build": "yarn run clean && yarn run build:webpack", "build": "yarn run clean && yarn run build:webpack",
"build:install": "yarn install && check-node-version", "build:install": "yarn install",
"build:webpack": "NODE_PATH=./src webpack --colors -p --bail", "build:webpack": "NODE_PATH=./src webpack --colors -p --bail",
"build:quiet": "yarn run clean && yarn run build:webpack --quiet", "build:quiet": "yarn run clean && yarn run build:webpack --quiet",
"build:dll": "node ./scripts/build-dll.js" "build:dll": "node ./scripts/build-dll.js"
@ -44,78 +45,77 @@
"classnames": "^2.2.6", "classnames": "^2.2.6",
"copy-to-clipboard": "^3.0.8", "copy-to-clipboard": "^3.0.8",
"debounce": "^1.0.0", "debounce": "^1.0.0",
"flag-icon-css": "^2.8.0", "flag-icon-css": "^3.4.5",
"intl": "^1.2.5", "intl": "^1.2.5",
"promise.prototype.finally": "3.1.0", "promise.prototype.finally": "3.1.1",
"prop-types": "^15.6.2", "prop-types": "^15.6.2",
"raf": "^3.4.1", "raf": "^3.4.1",
"raven-js": "^3.27.0", "raven-js": "^3.27.0",
"react": "^16.7.0", "react": "^16.11.0",
"react-dom": "^16.7.0", "react-dom": "^16.11.0",
"react-helmet": "^5.0.0", "react-helmet": "^5.0.0",
"react-intl": "^2.7.2", "react-intl": "^2.7.2",
"react-motion": "^0.5.0", "react-motion": "^0.5.0",
"react-redux": "^7.1.0", "react-redux": "^7.1.3",
"react-router-dom": "^5.0.1", "react-router-dom": "^5.1.2",
"react-textarea-autosize": "^6.0.0", "react-textarea-autosize": "^7.1.2",
"react-transition-group": "^4.2.0", "react-transition-group": "^4.3.0",
"redux": "^4.0.1", "redux": "^4.0.4",
"redux-localstorage": "^0.4.1", "redux-localstorage": "^0.4.1",
"redux-thunk": "^2.0.0", "redux-thunk": "^2.0.0",
"url-search-params-polyfill": "^6.0.0", "url-search-params-polyfill": "^7.0.0",
"webfontloader": "^1.6.26", "webfontloader": "^1.6.26",
"whatwg-fetch": "^3.0.0" "whatwg-fetch": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.0.0", "@babel/cli": "^7.7.0",
"@babel/core": "^7.0.0", "@babel/core": "^7.7.2",
"@babel/node": "^7.0.0", "@babel/node": "^7.7.0",
"@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.7.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0", "@babel/plugin-proposal-do-expressions": "^7.6.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/plugin-proposal-function-bind": "^7.0.0", "@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.7.0",
"@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0", "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0", "@babel/plugin-proposal-pipeline-operator": "^7.5.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0", "@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.0.0", "@babel/preset-env": "^7.7.1",
"@babel/preset-flow": "^7.0.0", "@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0", "@babel/preset-react": "^7.7.0",
"@babel/runtime-corejs3": "^7.4.5", "@babel/runtime-corejs3": "^7.7.2",
"babel-eslint": "^9.0.0", "babel-eslint": "^10.0.3",
"babel-loader": "^8.0.0", "babel-loader": "^8.0.0",
"babel-plugin-react-intl": "^2.0.0", "babel-plugin-react-intl": "^2.0.0",
"check-node-version": "^2.1.0", "core-js": "3.4.0",
"core-js": "3",
"csp-webpack-plugin": "^2.0.2", "csp-webpack-plugin": "^2.0.2",
"css-loader": "^3.0.0", "css-loader": "^3.2.0",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"dotenv": "^8.2.0", "dotenv": "^8.2.0",
"eager-imports-webpack-plugin": "^1.0.0", "eager-imports-webpack-plugin": "^1.0.0",
"enzyme": "^3.8.0", "enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1", "enzyme-adapter-react-16": "^1.15.1",
"eslint": "^4.0.0", "eslint": "^6.6.0",
"eslint-plugin-flowtype": "^2.46.3", "eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-react": "^7.3.0", "eslint-plugin-react": "^7.16.0",
"exports-loader": "^0.7.0", "exports-loader": "^0.7.0",
"file-loader": "^4.0.0", "file-loader": "^4.2.0",
"flow-bin": "~0.102.0", "flow-bin": "~0.102.0",
"html-loader": "^0.5.5", "html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"imports-loader": "^0.8.0", "imports-loader": "^0.8.0",
"jsdom": "^15.1.1", "jsdom": "^15.2.1",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
"karma": "^4.1.0", "karma": "^4.4.1",
"karma-jsdom-launcher": "^7.1.1", "karma-jsdom-launcher": "^8.0.0",
"karma-mocha": "^1.0.0", "karma-mocha": "^1.0.0",
"karma-nyan-reporter": "^0.2.3", "karma-nyan-reporter": "^0.2.3",
"karma-sinon": "^1.0.4", "karma-sinon": "^1.0.4",
@ -123,25 +123,25 @@
"karma-webpack": "^4.0.2", "karma-webpack": "^4.0.2",
"loader-utils": "^1.0.0", "loader-utils": "^1.0.0",
"mini-css-extract-plugin": "^0.8.0", "mini-css-extract-plugin": "^0.8.0",
"mocha": "^6.1.4", "mocha": "^6.2.2",
"node-sass": "^4.7.2", "node-sass": "^4.13.0",
"postcss-import": "^12.0.1", "postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0", "postcss-loader": "^3.0.0",
"postcss-scss": "^2.0.0", "postcss-scss": "^2.0.0",
"raw-loader": "^3.0.0", "raw-loader": "^3.1.0",
"react-test-renderer": "^16.7.0", "react-test-renderer": "^16.11.0",
"sass-loader": "^7.1.0", "sass-loader": "^8.0.0",
"sinon": "^7.3.2", "sinon": "^7.5.0",
"sitemap-webpack-plugin": "^0.6.0", "sitemap-webpack-plugin": "^0.6.0",
"speed-measure-webpack-plugin": "^1.3.1", "speed-measure-webpack-plugin": "^1.3.1",
"style-loader": "^0.23.1", "style-loader": "^1.0.0",
"unexpected": "^11.6.1", "unexpected": "^11.8.0",
"unexpected-sinon": "^10.5.1", "unexpected-sinon": "^10.5.1",
"url-loader": "^2.0.1", "url-loader": "^2.2.0",
"webpack": "^4.35.0", "webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0", "webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.5", "webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.7.2", "webpack-dev-server": "^3.9.0",
"webpackbar": "^4.0.0" "webpackbar": "^4.0.0"
} }
} }

View File

@ -10,11 +10,11 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@babel/node": "^7.0.0", "@babel/node": "^7.7.0",
"chalk": "^1.1.3", "chalk": "^3.0.0",
"crowdin-api": "erickskrauch/crowdin-api#add_missed_methods_and_fix_files_uploading", "crowdin-api": "erickskrauch/crowdin-api#add_missed_methods_and_fix_files_uploading",
"glob": "^7.1.4", "glob": "^7.1.6",
"iso-639-1": "^2.0.3", "iso-639-1": "^2.1.0",
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"multi-progress": "^2.0.0", "multi-progress": "^2.0.0",
"prompt": "^1.0.0" "prompt": "^1.0.0"

View File

@ -135,9 +135,10 @@ export default class Input extends FormInputComponent<{
try { try {
clearTimeout(copiedStateTimeout); clearTimeout(copiedStateTimeout);
copiedStateTimeout = setTimeout(() => this.setState({wasCopied: false}), 2000);
await copy(value); await copy(value);
this.setState({wasCopied: true}); this.setState({wasCopied: true});
copiedStateTimeout = setTimeout(() => this.setState({wasCopied: false}), 2000);
} catch (err) { } catch (err) {
// it's okay // it's okay
} }

View File

@ -1,6 +1,5 @@
// @flow // @flow
/* eslint camelcase: off */ /* eslint camelcase: off */
import type { Resp } from 'services/request';
import type { ApplicationType } from 'components/dev/apps'; import type { ApplicationType } from 'components/dev/apps';
import request from 'services/request'; import request from 'services/request';

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,8 @@
"keywords": [], "keywords": [],
"author": "", "author": "",
"dependencies": { "dependencies": {
"glob": "^7.1.6",
"loader-utils": "^1.0.0", "loader-utils": "^1.0.0",
"webfonts-generator": "^0.3.2", "webfonts-generator": "0.3.5"
"glob": "^6.0.2"
} }
} }

View File

@ -282,7 +282,7 @@ if (isProduction) {
if (!isProduction && !isTest) { if (!isProduction && !isTest) {
// TODO: review HMR integration // TODO: review HMR integration
webpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin()); // webpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
webpackConfig.devServer = { webpackConfig.devServer = {
host: 'localhost', host: 'localhost',
@ -294,7 +294,7 @@ if (!isProduction && !isTest) {
secure: false // allow self-signed certs secure: false // allow self-signed certs
} }
}, },
hot: true, // hot: true,
inline: true, inline: true,
historyApiFallback: true historyApiFallback: true
}; };

2909
yarn.lock

File diff suppressed because it is too large Load Diff