From 7687c7198874cd15ffb7786f86770cae4f49690f Mon Sep 17 00:00:00 2001 From: Gavin Orland Date: Thu, 1 Nov 2018 13:56:39 +0000 Subject: [PATCH] Update enzyme-adapter-react --- package.json | 2 +- scripts/setupTests.js | 2 +- yarn.lock | 35 ++++++++++++++++++----------------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 53123d8..9fdd347 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "cross-env": "^5.1.3", "emotion": "^9.1.2", "enzyme": "^3.3.0", - "enzyme-adapter-react-16": "npm:enzyme-react-adapter-future", + "enzyme-adapter-react-16.3": "^1.3.0", "enzyme-to-json": "^3.3.0", "eslint": "^4.15.0", "eslint-config-airbnb": "^16.1.0", diff --git a/scripts/setupTests.js b/scripts/setupTests.js index ba1f52c..89907c8 100644 --- a/scripts/setupTests.js +++ b/scripts/setupTests.js @@ -1,5 +1,5 @@ import { configure } from 'enzyme'; -import Adapter from 'enzyme-adapter-react-16'; +import Adapter from 'enzyme-adapter-react-16.3'; import { createSerializer } from 'jest-emotion'; import * as emotion from 'emotion'; diff --git a/yarn.lock b/yarn.lock index 99985b8..83bb047 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4967,21 +4967,22 @@ envinfo@^5.7.0: version "5.10.0" resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-5.10.0.tgz#503a9774ae15b93ea68bdfae2ccd6306624ea6df" -"enzyme-adapter-react-16@npm:enzyme-react-adapter-future": - version "1.1.3" - resolved "https://registry.yarnpkg.com/enzyme-react-adapter-future/-/enzyme-react-adapter-future-1.1.3.tgz#f0c102f098086a0ad0270bbdaf9da5113297dc05" +enzyme-adapter-react-16.3@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16.3/-/enzyme-adapter-react-16.3-1.3.0.tgz#4e8ad4c2c885469311b30786a78e1dd9e803758e" dependencies: - enzyme-adapter-utils "^1.3.0" - lodash "^4.17.4" + enzyme-adapter-utils "^1.8.0" + function.prototype.name "^1.1.0" object.assign "^4.1.0" object.values "^1.0.4" - prop-types "^15.6.0" + prop-types "^15.6.2" + react-is "^16.5.2" react-reconciler "^0.7.0" - react-test-renderer "^16.0.0-0" + react-test-renderer "~16.3.0-0" -enzyme-adapter-utils@^1.3.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.5.0.tgz#a020ab3ae79bb1c85e1d51f48f35e995e0eed810" +enzyme-adapter-utils@^1.8.0: + version "1.8.1" + resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.8.1.tgz#a927d840ce2c14b42892a533aec836809d4e022b" dependencies: function.prototype.name "^1.1.0" object.assign "^4.1.0" @@ -10431,9 +10432,9 @@ react-inspector@^2.2.2: babel-runtime "^6.26.0" is-dom "^1.0.9" -react-is@^16.4.2: - version "16.4.2" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.2.tgz#84891b56c2b6d9efdee577cc83501dfc5ecead88" +react-is@^16.3.2, react-is@^16.5.2: + version "16.6.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.0.tgz#456645144581a6e99f6816ae2bd24ee94bdd0c01" react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.4: version "3.0.4" @@ -10507,14 +10508,14 @@ react-style-proptype@^3.0.0: dependencies: prop-types "^15.5.4" -react-test-renderer@^16.0.0-0: - version "16.4.2" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.4.2.tgz#4e03eca9359bb3210d4373f7547d1364218ef74e" +react-test-renderer@~16.3.0-0: + version "16.3.2" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.3.2.tgz#3d1ed74fda8db42521fdf03328e933312214749a" dependencies: fbjs "^0.8.16" object-assign "^4.1.1" prop-types "^15.6.0" - react-is "^16.4.2" + react-is "^16.3.2" react-textarea-autosize@^5.2.1: version "5.2.1"