diff --git a/package.json b/package.json index 50f4e2acf..b34360e57 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "yaml": "^2.3.4" }, "devDependencies": { - "@automock/jest": "^1.4.0", + "@automock/jest": "^2.1.0", "@babel/cli": "^7.23.0", "@babel/core": "^7.23.2", "@nestjs/cli": "^10.3.0", diff --git a/yarn.lock b/yarn.lock index 4baa4d791..3a6e0b318 100644 --- a/yarn.lock +++ b/yarn.lock @@ -78,37 +78,34 @@ ora "5.4.1" rxjs "7.8.1" -"@automock/adapters.nestjs@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@automock/adapters.nestjs/-/adapters.nestjs-1.4.0.tgz#db3d55176afe55f9361dd49645bcb5946c613037" - integrity sha512-1BEh9glv23P1SdCrQ3fA7+mCgoRRiDXoHgtuCG2LUFSj6HdZ7unV/U6BGzKLabi017L2C8zOCelYQnMUdCMaGg== +"@automock/common@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@automock/common/-/common-3.1.0.tgz#61048c994b8b58954bd033c501ac5a1460196303" + integrity sha512-Y7N4YnSZRuSIfGV4/PdG2JyURa9PK1maqGZBYUG2/sIW+H/Mlhc/3NpegnlUyQFRBexEJtgmUsvfzzI1/lm0JA== dependencies: - "@automock/common" "^2.2.0" - -"@automock/common@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@automock/common/-/common-2.2.0.tgz#a16935f868cbd7c36cef3c6193f500963e44d428" - integrity sha512-aAzMrOIDrhCoWutichpFcSC2TK+tr1tZTq1qxGXZVKpGILtJs/X5/cOOVkUr1AEOsfhW4rHVC4IroIsANn9ZEA== + "@automock/types" "^2.0.1" -"@automock/core@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@automock/core/-/core-1.4.0.tgz#6d814f0920b26f38225893b305e9943ad3cc23db" - integrity sha512-okDvKznSAt4Ly3D3RBKCbZ0JYD1YwJ4zFaKv2SUmbIL6m/kEk/cVXvNLspOIyxd1r8WVwhTLafiL9VPvYXkZsg== +"@automock/core@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@automock/core/-/core-2.1.0.tgz#2e959e5f3d9522c93139f4e99c10e726b745441c" + integrity sha512-VIaY2woE7nWXhXKlNzk4+xzCuaVBXfGYwowrzdI+MmJBKqi2z0lUjNVix74hZRWhJpkOW+PR3UThFvThgyqIqQ== + dependencies: + "@automock/common" "^3.1.0" + "@automock/types" "^2.0.1" + lodash.isequal "^4.5.0" -"@automock/jest@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@automock/jest/-/jest-1.4.0.tgz#994a40922e74d45927ecfe38f78422d7cdb86030" - integrity sha512-2+yjdWLXMzuH6vrjX4Us2FzuPOQc/ma2D25FnS2sVtcfhHgVauexNo+W3Jq90l1al93YkSE/ULzlVMkqQcGPfA== +"@automock/jest@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@automock/jest/-/jest-2.1.0.tgz#8a1d4ad7fcfa505207df60e9965aeb23527af418" + integrity sha512-kJuTu/a5bbG8SICIfITgESpIrVbBfbMykDdICmPvJkeI51Ldq+tqiLS2Ded16vLWS9WeFKeTw/+2b/DO8QyV0Q== dependencies: - "@automock/adapters.nestjs" "^1.4.0" - "@automock/core" "^1.4.0" - "@automock/types" "^1.2.0" - jest-mock-extended "^2.0.9" + "@automock/core" "^2.1.0" + "@automock/types" "^2.0.1" -"@automock/types@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@automock/types/-/types-1.2.0.tgz#d1a25cd3c958a161399ad149c7b2ee5a3c4e2c51" - integrity sha512-kkGf1PvAb8aLjCXyX4OsIncQFTVAwCQUtsEpsbyH6hhpJ6ape8Lhor9Y5DgunajhuD4oE6D64+4jxSuRSwWNmQ== +"@automock/types@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@automock/types/-/types-2.0.1.tgz#b06023d6e303544e64f952f5c836fdd9d5c1e502" + integrity sha512-ue35e4im3n7l+Eqq3kCA2nNs8jzJbjYLni+vlPdgJ+9KfsEykJjA1OpnNN/PG1tDaM0iyR2p/uZg27MOC/qiTg== "@babel/cli@^7.23.0": version "7.23.0" @@ -5252,7 +5249,7 @@ escape-html@~1.0.3: resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== -escape-string-regexp@5.0.0: +escape-string-regexp@5.0.0, escape-string-regexp@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== @@ -5725,6 +5722,14 @@ figures@^3.0.0: dependencies: escape-string-regexp "^1.0.5" +figures@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-5.0.0.tgz#126cd055052dea699f8a54e8c9450e6ecfc44d5f" + integrity sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg== + dependencies: + escape-string-regexp "^5.0.0" + is-unicode-supported "^1.2.0" + figures@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/figures/-/figures-6.0.1.tgz#75a2baf3ca8c63e2ea253179e9f1157833587ea4" @@ -6973,6 +6978,11 @@ is-unicode-supported@^0.1.0: resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== +is-unicode-supported@^1.2.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714" + integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ== + is-unicode-supported@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz#fdf32df9ae98ff6ab2cedc155a5a6e895701c451" @@ -7301,13 +7311,6 @@ jest-message-util@^29.7.0: slash "^3.0.0" stack-utils "^2.0.3" -jest-mock-extended@^2.0.9: - version "2.0.9" - resolved "https://registry.yarnpkg.com/jest-mock-extended/-/jest-mock-extended-2.0.9.tgz#bc0e4a269cdb6047d7cc086e1d9722f7215ca795" - integrity sha512-eRZq7/FgwHbxOMm3Lo4DpQX6S2zi4OvwMVFHEb3FgDLp0Xy3P1WARkF93xxO5uD4nAHiEPYHZ25qVU9mAVxoLQ== - dependencies: - ts-essentials "^7.0.3" - jest-mock@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" @@ -7949,6 +7952,11 @@ lodash.escaperegexp@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347" integrity sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw== +lodash.isequal@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== + lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" @@ -11085,11 +11093,6 @@ ts-api-utils@^1.0.1: resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg== -ts-essentials@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-7.0.3.tgz#686fd155a02133eedcc5362dc8b5056cde3e5a38" - integrity sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ== - ts-interface-checker@^0.1.9: version "0.1.13" resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"