Merge pull request #1671 from mewtaylor/issue/node-upgrade

Upgrade compatibility to node 8
This commit is contained in:
Matthew Taylor 2017-12-11 15:52:35 -05:00 committed by GitHub
commit 758371dadd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
language: node_js language: node_js
node_js: node_js:
- '4.2' - '8'
sudo: required sudo: required
cache: cache:
directories: directories:

View file

@ -36,7 +36,7 @@ https.get('https://resources.scratch.mit.edu/localized-urls.json', (res) => {
res.on('end', () => { res.on('end', () => {
try { try {
var urlJson = JSON.parse(urlData); var urlJson = JSON.parse(urlData);
fs.writeFile(filename, JSON.stringify(urlJson, null, ' ')); fs.writeFileSync(filename, JSON.stringify(urlJson, null, ' '));
} catch (e) { } catch (e) {
process.stdout.write(`Failed parsing url data: ${e.message}\n`); process.stdout.write(`Failed parsing url data: ${e.message}\n`);
process.exit(1); process.exit(1);

View file

@ -24,8 +24,8 @@
"dependencies": { "dependencies": {
"bunyan": "1.7.1", "bunyan": "1.7.1",
"compression": "1.6.1", "compression": "1.6.1",
"express": "4.13.4", "express": "4.16.1",
"express-http-proxy": "0.6.0", "express-http-proxy": "1.1.0",
"lodash.defaults": "4.0.1", "lodash.defaults": "4.0.1",
"newrelic": "1.25.4", "newrelic": "1.25.4",
"raven": "0.10.0" "raven": "0.10.0"
@ -66,7 +66,7 @@
"lodash.range": "3.0.1", "lodash.range": "3.0.1",
"minilog": "2.0.8", "minilog": "2.0.8",
"node-dir": "0.1.16", "node-dir": "0.1.16",
"node-sass": "3.3.3", "node-sass": "4.6.1",
"pako": "0.2.8", "pako": "0.2.8",
"po2icu": "0.0.2", "po2icu": "0.0.2",
"postcss-loader": "0.8.2", "postcss-loader": "0.8.2",