Skip to content

Commit e34b208

Browse files
authored
Updated all deps to latest semver (electron-react-boilerplate#1019)
1 parent 4cbdd21 commit e34b208

File tree

3 files changed

+487
-459
lines changed

3 files changed

+487
-459
lines changed

app/actions/counter.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// @flow
22
import type { counterStateType } from '../reducers/counter';
33

4+
type actionType = {
5+
type: string
6+
};
7+
48
export const INCREMENT_COUNTER = 'INCREMENT_COUNTER';
59
export const DECREMENT_COUNTER = 'DECREMENT_COUNTER';
610

@@ -17,7 +21,7 @@ export function decrement() {
1721
}
1822

1923
export function incrementIfOdd() {
20-
return (dispatch: () => void, getState: () => counterStateType) => {
24+
return (dispatch: (action: actionType) => void, getState: () => counterStateType) => {
2125
const { counter } = getState();
2226

2327
if (counter % 2 === 0) {
@@ -29,7 +33,7 @@ export function incrementIfOdd() {
2933
}
3034

3135
export function incrementAsync(delay: number = 1000) {
32-
return (dispatch: () => void) => {
36+
return (dispatch: (action: actionType) => void) => {
3337
setTimeout(() => {
3438
dispatch(increment());
3539
}, delay);

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"asar": "^0.13.0",
117117
"babel-core": "^6.24.1",
118118
"babel-eslint": "^7.2.3",
119-
"babel-jest": "^20.0.1",
119+
"babel-jest": "^20.0.3",
120120
"babel-loader": "^7.0.0",
121121
"babel-plugin-add-module-exports": "^0.2.1",
122122
"babel-plugin-dev-expression": "^0.2.1",
@@ -125,63 +125,63 @@
125125
"babel-plugin-transform-class-properties": "^6.24.1",
126126
"babel-plugin-transform-es2015-classes": "^6.24.1",
127127
"babel-polyfill": "^6.23.0",
128-
"babel-preset-env": "^1.4.0",
128+
"babel-preset-env": "^1.5.1",
129129
"babel-preset-react": "^6.24.1",
130130
"babel-preset-react-hmre": "^1.1.1",
131131
"babel-preset-react-optimize": "^1.0.1",
132132
"babel-preset-stage-0": "^6.24.1",
133133
"babel-register": "^6.24.1",
134-
"babili-webpack-plugin": "^0.0.11",
134+
"babili-webpack-plugin": "^0.1.1",
135135
"chalk": "^1.1.3",
136136
"concurrently": "^3.4.0",
137137
"cross-env": "^5.0.0",
138138
"cross-spawn": "^5.1.0",
139-
"css-loader": "^0.28.1",
139+
"css-loader": "^0.28.3",
140140
"devtron": "^1.4.0",
141-
"electron": "^1.6.7",
142-
"electron-builder": "^17.8.0",
141+
"electron": "^1.6.10",
142+
"electron-builder": "^18.0.1",
143143
"electron-devtools-installer": "^2.2.0",
144144
"enzyme": "^2.8.2",
145145
"enzyme-to-json": "^1.5.1",
146146
"eslint": "^3.19.0",
147-
"eslint-config-airbnb": "^15.0.0",
147+
"eslint-config-airbnb": "^15.0.1",
148148
"eslint-formatter-pretty": "^1.1.0",
149149
"eslint-import-resolver-webpack": "^0.8.1",
150-
"eslint-plugin-compat": "^1.0.2",
150+
"eslint-plugin-compat": "^1.0.3",
151151
"eslint-plugin-flowtype": "^2.33.0",
152-
"eslint-plugin-flowtype-errors": "^3.2.1",
153-
"eslint-plugin-import": "^2.2.0",
154-
"eslint-plugin-jest": "^20.0.1",
155-
"eslint-plugin-jsx-a11y": "^5.0.1",
152+
"eslint-plugin-flowtype-errors": "^3.3.0",
153+
"eslint-plugin-import": "^2.3.0",
154+
"eslint-plugin-jest": "^20.0.3",
155+
"eslint-plugin-jsx-a11y": "^5.0.3",
156156
"eslint-plugin-promise": "^3.5.0",
157157
"eslint-plugin-react": "^7.0.1",
158-
"express": "^4.15.2",
158+
"express": "^4.15.3",
159159
"extract-text-webpack-plugin": "^2.1.0",
160160
"fbjs-scripts": "^0.7.1",
161161
"file-loader": "^0.11.1",
162-
"flow-bin": "^0.46.0",
162+
"flow-bin": "^0.47.0",
163163
"flow-runtime": "^0.12.0",
164164
"flow-typed": "^2.1.2",
165165
"html-webpack-plugin": "^2.28.0",
166166
"identity-obj-proxy": "^3.0.0",
167-
"jest": "^20.0.1",
168-
"jsdom": "^10.1.0",
167+
"jest": "^20.0.4",
168+
"jsdom": "^11.0.0",
169169
"minimist": "^1.2.0",
170-
"node-sass": "^4.5.2",
170+
"node-sass": "^4.5.3",
171171
"react-addons-test-utils": "^15.5.1",
172172
"react-test-renderer": "^15.5.4",
173-
"redux-logger": "^3.0.1",
173+
"redux-logger": "^3.0.6",
174174
"rimraf": "^2.6.1",
175175
"sass-loader": "^6.0.5",
176-
"sinon": "^2.2.0",
176+
"sinon": "^2.3.1",
177177
"spectron": "^3.7.0",
178-
"style-loader": "^0.17.0",
178+
"style-loader": "^0.18.1",
179179
"stylefmt": "^5.3.2",
180180
"stylelint": "^7.10.1",
181181
"stylelint-config-standard": "^16.0.0",
182182
"url-loader": "^0.5.8",
183-
"webpack": "^2.5.1",
184-
"webpack-bundle-analyzer": "^2.8.1",
183+
"webpack": "^2.6.1",
184+
"webpack-bundle-analyzer": "^2.8.2",
185185
"webpack-dev-server": "^2.4.5",
186186
"webpack-merge": "^4.1.0"
187187
},
@@ -192,7 +192,7 @@
192192
"react": "^15.5.4",
193193
"react-dom": "^15.5.4",
194194
"react-hot-loader": "3.0.0-beta.6",
195-
"react-redux": "^5.0.4",
195+
"react-redux": "^5.0.5",
196196
"react-router": "^4.1.1",
197197
"react-router-dom": "^4.1.1",
198198
"react-router-redux": "^5.0.0-alpha.6",

0 commit comments

Comments
 (0)