зеркало из https://github.com/mozilla/fleet.git
Update dependencies to latest minor releases (#1803)
This commit is contained in:
Родитель
71217e6c52
Коммит
47664009b9
|
@ -11,12 +11,12 @@ interface IAvatarInterface {
|
||||||
user: IAvatarUserInterface;
|
user: IAvatarUserInterface;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IAvatarState {}
|
interface IAvatarState { }
|
||||||
|
|
||||||
const baseClass = 'avatar';
|
const baseClass = 'avatar';
|
||||||
|
|
||||||
class Avatar extends React.Component<IAvatarInterface, IAvatarState> {
|
class Avatar extends React.Component<IAvatarInterface, IAvatarState> {
|
||||||
render (): JSX.Element {
|
render(): JSX.Element {
|
||||||
const { className, size, user } = this.props;
|
const { className, size, user } = this.props;
|
||||||
const isSmall = size && size.toLowerCase() === 'small';
|
const isSmall = size && size.toLowerCase() === 'small';
|
||||||
const avatarClasses = classnames(baseClass, className, {
|
const avatarClasses = classnames(baseClass, className, {
|
||||||
|
|
|
@ -33,7 +33,7 @@ class Button extends React.Component<IButtonProps, IButtonState> {
|
||||||
|
|
||||||
inputs: Inputs = {};
|
inputs: Inputs = {};
|
||||||
|
|
||||||
componentDidMount () {
|
componentDidMount() {
|
||||||
const { autofocus } = this.props;
|
const { autofocus } = this.props;
|
||||||
const { inputs: { button } } = this;
|
const { inputs: { button } } = this;
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class Button extends React.Component<IButtonProps, IButtonState> {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render() {
|
||||||
const { handleClick, setRef } = this;
|
const { handleClick, setRef } = this;
|
||||||
const { block, children, className, disabled, size, tabIndex, type, title, variant } = this.props;
|
const { block, children, className, disabled, size, tabIndex, type, title, variant } = this.props;
|
||||||
const fullClassName = classnames(baseClass, `${baseClass}--${variant}`, className, {
|
const fullClassName = classnames(baseClass, `${baseClass}--${variant}`, className, {
|
||||||
|
|
184
package.json
184
package.json
|
@ -1,120 +1,110 @@
|
||||||
{
|
{
|
||||||
"name": "Kolide",
|
"name": "@kolide/fleet",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "Kolide, Black Box Security. Unboxed",
|
"description": "Kolide, Black Box Security. Unboxed",
|
||||||
"author": "Kolide, Inc.",
|
"author": "Kolide, Inc.",
|
||||||
"private": "true",
|
"private": true,
|
||||||
"sasslintConfig": ".sass-lint.yml",
|
"sasslintConfig": ".sass-lint.yml",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "make lint-js && make lint-scss && make lint-ts",
|
"lint": "make lint-js && make lint-scss && make lint-ts",
|
||||||
"test": "make test-js"
|
"test": "make test-js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/classnames": "0.0.31",
|
"bourbon": "4.2.7",
|
||||||
"@types/expect": "^1.13.30",
|
"brace": "0.11.1",
|
||||||
"@types/mocha": "^2.2.32",
|
"classnames": "2.2.5",
|
||||||
"@types/react": "^0.14.43",
|
"enzyme": "2.4.2",
|
||||||
"babel-core": "6.11.4",
|
"es6-object-assign": "1.1.0",
|
||||||
"babel-eslint": "6.1.2",
|
"es6-promise": "4.2.4",
|
||||||
"babel-loader": "6.2.4",
|
"expect": "1.20.2",
|
||||||
"babel-preset-es2015": "6.9.0",
|
"express": "4.16.3",
|
||||||
"babel-preset-es2016": "6.11.3",
|
"file-saver": "1.3.8",
|
||||||
"babel-preset-react": "6.11.1",
|
"history": "2.1.0",
|
||||||
"babel-preset-react-hmre": "1.1.1",
|
"import-glob-loader": "1.1.0",
|
||||||
"babel-preset-stage-0": "6.5.0",
|
"isomorphic-fetch": "2.2.1",
|
||||||
"bourbon": "~4.2.7",
|
"js-md5": "0.7.3",
|
||||||
"brace": "^0.8.0",
|
"jsdom": "9.12.0",
|
||||||
"classnames": "^2.2.5",
|
"lodash": "4.17.10",
|
||||||
"cssrecipes-defaults": "^0.5.0",
|
"moment": "2.22.2",
|
||||||
"enzyme": "^2.4.1",
|
"nock": "8.2.2",
|
||||||
"es6-object-assign": "^1.0.3",
|
"node-bourbon": "4.2.8",
|
||||||
"es6-promise": "^4.0.5",
|
"node-sass": "4.9.0",
|
||||||
"expect": "^1.20.2",
|
"normalizr": "2.3.1",
|
||||||
"express": "^4.13.4",
|
"proxy-middleware": "0.15.0",
|
||||||
"file-saver": "^1.3.3",
|
"rc-pagination": "1.16.3",
|
||||||
"history": "2.0.0",
|
"react-ace": "3.7.0",
|
||||||
"import-glob-loader": "^1.1.0",
|
"react-addons-css-transition-group": "15.6.2",
|
||||||
"isomorphic-fetch": "^2.2.1",
|
"react-dom": "15.6.2",
|
||||||
"js-md5": "^0.4.1",
|
"react-entity-getter": "0.0.8",
|
||||||
"jsdom": "9.9.1",
|
"react-redux-loading-bar": "2.9.3",
|
||||||
"lodash": "^4.3.0",
|
"react-redux": "4.4.9",
|
||||||
"moment": "^2.15.1",
|
"react-router-redux": "4.0.8",
|
||||||
"nock": "^8.0.0",
|
"react-router-transition": "0.1.1",
|
||||||
"node-bourbon": "^4.2.8",
|
"react-router": "2.8.1",
|
||||||
"node-sass": "^4.8.3",
|
"react-select": "1.2.1",
|
||||||
"normalizr": "^2.2.1",
|
"react": "15.6.2",
|
||||||
"proxy-middleware": "^0.15.0",
|
"redux-mock-store": "1.4.0",
|
||||||
"rc-pagination": "^1.12.10",
|
"redux-thunk": "2.3.0",
|
||||||
"react": "^15.3.2",
|
"redux": "3.7.2",
|
||||||
"react-ace": "^3.6.0",
|
"require-hacker": "2.1.4",
|
||||||
"react-addons-css-transition-group": "^15.3.2",
|
"select": "1.1.2",
|
||||||
"react-dom": "^15.3.2",
|
"sockjs-client": "1.1.5",
|
||||||
"react-entity-getter": "0.0.5",
|
"sqlite-parser": "1.0.1",
|
||||||
"react-redux": "^4.4.5",
|
"whatwg-fetch": "0.11.1",
|
||||||
"react-redux-loading-bar": "^2.6.5",
|
"when": "3.7.8"
|
||||||
"react-router": "^2.7.0",
|
|
||||||
"react-router-redux": "^4.0.5",
|
|
||||||
"react-router-transition": "0.0.6",
|
|
||||||
"react-select": "^1.0.0-rc.2",
|
|
||||||
"redux": "^3.6.0",
|
|
||||||
"redux-mock-store": "^1.2.0",
|
|
||||||
"redux-thunk": "^2.1.0",
|
|
||||||
"require-hacker": "^2.1.4",
|
|
||||||
"select": "^1.0.6",
|
|
||||||
"sockjs-client": "^1.1.2",
|
|
||||||
"sqlite-parser": "^1.0.0",
|
|
||||||
"tslint": "^3.15.1",
|
|
||||||
"typescript": "~2.0.7",
|
|
||||||
"whatwg-fetch": "^0.11.0",
|
|
||||||
"when": "^3.7.7"
|
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": ["env", "react", "stage-0"],
|
||||||
"es2015",
|
|
||||||
"react",
|
|
||||||
"stage-0"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"dev": {
|
"dev": {
|
||||||
"presets": [
|
"presets": ["react-hmre"]
|
||||||
"react-hmre"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^6.0.46",
|
"@types/classnames": "0.0.32",
|
||||||
"babel-eslint": "^6.1.2",
|
"@types/expect": "1.20.3",
|
||||||
"css-loader": "0.27.1",
|
"@types/mocha": "2.2.48",
|
||||||
"eslint": "3.6.0",
|
"@types/node": "6.0.112",
|
||||||
|
"@types/react": "0.14.57",
|
||||||
|
"babel-core": "6.26.3",
|
||||||
|
"babel-eslint": "6.1.2",
|
||||||
|
"babel-loader": "6.4.1",
|
||||||
|
"babel-preset-env": "1.7.0",
|
||||||
|
"babel-preset-react-hmre": "1.1.1",
|
||||||
|
"babel-preset-react": "6.24.1",
|
||||||
|
"babel-preset-stage-0": "6.24.1",
|
||||||
|
"css-loader": "0.28.11",
|
||||||
"eslint-config-airbnb": "12.0.0",
|
"eslint-config-airbnb": "12.0.0",
|
||||||
"eslint-import-resolver-webpack": "^0.6.0",
|
"eslint-import-resolver-webpack": "0.10.0",
|
||||||
"eslint-plugin-import": "1.16.0",
|
"eslint-plugin-import": "1.16.0",
|
||||||
"eslint-plugin-jsx-a11y": "2.2.2",
|
"eslint-plugin-jsx-a11y": "2.2.3",
|
||||||
"eslint-plugin-react": "6.3.0",
|
"eslint-plugin-react": "6.10.3",
|
||||||
"expose-loader": "0.7.3",
|
"eslint": "3.19.0",
|
||||||
"extract-text-webpack-plugin": "2.1.0",
|
"expose-loader": "0.7.5",
|
||||||
"file-loader": "0.10.1",
|
"extract-text-webpack-plugin": "2.1.2",
|
||||||
"html-webpack-plugin": "2.28.0",
|
"file-loader": "0.11.2",
|
||||||
"ignore-styles": "^5.0.1",
|
"html-webpack-plugin": "2.30.1",
|
||||||
"json-loader": "0.5.4",
|
"ignore-styles": "5.0.1",
|
||||||
"mocha": "^3.0.2",
|
"json-loader": "0.5.7",
|
||||||
|
"mocha": "3.5.3",
|
||||||
"raw-loader": "0.5.1",
|
"raw-loader": "0.5.1",
|
||||||
"react-addons-test-utils": "^15.3.1",
|
"react-addons-test-utils": "15.6.2",
|
||||||
"sass-lint": "^1.9.1",
|
"sass-lint": "1.12.1",
|
||||||
"sass-loader": "6.0.3",
|
"sass-loader": "6.0.7",
|
||||||
"source-map-loader": "^0.1.5",
|
"source-map-loader": "0.2.3",
|
||||||
"style-loader": "0.13.2",
|
"style-loader": "0.21.0",
|
||||||
"ts-loader": "^0.9.5",
|
"ts-loader": "0.9.5",
|
||||||
"ts-node": "^1.6.1",
|
"ts-node": "1.7.3",
|
||||||
"tslint-eslint-rules": "^2.1.0",
|
"tslint-eslint-rules": "5.3.1",
|
||||||
"tslint-react": "^1.1.0",
|
"tslint-react": "3.6.0",
|
||||||
"typescript": "^2.1.0-dev.20161031",
|
"tslint": "5.10.0",
|
||||||
"typescript-require": "^0.2.9-1",
|
"typescript-require": "0.2.10",
|
||||||
"url-loader": "0.5.8",
|
"typescript": "2.3.4",
|
||||||
"webpack": "2.2.1",
|
"url-loader": "0.6.2",
|
||||||
"webpack-dev-middleware": "1.10.1",
|
"webpack-dev-middleware": "1.12.2",
|
||||||
"webpack-hot-middleware": "2.17.1",
|
"webpack-hot-middleware": "2.22.2",
|
||||||
"webpack-notifier": "1.5.0"
|
"webpack-notifier": "1.6.0",
|
||||||
|
"webpack": "2.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"jsx": "react"
|
"jsx": "react",
|
||||||
|
"types": [ "classnames", "node", "mocha", "react", "expect" ]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./frontend/**/*"
|
"./frontend/**/*"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": ["tslint:recommended", "tslint-react" ],
|
"extends": ["tslint:recommended", "tslint-react"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"member-access": false,
|
"member-access": false,
|
||||||
"no-var-requires": false,
|
"no-var-requires": false,
|
||||||
"quotemark": [true, "single", "avoid-escape"]
|
"quotemark": [true, "single", "avoid-escape"],
|
||||||
|
"no-empty-interface": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4808
yarn.lock
4808
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче