diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7dfc964a7fa..6245cd6825f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,7 +37,7 @@ importers: version: 2.1.7(vitest@2.1.7) '@vitest/eslint-plugin': specifier: 1.1.13 - version: 1.1.13(@typescript-eslint/utils@8.16.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.7) + version: 1.1.13(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.7) '@vitest/ui': specifier: 2.1.7 version: 2.1.7(vitest@2.1.7) @@ -213,13 +213,13 @@ packages: resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} engines: {node: '>=6.9.0'} - '@babel/parser@7.26.2': - resolution: {integrity: sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==} + '@babel/parser@7.26.3': + resolution: {integrity: sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==} engines: {node: '>=6.0.0'} hasBin: true - '@babel/types@7.26.0': - resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==} + '@babel/types@7.26.3': + resolution: {integrity: sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': @@ -708,12 +708,12 @@ packages: eslint: optional: true - '@eslint/config-array@0.19.0': - resolution: {integrity: sha512-zdHg2FPIFNKPdcHWtiNT+jEFCHYVplAXRDlQDyqy0zGx/q2parwh7brGJSiTxRk/TSMkbM//zt/f5CHgyTyaSQ==} + '@eslint/config-array@0.19.1': + resolution: {integrity: sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/core@0.9.0': - resolution: {integrity: sha512-7ATR9F0e4W85D/0w7cU0SNj7qkAexMG+bAHEZOjo9akvGuhHE2m7umzWzfnpa0XAg5Kxc1BWmtPMV67jJ+9VUg==} + '@eslint/core@0.9.1': + resolution: {integrity: sha512-GuUdqkyyzQI5RMIWkHhvTWLCyLo1jNK3vzkSyaExH5kHPDHcuL2VOpHjmMY+y3+NC69qAKToBqldTBgYeLSr9Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/eslintrc@3.2.0': @@ -724,12 +724,12 @@ packages: resolution: {integrity: sha512-tw2HxzQkrbeuvyj1tG2Yqq+0H9wGoI2IMk4EOsQeX+vmd75FtJAzf+gTA69WF+baUKRYQ3x2kbLE08js5OsTVg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/object-schema@2.1.4': - resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} + '@eslint/object-schema@2.1.5': + resolution: {integrity: sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/plugin-kit@0.2.3': - resolution: {integrity: sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==} + '@eslint/plugin-kit@0.2.4': + resolution: {integrity: sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@humanfs/core@0.19.1': @@ -756,8 +756,8 @@ packages: resolution: {integrity: sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==} engines: {node: '>=6.9.0'} - '@iconify-json/simple-icons@1.2.13': - resolution: {integrity: sha512-rRQjMoIt/kPfaD+fnBC9YZQpso3hkn8xPeadl+YWhscJ5SVUCdB9oTeR9VIpt+/5Yi8vEkh2UOWFPq4lz3ee2A==} + '@iconify-json/simple-icons@1.2.14': + resolution: {integrity: sha512-zLqb48pM1B5vegMBDouyv7FzrROV5HRIjDpl+/PKjY3P7AeSySaOeT6mzutF6hDZCJvn1J7qQ7lug3FOgegiiA==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -811,93 +811,98 @@ packages: '@polka/url@1.0.0-next.28': resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} - '@rollup/rollup-android-arm-eabi@4.28.0': - resolution: {integrity: sha512-wLJuPLT6grGZsy34g4N1yRfYeouklTgPhH1gWXCYspenKYD0s3cR99ZevOGw5BexMNywkbV3UkjADisozBmpPQ==} + '@rollup/rollup-android-arm-eabi@4.28.1': + resolution: {integrity: sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.28.0': - resolution: {integrity: sha512-eiNkznlo0dLmVG/6wf+Ifi/v78G4d4QxRhuUl+s8EWZpDewgk7PX3ZyECUXU0Zq/Ca+8nU8cQpNC4Xgn2gFNDA==} + '@rollup/rollup-android-arm64@4.28.1': + resolution: {integrity: sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.28.0': - resolution: {integrity: sha512-lmKx9yHsppblnLQZOGxdO66gT77bvdBtr/0P+TPOseowE7D9AJoBw8ZDULRasXRWf1Z86/gcOdpBrV6VDUY36Q==} + '@rollup/rollup-darwin-arm64@4.28.1': + resolution: {integrity: sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.28.0': - resolution: {integrity: sha512-8hxgfReVs7k9Js1uAIhS6zq3I+wKQETInnWQtgzt8JfGx51R1N6DRVy3F4o0lQwumbErRz52YqwjfvuwRxGv1w==} + '@rollup/rollup-darwin-x64@4.28.1': + resolution: {integrity: sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.28.0': - resolution: {integrity: sha512-lA1zZB3bFx5oxu9fYud4+g1mt+lYXCoch0M0V/xhqLoGatbzVse0wlSQ1UYOWKpuSu3gyN4qEc0Dxf/DII1bhQ==} + '@rollup/rollup-freebsd-arm64@4.28.1': + resolution: {integrity: sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.28.0': - resolution: {integrity: sha512-aI2plavbUDjCQB/sRbeUZWX9qp12GfYkYSJOrdYTL/C5D53bsE2/nBPuoiJKoWp5SN78v2Vr8ZPnB+/VbQ2pFA==} + '@rollup/rollup-freebsd-x64@4.28.1': + resolution: {integrity: sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==} cpu: [x64] os: [freebsd] - '@rollup/rollup-linux-arm-gnueabihf@4.28.0': - resolution: {integrity: sha512-WXveUPKtfqtaNvpf0iOb0M6xC64GzUX/OowbqfiCSXTdi/jLlOmH0Ba94/OkiY2yTGTwteo4/dsHRfh5bDCZ+w==} + '@rollup/rollup-linux-arm-gnueabihf@4.28.1': + resolution: {integrity: sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.28.0': - resolution: {integrity: sha512-yLc3O2NtOQR67lI79zsSc7lk31xjwcaocvdD1twL64PK1yNaIqCeWI9L5B4MFPAVGEVjH5k1oWSGuYX1Wutxpg==} + '@rollup/rollup-linux-arm-musleabihf@4.28.1': + resolution: {integrity: sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.28.0': - resolution: {integrity: sha512-+P9G9hjEpHucHRXqesY+3X9hD2wh0iNnJXX/QhS/J5vTdG6VhNYMxJ2rJkQOxRUd17u5mbMLHM7yWGZdAASfcg==} + '@rollup/rollup-linux-arm64-gnu@4.28.1': + resolution: {integrity: sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.28.0': - resolution: {integrity: sha512-1xsm2rCKSTpKzi5/ypT5wfc+4bOGa/9yI/eaOLW0oMs7qpC542APWhl4A37AENGZ6St6GBMWhCCMM6tXgTIplw==} + '@rollup/rollup-linux-arm64-musl@4.28.1': + resolution: {integrity: sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.28.0': - resolution: {integrity: sha512-zgWxMq8neVQeXL+ouSf6S7DoNeo6EPgi1eeqHXVKQxqPy1B2NvTbaOUWPn/7CfMKL7xvhV0/+fq/Z/J69g1WAQ==} + '@rollup/rollup-linux-loongarch64-gnu@4.28.1': + resolution: {integrity: sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': + resolution: {integrity: sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.28.0': - resolution: {integrity: sha512-VEdVYacLniRxbRJLNtzwGt5vwS0ycYshofI7cWAfj7Vg5asqj+pt+Q6x4n+AONSZW/kVm+5nklde0qs2EUwU2g==} + '@rollup/rollup-linux-riscv64-gnu@4.28.1': + resolution: {integrity: sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.28.0': - resolution: {integrity: sha512-LQlP5t2hcDJh8HV8RELD9/xlYtEzJkm/aWGsauvdO2ulfl3QYRjqrKW+mGAIWP5kdNCBheqqqYIGElSRCaXfpw==} + '@rollup/rollup-linux-s390x-gnu@4.28.1': + resolution: {integrity: sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.28.0': - resolution: {integrity: sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw==} + '@rollup/rollup-linux-x64-gnu@4.28.1': + resolution: {integrity: sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.28.0': - resolution: {integrity: sha512-eKpJr4vBDOi4goT75MvW+0dXcNUqisK4jvibY9vDdlgLx+yekxSm55StsHbxUsRxSTt3JEQvlr3cGDkzcSP8bw==} + '@rollup/rollup-linux-x64-musl@4.28.1': + resolution: {integrity: sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.28.0': - resolution: {integrity: sha512-Vi+WR62xWGsE/Oj+mD0FNAPY2MEox3cfyG0zLpotZdehPFXwz6lypkGs5y38Jd/NVSbOD02aVad6q6QYF7i8Bg==} + '@rollup/rollup-win32-arm64-msvc@4.28.1': + resolution: {integrity: sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.28.0': - resolution: {integrity: sha512-kN/Vpip8emMLn/eOza+4JwqDZBL6MPNpkdaEsgUtW1NYN3DZvZqSQrbKzJcTL6hd8YNmFTn7XGWMwccOcJBL0A==} + '@rollup/rollup-win32-ia32-msvc@4.28.1': + resolution: {integrity: sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.28.0': - resolution: {integrity: sha512-Bvno2/aZT6usSa7lRDL2+hMjVAGjuqaymF1ApZm31JXzniR/hvr14jpU+/z4X6Gt5BPlzosscyJZGUvguXIqeQ==} + '@rollup/rollup-win32-x64-msvc@4.28.1': + resolution: {integrity: sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==} cpu: [x64] os: [win32] @@ -1013,6 +1018,10 @@ packages: resolution: {integrity: sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/scope-manager@8.17.0': + resolution: {integrity: sha512-/ewp4XjvnxaREtqsZjF4Mfn078RD/9GmiEAtTeLQ7yFdKnqwTOgRMSvFz4et9U5RiJQ15WTGXPLj89zGusvxBg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/type-utils@8.16.0': resolution: {integrity: sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1027,6 +1036,10 @@ packages: resolution: {integrity: sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.17.0': + resolution: {integrity: sha512-gY2TVzeve3z6crqh2Ic7Cr+CAv6pfb0Egee7J5UAVWCpVvDI/F71wNfolIim4FE6hT15EbpZFVUj9j5i38jYXA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@8.16.0': resolution: {integrity: sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1036,6 +1049,15 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.17.0': + resolution: {integrity: sha512-JqkOopc1nRKZpX+opvKqnM3XUlM7LpFMD0lYxTqOTKQfCWAmxw45e3qlOCsEqEB2yuacujivudOFpCnqkBDNMw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@8.16.0': resolution: {integrity: sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1046,12 +1068,26 @@ packages: typescript: optional: true + '@typescript-eslint/utils@8.17.0': + resolution: {integrity: sha512-bQC8BnEkxqG8HBGKwG9wXlZqg37RKSMY7v/X8VEWD8JG2JuTHuNK0VFvMPMUKQcbk6B+tf05k+4AShAEtCtJ/w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/visitor-keys@8.16.0': resolution: {integrity: sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@ungap/structured-clone@1.2.0': - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@typescript-eslint/visitor-keys@8.17.0': + resolution: {integrity: sha512-1Hm7THLpO6ww5QU6H/Qp+AusUUl+z/CAm3cNZZ0jQvon9yicgO7Rwd+/WWRpMKLYV6p2UvdbR27c86rzCPpreg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@ungap/structured-clone@1.2.1': + resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==} '@vitejs/plugin-vue@5.2.1': resolution: {integrity: sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==} @@ -1099,6 +1135,9 @@ packages: '@vitest/pretty-format@2.1.7': resolution: {integrity: sha512-HoqRIyfQlXPrRDB43h0lC8eHPUDPwFweMaD6t+psOvwClCC+oZZim6wPMjuoMnRdiFxXqbybg/QbuewgTwK1vA==} + '@vitest/pretty-format@2.1.8': + resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} + '@vitest/runner@2.1.7': resolution: {integrity: sha512-MrDNpXUIXksR57qipYh068SOX4N1hVw6oVILlTlfeTyA1rp0asuljyp15IZwKqhjpWLObFj+tiNrOM4R8UnSqg==} @@ -1250,8 +1289,8 @@ packages: add-stream@1.0.0: resolution: {integrity: sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==} - agent-base@7.1.1: - resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} + agent-base@7.1.3: + resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==} engines: {node: '>= 14'} aggregate-error@3.1.0: @@ -1407,8 +1446,12 @@ packages: resolution: {integrity: sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ==} engines: {node: '>=6'} - call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + call-bind-apply-helpers@1.0.0: + resolution: {integrity: sha512-CCKAP2tkPau7D3GE8+V8R6sQubA9R5foIzGp+85EXCVSCivuxBNAWqcpn72PKYiIcqoViv/kcUDpaEIMBVi1lQ==} + engines: {node: '>= 0.4'} + + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} engines: {node: '>= 0.4'} callsites@3.1.0: @@ -1423,8 +1466,8 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - caniuse-lite@1.0.30001685: - resolution: {integrity: sha512-e/kJN1EMyHQzgcMEEgoo+YTCO1NGCmIYHk5Qk8jT6AazWemS5QFKJ5ShCJlH3GZrNIdZofcNCEwZqbMjjKzmnA==} + caniuse-lite@1.0.30001687: + resolution: {integrity: sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -1682,8 +1725,8 @@ packages: supports-color: optional: true - debug@4.3.7: - resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + debug@4.4.0: + resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -1765,14 +1808,18 @@ packages: resolution: {integrity: sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==} engines: {node: '>=6'} + dunder-proto@1.0.0: + resolution: {integrity: sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A==} + engines: {node: '>= 0.4'} + eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} ecc-jsbn@0.1.2: resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} - electron-to-chromium@1.5.67: - resolution: {integrity: sha512-nz88NNBsD7kQSAGGJyp8hS6xSPtWwqNogA0mjtc2nUYeEf3nURK9qpV18TuBdDmEDgVWotS8Wkzf+V52dSQ/LQ==} + electron-to-chromium@1.5.71: + resolution: {integrity: sha512-dB68l59BI75W1BUGVTAEJy45CEVuEGy9qPVVQ8pnHyHMn36PLPPoE1mjLH+lo9rKulO3HC2OhbACI/8tCqJBcA==} emoji-regex-xs@1.0.0: resolution: {integrity: sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==} @@ -1797,8 +1844,8 @@ packages: error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - es-define-property@1.0.0: - resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} engines: {node: '>= 0.4'} es-errors@1.3.0: @@ -2046,8 +2093,8 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - get-intrinsic@1.2.4: - resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + get-intrinsic@1.2.5: + resolution: {integrity: sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg==} engines: {node: '>= 0.4'} get-pkg-repo@4.2.1: @@ -2116,8 +2163,8 @@ packages: resolution: {integrity: sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g==} engines: {node: '>=18'} - gopd@1.1.0: - resolution: {integrity: sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==} + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} engines: {node: '>= 0.4'} graceful-fs@4.2.11: @@ -2146,12 +2193,8 @@ packages: has-property-descriptors@1.0.2: resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - has-proto@1.1.0: - resolution: {integrity: sha512-QLdzI9IIO1Jg7f9GT1gXpPpXArAn6cS31R1eEZqz08Gc+uQ8/XiqHWt17Fiw+2p6oTTIq5GXEpQkAlA88YRl/Q==} - engines: {node: '>= 0.4'} - - has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} engines: {node: '>= 0.4'} hasown@2.0.2: @@ -2199,8 +2242,8 @@ packages: resolution: {integrity: sha512-G5akfn7eKbpDN+8nPS/cb57YeA1jLTVxjpCj7tmm3QKPdyDy7T+qSC40e9ptydSWvkwjSXw1VbkpyEm39ukeAg==} engines: {node: '>=0.10'} - https-proxy-agent@7.0.5: - resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} engines: {node: '>= 14'} human-signals@1.1.1: @@ -2436,8 +2479,8 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - lilconfig@3.1.2: - resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} + lilconfig@3.1.3: + resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} engines: {node: '>=14'} lines-and-columns@1.2.4: @@ -3008,8 +3051,8 @@ packages: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true - rollup@4.28.0: - resolution: {integrity: sha512-G9GOrmgWHBma4YfCcX8PjH0qhXSdH8B4HDE2o4/jaxj93S4DPCIDoLcXz99eWMji4hB29UFCEd7B2gwGJDR9cQ==} + rollup@4.28.1: + resolution: {integrity: sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -3202,8 +3245,8 @@ packages: engines: {node: '>=16 || 14 >=14.17'} hasBin: true - superjson@2.2.1: - resolution: {integrity: sha512-8iGv75BYOa0xRJHK5vRLEjE2H/i4lulTjzpUXic3Eg8akftYjkmQDa8JARQ42rlczXyFR3IeRoeFCc7RxHsYZA==} + superjson@2.2.2: + resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==} engines: {node: '>=16'} supports-color@5.5.0: @@ -3278,11 +3321,11 @@ packages: resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} - tldts-core@6.1.65: - resolution: {integrity: sha512-Uq5t0N0Oj4nQSbU8wFN1YYENvMthvwU13MQrMJRspYCGLSAZjAfoBOJki5IQpnBM/WFskxxC/gIOTwaedmHaSg==} + tldts-core@6.1.66: + resolution: {integrity: sha512-s07jJruSwndD2X8bVjwioPfqpIc1pDTzszPe9pL1Skbh4bjytL85KNQ3tolqLbCvpQHawIsGfFi9dgerWjqW4g==} - tldts@6.1.65: - resolution: {integrity: sha512-xU9gLTfAGsADQ2PcWee6Hg8RFAv0DnjMGVJmDnUmI8a9+nYmapMQix4afwrdaCtT+AqP4MaxEzu7cCrYmBPbzQ==} + tldts@6.1.66: + resolution: {integrity: sha512-l3ciXsYFel/jSRfESbyKYud1nOw7WfhrBEF9I3UiarYk/qEaOOwu3qXNECHw4fHGHGTEOuhf/VdKgoDX5M/dhQ==} hasBin: true tmp@0.2.3: @@ -3586,8 +3629,8 @@ packages: resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} engines: {node: '>=18'} - whatwg-url@14.0.0: - resolution: {integrity: sha512-1lfMEm2IEr7RIV+f4lUNPOqfFL+pO+Xw3fJSqmjX9AbXcXcYOkCe1P6+9VBZB6n94af16NfZf+sSk0JCBZC9aw==} + whatwg-url@14.1.0: + resolution: {integrity: sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==} engines: {node: '>=18'} whatwg-url@7.1.0: @@ -3813,11 +3856,11 @@ snapshots: '@babel/helper-validator-identifier@7.25.9': {} - '@babel/parser@7.26.2': + '@babel/parser@7.26.3': dependencies: - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 - '@babel/types@7.26.0': + '@babel/types@7.26.3': dependencies: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 @@ -4109,20 +4152,22 @@ snapshots: optionalDependencies: eslint: 9.16.0(jiti@2.4.1) - '@eslint/config-array@0.19.0': + '@eslint/config-array@0.19.1': dependencies: - '@eslint/object-schema': 2.1.4 - debug: 4.3.7(supports-color@8.1.1) + '@eslint/object-schema': 2.1.5 + debug: 4.4.0(supports-color@8.1.1) minimatch: 3.1.2 transitivePeerDependencies: - supports-color - '@eslint/core@0.9.0': {} + '@eslint/core@0.9.1': + dependencies: + '@types/json-schema': 7.0.15 '@eslint/eslintrc@3.2.0': dependencies: ajv: 6.12.6 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) espree: 10.3.0 globals: 14.0.0 ignore: 5.3.2 @@ -4135,9 +4180,9 @@ snapshots: '@eslint/js@9.16.0': {} - '@eslint/object-schema@2.1.4': {} + '@eslint/object-schema@2.1.5': {} - '@eslint/plugin-kit@0.2.3': + '@eslint/plugin-kit@0.2.4': dependencies: levn: 0.4.1 @@ -4156,7 +4201,7 @@ snapshots: '@hutson/parse-repository-url@3.0.2': {} - '@iconify-json/simple-icons@1.2.13': + '@iconify-json/simple-icons@1.2.14': dependencies: '@iconify/types': 2.0.0 @@ -4209,58 +4254,61 @@ snapshots: '@polka/url@1.0.0-next.28': {} - '@rollup/rollup-android-arm-eabi@4.28.0': + '@rollup/rollup-android-arm-eabi@4.28.1': + optional: true + + '@rollup/rollup-android-arm64@4.28.1': optional: true - '@rollup/rollup-android-arm64@4.28.0': + '@rollup/rollup-darwin-arm64@4.28.1': optional: true - '@rollup/rollup-darwin-arm64@4.28.0': + '@rollup/rollup-darwin-x64@4.28.1': optional: true - '@rollup/rollup-darwin-x64@4.28.0': + '@rollup/rollup-freebsd-arm64@4.28.1': optional: true - '@rollup/rollup-freebsd-arm64@4.28.0': + '@rollup/rollup-freebsd-x64@4.28.1': optional: true - '@rollup/rollup-freebsd-x64@4.28.0': + '@rollup/rollup-linux-arm-gnueabihf@4.28.1': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.28.0': + '@rollup/rollup-linux-arm-musleabihf@4.28.1': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.28.0': + '@rollup/rollup-linux-arm64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-arm64-gnu@4.28.0': + '@rollup/rollup-linux-arm64-musl@4.28.1': optional: true - '@rollup/rollup-linux-arm64-musl@4.28.0': + '@rollup/rollup-linux-loongarch64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.28.0': + '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.28.0': + '@rollup/rollup-linux-riscv64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-s390x-gnu@4.28.0': + '@rollup/rollup-linux-s390x-gnu@4.28.1': optional: true - '@rollup/rollup-linux-x64-gnu@4.28.0': + '@rollup/rollup-linux-x64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-x64-musl@4.28.0': + '@rollup/rollup-linux-x64-musl@4.28.1': optional: true - '@rollup/rollup-win32-arm64-msvc@4.28.0': + '@rollup/rollup-win32-arm64-msvc@4.28.1': optional: true - '@rollup/rollup-win32-ia32-msvc@4.28.0': + '@rollup/rollup-win32-ia32-msvc@4.28.1': optional: true - '@rollup/rollup-win32-x64-msvc@4.28.0': + '@rollup/rollup-win32-x64-msvc@4.28.1': optional: true '@shikijs/core@1.24.0': @@ -4296,7 +4344,7 @@ snapshots: '@stylistic/eslint-plugin@2.11.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)': dependencies: - '@typescript-eslint/utils': 8.16.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2) + '@typescript-eslint/utils': 8.17.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2) eslint: 9.16.0(jiti@2.4.1) eslint-visitor-keys: 4.2.0 espree: 10.3.0 @@ -4395,7 +4443,7 @@ snapshots: '@typescript-eslint/types': 8.16.0 '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.16.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) eslint: 9.16.0(jiti@2.4.1) optionalDependencies: typescript: 5.7.2 @@ -4407,11 +4455,16 @@ snapshots: '@typescript-eslint/types': 8.16.0 '@typescript-eslint/visitor-keys': 8.16.0 + '@typescript-eslint/scope-manager@8.17.0': + dependencies: + '@typescript-eslint/types': 8.17.0 + '@typescript-eslint/visitor-keys': 8.17.0 + '@typescript-eslint/type-utils@8.16.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)': dependencies: '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) '@typescript-eslint/utils': 8.16.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2) - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) eslint: 9.16.0(jiti@2.4.1) ts-api-utils: 1.4.3(typescript@5.7.2) optionalDependencies: @@ -4421,11 +4474,28 @@ snapshots: '@typescript-eslint/types@8.16.0': {} + '@typescript-eslint/types@8.17.0': {} + '@typescript-eslint/typescript-estree@8.16.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.16.0 '@typescript-eslint/visitor-keys': 8.16.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.4.3(typescript@5.7.2) + optionalDependencies: + typescript: 5.7.2 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/typescript-estree@8.17.0(typescript@5.7.2)': + dependencies: + '@typescript-eslint/types': 8.17.0 + '@typescript-eslint/visitor-keys': 8.17.0 + debug: 4.4.0(supports-color@8.1.1) fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -4448,12 +4518,29 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)': + dependencies: + '@eslint-community/eslint-utils': 4.4.1(eslint@9.16.0(jiti@2.4.1)) + '@typescript-eslint/scope-manager': 8.17.0 + '@typescript-eslint/types': 8.17.0 + '@typescript-eslint/typescript-estree': 8.17.0(typescript@5.7.2) + eslint: 9.16.0(jiti@2.4.1) + optionalDependencies: + typescript: 5.7.2 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/visitor-keys@8.16.0': dependencies: '@typescript-eslint/types': 8.16.0 eslint-visitor-keys: 4.2.0 - '@ungap/structured-clone@1.2.0': {} + '@typescript-eslint/visitor-keys@8.17.0': + dependencies: + '@typescript-eslint/types': 8.17.0 + eslint-visitor-keys: 4.2.0 + + '@ungap/structured-clone@1.2.1': {} '@vitejs/plugin-vue@5.2.1(vite@5.4.11(@types/node@22.10.1))(vue@3.5.13(typescript@5.7.2))': dependencies: @@ -4464,7 +4551,7 @@ snapshots: dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.6 @@ -4478,9 +4565,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.13(@typescript-eslint/utils@8.16.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.7)': + '@vitest/eslint-plugin@1.1.13(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2)(vitest@2.1.7)': dependencies: - '@typescript-eslint/utils': 8.16.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2) + '@typescript-eslint/utils': 8.17.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2) eslint: 9.16.0(jiti@2.4.1) optionalDependencies: typescript: 5.7.2 @@ -4505,6 +4592,10 @@ snapshots: dependencies: tinyrainbow: 1.2.0 + '@vitest/pretty-format@2.1.8': + dependencies: + tinyrainbow: 1.2.0 + '@vitest/runner@2.1.7': dependencies: '@vitest/utils': 2.1.7 @@ -4551,7 +4642,7 @@ snapshots: '@vue/compiler-core@3.5.13': dependencies: - '@babel/parser': 7.26.2 + '@babel/parser': 7.26.3 '@vue/shared': 3.5.13 entities: 4.5.0 estree-walker: 2.0.2 @@ -4564,7 +4655,7 @@ snapshots: '@vue/compiler-sfc@3.5.13': dependencies: - '@babel/parser': 7.26.2 + '@babel/parser': 7.26.3 '@vue/compiler-core': 3.5.13 '@vue/compiler-dom': 3.5.13 '@vue/compiler-ssr': 3.5.13 @@ -4596,7 +4687,7 @@ snapshots: mitt: 3.0.1 perfect-debounce: 1.0.0 speakingurl: 14.0.1 - superjson: 2.2.1 + superjson: 2.2.2 '@vue/devtools-shared@7.6.7': dependencies: @@ -4699,11 +4790,7 @@ snapshots: add-stream@1.0.0: {} - agent-base@7.1.1: - dependencies: - debug: 4.3.7(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color + agent-base@7.1.3: {} aggregate-error@3.1.0: dependencies: @@ -4816,8 +4903,8 @@ snapshots: browserslist@4.24.2: dependencies: - caniuse-lite: 1.0.30001685 - electron-to-chromium: 1.5.67 + caniuse-lite: 1.0.30001687 + electron-to-chromium: 1.5.71 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) @@ -4841,12 +4928,16 @@ snapshots: cachedir@2.4.0: {} - call-bind@1.0.7: + call-bind-apply-helpers@1.0.0: dependencies: - es-define-property: 1.0.0 es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.4 + + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.0 + es-define-property: 1.0.1 + get-intrinsic: 1.2.5 set-function-length: 1.2.2 callsites@3.1.0: {} @@ -4859,7 +4950,7 @@ snapshots: camelcase@5.3.1: {} - caniuse-lite@1.0.30001685: {} + caniuse-lite@1.0.30001687: {} caseless@0.12.0: {} @@ -5132,7 +5223,7 @@ snapshots: commander: 6.2.1 common-tags: 1.8.2 dayjs: 1.11.13 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) enquirer: 2.4.1 eventemitter2: 6.4.7 execa: 4.1.0 @@ -5168,7 +5259,7 @@ snapshots: data-urls@5.0.0: dependencies: whatwg-mimetype: 4.0.0 - whatwg-url: 14.0.0 + whatwg-url: 14.1.0 dateformat@3.0.3: {} @@ -5182,7 +5273,7 @@ snapshots: optionalDependencies: supports-color: 8.1.1 - debug@4.3.7(supports-color@8.1.1): + debug@4.4.0(supports-color@8.1.1): dependencies: ms: 2.1.3 optionalDependencies: @@ -5205,9 +5296,9 @@ snapshots: define-data-property@1.1.4: dependencies: - es-define-property: 1.0.0 + es-define-property: 1.0.1 es-errors: 1.3.0 - gopd: 1.1.0 + gopd: 1.2.0 delayed-stream@1.0.0: {} @@ -5252,6 +5343,12 @@ snapshots: find-up: 3.0.0 minimatch: 3.1.2 + dunder-proto@1.0.0: + dependencies: + call-bind-apply-helpers: 1.0.0 + es-errors: 1.3.0 + gopd: 1.2.0 + eastasianwidth@0.2.0: {} ecc-jsbn@0.1.2: @@ -5259,7 +5356,7 @@ snapshots: jsbn: 0.1.1 safer-buffer: 2.1.2 - electron-to-chromium@1.5.67: {} + electron-to-chromium@1.5.71: {} emoji-regex-xs@1.0.0: {} @@ -5282,9 +5379,7 @@ snapshots: dependencies: is-arrayish: 0.2.1 - es-define-property@1.0.0: - dependencies: - get-intrinsic: 1.2.4 + es-define-property@1.0.1: {} es-errors@1.3.0: {} @@ -5391,7 +5486,7 @@ snapshots: '@es-joy/jsdoccomment': 0.49.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) escape-string-regexp: 4.0.0 eslint: 9.16.0(jiti@2.4.1) espree: 10.3.0 @@ -5446,11 +5541,11 @@ snapshots: dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.16.0(jiti@2.4.1)) '@eslint-community/regexpp': 4.12.1 - '@eslint/config-array': 0.19.0 - '@eslint/core': 0.9.0 + '@eslint/config-array': 0.19.1 + '@eslint/core': 0.9.1 '@eslint/eslintrc': 3.2.0 '@eslint/js': 9.16.0 - '@eslint/plugin-kit': 0.2.3 + '@eslint/plugin-kit': 0.2.4 '@humanfs/node': 0.16.6 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.4.1 @@ -5459,7 +5554,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) escape-string-regexp: 4.0.0 eslint-scope: 8.2.0 eslint-visitor-keys: 4.2.0 @@ -5531,7 +5626,7 @@ snapshots: extract-zip@2.0.1(supports-color@8.1.1): dependencies: - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -5639,12 +5734,15 @@ snapshots: get-caller-file@2.0.5: {} - get-intrinsic@1.2.4: + get-intrinsic@1.2.5: dependencies: + call-bind-apply-helpers: 1.0.0 + dunder-proto: 1.0.0 + es-define-property: 1.0.1 es-errors: 1.3.0 function-bind: 1.1.2 - has-proto: 1.1.0 - has-symbols: 1.0.3 + gopd: 1.2.0 + has-symbols: 1.1.0 hasown: 2.0.2 get-pkg-repo@4.2.1: @@ -5719,9 +5817,7 @@ snapshots: globals@15.13.0: {} - gopd@1.1.0: - dependencies: - get-intrinsic: 1.2.4 + gopd@1.2.0: {} graceful-fs@4.2.11: {} @@ -5744,13 +5840,9 @@ snapshots: has-property-descriptors@1.0.2: dependencies: - es-define-property: 1.0.0 - - has-proto@1.1.0: - dependencies: - call-bind: 1.0.7 + es-define-property: 1.0.1 - has-symbols@1.0.3: {} + has-symbols@1.1.0: {} hasown@2.0.2: dependencies: @@ -5801,8 +5893,8 @@ snapshots: http-proxy-agent@7.0.2: dependencies: - agent-base: 7.1.1 - debug: 4.3.7(supports-color@8.1.1) + agent-base: 7.1.3 + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -5812,10 +5904,10 @@ snapshots: jsprim: 2.0.2 sshpk: 1.18.0 - https-proxy-agent@7.0.5: + https-proxy-agent@7.0.6: dependencies: - agent-base: 7.1.1 - debug: 4.3.7(supports-color@8.1.1) + agent-base: 7.1.3 + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -5912,7 +6004,7 @@ snapshots: istanbul-lib-source-maps@5.0.6: dependencies: '@jridgewell/trace-mapping': 0.3.25 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) istanbul-lib-coverage: 3.2.2 transitivePeerDependencies: - supports-color @@ -5950,7 +6042,7 @@ snapshots: form-data: 4.0.1 html-encoding-sniffer: 4.0.0 http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.5 + https-proxy-agent: 7.0.6 is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.16 parse5: 7.2.1 @@ -5962,7 +6054,7 @@ snapshots: webidl-conversions: 7.0.0 whatwg-encoding: 3.1.1 whatwg-mimetype: 4.0.0 - whatwg-url: 14.0.0 + whatwg-url: 14.1.0 ws: 8.18.0 xml-name-validator: 5.0.0 transitivePeerDependencies: @@ -6018,7 +6110,7 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - lilconfig@3.1.2: {} + lilconfig@3.1.3: {} lines-and-columns@1.2.4: {} @@ -6098,8 +6190,8 @@ snapshots: magicast@0.3.5: dependencies: - '@babel/parser': 7.26.2 - '@babel/types': 7.26.0 + '@babel/parser': 7.26.3 + '@babel/types': 7.26.3 source-map-js: 1.2.1 make-dir@4.0.0: @@ -6116,7 +6208,7 @@ snapshots: dependencies: '@types/hast': 3.0.4 '@types/mdast': 4.0.4 - '@ungap/structured-clone': 1.2.0 + '@ungap/structured-clone': 1.2.1 devlop: 1.1.0 micromark-util-sanitize-uri: 2.0.1 trim-lines: 3.0.1 @@ -6398,7 +6490,7 @@ snapshots: postcss-load-config@6.0.1(jiti@2.4.1)(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.1): dependencies: - lilconfig: 3.1.2 + lilconfig: 3.1.3 optionalDependencies: jiti: 2.4.1 postcss: 8.4.49 @@ -6559,28 +6651,29 @@ snapshots: dependencies: glob: 10.4.5 - rollup@4.28.0: + rollup@4.28.1: dependencies: '@types/estree': 1.0.6 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.28.0 - '@rollup/rollup-android-arm64': 4.28.0 - '@rollup/rollup-darwin-arm64': 4.28.0 - '@rollup/rollup-darwin-x64': 4.28.0 - '@rollup/rollup-freebsd-arm64': 4.28.0 - '@rollup/rollup-freebsd-x64': 4.28.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.28.0 - '@rollup/rollup-linux-arm-musleabihf': 4.28.0 - '@rollup/rollup-linux-arm64-gnu': 4.28.0 - '@rollup/rollup-linux-arm64-musl': 4.28.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.28.0 - '@rollup/rollup-linux-riscv64-gnu': 4.28.0 - '@rollup/rollup-linux-s390x-gnu': 4.28.0 - '@rollup/rollup-linux-x64-gnu': 4.28.0 - '@rollup/rollup-linux-x64-musl': 4.28.0 - '@rollup/rollup-win32-arm64-msvc': 4.28.0 - '@rollup/rollup-win32-ia32-msvc': 4.28.0 - '@rollup/rollup-win32-x64-msvc': 4.28.0 + '@rollup/rollup-android-arm-eabi': 4.28.1 + '@rollup/rollup-android-arm64': 4.28.1 + '@rollup/rollup-darwin-arm64': 4.28.1 + '@rollup/rollup-darwin-x64': 4.28.1 + '@rollup/rollup-freebsd-arm64': 4.28.1 + '@rollup/rollup-freebsd-x64': 4.28.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.28.1 + '@rollup/rollup-linux-arm-musleabihf': 4.28.1 + '@rollup/rollup-linux-arm64-gnu': 4.28.1 + '@rollup/rollup-linux-arm64-musl': 4.28.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.28.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.28.1 + '@rollup/rollup-linux-riscv64-gnu': 4.28.1 + '@rollup/rollup-linux-s390x-gnu': 4.28.1 + '@rollup/rollup-linux-x64-gnu': 4.28.1 + '@rollup/rollup-linux-x64-musl': 4.28.1 + '@rollup/rollup-win32-arm64-msvc': 4.28.1 + '@rollup/rollup-win32-ia32-msvc': 4.28.1 + '@rollup/rollup-win32-x64-msvc': 4.28.1 fsevents: 2.3.3 rrweb-cssom@0.7.1: {} @@ -6623,8 +6716,8 @@ snapshots: define-data-property: 1.1.4 es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.4 - gopd: 1.1.0 + get-intrinsic: 1.2.5 + gopd: 1.2.0 has-property-descriptors: 1.0.2 shebang-command@2.0.0: @@ -6646,9 +6739,9 @@ snapshots: side-channel@1.0.6: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 object-inspect: 1.13.3 siginfo@2.0.0: {} @@ -6798,7 +6891,7 @@ snapshots: pirates: 4.0.6 ts-interface-checker: 0.1.13 - superjson@2.2.1: + superjson@2.2.2: dependencies: copy-anything: 3.0.5 @@ -6865,11 +6958,11 @@ snapshots: tinyspy@3.0.2: {} - tldts-core@6.1.65: {} + tldts-core@6.1.66: {} - tldts@6.1.65: + tldts@6.1.66: dependencies: - tldts-core: 6.1.65 + tldts-core: 6.1.66 tmp@0.2.3: {} @@ -6881,7 +6974,7 @@ snapshots: tough-cookie@5.0.0: dependencies: - tldts: 6.1.65 + tldts: 6.1.66 tr46@1.0.1: dependencies: @@ -6916,13 +7009,13 @@ snapshots: cac: 6.7.14 chokidar: 4.0.1 consola: 3.2.3 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) esbuild: 0.24.0 joycon: 3.1.1 picocolors: 1.1.1 postcss-load-config: 6.0.1(jiti@2.4.1)(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.1) resolve-from: 5.0.0 - rollup: 4.28.0 + rollup: 4.28.1 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tinyexec: 0.3.1 @@ -7049,7 +7142,7 @@ snapshots: vite-node@2.1.7(@types/node@22.10.1): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.5.4 pathe: 1.1.2 vite: 5.4.11(@types/node@22.10.1) @@ -7068,7 +7161,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.49 - rollup: 4.28.0 + rollup: 4.28.1 optionalDependencies: '@types/node': 22.10.1 fsevents: 2.3.3 @@ -7077,7 +7170,7 @@ snapshots: dependencies: '@docsearch/css': 3.8.0 '@docsearch/js': 3.8.0(@algolia/client-search@5.15.0)(search-insights@2.17.3) - '@iconify-json/simple-icons': 1.2.13 + '@iconify-json/simple-icons': 1.2.14 '@shikijs/core': 1.24.0 '@shikijs/transformers': 1.24.0 '@shikijs/types': 1.24.0 @@ -7127,13 +7220,13 @@ snapshots: dependencies: '@vitest/expect': 2.1.7 '@vitest/mocker': 2.1.7(vite@5.4.11(@types/node@22.10.1)) - '@vitest/pretty-format': 2.1.7 + '@vitest/pretty-format': 2.1.8 '@vitest/runner': 2.1.7 '@vitest/snapshot': 2.1.7 '@vitest/spy': 2.1.7 '@vitest/utils': 2.1.7 chai: 5.1.2 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 magic-string: 0.30.14 pathe: 1.1.2 @@ -7197,7 +7290,7 @@ snapshots: whatwg-mimetype@4.0.0: {} - whatwg-url@14.0.0: + whatwg-url@14.1.0: dependencies: tr46: 5.0.0 webidl-conversions: 7.0.0 diff --git a/src/internal/deprecated.ts b/src/internal/deprecated.ts index 3d82eb2e2ef..3ac036daa83 100644 --- a/src/internal/deprecated.ts +++ b/src/internal/deprecated.ts @@ -28,19 +28,20 @@ export interface DeprecatedOptions { /** * @internal */ -export function deprecated(opts: DeprecatedOptions): void { - let message = `[@faker-js/faker]: ${opts.deprecated} is deprecated`; +export function deprecated(options: DeprecatedOptions): void { + const { deprecated, since, until, proposed } = options; + let message = `[@faker-js/faker]: ${deprecated} is deprecated`; - if (opts.since) { - message += ` since v${opts.since}`; + if (since) { + message += ` since v${since}`; } - if (opts.until) { - message += ` and will be removed in v${opts.until}`; + if (until) { + message += ` and will be removed in v${until}`; } - if (opts.proposed) { - message += `. Please use ${opts.proposed} instead`; + if (proposed) { + message += `. Please use ${proposed} instead`; } // eslint-disable-next-line no-undef -- Using console here is intentional and required diff --git a/src/locales/ar/location/state.ts b/src/locales/ar/location/state.ts index 6cf0555e321..0169182a4ce 100644 --- a/src/locales/ar/location/state.ts +++ b/src/locales/ar/location/state.ts @@ -20,7 +20,6 @@ export default [ 'عرابة', 'رام الله', 'طولكرم', - 'بئر السبع ', 'تونس', 'بن عروس', 'أريانة', diff --git a/src/locales/en/animal/cow.ts b/src/locales/en/animal/cow.ts index ac4a6815f40..9723602cb93 100644 --- a/src/locales/en/animal/cow.ts +++ b/src/locales/en/animal/cow.ts @@ -79,7 +79,6 @@ export default [ 'Barrosã', 'Barzona', 'Bazadaise', - 'Bedit', 'Beef Freisian', 'Beefalo', 'Beefmaker', @@ -136,7 +135,6 @@ export default [ 'Caracu', 'Carinthian Blondvieh', 'Carora', - 'Cedit', 'Charbray', 'Charolais', 'Chateaubriand', @@ -157,7 +155,6 @@ export default [ 'Danish Black-Pied', 'Danish Jersey', 'Danish Red', - 'Dedit', 'Deep Red cattle', 'Deoni', 'Devon', @@ -175,14 +172,12 @@ export default [ 'East Anatolian Red', 'Eastern Finncattle', 'Eastern Red Polled', - 'Eedit', 'Enderby Island cattle', 'English Longhorn', 'Ennstaler Bergscheck', 'Estonian Holstein', 'Estonian Native', 'Estonian Red cattle', - 'Fedit', 'Finncattle', 'Finnish Ayrshire', 'Finnish Holstein-Friesian', @@ -201,7 +196,6 @@ export default [ 'Gaolao', 'Garvonesa', 'Gascon cattle', - 'Gedit', 'Gelbvieh', 'Georgian Mountain cattle', 'German Angus', @@ -225,7 +219,6 @@ export default [ 'Harzer Rotvieh', 'Hays Converter', 'Heck cattle', - 'Hedit', 'Hereford', 'Herens', 'Highland cattle', @@ -238,7 +231,6 @@ export default [ 'Hybridmaster', 'Iberian cattle', 'Icelandic', - 'Iedit', 'Illawarra cattle', 'Improved Red and White', 'Indo-Brazilian', @@ -253,7 +245,6 @@ export default [ 'Japanese Brown', 'Jarmelista', 'Javari cattle', - 'Jedit', 'Jersey cattle', 'Jutland cattle', 'Kabin Buri cattle', @@ -265,7 +256,6 @@ export default [ 'Kasaragod Dwarf cattle', 'Kathiawadi', 'Kazakh Whiteheaded', - 'Kedit', 'Kenana cattle', 'Kenkatha cattle', 'Kerry cattle', @@ -284,7 +274,6 @@ export default [ 'Latvian Brown', 'Latvian Danish Red', 'Lebedyn', - 'Ledit', 'Levantina', 'Limia cattle', 'Limousin', @@ -313,7 +302,6 @@ export default [ 'Maronesa', 'Masai', 'Mashona', - 'Medit', 'Menorquina', 'Mertolenga', 'Meuse-Rhine-Issel', @@ -334,7 +322,6 @@ export default [ 'Muturu', "N'Dama", 'Nagori', - 'Nedit', 'Negra Andaluza', 'Nelore', 'Nguni', @@ -344,7 +331,6 @@ export default [ 'Northern Finncattle', 'Northern Shorthorn', 'Norwegian Red', - 'Oedit]', 'Ongole', 'Original Simmental', 'Pajuna', @@ -353,7 +339,6 @@ export default [ 'Parda Alpina', 'Parthenaise', 'Pasiega', - 'Pedit', 'Pembroke', 'Philippine Native', 'Pie Rouge des Plaines', @@ -373,7 +358,6 @@ export default [ 'Pulikulam', 'Punganur', 'Pustertaler Sprinzen', - 'Qedit', 'Qinchaun', 'Queensland Miniature Boran', 'RX3', @@ -393,7 +377,6 @@ export default [ 'Red Poll', 'Red Polled Østland', 'Red Sindhi', - 'Redit', 'Retinta', 'Riggit Galloway', 'Ringamåla', @@ -413,7 +396,6 @@ export default [ 'Santa Gertrudis', 'Sayaguesa', 'Schwyz', - 'Sedit', 'Selembu', 'Senepol', 'Serbian Pied', @@ -440,7 +422,6 @@ export default [ 'Tarentaise', 'Tasmanian Grey', 'Tauros', - 'Tedit', 'Telemark', 'Texas Longhorn', 'Texon', @@ -456,7 +437,6 @@ export default [ 'Turkish Grey Steppe', 'Tux-Zillertal', 'Tyrol Grey', - 'Uedit', 'Ukrainian Grey', 'Umblachery', 'Valdostana Castana', @@ -464,7 +444,6 @@ export default [ 'Valdostana Pezzata Rossa', 'Vaynol', 'Vechur8', - 'Vedit', 'Vestland Fjord', 'Vestland Red Polled', 'Vianesa', @@ -475,7 +454,6 @@ export default [ 'Waguli', 'Wagyu', 'Wangus', - 'Wedit', 'Welsh Black', 'Western Finncattle', 'White Cáceres', @@ -483,15 +461,12 @@ export default [ 'White Lamphun', 'White Park', 'Whitebred Shorthorn', - 'Xedit', 'Xingjiang Brown', 'Yakutian', 'Yanbian', 'Yanhuang', - 'Yedit', 'Yurino', 'Zebu', - 'Zedit', 'Évolène cattle', 'Żubroń', ]; diff --git a/src/locales/en/animal/horse.ts b/src/locales/en/animal/horse.ts index 24ee3a5fe67..aac310891a5 100644 --- a/src/locales/en/animal/horse.ts +++ b/src/locales/en/animal/horse.ts @@ -50,7 +50,7 @@ export default [ 'Bavarian Warmblood', 'Belgian Half-blood', 'Belgian Horse', - 'Belgian Warmblood ', + 'Belgian Warmblood', 'Bhutia Horse', 'Black Forest Horse', 'Blazer Horse', diff --git a/src/locales/en/book/title.ts b/src/locales/en/book/title.ts index e94437d57f6..28f7ad4c8bc 100644 --- a/src/locales/en/book/title.ts +++ b/src/locales/en/book/title.ts @@ -110,7 +110,7 @@ export default [ 'Nightmare Abbey', 'Nineteen Eighty Four', 'Nostromo', - 'Notes from the Underground ', + 'Notes from the Underground', 'Of Mice and Men', 'Oliver Twist', 'On the Duty of Civil Disobedience', diff --git a/src/locales/en/music/song_name.ts b/src/locales/en/music/song_name.ts index ae161d925d8..0e8ec4ef018 100644 --- a/src/locales/en/music/song_name.ts +++ b/src/locales/en/music/song_name.ts @@ -74,11 +74,11 @@ export default [ 'Baby Got Back', 'Baby Love', 'Baby One More Time', - 'Bad', 'Bad Day', 'Bad Girls', 'Bad Moon Rising', 'Bad Romance', + 'Bad, Bad Leroy Brown', 'Baker Street', "Ball of Confusion (That's What the World is Today)", 'Ballad of the Green Berets', @@ -131,16 +131,16 @@ export default [ 'Breaking Up is Hard to Do', 'Breathe', 'Bridge Over Troubled Water', - 'Brother', 'Brother Louie', + 'Brother, Can You Spare a Dime?', 'Brown Eyed Girl', 'Brown Sugar', 'Build Me Up Buttercup', 'Burn', 'Buttons & Bows', - 'Bye', - 'Bye Bye', 'Bye Bye Love', + 'Bye Bye, Blackbird', + 'Bye, Bye, Bye', 'Caldonia Boogie (What Makes Your Big Head So Hard)', "California Dreamin'", 'California Girls', @@ -148,7 +148,7 @@ export default [ 'Call Me Maybe', 'Can You Feel the Love Tonight', "Can't Buy Me Love", - "Can't Get Enough of Your Love", + "Can't Get Enough of Your Love, Babe", "Can't Help Falling in Love", "Candle in the Wind '97", 'Candy Man', @@ -169,7 +169,7 @@ export default [ 'Cheek to Cheek', 'Cherish', 'Cherry Pink & Apple Blossom White', - 'Cold', + 'Cold, Cold Heart', 'Colors of the Wind', 'Come On Eileen', 'Come On-a My House', @@ -254,7 +254,7 @@ export default [ 'Fly Robin Fly', 'Foolish Games', 'Footloose', - "For What It's Worth (Stop", + "For What It's Worth (Stop, Hey What's That Sound)", 'Fortunate Son', 'Frankenstein', 'Freak Me', @@ -283,7 +283,7 @@ export default [ 'Good Times', 'Good Vibrations', 'Goodbye Yellow Brick Road', - 'Goodnight', + 'Goodnight, Irene', 'Got to Give it Up', 'Grease', 'Great Balls of Fire', @@ -294,7 +294,7 @@ export default [ 'Grenade', 'Groove is in the Heart', "Groovin'", - 'Gypsies', + 'Gypsies, Tramps & Thieves', 'Hair', 'Hang On Sloopy', 'Hanging by a Moment', @@ -311,9 +311,9 @@ export default [ 'Heart of Glass', 'Heart of Gold', 'Heartbreak Hotel', - 'Hello', 'Hello Dolly', - 'Help Me', + "Hello, I Love You, Won't You Tell Me Your Name?", + 'Help Me, Rhonda', 'Help!', 'Here Without You', 'Here in My Heart', @@ -326,7 +326,7 @@ export default [ 'Hey Ya!', 'Higher Love', "Hips don't lie", - 'Hit the Road', + 'Hit the Road, Jack', 'Hold On', 'Hollaback Girl', 'Honey', @@ -349,13 +349,13 @@ export default [ 'Hungry Heart', 'Hurt So Good', 'I Believe I Can Fly', - 'I Can Dream', + "I Can Dream, Can't I?", 'I Can Help', 'I Can See Clearly Now', "I Can't Get Next to You", "I Can't Get Started", "I Can't Go For That (No Can Do)", - "I Can't Help Myself (Sugar Pie", + "I Can't Help Myself (Sugar Pie, Honey Bunch)", "I Can't Stop Loving You", "I Don't Want to Miss a Thing", 'I Fall to Pieces', @@ -463,7 +463,7 @@ export default [ 'Le Freak', 'Leader of the Pack', 'Lean On Me', - 'Leaving', + 'Leaving, on a Jet Plane', 'Let Me Call You Sweetheart', 'Let Me Love You', 'Let it Be', @@ -580,14 +580,14 @@ export default [ 'Nothing Compares 2 U', "Nothing's Gonna Stop Us Now", 'Ode To Billie Joe', - 'Oh', 'Oh Happy Day', 'Oh My Papa (O Mein Papa)', + 'Oh, Pretty Woman', "Ol' Man River", 'Ole Buttermilk Sky', 'On Bended Knee', 'On My Own', - 'On the Atchison', + 'On the Atchison, Topeka & the Santa Fe', 'One', 'One Bad Apple', 'One More Try', @@ -667,7 +667,7 @@ export default [ 'Roses Are Red', 'Royals', 'Ruby Tuesday', - 'Rudolph', + 'Rudolph, the Red-Nosed Reindeer', 'Rum & Coca-Cola', 'Runaround Sue', 'Runaway', @@ -679,7 +679,7 @@ export default [ 'Say It Right', 'Say My Name', 'Say Say Say', - 'Say You', + 'Say You, Say Me', "School's Out", 'Seasons in the Sun', 'Secret Love', @@ -697,7 +697,7 @@ export default [ 'Shout', 'Silly Love Songs', 'Since U Been Gone', - 'Sing', + 'Sing, Sing, Sing (With A Swing)', 'Singing The Blues', 'Single Ladies (Put A Ring On It)', 'Sir Duke', @@ -748,7 +748,7 @@ export default [ 'Sugar Sugar', 'Summer in the City', 'Summertime Blues', - 'Sunday', + 'Sunday, Monday or Always', 'Sunshine Superman', 'Sunshine of Your Love', 'Superstar', @@ -765,7 +765,7 @@ export default [ 'Swinging On a Star', 'T For Texas (Blue Yodel No 1)', 'TSOP (The Sound of Philadelphia)', - 'Take Me Home', + 'Take Me Home, Country Roads', 'Take My Breath Away', 'Take On Me', "Take The 'A' Train", @@ -845,7 +845,7 @@ export default [ 'Till The End of Time', 'Time After Time', 'Time of the Season', - 'To Sir', + 'To Sir, with Love', 'Tom Dooley', "Tonight's the Night (Gonna Be Alright)", 'Too Close', diff --git a/src/locales/en_IN/location/city_name.ts b/src/locales/en_IN/location/city_name.ts index 23310da8231..db0c0c25a99 100644 --- a/src/locales/en_IN/location/city_name.ts +++ b/src/locales/en_IN/location/city_name.ts @@ -196,7 +196,7 @@ export default [ 'Haldwani-cum-Kathgodam', 'Hansi', 'Hapur', - 'Hardoi ', + 'Hardoi', 'Hardwar', 'Hazaribag', 'Hindupur', diff --git a/src/locales/fa/lorem/word.ts b/src/locales/fa/lorem/word.ts index b2e47967935..ff835cf3e32 100644 --- a/src/locales/fa/lorem/word.ts +++ b/src/locales/fa/lorem/word.ts @@ -55,10 +55,10 @@ export default [ 'بیشتری را', 'برای', 'رایانه ای', - 'علی الخصوص ', + 'علی الخصوص', 'طراحان خلاقی', 'و فرهنگ پیشرو', - 'در زبان فارسی ', + 'در زبان فارسی', 'ایجاد', 'کرد', 'در این صورت', diff --git a/src/locales/fr/animal/horse.ts b/src/locales/fr/animal/horse.ts index 0183f37cba1..135cec28e3f 100644 --- a/src/locales/fr/animal/horse.ts +++ b/src/locales/fr/animal/horse.ts @@ -56,7 +56,7 @@ export default [ 'Baicha', 'Baise', 'Baixadeiro', - 'Baixo-Amazona ', + 'Baixo-Amazona', 'Bajau', 'Baladi', 'Bale', diff --git a/src/locales/fr/word/preposition.ts b/src/locales/fr/word/preposition.ts index 0006b6df65c..ec4f48e1d47 100644 --- a/src/locales/fr/word/preposition.ts +++ b/src/locales/fr/word/preposition.ts @@ -40,7 +40,7 @@ export default [ 'à bas de', 'à cause de', 'à côté de', - 'à défaut de ', + 'à défaut de', 'afin de', 'à force de', 'à la merci', diff --git a/src/locales/hr/location/country.ts b/src/locales/hr/location/country.ts index ce9f2308fc1..e3779a5443c 100644 --- a/src/locales/hr/location/country.ts +++ b/src/locales/hr/location/country.ts @@ -230,7 +230,7 @@ export default [ 'Tuvalu', 'Uganda', 'Ukrajina', - 'Ujedinjeni Arapski Emirati ', + 'Ujedinjeni Arapski Emirati', 'Ujedinjeno Kraljevstvo', 'Sjedinjenje Američke Države', 'Urugvaj', diff --git a/src/locales/hr/location/street_name.ts b/src/locales/hr/location/street_name.ts index 2061c79736f..67fd45dfcd8 100644 --- a/src/locales/hr/location/street_name.ts +++ b/src/locales/hr/location/street_name.ts @@ -346,7 +346,6 @@ export default [ 'Vladimira Vidrića', 'Vlašićka', 'Voćarska', - 'Voćarska ', 'Voćinska', 'Vodenička', 'Vranska', diff --git a/src/locales/nl/location/city_prefix.ts b/src/locales/nl/location/city_prefix.ts index 12029d636d8..7c5db93ca4e 100644 --- a/src/locales/nl/location/city_prefix.ts +++ b/src/locales/nl/location/city_prefix.ts @@ -414,7 +414,7 @@ export default [ 'Dellen', 'Delwijnen', 'Demen', - 'Den ', + 'Den', 'Deursen', 'Deuteren', 'Deventer', diff --git a/src/locales/pt_BR/color/human.ts b/src/locales/pt_BR/color/human.ts index d46c89b466a..b0f5f056704 100644 --- a/src/locales/pt_BR/color/human.ts +++ b/src/locales/pt_BR/color/human.ts @@ -9,7 +9,7 @@ export default [ 'bordô', 'bronze', 'caramelo', - 'castanho ', + 'castanho', 'cenoura', 'cinza', 'cobre', diff --git a/src/locales/sr_RS_latin/location/country.ts b/src/locales/sr_RS_latin/location/country.ts index 5d221b2665f..68c69442def 100644 --- a/src/locales/sr_RS_latin/location/country.ts +++ b/src/locales/sr_RS_latin/location/country.ts @@ -230,7 +230,7 @@ export default [ 'Tuvalu', 'Uganda', 'Ukrajina', - 'Ujedinjeni Arapski Emirati ', + 'Ujedinjeni Arapski Emirati', 'Ujedinjeno Kraljevstvo', 'Sjedinjenje Američke Države', 'Urugvaj', diff --git a/src/locales/tr/location/street_name.ts b/src/locales/tr/location/street_name.ts index aa81cfb71c3..d00e7232210 100644 --- a/src/locales/tr/location/street_name.ts +++ b/src/locales/tr/location/street_name.ts @@ -12,9 +12,9 @@ export default [ 'Sarıkaya Caddesi', 'Yunus Emre Sokak', 'Dar Sokak', - 'Fatih Sokak ', - 'Harman Yolu Sokak ', - 'Ergenekon Sokak ', + 'Fatih Sokak', + 'Harman Yolu Sokak', + 'Ergenekon Sokak', 'Ülkü Sokak', 'Sağlık Sokak', 'Okul Sokak', diff --git a/src/locales/tr/person/last_name.ts b/src/locales/tr/person/last_name.ts index 94924ef7db4..404337d3b72 100644 --- a/src/locales/tr/person/last_name.ts +++ b/src/locales/tr/person/last_name.ts @@ -8,7 +8,7 @@ export default { 'Adıvar', 'Akal', 'Akan', - 'Akar ', + 'Akar', 'Akay', 'Akaydın', 'Akbulut', @@ -54,9 +54,9 @@ export default { 'Demirbaş', 'Demirel', 'Denkel', - 'Dizdar ', - 'Doğan ', - 'Durak ', + 'Dizdar', + 'Doğan', + 'Durak', 'Durmaz', 'Duygulu', 'Düşenkalkar', @@ -94,7 +94,7 @@ export default { 'Karaer', 'Kasapoğlu', 'Kavaklıoğlu', - 'Kaya ', + 'Kaya', 'Keseroğlu', 'Keçeci', 'Kocabıyık', @@ -116,7 +116,7 @@ export default { 'Köylüoğlu', 'Küçükler', 'Kılıççı', - 'Kıraç ', + 'Kıraç', 'Limoncuoğlu', 'Mayhoş', 'Menemencioğlu', @@ -174,7 +174,7 @@ export default { 'Yetkiner', 'Yeşilkaya', 'Yorulmaz', - 'Yıldırım ', + 'Yıldırım', 'Yıldızoğlu', 'Yılmazer', 'Çamdalı', @@ -195,7 +195,7 @@ export default { 'Özdoğan', 'Özgörkey', 'Özkara', - 'Özkök ', + 'Özkök', 'Öztonga', 'Öztuna', ], diff --git a/src/locales/uz_UZ_latin/location/street_name_part.ts b/src/locales/uz_UZ_latin/location/street_name_part.ts index 3cf4bfdd701..6e17a225daf 100644 --- a/src/locales/uz_UZ_latin/location/street_name_part.ts +++ b/src/locales/uz_UZ_latin/location/street_name_part.ts @@ -96,12 +96,11 @@ export default [ 'Elmurod Lutfiyev', 'Elmurod Shahbozov', 'Elyor Abduljalilov', - 'export default [ Fayzbekov', - 'export default [ Nizomov', 'Farobiy', 'Farruh Abdulhafizov', 'Farruh Abdulvohidov', 'Farruh Oybekov', + 'Fayzbekov', 'Fazliddin Mavlonov', 'Firdavs Bakhtiyorov', 'Firdavs Komilov', @@ -265,6 +264,7 @@ export default [ 'Nizom Bakhtiyorov', 'Nizomiddin Mo‘minov', 'Nizomiddin Musulmonov', + 'Nizomov', 'Nosirjon Abdulazimov', 'Nosirjon Dovudov', 'Nosirjon Ismoilov', diff --git a/src/modules/helpers/index.ts b/src/modules/helpers/index.ts index 6709476776d..52d311dcb05 100644 --- a/src/modules/helpers/index.ts +++ b/src/modules/helpers/index.ts @@ -664,9 +664,9 @@ export class SimpleHelpersModule extends SimpleModuleBase { * @param length The number of elements to generate. * * @example - * faker.helpers.uniqueArray(faker.word.sample, 50) - * faker.helpers.uniqueArray(faker.definitions.person.first_name, 6) - * faker.helpers.uniqueArray(["Hello", "World", "Goodbye"], 2) + * faker.helpers.uniqueArray(faker.word.sample, 3) // ['mob', 'junior', 'ripe'] + * faker.helpers.uniqueArray(faker.definitions.person.first_name.generic, 6) // ['Silas', 'Montana', 'Lorenzo', 'Alayna', 'Aditya', 'Antone'] + * faker.helpers.uniqueArray(["Hello", "World", "Goodbye"], 2) // ['World', 'Goodbye'] * * @since 6.0.0 */ diff --git a/src/modules/lorem/index.ts b/src/modules/lorem/index.ts index 785b5a960d3..880fb1a61c6 100644 --- a/src/modules/lorem/index.ts +++ b/src/modules/lorem/index.ts @@ -75,10 +75,13 @@ export class LoremModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.lorem.word, }) ); diff --git a/src/modules/system/index.ts b/src/modules/system/index.ts index 1c387e519d8..8a5c65f0474 100644 --- a/src/modules/system/index.ts +++ b/src/modules/system/index.ts @@ -77,21 +77,21 @@ export class SystemModule extends ModuleBase { .toLowerCase() .replaceAll(/\W/g, '_'); - const extensionsStr = this.faker.helpers + const extensionsSuffix = this.faker.helpers .multiple(() => this.fileExt(), { count: extensionCount }) .join('.'); - if (extensionsStr.length === 0) { + if (extensionsSuffix.length === 0) { return baseName; } - return `${baseName}.${extensionsStr}`; + return `${baseName}.${extensionsSuffix}`; } /** * Returns a random file name with a given extension or a commonly used extension. * - * @param ext Extension. Empty string is considered to be not set. + * @param extension The file extension to use. Empty string is considered to be not set. * * @example * faker.system.commonFileName() // 'dollar.jpg' @@ -99,10 +99,10 @@ export class SystemModule extends ModuleBase { * * @since 3.1.0 */ - commonFileName(ext?: string): string { - const str = this.fileName({ extensionCount: 0 }); + commonFileName(extension?: string): string { + const fileName = this.fileName({ extensionCount: 0 }); - return `${str}.${ext || this.commonFileExt()}`; + return `${fileName}.${extension || this.commonFileExt()}`; } /** diff --git a/src/modules/word/index.ts b/src/modules/word/index.ts index ce46210b9db..6713eec06cb 100644 --- a/src/modules/word/index.ts +++ b/src/modules/word/index.ts @@ -67,10 +67,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.adjective, }) ); @@ -137,10 +140,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.adverb, }) ); @@ -207,10 +213,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.conjunction, }) ); @@ -277,10 +286,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.interjection, }) ); @@ -347,10 +359,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.noun, }) ); @@ -417,10 +432,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.preposition, }) ); @@ -487,10 +505,13 @@ export class WordModule extends ModuleBase { strategy?: 'fail' | 'closest' | 'shortest' | 'longest' | 'any-length'; } = {} ): string { - const opts = typeof options === 'number' ? { length: options } : options; + if (typeof options === 'number') { + options = { length: options }; + } + return this.faker.helpers.arrayElement( filterWordListByLength({ - ...opts, + ...options, wordList: this.faker.definitions.word.verb, }) ); diff --git a/test/modules/__snapshots__/animal.spec.ts.snap b/test/modules/__snapshots__/animal.spec.ts.snap index ae25d4f2951..2a7782b8d71 100644 --- a/test/modules/__snapshots__/animal.spec.ts.snap +++ b/test/modules/__snapshots__/animal.spec.ts.snap @@ -8,7 +8,7 @@ exports[`animal > 42 > cat 1`] = `"Himalayan"`; exports[`animal > 42 > cetacean 1`] = `"Fraser’s Dolphin"`; -exports[`animal > 42 > cow 1`] = `"Finnish Ayrshire"`; +exports[`animal > 42 > cow 1`] = `"Estonian Holstein"`; exports[`animal > 42 > crocodilia 1`] = `"Cuvier’s Dwarf Caiman"`; @@ -40,7 +40,7 @@ exports[`animal > 1211 > cat 1`] = `"Tonkinese"`; exports[`animal > 1211 > cetacean 1`] = `"Spinner Dolphin"`; -exports[`animal > 1211 > cow 1`] = `"Umblachery"`; +exports[`animal > 1211 > cow 1`] = `"Tux-Zillertal"`; exports[`animal > 1211 > crocodilia 1`] = `"West African Crocodile"`; @@ -72,7 +72,7 @@ exports[`animal > 1337 > cat 1`] = `"Devon Rex"`; exports[`animal > 1337 > cetacean 1`] = `"Clymene Dolphin"`; -exports[`animal > 1337 > cow 1`] = `"Campbell Island cattle"`; +exports[`animal > 1337 > cow 1`] = `"Butana cattle"`; exports[`animal > 1337 > crocodilia 1`] = `"Chinese Alligator"`; diff --git a/test/modules/system.spec.ts b/test/modules/system.spec.ts index 876fb3c6e15..1e3ff79bf89 100644 --- a/test/modules/system.spec.ts +++ b/test/modules/system.spec.ts @@ -66,8 +66,8 @@ describe('system', () => { () => { describe('commonFileExt()', () => { it('should return common file types', () => { - const fileExt = faker.system.commonFileExt(); - const extList = [ + const actual = faker.system.commonFileExt(); + const extensions = [ 'gif', 'htm', 'html', @@ -96,11 +96,11 @@ describe('system', () => { ]; expect( - extList, - `generated common file ext should be one of [${extList.join( + extensions, + `generated common file ext should be one of [${extensions.join( ', ' - )}]. Got "${fileExt}".` - ).include(fileExt); + )}]. Got "${actual}".` + ).include(actual); }); }); @@ -164,15 +164,15 @@ describe('system', () => { describe('fileExt()', () => { it('should return file ext', () => { - const fileExt = faker.system.fileExt(); + const actual = faker.system.fileExt(); - expect(fileExt).toBeTypeOf('string'); - expect(fileExt).not.toBe(''); + expect(actual).toBeTypeOf('string'); + expect(actual).not.toBe(''); }); it('should return file ext based on mimeType', () => { - const fileExt = faker.system.fileExt('text/plain'); - const extList = [ + const actual = faker.system.fileExt('text/plain'); + const extensions = [ 'txt', 'text', 'conf', @@ -184,11 +184,11 @@ describe('system', () => { ]; expect( - extList, - `generated common file ext should be one of [${extList.join( + extensions, + `generated common file ext should be one of [${extensions.join( ',' - )}]. Got "${fileExt}".` - ).include(fileExt); + )}]. Got "${actual}".` + ).include(actual); }); });