diff --git a/.travis.yml b/.travis.yml index e97bd7f5f..7dad1d6b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: -- '4.2' +- '8' sudo: required cache: directories: diff --git a/bin/get-localized-urls b/bin/get-localized-urls index 116b60517..901665143 100755 --- a/bin/get-localized-urls +++ b/bin/get-localized-urls @@ -36,7 +36,7 @@ https.get('https://resources.scratch.mit.edu/localized-urls.json', (res) => { res.on('end', () => { try { var urlJson = JSON.parse(urlData); - fs.writeFile(filename, JSON.stringify(urlJson, null, ' ')); + fs.writeFileSync(filename, JSON.stringify(urlJson, null, ' ')); } catch (e) { process.stdout.write(`Failed parsing url data: ${e.message}\n`); process.exit(1); diff --git a/package.json b/package.json index 564509c2d..34ca1da5f 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "dependencies": { "bunyan": "1.7.1", "compression": "1.6.1", - "express": "4.13.4", - "express-http-proxy": "0.6.0", + "express": "4.16.1", + "express-http-proxy": "1.1.0", "lodash.defaults": "4.0.1", "newrelic": "1.25.4", "raven": "0.10.0" @@ -66,7 +66,7 @@ "lodash.range": "3.0.1", "minilog": "2.0.8", "node-dir": "0.1.16", - "node-sass": "3.3.3", + "node-sass": "4.6.1", "pako": "0.2.8", "po2icu": "0.0.2", "postcss-loader": "0.8.2",