Skip to content

Commit 9fa8148

Browse files
committed
Update dependencies; bump react to v16.1.1
1 parent 8bf7e66 commit 9fa8148

File tree

8 files changed

+196
-137
lines changed

8 files changed

+196
-137
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"pretty-error": "^2.1.1",
2929
"prop-types": "^15.6.0",
3030
"query-string": "^5.0.1",
31-
"react": "^16.0.0",
32-
"react-dom": "^16.0.0",
33-
"sequelize": "^4.20.3",
31+
"react": "^16.1.1",
32+
"react-dom": "^16.1.1",
33+
"sequelize": "^4.22.6",
3434
"serialize-javascript": "^1.3.0",
3535
"source-map-support": "^0.5.0",
3636
"sqlite3": "^3.1.8",
@@ -56,10 +56,10 @@
5656
"browser-sync": "^2.18.13",
5757
"chokidar": "^1.7.0",
5858
"css-loader": "^0.28.7",
59-
"enzyme": "^3.1.0",
60-
"eslint": "^4.10.0",
59+
"enzyme": "^3.1.1",
60+
"eslint": "^4.11.0",
6161
"eslint-config-airbnb": "^16.1.0",
62-
"eslint-config-prettier": "^2.6.0",
62+
"eslint-config-prettier": "^2.7.0",
6363
"eslint-import-resolver-node": "^0.3.1",
6464
"eslint-loader": "^1.9.0",
6565
"eslint-plugin-css-modules": "^2.7.5",
@@ -69,22 +69,22 @@
6969
"eslint-plugin-prettier": "^2.3.1",
7070
"eslint-plugin-react": "^7.4.0",
7171
"file-loader": "^1.1.5",
72-
"flow-bin": "^0.57.3",
73-
"front-matter": "^2.2.0",
72+
"flow-bin": "^0.59.0",
73+
"front-matter": "^2.3.0",
7474
"glob": "^7.1.2",
7575
"husky": "^0.14.3",
7676
"identity-obj-proxy": "^3.0.0",
7777
"jest": "^21.2.1",
7878
"jscodeshift": "^0.3.32",
79-
"lint-staged": "^4.3.0",
79+
"lint-staged": "^5.0.0",
8080
"markdown-it": "^8.4.0",
8181
"mkdirp": "^0.5.1",
8282
"null-loader": "^0.1.1",
8383
"pixrem": "^4.0.1",
8484
"pleeease-filters": "^4.0.0",
85-
"postcss": "^6.0.13",
85+
"postcss": "^6.0.14",
8686
"postcss-calc": "^6.0.1",
87-
"postcss-color-function": "^4.0.0",
87+
"postcss-color-function": "^4.0.1",
8888
"postcss-custom-media": "^6.0.0",
8989
"postcss-custom-properties": "^6.2.0",
9090
"postcss-custom-selectors": "^4.0.1",
@@ -97,20 +97,20 @@
9797
"postcss-pseudoelements": "^5.0.0",
9898
"postcss-selector-matches": "^3.0.1",
9999
"postcss-selector-not": "^3.0.1",
100-
"prettier": "^1.7.4",
100+
"prettier": "^1.8.2",
101101
"raw-loader": "^0.5.1",
102102
"react-deep-force-update": "^2.1.1",
103103
"react-dev-utils": "^4.2.1",
104104
"react-error-overlay": "^3.0.0",
105-
"react-test-renderer": "^16.0.0",
105+
"react-test-renderer": "^16.1.1",
106106
"rimraf": "^2.6.2",
107107
"stylelint": "^8.2.0",
108108
"stylelint-config-standard": "^17.0.0",
109109
"stylelint-order": "^0.7.0",
110110
"svg-url-loader": "^2.3.0",
111111
"url-loader": "^0.6.2",
112112
"webpack": "^3.8.1",
113-
"webpack-bundle-analyzer": "^2.9.0",
113+
"webpack-bundle-analyzer": "^2.9.1",
114114
"webpack-dev-middleware": "^1.12.0",
115115
"webpack-hot-middleware": "^2.20.0",
116116
"webpack-node-externals": "^1.6.0"

src/components/Html.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ class Html extends React.Component {
6767
dangerouslySetInnerHTML={{
6868
__html:
6969
'window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;' +
70-
`ga('create','${config.analytics
71-
.googleTrackingId}','auto');ga('send','pageview')`,
70+
`ga('create','${
71+
config.analytics.googleTrackingId
72+
}','auto');ga('send','pageview')`,
7273
}}
7374
/>
7475
)}

src/passport.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ passport.use(
6161
profile: {
6262
displayName: profile.displayName,
6363
gender: profile._json.gender,
64-
picture: `https://graph.facebook.com/${profile.id}/picture?type=large`,
64+
picture: `https://graph.facebook.com/${
65+
profile.id
66+
}/picture?type=large`,
6567
},
6668
},
6769
{
@@ -111,7 +113,9 @@ passport.use(
111113
profile: {
112114
displayName: profile.displayName,
113115
gender: profile._json.gender,
114-
picture: `https://graph.facebook.com/${profile.id}/picture?type=large`,
116+
picture: `https://graph.facebook.com/${
117+
profile.id
118+
}/picture?type=large`,
115119
},
116120
},
117121
{

tools/render.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ async function render() {
6060
await writeFile(dist, text);
6161
const time = timeEnd.getTime() - timeStart.getTime();
6262
console.info(
63-
`#${index +
64-
1} ${dist} => ${response.status} ${response.statusText} (${time} ms)`,
63+
`#${index + 1} ${dist} => ${response.status} ${response.statusText} (${
64+
time
65+
} ms)`,
6566
);
6667
}),
6768
);

tools/run.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ function run(fn, options) {
1515
const task = typeof fn.default === 'undefined' ? fn : fn.default;
1616
const start = new Date();
1717
console.info(
18-
`[${format(start)}] Starting '${task.name}${options
19-
? ` (${options})`
20-
: ''}'...`,
18+
`[${format(start)}] Starting '${task.name}${
19+
options ? ` (${options})` : ''
20+
}'...`,
2121
);
2222
return task(options).then(resolution => {
2323
const end = new Date();
2424
const time = end.getTime() - start.getTime();
2525
console.info(
26-
`[${format(end)}] Finished '${task.name}${options
27-
? ` (${options})`
28-
: ''}' after ${time} ms`,
26+
`[${format(end)}] Finished '${task.name}${
27+
options ? ` (${options})` : ''
28+
}' after ${time} ms`,
2929
);
3030
return resolution;
3131
});

tools/runServer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ function runServer() {
5454
server.once('exit', (code, signal) => {
5555
if (pending) {
5656
throw new Error(
57-
`Server terminated unexpectedly with code: ${code} signal: ${signal}`,
57+
`Server terminated unexpectedly with code: ${code} signal: ${
58+
signal
59+
}`,
5860
);
5961
}
6062
});

tools/start.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ function createCompilationPromise(name, compiler, config) {
4747
reject(new Error('Compilation failed!'));
4848
} else {
4949
console.info(
50-
`[${format(
51-
timeEnd,
52-
)}] Finished '${name}' compilation after ${time} ms`,
50+
`[${format(timeEnd)}] Finished '${name}' compilation after ${
51+
time
52+
} ms`,
5353
);
5454
resolve(stats);
5555
}

0 commit comments

Comments
 (0)