diff --git a/ghost/portal/package.json b/ghost/portal/package.json index 93bf6b7f39..d5a7f47518 100644 --- a/ghost/portal/package.json +++ b/ghost/portal/package.json @@ -66,8 +66,8 @@ "@testing-library/react": "12.1.5", "@tryghost/i18n": "0.0.0", "@vitejs/plugin-react": "3.1.0", - "@vitest/coverage-c8": "0.29.7", - "@vitest/ui": "0.29.7", + "@vitest/coverage-c8": "0.29.8", + "@vitest/ui": "0.29.8", "concurrently": "8.0.1", "cross-fetch": "3.1.5", "eslint": "8.36.0", @@ -78,6 +78,6 @@ "vite": "4.2.1", "vite-plugin-css-injected-by-js": "3.1.0", "vite-plugin-svgr": "2.4.0", - "vitest": "0.29.7" + "vitest": "0.29.8" } } diff --git a/yarn.lock b/yarn.lock index bf06c4aea1..f7edbaed39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5724,7 +5724,7 @@ focus-trap "^6.7.2" postcss-preset-env "^7.3.1" -"@tryghost/errors@1.2.21", "@tryghost/errors@1.2.23", "@tryghost/errors@1.2.24", "@tryghost/errors@^1.0.0", "@tryghost/errors@^1.2.1", "@tryghost/errors@^1.2.21", "@tryghost/errors@^1.2.22", "@tryghost/errors@^1.2.24", "@tryghost/errors@^1.2.3": +"@tryghost/errors@1.2.21", "@tryghost/errors@1.2.23", "@tryghost/errors@1.2.24", "@tryghost/errors@^1.0.0", "@tryghost/errors@^1.2.1", "@tryghost/errors@^1.2.21", "@tryghost/errors@^1.2.24", "@tryghost/errors@^1.2.3": version "1.2.24" resolved "https://registry.yarnpkg.com/@tryghost/errors/-/errors-1.2.24.tgz#5daceff6cdee9421297849474fd885857c4bfe3f" integrity sha512-5iRF8dl2wirb/1gQA2dv8MtxK204vnjbWvmb3fULNZoVlmuHY1ZUgwRJRquClfUEFyl2qGmNDuoxGoTvur8JKA== @@ -6029,7 +6029,7 @@ resolved "https://registry.yarnpkg.com/@tryghost/promise/-/promise-0.3.2.tgz#a3e333e45dca3b5d2f8f72bf31d2ab50b8c4ed6e" integrity sha512-ktN80GWQ9WNfbZ7+SRYDJg6MZwttbRfsjvVurx8ng7EpD+9VOe1XP70h7Pt13TP9zD5cfSztwxzI3jEnZmCKKQ== -"@tryghost/request@0.1.39": +"@tryghost/request@0.1.39", "@tryghost/request@^0.1.36": version "0.1.39" resolved "https://registry.yarnpkg.com/@tryghost/request/-/request-0.1.39.tgz#26cace3784bed41b7b98179e69239bf96e829546" integrity sha512-ivb+GdUjcO2tPOGOw7LamfkYgxlB6xipYzkKaUIKUr7K1kI+BW7+n8cnRYHwpT+Wd7J8KDMBKDC2uWHMdHKMsQ== @@ -6040,17 +6040,6 @@ got "9.6.0" lodash "^4.17.21" -"@tryghost/request@^0.1.36": - version "0.1.37" - resolved "https://registry.yarnpkg.com/@tryghost/request/-/request-0.1.37.tgz#c1fa04cc51b36aa25ada0db94a8e0f2666dcc12a" - integrity sha512-EtNir45HtTbFapb7vbsk/lxSh8jwwn8F2EbdHLuIQPBVQV+8GQR4tlP6GGWUgLBw06emb+Up6mtgHcSUTNEH4A== - dependencies: - "@tryghost/errors" "^1.2.22" - "@tryghost/validator" "^0.2.2" - "@tryghost/version" "^0.1.21" - got "9.6.0" - lodash "^4.17.21" - "@tryghost/root-utils@0.3.20": version "0.3.20" resolved "https://registry.yarnpkg.com/@tryghost/root-utils/-/root-utils-0.3.20.tgz#4d4ed9189932cb189046f4357b6eb9ff57857850" @@ -6099,14 +6088,7 @@ dependencies: lodash.template "^4.5.0" -"@tryghost/tpl@^0.1.22": - version "0.1.23" - resolved "https://registry.yarnpkg.com/@tryghost/tpl/-/tpl-0.1.23.tgz#fc9af14d2947c89c8547e7880700e0e4aa5b6917" - integrity sha512-UhM4p/7+LgCXm5zHFifQrWtemdqzKPXph/i6I/nJ2z4V5x3buzGzX86BmrejUu/A7tT3XYSWi5A12tLeqqc3DQ== - dependencies: - lodash.template "^4.5.0" - -"@tryghost/tpl@^0.1.23", "@tryghost/tpl@^0.1.24": +"@tryghost/tpl@^0.1.22", "@tryghost/tpl@^0.1.24": version "0.1.24" resolved "https://registry.yarnpkg.com/@tryghost/tpl/-/tpl-0.1.24.tgz#fcf585be02531baf651f2f7605466a3df744d0bc" integrity sha512-8DkKSCUuoGmagQ+LeiICt7mTC12HJdBIBhgK/zmOE/QKdl95G0y1mZuyc7dRaUyoXAwTj5EF+MR8gWOtuLdAEw== @@ -6136,18 +6118,7 @@ moment-timezone "^0.5.23" validator "7.2.0" -"@tryghost/validator@^0.2.0": - version "0.2.2" - resolved "https://registry.yarnpkg.com/@tryghost/validator/-/validator-0.2.2.tgz#99d120b092cb8dd3945f4adca44b13d670480a03" - integrity sha512-VXQjF6GAorWk4aC2HnoMGKRp4LzsJVcGXycjn4y2Tc0o4qiv+42E1lBL+WwhNpX1fv9j5iWR3dMD9BuQ3QpXdw== - dependencies: - "@tryghost/errors" "^1.2.22" - "@tryghost/tpl" "^0.1.23" - lodash "^4.17.21" - moment-timezone "^0.5.23" - validator "7.2.0" - -"@tryghost/validator@^0.2.2", "@tryghost/validator@^0.2.4": +"@tryghost/validator@^0.2.0", "@tryghost/validator@^0.2.4": version "0.2.4" resolved "https://registry.yarnpkg.com/@tryghost/validator/-/validator-0.2.4.tgz#75322a46f16b033ae27ea0839231ef0a3bc434f6" integrity sha512-KhAauvyyebf++bveqgwTiphVzLQrupdWLP8zOWASqRDpKR3x+ztJDm1oy9F2aVQTvhxFq5Gwfwhg6+uZncx7pQ== @@ -6166,7 +6137,7 @@ "@tryghost/root-utils" "^0.3.20" semver "^7.3.5" -"@tryghost/version@^0.1.21", "@tryghost/version@^0.1.22": +"@tryghost/version@^0.1.22": version "0.1.22" resolved "https://registry.yarnpkg.com/@tryghost/version/-/version-0.1.22.tgz#e2a9f6eec4f9f8945094d3bd7c0757438f4e0622" integrity sha512-LpOglcRlwE9auw+OIIN32DWMc2Xr4I57SzIxfXm+AEZWz/lSrBN/3UCb1CyLAWptdEoKKszX7VVa7gZO66A5wg== @@ -6868,44 +6839,44 @@ magic-string "^0.27.0" react-refresh "^0.14.0" -"@vitest/coverage-c8@0.29.7": - version "0.29.7" - resolved "https://registry.yarnpkg.com/@vitest/coverage-c8/-/coverage-c8-0.29.7.tgz#ef2ce02ffb6c1645740139a62d1867b521bf1b95" - integrity sha512-TSubtP9JFBuI/wuApxwknHe40VDkX8hFbBak0OXj4/jCeXrEu5B5GPWcxzyk9YvzXgCaDvoiZV79I7AvhNI9YQ== +"@vitest/coverage-c8@0.29.8": + version "0.29.8" + resolved "https://registry.yarnpkg.com/@vitest/coverage-c8/-/coverage-c8-0.29.8.tgz#a61f5a2434af3f0fd7a7e4fe9c25bb6ed03ebd0a" + integrity sha512-y+sEMQMctWokjnSqm3FCQEYFkjLrYaznsxEZHxcx8z2aftpYg3A5tvI1S5himfdEFo7o+OeHzh40bPSWZHW4oQ== dependencies: c8 "^7.13.0" picocolors "^1.0.0" std-env "^3.3.1" -"@vitest/expect@0.29.7": - version "0.29.7" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-0.29.7.tgz#2d6560ba772b4945ea46ff78a2c9b65e44fe65ff" - integrity sha512-UtG0tW0DP6b3N8aw7PHmweKDsvPv4wjGvrVZW7OSxaFg76ShtVdMiMcUkZJgCE8QWUmhwaM0aQhbbVLo4F4pkA== +"@vitest/expect@0.29.8": + version "0.29.8" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-0.29.8.tgz#6ecdd031b4ea8414717d10b65ccd800908384612" + integrity sha512-xlcVXn5I5oTq6NiZSY3ykyWixBxr5mG8HYtjvpgg6KaqHm0mvhX18xuwl5YGxIRNt/A5jidd7CWcNHrSvgaQqQ== dependencies: - "@vitest/spy" "0.29.7" - "@vitest/utils" "0.29.7" + "@vitest/spy" "0.29.8" + "@vitest/utils" "0.29.8" chai "^4.3.7" -"@vitest/runner@0.29.7": - version "0.29.7" - resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-0.29.7.tgz#7628e461b70b6588436e3567beea8eadd5bea511" - integrity sha512-Yt0+csM945+odOx4rjZSjibQfl2ymxqVsmYz6sO2fiO5RGPYDFCo60JF6tLL9pz4G/kjY4irUxadeB1XT+H1jg== +"@vitest/runner@0.29.8": + version "0.29.8" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-0.29.8.tgz#ede8a7be8a074ea1180bc1d1595bd879ed15971c" + integrity sha512-FzdhnRDwEr/A3Oo1jtIk/B952BBvP32n1ObMEb23oEJNO+qO5cBet6M2XWIDQmA7BDKGKvmhUf2naXyp/2JEwQ== dependencies: - "@vitest/utils" "0.29.7" + "@vitest/utils" "0.29.8" p-limit "^4.0.0" pathe "^1.1.0" -"@vitest/spy@0.29.7": - version "0.29.7" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-0.29.7.tgz#a2506b4c546973fcad4a1ec6810d7975b95a107c" - integrity sha512-IalL0iO6A6Xz8hthR8sctk6ZS//zVBX48EiNwQguYACdgdei9ZhwMaBFV70mpmeYAFCRAm+DpoFHM5470Im78A== +"@vitest/spy@0.29.8": + version "0.29.8" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-0.29.8.tgz#2e0c3b30e04d317b2197e3356234448aa432e131" + integrity sha512-VdjBe9w34vOMl5I5mYEzNX8inTxrZ+tYUVk9jxaZJmHFwmDFC/GV3KBFTA/JKswr3XHvZL+FE/yq5EVhb6pSAw== dependencies: tinyspy "^1.0.2" -"@vitest/ui@0.29.7": - version "0.29.7" - resolved "https://registry.yarnpkg.com/@vitest/ui/-/ui-0.29.7.tgz#24f756f395f45e0c8a3fb10d6d1e472bd0197a28" - integrity sha512-KeOztcAldlFU5i8DKCQcmGrih1dVowurZy/9iPz5JyQdPJzej+nW1nI4nYvc4ZmUtA8+IAe9uViqnU7IXc1RNw== +"@vitest/ui@0.29.8": + version "0.29.8" + resolved "https://registry.yarnpkg.com/@vitest/ui/-/ui-0.29.8.tgz#0897b8632760047729a07083bc463072545e8b0f" + integrity sha512-+vbLd+c1R/XUWfzJsWeyjeiw13fwJ95I5tguxaqXRg61y9iYUKesVljg7Pttp2uo7VK+kAjvY91J41NZ1Vx3vg== dependencies: fast-glob "^3.2.12" flatted "^3.2.7" @@ -6913,10 +6884,10 @@ picocolors "^1.0.0" sirv "^2.0.2" -"@vitest/utils@0.29.7": - version "0.29.7" - resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-0.29.7.tgz#6544cffd07c9ba2afbd18373e705748c1e5903f2" - integrity sha512-vNgGadp2eE5XKCXtZXL5UyNEDn68npSct75OC9AlELenSK0DiV1Mb9tfkwJHKjRb69iek+e79iipoJx8+s3SdA== +"@vitest/utils@0.29.8": + version "0.29.8" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-0.29.8.tgz#423da85fd0c6633f3ab496cf7d2fc0119b850df8" + integrity sha512-qGzuf3vrTbnoY+RjjVVIBYfuWMjn3UMUqyQtdGNZ6ZIIyte7B37exj6LaVkrZiUTvzSadVvO/tJm8AEgbGCBPg== dependencies: cli-truncate "^3.1.0" diff "^5.1.0" @@ -29878,10 +29849,10 @@ vinyl@~3.0.0: replace-ext "^2.0.0" teex "^1.0.1" -vite-node@0.29.7: - version "0.29.7" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.29.7.tgz#b5cc4745e1fdb984538f8f5745163111a4ae6d5a" - integrity sha512-PakCZLvz37yFfUPWBnLa1OYHPCGm5v4pmRrTcFN4V/N/T3I6tyP3z07S//9w+DdeL7vVd0VSeyMZuAh+449ZWw== +vite-node@0.29.8: + version "0.29.8" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.29.8.tgz#6a1c9d4fb31e7b4e0f825d3a37abe3404e52bd8e" + integrity sha512-b6OtCXfk65L6SElVM20q5G546yu10/kNrhg08afEoWlFRJXFq9/6glsvSVY+aI6YeC1tu2TtAqI2jHEQmOmsFw== dependencies: cac "^6.7.14" debug "^4.3.4" @@ -29915,18 +29886,18 @@ vite@4.2.1, "vite@^3.0.0 || ^4.0.0": optionalDependencies: fsevents "~2.3.2" -vitest@0.29.7: - version "0.29.7" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.29.7.tgz#d81b9b3405e2124dfe4712ab33c9d70a53bb1b24" - integrity sha512-aWinOSOu4jwTuZHkb+cCyrqQ116Q9TXaJrNKTHudKBknIpR0VplzeaOUuDF9jeZcrbtQKZQt6yrtd+eakbaxHg== +vitest@0.29.8: + version "0.29.8" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.29.8.tgz#9c13cfa007c3511e86c26e1fe9a686bb4dbaec80" + integrity sha512-JIAVi2GK5cvA6awGpH0HvH/gEG9PZ0a/WoxdiV3PmqK+3CjQMf8c+J/Vhv4mdZ2nRyXFw66sAg6qz7VNkaHfDQ== dependencies: "@types/chai" "^4.3.4" "@types/chai-subset" "^1.3.3" "@types/node" "*" - "@vitest/expect" "0.29.7" - "@vitest/runner" "0.29.7" - "@vitest/spy" "0.29.7" - "@vitest/utils" "0.29.7" + "@vitest/expect" "0.29.8" + "@vitest/runner" "0.29.8" + "@vitest/spy" "0.29.8" + "@vitest/utils" "0.29.8" acorn "^8.8.1" acorn-walk "^8.2.0" cac "^6.7.14" @@ -29942,7 +29913,7 @@ vitest@0.29.7: tinypool "^0.4.0" tinyspy "^1.0.2" vite "^3.0.0 || ^4.0.0" - vite-node "0.29.7" + vite-node "0.29.8" why-is-node-running "^2.2.2" vm-browserify@^1.0.1: