From badf6443afd7041e7cb6a9171e1eebc5646be313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Nuno=20Monteiro?= Date: Wed, 31 May 2017 09:24:01 -0700 Subject: [PATCH] upgrade Node.js to version 8.0.0, Google Closure Compiler to v20170521 (#173) --- .travis.yml | 2 +- CHANGELOG.md | 2 ++ appveyor.yml | 2 +- package.json | 4 ++-- scripts/package.js | 2 +- src/js/repl.js | 2 +- yarn.lock | 12 ++++++------ 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62818040..185c0376 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ sudo: required dist: trusty language: node_js node_js: -- 7 +- 8 cache: directories: - node_modules diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c229bb5..d35dd0a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ ### Changes - Upgrade ClojureScript to version 1.9.562. +- Upgrade Node.js to version 8.0.0 ([#173](https://github.com/anmonteiro/lumo/pull/173)). +- Upgrade Google Closure Compiler to v20170521 ([#173](https://github.com/anmonteiro/lumo/pull/173)). ### Bug fixes diff --git a/appveyor.yml b/appveyor.yml index d9409236..d35af4d2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ environment: - nodejs_version: "7.0.0" + nodejs_version: "8.0.0" platform: - x64 diff --git a/package.json b/package.json index e5f04601..02441b73 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "main": "./src/js/index.js", "dependencies": { - "google-closure-compiler-js": "^20170409.0.0", + "google-closure-compiler-js": "^20170521.0.0", "jszip": "2.6.1", "opencollective": "^1.0.0", "parinfer": "2.0.0", @@ -39,7 +39,7 @@ "eslint-config-airbnb": "^15.0.1", "eslint-config-airbnb-base": "^11.2.0", "eslint-plugin-babel": "^4.1.1", - "eslint-plugin-flowtype": "^2.33.0", + "eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-import": "^2.3.0", "eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-react": "^7.0.1", diff --git a/scripts/package.js b/scripts/package.js index 959b74d2..591eb32e 100644 --- a/scripts/package.js +++ b/scripts/package.js @@ -5,7 +5,7 @@ const os = require('os'); const zlib = require('zlib'); const embed = require('./embed'); -const nodeVersion = '7.10.0'; +const nodeVersion = '8.0.0'; function getDirContents(dir, accumPath = dir) { let filenames = fs.readdirSync(dir); diff --git a/src/js/repl.js b/src/js/repl.js index edcaf743..d22f83c1 100644 --- a/src/js/repl.js +++ b/src/js/repl.js @@ -176,7 +176,7 @@ function highlight( // $FlowIssue const oldInput = rl.input; // $FlowIssue: constructor accepts 2 args - const readStream = new tty.ReadStream(null, {}); + const readStream = new tty.ReadStream(0, {}); readStream.setRawMode(true); readline.emitKeypressEvents(readStream, rl); diff --git a/yarn.lock b/yarn.lock index 16c9e4a3..cdcc29b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1778,9 +1778,9 @@ eslint-plugin-babel@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/eslint-plugin-babel/-/eslint-plugin-babel-4.1.1.tgz#ef285c87039b67beb3bbd227f5b0eed4fb376b87" -eslint-plugin-flowtype@^2.33.0: - version "2.33.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.33.0.tgz#b2783814ed2ddcf729953b8f65ff73c90cabee4b" +eslint-plugin-flowtype@^2.34.0: + version "2.34.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.34.0.tgz#b9875f314652e5081623c9d2b18a346bbb759c09" dependencies: lodash "^4.15.0" @@ -2154,9 +2154,9 @@ globby@^5.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -google-closure-compiler-js@^20170409.0.0: - version "20170409.0.0" - resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20170409.0.0.tgz#e71063ab2bf26db794732222ec76ba07403df854" +google-closure-compiler-js@^20170521.0.0: + version "20170521.0.0" + resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20170521.0.0.tgz#9ac5fd6818aa500333a199ed0a9d0449e52120c9" dependencies: minimist "^1.2.0" vinyl "^2.0.1"