From 5f3804829b129d39591413fe3430a3245e9a41e7 Mon Sep 17 00:00:00 2001 From: tihonove Date: Sun, 5 Nov 2017 17:03:52 +0500 Subject: [PATCH] Fix react-hot-loader version. New version brokes the build: https://github.com/gaearon/react-hot-loader/issues/391 --- package.json | 2 +- yarn.lock | 25 ++++++++++++++++++------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index d8137380d..e879551d2 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "less": "^2.7.2", "less-loader": "^4.0.4", "lodash": "^4.17.4", - "react-hot-loader": "^3.0.0", + "react-hot-loader": "3.0.0-beta.7", "react-ui-validations": "^0.2.10", "storybook-router": "0.3.x", "style-loader": "0.19.x", diff --git a/yarn.lock b/yarn.lock index 9801731b4..766f805f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -247,6 +247,10 @@ alphanum-sort@^1.0.1, alphanum-sort@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" +amdefine@>=0.0.4: + version "1.0.1" + resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" + ansi-align@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" @@ -1356,7 +1360,7 @@ babel-runtime@6.x.x, babel-runtime@^6.11.6, babel-runtime@^6.18.0, babel-runtime core-js "^2.4.0" regenerator-runtime "^0.11.0" -babel-template@^6.24.1, babel-template@^6.26.0: +babel-template@^6.24.1, babel-template@^6.26.0, babel-template@^6.7.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" dependencies: @@ -5611,7 +5615,7 @@ react-addons-test-utils@15.x: version "15.6.2" resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.2.tgz#c12b6efdc2247c10da7b8770d185080a7b047156" -react-deep-force-update@^2.1.1: +react-deep-force-update@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.1.1.tgz#8ea4263cd6455a050b37445b3f08fd839d86e909" @@ -5640,15 +5644,16 @@ react-dom@^15.6.1: object-assign "^4.1.0" prop-types "^15.5.10" -react-hot-loader@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-3.1.1.tgz#e06db8cd0841c41e3ab0b395b2b774126fc8914e" +react-hot-loader@3.0.0-beta.7: + version "3.0.0-beta.7" + resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-3.0.0-beta.7.tgz#d5847b8165d731c4d5b30d86d5d4716227a0fa83" dependencies: + babel-template "^6.7.0" global "^4.3.0" - react-deep-force-update "^2.1.1" + react-deep-force-update "^2.0.1" react-proxy "^3.0.0-alpha.0" redbox-react "^1.3.6" - source-map "^0.6.1" + source-map "^0.4.4" react-html-attributes@^1.3.0: version "1.4.1" @@ -6422,6 +6427,12 @@ source-map@0.5.x, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" +source-map@^0.4.4: + version "0.4.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" + dependencies: + amdefine ">=0.0.4" + source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"