chore(package): update dependencies
This commit is contained in:
parent
18ca6b935c
commit
be9eb8ce91
@ -1,12 +1,12 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['standard', 'standard-jsx'],
|
extends: ['standard', 'standard-jsx'],
|
||||||
globals: {
|
globals: {
|
||||||
__DEV__: true
|
__DEV__: true,
|
||||||
},
|
},
|
||||||
parser: 'babel-eslint',
|
parser: 'babel-eslint',
|
||||||
rules: {
|
rules: {
|
||||||
'comma-dangle': ['error', 'always-multiline'],
|
'comma-dangle': ['error', 'always-multiline'],
|
||||||
'no-var': 'error',
|
'no-var': 'error',
|
||||||
'prefer-const': 'error'
|
'prefer-const': 'error',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
semi: false,
|
semi: false,
|
||||||
singleQuote: true
|
singleQuote: true,
|
||||||
}
|
}
|
||||||
|
30
package.json
30
package.json
@ -34,7 +34,7 @@
|
|||||||
"@nraynaud/novnc": "0.6.1",
|
"@nraynaud/novnc": "0.6.1",
|
||||||
"ansi_up": "^2.0.2",
|
"ansi_up": "^2.0.2",
|
||||||
"asap": "^2.0.6",
|
"asap": "^2.0.6",
|
||||||
"babel-eslint": "^8.0.2",
|
"babel-eslint": "^8.0.3",
|
||||||
"babel-plugin-dev": "^1.0.0",
|
"babel-plugin-dev": "^1.0.0",
|
||||||
"babel-plugin-lodash": "^3.2.11",
|
"babel-plugin-lodash": "^3.2.11",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
||||||
@ -58,12 +58,12 @@
|
|||||||
"chartist-plugin-tooltip": "0.0.11",
|
"chartist-plugin-tooltip": "0.0.11",
|
||||||
"classnames": "^2.2.3",
|
"classnames": "^2.2.3",
|
||||||
"cookies-js": "^1.2.2",
|
"cookies-js": "^1.2.2",
|
||||||
"d3": "^4.11.0",
|
"d3": "^4.12.0",
|
||||||
"dependency-check": "^2.5.1",
|
"dependency-check": "^2.9.2",
|
||||||
"enzyme": "^3.1.1",
|
"enzyme": "^3.1.1",
|
||||||
"enzyme-adapter-react-15": "^1.0.5",
|
"enzyme-adapter-react-15": "^1.0.5",
|
||||||
"enzyme-to-json": "^3.2.2",
|
"enzyme-to-json": "^3.3.0",
|
||||||
"eslint": "^4.11.0",
|
"eslint": "^4.13.1",
|
||||||
"eslint-config-standard": "^10.2.1",
|
"eslint-config-standard": "^10.2.1",
|
||||||
"eslint-config-standard-jsx": "^4.0.2",
|
"eslint-config-standard-jsx": "^4.0.2",
|
||||||
"eslint-plugin-import": "^2.8.0",
|
"eslint-plugin-import": "^2.8.0",
|
||||||
@ -87,25 +87,25 @@
|
|||||||
"gulp-sourcemaps": "^2.2.3",
|
"gulp-sourcemaps": "^2.2.3",
|
||||||
"gulp-uglify": "^3.0.0",
|
"gulp-uglify": "^3.0.0",
|
||||||
"gulp-watch": "^4.3.5",
|
"gulp-watch": "^4.3.5",
|
||||||
"human-format": "^0.9.0",
|
"human-format": "^0.9.2",
|
||||||
"husky": "^0.14.3",
|
"husky": "^0.14.3",
|
||||||
"immutable": "^3.8.2",
|
"immutable": "^3.8.2",
|
||||||
"index-modules": "^0.3.0",
|
"index-modules": "^0.3.0",
|
||||||
"is-ip": "^2.0.0",
|
"is-ip": "^2.0.0",
|
||||||
"jest": "^21.2.1",
|
"jest": "^22.0.0",
|
||||||
"jsonrpc-websocket-client": "^0.2.0",
|
"jsonrpc-websocket-client": "^0.2.0",
|
||||||
"kindof": "^2.0.0",
|
"kindof": "^2.0.0",
|
||||||
"later": "^1.2.0",
|
"later": "^1.2.0",
|
||||||
"lint-staged": "^5.0.0",
|
"lint-staged": "^6.0.0",
|
||||||
"lodash": "^4.6.1",
|
"lodash": "^4.6.1",
|
||||||
"loose-envify": "^1.1.0",
|
"loose-envify": "^1.1.0",
|
||||||
"make-error": "^1.2.1",
|
"make-error": "^1.2.1",
|
||||||
"marked": "^0.3.5",
|
"marked": "^0.3.7",
|
||||||
"modular-css": "^7.0.0",
|
"modular-css": "^7.2.0",
|
||||||
"moment": "^2.19.2",
|
"moment": "^2.20.0",
|
||||||
"moment-timezone": "^0.5.14",
|
"moment-timezone": "^0.5.14",
|
||||||
"notifyjs": "^3.0.0",
|
"notifyjs": "^3.0.0",
|
||||||
"prettier": "^1.9.1",
|
"prettier": "^1.9.2",
|
||||||
"promise-toolbox": "^0.9.5",
|
"promise-toolbox": "^0.9.5",
|
||||||
"random-password": "^0.1.2",
|
"random-password": "^0.1.2",
|
||||||
"react": "^15.4.1",
|
"react": "^15.4.1",
|
||||||
@ -125,7 +125,7 @@
|
|||||||
"react-overlays": "^0.8.3",
|
"react-overlays": "^0.8.3",
|
||||||
"react-redux": "^5.0.6",
|
"react-redux": "^5.0.6",
|
||||||
"react-router": "^3.0.0",
|
"react-router": "^3.0.0",
|
||||||
"react-select": "^1.0.0-rc.10",
|
"react-select": "^1.1.0",
|
||||||
"react-shortcuts": "^2.0.0",
|
"react-shortcuts": "^2.0.0",
|
||||||
"react-sparklines": "1.6.0",
|
"react-sparklines": "1.6.0",
|
||||||
"react-test-renderer": "^15.6.2",
|
"react-test-renderer": "^15.6.2",
|
||||||
@ -138,9 +138,9 @@
|
|||||||
"redux-thunk": "^2.0.1",
|
"redux-thunk": "^2.0.1",
|
||||||
"reselect": "^2.5.4",
|
"reselect": "^2.5.4",
|
||||||
"semver": "^5.4.1",
|
"semver": "^5.4.1",
|
||||||
"styled-components": "^2.2.3",
|
"styled-components": "^2.3.0",
|
||||||
"tar-stream": "^1.5.5",
|
"tar-stream": "^1.5.5",
|
||||||
"uglify-es": "^3.1.10",
|
"uglify-es": "^3.2.2",
|
||||||
"uncontrollable-input": "^0.0.1",
|
"uncontrollable-input": "^0.0.1",
|
||||||
"url-parse": "^1.2.0",
|
"url-parse": "^1.2.0",
|
||||||
"vinyl": "^2.1.0",
|
"vinyl": "^2.1.0",
|
||||||
|
@ -225,14 +225,14 @@ export default class XoParallelChart extends Component {
|
|||||||
.attr('transform', d => `translate(${x(d)})`)
|
.attr('transform', d => `translate(${x(d)})`)
|
||||||
|
|
||||||
// 4. Draw titles.
|
// 4. Draw titles.
|
||||||
;columns
|
columns
|
||||||
.append('text')
|
.append('text')
|
||||||
.text(columnId => labels[columnId])
|
.text(columnId => labels[columnId])
|
||||||
.attr('y', -50)
|
.attr('y', -50)
|
||||||
::setStyles(COLUMN_TITLE_STYLE)
|
::setStyles(COLUMN_TITLE_STYLE)
|
||||||
|
|
||||||
// 5. Draw axis.
|
// 5. Draw axis.
|
||||||
;columns
|
columns
|
||||||
.append('g')
|
.append('g')
|
||||||
.each((columnId, axisId, axes) => {
|
.each((columnId, axisId, axes) => {
|
||||||
const axis = d3
|
const axis = d3
|
||||||
@ -262,7 +262,7 @@ export default class XoParallelChart extends Component {
|
|||||||
])
|
])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
;svg
|
svg
|
||||||
.append('g')
|
.append('g')
|
||||||
.attr('class', 'linesContainer')
|
.attr('class', 'linesContainer')
|
||||||
::setStyles(LINES_CONTAINER_STYLE)
|
::setStyles(LINES_CONTAINER_STYLE)
|
||||||
|
@ -186,7 +186,7 @@ class XoWeekChart extends Component {
|
|||||||
this._drawHorizonArea(props.data, props.maxValue)
|
this._drawHorizonArea(props.data, props.maxValue)
|
||||||
|
|
||||||
// 3. Update x axis.
|
// 3. Update x axis.
|
||||||
;svg
|
svg
|
||||||
.select('.x-axis')
|
.select('.x-axis')
|
||||||
.call(this._xAxis)
|
.call(this._xAxis)
|
||||||
.attr('transform', `translate(0, ${props.chartHeight})`)
|
.attr('transform', `translate(0, ${props.chartHeight})`)
|
||||||
@ -246,19 +246,19 @@ class XoWeekChart extends Component {
|
|||||||
.select(this.refs.chart)
|
.select(this.refs.chart)
|
||||||
.append('svg')
|
.append('svg')
|
||||||
.attr('transform', `translate(${HORIZON_AREA_MARGIN}, 0)`))
|
.attr('transform', `translate(${HORIZON_AREA_MARGIN}, 0)`))
|
||||||
;svg
|
svg
|
||||||
.append('g')
|
.append('g')
|
||||||
.attr('class', 'x-axis')
|
.attr('class', 'x-axis')
|
||||||
::setStyles(X_AXIS_STYLE)
|
::setStyles(X_AXIS_STYLE)
|
||||||
|
|
||||||
svg.append('g').attr('class', 'horizon-area')
|
svg.append('g').attr('class', 'horizon-area')
|
||||||
;svg
|
svg
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('class', 'label')
|
.attr('class', 'label')
|
||||||
::setStyles(LABEL_STYLE)
|
::setStyles(LABEL_STYLE)
|
||||||
|
|
||||||
// Tooltip ---------------------------------------------
|
// Tooltip ---------------------------------------------
|
||||||
;svg
|
svg
|
||||||
.append('rect')
|
.append('rect')
|
||||||
.attr('class', 'mouse-area')
|
.attr('class', 'mouse-area')
|
||||||
.on('mousemove', this._handleMouseMove)
|
.on('mousemove', this._handleMouseMove)
|
||||||
@ -268,12 +268,12 @@ class XoWeekChart extends Component {
|
|||||||
.append('g')
|
.append('g')
|
||||||
.attr('class', 'hover-container')
|
.attr('class', 'hover-container')
|
||||||
::setStyles('pointer-events', 'none')
|
::setStyles('pointer-events', 'none')
|
||||||
;hover
|
hover
|
||||||
.append('line')
|
.append('line')
|
||||||
.attr('class', 'hover-line')
|
.attr('class', 'hover-line')
|
||||||
.attr('y1', 0)
|
.attr('y1', 0)
|
||||||
::setStyles(HOVER_LINE_STYLE)
|
::setStyles(HOVER_LINE_STYLE)
|
||||||
;hover
|
hover
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('class', 'hover-text')
|
.attr('class', 'hover-text')
|
||||||
::setStyles(HOVER_TEXT_STYLE)
|
::setStyles(HOVER_TEXT_STYLE)
|
||||||
|
@ -55,7 +55,7 @@ class Plugin extends Component {
|
|||||||
const method = event.target.checked
|
const method = event.target.checked
|
||||||
? enablePluginAutoload
|
? enablePluginAutoload
|
||||||
: disablePluginAutoload
|
: disablePluginAutoload
|
||||||
;method(this.props.id)::lastly(() => {
|
method(this.props.id)::lastly(() => {
|
||||||
this._updateAutoload = false
|
this._updateAutoload = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user