From 569b6f2a6f9b859d17daab1b600cb686fa2d6f1d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 Nov 2024 02:20:09 +0000 Subject: [PATCH] fix: upgrade enzyme-to-json from 3.1.1 to 3.6.2 Snyk has created this PR to upgrade enzyme-to-json from 3.1.1 to 3.6.2. See this package in yarn: enzyme-to-json See this project in Snyk: https://app.snyk.io/org/suganthi-demo/project/1aa89500-6702-4dc9-8764-cdecdeb38baf?utm_source=github&utm_medium=referral&page=upgrade-pr --- packages/jest-enzyme/package.json | 2 +- packages/jest-enzyme/yarn.lock | 55 +++++++++++++++++++++++++------ 2 files changed, 46 insertions(+), 11 deletions(-) diff --git a/packages/jest-enzyme/package.json b/packages/jest-enzyme/package.json index 749f7f5..32983c3 100644 --- a/packages/jest-enzyme/package.json +++ b/packages/jest-enzyme/package.json @@ -50,7 +50,7 @@ }, "dependencies": { "enzyme-matchers": "^4.0.1", - "enzyme-to-json": "^3.0.0" + "enzyme-to-json": "^3.6.2" }, "jest": { "roots": [ diff --git a/packages/jest-enzyme/yarn.lock b/packages/jest-enzyme/yarn.lock index d8f626c..2be2be1 100644 --- a/packages/jest-enzyme/yarn.lock +++ b/packages/jest-enzyme/yarn.lock @@ -2,27 +2,51 @@ # yarn lockfile v1 +"@types/cheerio@^0.22.22": + version "0.22.35" + resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.35.tgz#0d16dc1f24d426231c181b9c31847f673867595f" + integrity sha512-yD57BchKRvTV+JD53UZ6PD8KWY5g5rvvMLRnZR3EQBCZXiDT/HR+pKpMzFGlWNhFrXlo7VPZXtKvIEwZkAWOIA== + dependencies: + "@types/node" "*" + +"@types/node@*": + version "22.9.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.1.tgz#bdf91c36e0e7ecfb7257b2d75bf1b206b308ca71" + integrity sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg== + dependencies: + undici-types "~6.19.8" + "@types/react@^16.0.10": version "16.0.10" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.10.tgz#a24b630f5f1f170866a148a147d4fc8636ea88e0" +circular-json-es6@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/circular-json-es6/-/circular-json-es6-2.0.2.tgz#e4f4a093e49fb4b6aba1157365746112a78bd344" + integrity sha512-ODYONMMNb3p658Zv+Pp+/XPa5s6q7afhz3Tzyvo+VRh9WIrJ64J76ZC4GQxnlye/NesTn09jvOiuE8+xxfpwhQ== + deep-equal-ident@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/deep-equal-ident/-/deep-equal-ident-1.1.1.tgz#06f4b89e53710cd6cea4a7781c7a956642de8dc9" dependencies: lodash.isequal "^3.0" -enzyme-matchers@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.0.0.tgz#3158166a5004f289895d203f58372bb7867a88e5" +enzyme-matchers@^4.0.1: + version "4.2.0" + resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-4.2.0.tgz#38333883258da90e5414b5ac07d388aecb75227f" + integrity sha512-5Gf/mAVYx6KPAUuxuDhAGt/gu9ndPd6duFcVnH2rbEad2clgTpHZL4Df49FHFukrjEEubX9rhfeAKx0/sbfVkQ== dependencies: + circular-json-es6 "^2.0.1" deep-equal-ident "^1.1.1" -enzyme-to-json@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.1.1.tgz#b161b4ef34f12d9e25af8e24f2a0cab68fb2fb54" +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" lodash._baseisequal@^3.0.0: version "3.0.7" @@ -67,6 +91,17 @@ lodash.keys@^3.0.0: lodash.isarguments "^3.0.0" lodash.isarray "^3.0.0" -lodash@^4.17.4: - version "4.17.4" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +react-is@^16.12.0: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +undici-types@~6.19.8: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==