diff --git a/package.json b/package.json index 3ae3f021..476a5e4b 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "deep-equal": "1.1.0", "enzyme": "3.10.0", "enzyme-adapter-react-16": "1.3", - "enzyme-to-json": "3.3.5", + "enzyme-to-json": "3.6.2", "eslint-config-cozy-app": "2.0.0", "file-loader": "2.0.0", "foreman": "3.0.1", diff --git a/yarn.lock b/yarn.lock index 53c337ab..536f1c23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1920,6 +1920,13 @@ dependencies: "@babel/types" "^7.3.0" +"@types/cheerio@^0.22.22": + version "0.22.31" + resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.31.tgz#b8538100653d6bb1b08a1e46dec75b4f2a5d5eb6" + integrity sha512-Kt7Cdjjdi2XWSfrZ53v4Of0wG3ZcmaegFXjMmz9tfNrZSkzzo36G0AL1YqSdcIA78Etjt6E609pt5h1xnQkPUw== + dependencies: + "@types/node" "*" + "@types/color-name@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" @@ -5208,12 +5215,14 @@ enzyme-adapter-utils@^1.6.0: prop-types "^15.7.2" semver "^5.7.1" -enzyme-to-json@3.3.5: - version "3.3.5" - resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.5.tgz#f8eb82bd3d5941c9d8bc6fd9140030777d17d0af" - integrity sha512-DmH1wJ68HyPqKSYXdQqB33ZotwfUhwQZW3IGXaNXgR69Iodaoj8TF/D9RjLdz4pEhGq2Tx2zwNUIjBuqoZeTgA== +enzyme-to-json@3.6.2: + version "3.6.2" + resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.6.2.tgz#94f85c413bcae8ab67be53b0a94b69a560e27823" + integrity sha512-Ynm6Z6R6iwQ0g2g1YToz6DWhxVnt8Dy1ijR2zynRKxTyBGA8rCDXU3rs2Qc4OKvUvc2Qoe1bcFK6bnPs20TrTg== dependencies: - lodash "^4.17.4" + "@types/cheerio" "^0.22.22" + lodash "^4.17.21" + react-is "^16.12.0" enzyme@3.10.0: version "3.10.0"