From 9012dc3b2f2c40c865c47e17f7fe460e2d740cdf Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Mon, 14 May 2018 10:56:05 -0500 Subject: [PATCH] Cant autoupgrade node-sass --- auto_upgrade.rb | 20 +++++++++----------- package.json | 2 +- yarn.lock | 14 +++++--------- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/auto_upgrade.rb b/auto_upgrade.rb index 4ea08dcae..c746f61e5 100644 --- a/auto_upgrade.rb +++ b/auto_upgrade.rb @@ -36,18 +36,16 @@ def attempt(dep, operation, args) end end + +# BETTER IDEA: +# Parse `yarn outdated` list into String[] with format `name@version` +# DEPS = `yarn outdated` +# .split("\n")[6..-1] +# .map{|y| y.split } +# .map{|y| "#{y[0]}@#{y[3]}"} +# .sort DEPS = [ - "coveralls@3.0.1", - "css-loader@0.28.11", - "file-loader@1.1.11", - "i18next@11.3.2", - "imports-loader@0.8.0", - "lodash@4.17.10", - "moment@2.22.1", - "node-sass@4.9.0", - "optimize-css-assets-webpack-plugin@4.0.1", "react-color@2.14.1", - "sass-loader@7.0.1", "style-loader@0.21.0", "ts-jest@22.4.6", "ts-loader@4.3.0", @@ -57,9 +55,9 @@ DEPS = [ "@types/enzyme@3.1.10", "@types/lodash@4.14.108", "@types/node@10.0.8", - "@types/react@16.3.14", "@types/react-color@2.13.5", "@types/react-dom@16.0.5", + "@types/react@16.3.14", ] # puts "Making sure that type checks pass WITHOUT any upgrades" diff --git a/package.json b/package.json index b42b17cb1..f31fa8e65 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "markdown-it-emoji": "^1.4.0", "moment": "2.22.1", "moxios": "^0.4.0", - "node-sass": "4.9.0", + "node-sass": "^4.5.3", "optimize-css-assets-webpack-plugin": "3.2.0", "raf": "^3.4.0", "react": "16.2.0", diff --git a/yarn.lock b/yarn.lock index 4265dd2e8..1b9ee7812 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4470,11 +4470,7 @@ multicast-dns@^6.0.1: dns-packet "^1.3.1" thunky "^1.0.2" -nan@^2.10.0: - version "2.10.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" - -nan@^2.3.0: +nan@^2.3.0, nan@^2.3.2: version "2.8.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a" @@ -4605,9 +4601,9 @@ node-pre-gyp@^0.6.39: tar "^2.2.1" tar-pack "^3.4.0" -node-sass@4.9.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.9.0.tgz#d1b8aa855d98ed684d6848db929a20771cc2ae52" +node-sass@^4.5.3: + version "4.7.2" + resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.7.2.tgz#9366778ba1469eb01438a9e8592f4262bcb6794e" dependencies: async-foreach "^0.1.3" chalk "^1.1.1" @@ -4621,7 +4617,7 @@ node-sass@4.9.0: lodash.mergewith "^4.6.0" meow "^3.7.0" mkdirp "^0.5.1" - nan "^2.10.0" + nan "^2.3.2" node-gyp "^3.3.1" npmlog "^4.0.0" request "~2.79.0"