diff --git a/.github/workflows/e2e_all.yml b/.github/workflows/e2e_all.yml index e0386f9..3e649dd 100644 --- a/.github/workflows/e2e_all.yml +++ b/.github/workflows/e2e_all.yml @@ -17,6 +17,8 @@ jobs: fail-fast: false matrix: version: + - 1.21.1 + - 1.20.6 - 1.20.4 - 1.19.4 - 1.18.2 diff --git a/.github/workflows/e2e_notable.yml b/.github/workflows/e2e_notable.yml index e65808f..33fb0e2 100644 --- a/.github/workflows/e2e_notable.yml +++ b/.github/workflows/e2e_notable.yml @@ -20,6 +20,7 @@ jobs: fail-fast: false matrix: version: + - 1.21.1 - 1.16.5 - 1.16.3 - 1.13.2 diff --git a/tests_e2e/bot/package.json b/tests_e2e/bot/package.json index fa768bc..f27237c 100644 --- a/tests_e2e/bot/package.json +++ b/tests_e2e/bot/package.json @@ -14,8 +14,8 @@ "license": "MIT", "dependencies": { "args-parser": "^1.3.0", - "minecraft-data": "^3.69.0", - "minecraft-protocol": "^1.47.0" + "minecraft-data": "^3.78.0", + "minecraft-protocol": "^1.50.0" }, "devDependencies": { "prettier": "^3.3.3" diff --git a/tests_e2e/bot/pnpm-lock.yaml b/tests_e2e/bot/pnpm-lock.yaml index 3aacd43..b5d9908 100644 --- a/tests_e2e/bot/pnpm-lock.yaml +++ b/tests_e2e/bot/pnpm-lock.yaml @@ -12,11 +12,11 @@ importers: specifier: ^1.3.0 version: 1.3.0 minecraft-data: - specifier: ^3.69.0 - version: 3.69.0 + specifier: ^3.78.0 + version: 3.78.0 minecraft-protocol: - specifier: ^1.47.0 - version: 1.47.0 + specifier: ^1.50.0 + version: 1.50.0 devDependencies: prettier: specifier: ^3.3.3 @@ -24,19 +24,19 @@ importers: packages: - '@azure/msal-common@14.12.0': - resolution: {integrity: sha512-IDDXmzfdwmDkv4SSmMEyAniJf6fDu3FJ7ncOjlxkDuT85uSnLEhZi3fGZpoR7T4XZpOMx9teM9GXBgrfJgyeBw==} + '@azure/msal-common@14.15.0': + resolution: {integrity: sha512-ImAQHxmpMneJ/4S8BRFhjt1MZ3bppmpRPYYNyzeQPeFN288YKbb8TmmISQEbtfkQ1BPASvYZU5doIZOPBAqENQ==} engines: {node: '>=0.8.0'} - '@azure/msal-node@2.9.2': - resolution: {integrity: sha512-8tvi6Cos3m+0KmRbPjgkySXi+UQU/QiuVRFnrxIwt5xZlEEFa69O04RTaNESGgImyBBlYbo2mfE8/U8Bbdk1WQ==} + '@azure/msal-node@2.15.0': + resolution: {integrity: sha512-gVPW8YLz92ZeCibQH2QUw96odJoiM3k/ZPH3f2HxptozmH6+OnyyvKXo/Egg39HAM230akarQKHf0W74UHlh0Q==} engines: {node: '>=16'} - '@types/node@20.11.24': - resolution: {integrity: sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==} + '@types/node@22.8.6': + resolution: {integrity: sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==} - '@types/readable-stream@4.0.10': - resolution: {integrity: sha512-AbUKBjcC8SHmImNi4yK2bbjogQlkFSg7shZCcicxPQapniOlajG8GCc39lvXzCWX4lLRRs7DM3VAeSlqmEVZUA==} + '@types/readable-stream@4.0.18': + resolution: {integrity: sha512-21jK/1j+Wg+7jVw1xnSwy/2Q1VgVjWuFssbYGTREPUBeZ+rqVFl2udq0IkxzPC0ZhOzVceUbyIACFZKLqKEBlA==} '@xboxreplay/errors@0.1.0': resolution: {integrity: sha512-Tgz1d/OIPDWPeyOvuL5+aai5VCcqObhPnlI3skQuf80GVF3k1I0lPCnGC+8Cm5PV9aLBT5m8qPcJoIUQ2U4y9g==} @@ -79,8 +79,8 @@ packages: commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -111,8 +111,8 @@ packages: fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - follow-redirects@1.15.6: - resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} + follow-redirects@1.15.9: + resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -123,11 +123,8 @@ packages: ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - - jose@4.15.5: - resolution: {integrity: sha512-jc7BFxgKPKi94uOvEmzlSWFFe2+vASyXaKUpdQKatWAESU2MWjDfFf0fdfc83CDKcA5QecabZeNLyfhe3yKNkg==} + jose@4.15.9: + resolution: {integrity: sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==} json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -172,21 +169,17 @@ packages: lodash.reduce@4.6.0: resolution: {integrity: sha512-6raRe2vxCYBhpBu+B+TtNGUzah+hQjVdu3E17wfusjyrXBka2nBS8OH/gjVZ5PvHOhWmIZTYri09Z6n/QfnNMw==} - lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - macaddress@0.5.3: resolution: {integrity: sha512-vGBKTA+jwM4KgjGZ+S/8/Mkj9rWzePyGY6jManXPGhiWu63RYwW8dKPyk5koP+8qNVhPhHgFa1y/MJ4wrjsNrg==} - minecraft-data@3.69.0: - resolution: {integrity: sha512-FGpjH/8ABfIuHm53253MZZVLwfVgLuRl4wrYz91TNoT14a+pMPH7igNxdpBmKayhiO7VO0ox/ZISkCOj6S/isA==} + minecraft-data@3.78.0: + resolution: {integrity: sha512-Ssks8QD31lsoxqa7LySTqeP9romsfAbfsSGiUHiGMeqfxRi/PtOxGLyKD1BXB8V/tXLztFcbQYqzIhprDkPguw==} minecraft-folder-path@1.2.0: resolution: {integrity: sha512-qaUSbKWoOsH9brn0JQuBhxNAzTDMwrOXorwuRxdJKKKDYvZhtml+6GVCUrY5HRiEsieBEjCUnhVpDuQiKsiFaw==} - minecraft-protocol@1.47.0: - resolution: {integrity: sha512-IHL8faXLLIWv1O+2v2NgyKlooilu/OiSL9orI8Kqed/rZvVOrFPzs2PwMAYjpQX9gxLPhiSU19KqZ8CjfNuqhg==} + minecraft-protocol@1.50.0: + resolution: {integrity: sha512-GiZy8g4YG0iZEKifX6ulCyhVnTDGZ1gH0ouUdxjo6xkKwp4KOf+ptbBgZ8G5+WHCumrI91+v/JYU07uCvKdi0w==} engines: {node: '>=14'} mojangson@2.0.4: @@ -195,9 +188,6 @@ packages: moo@0.5.2: resolution: {integrity: sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==} - ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -222,20 +212,20 @@ packages: engines: {node: '>=14'} hasBin: true - prismarine-auth@2.4.1: - resolution: {integrity: sha512-DwDI3Ucxf/eThJJo5QVzlywFrJulL1fK1z6F8bybvddim8YgudRksQc3w4cE2m0hPPHfE1BRd5lh1NpedrixMQ==} + prismarine-auth@2.5.0: + resolution: {integrity: sha512-CRv/pL6d/T+4cdjWS223PXG+ygHbz40Kef04L59SLMT+axNdAQro23eZZhgiIIu6u7rlvJcZYlIY93gFNtKxXA==} - prismarine-chat@1.10.0: - resolution: {integrity: sha512-f9ESzi2Kkf4GJadtgBl+SmvtAlmOXaso6Fxt4M/vUXDKgQNSk66APmIHnBkKWyjzG9X2VXsbDGeIIPf/d3guxA==} + prismarine-chat@1.10.1: + resolution: {integrity: sha512-XukYcuueuhDxzEXG7r8BZyt6jOObrPPB4JESCgb+/XenB9nExoSHF8eTQWWj8faKPLqm1dRQaYwFJlNBlJZJUw==} - prismarine-nbt@2.5.0: - resolution: {integrity: sha512-F0/8UAa9SDDnAGrBYqZc4nG8h2zj5cE2eAJU5xlDR/IsQQ3moVxkOjE3h3nMv6SbvZrvAcgX7waA/nd9LLHYdA==} + prismarine-nbt@2.6.0: + resolution: {integrity: sha512-z65ijm6hVlYOmhg8IEzdYfUz1u3AOiQtzyTSAwD8NLBCr96ZUPtUH5o/6sGAoDaN+rkDe0DNBCiO7bvXXO1fkQ==} prismarine-realms@1.3.2: resolution: {integrity: sha512-5apl9Ru8veTj5q2OozRc4GZOuSIcs3yY4UEtALiLKHstBe8bRw8vNlaz4Zla3jsQ8yP/ul1b1IJINTRbocuA6g==} - prismarine-registry@1.7.0: - resolution: {integrity: sha512-yyva0FpWI078nNeMhx8ekVza5uUTYhEv+C+ADu3wUQXiG8qhXkvrf0uzsnhTgZL8BLdsi2axgCEiKw9qSKIuxQ==} + prismarine-registry@1.10.0: + resolution: {integrity: sha512-6TYQiZHtsJ87HsB2E0yamCFp77ZyyLT16OmW5iXB5V30yCPflhHvR5TR2IqISmmiRc2093BkHfiIhsOZaMatmQ==} process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} @@ -245,8 +235,8 @@ packages: resolution: {integrity: sha512-lZ5FWKZYR9xOjpMw1+EfZRfCjzNRQWPq+Dk+jki47Sikl2EeWEPnTfnJERwnU/EwFq6us+0zqHHzSsmLeYX+Lg==} hasBin: true - protodef@1.15.0: - resolution: {integrity: sha512-bZ2Omw8dT+DACjJHLrBWZlqN4MlT9g9oSpJDdkUAJOStUzgJp+Zn42FJfPUdwutUxjaxA0PftN0PDlNa2XbneA==} + protodef@1.17.0: + resolution: {integrity: sha512-mnpNPV3xwu63u3NwZuXM1RCp979vjHxUGHzVrb6dxbvof5Fx+b8Rs0G0c3xtEuFDreGAMWS7VrlNkDUDBMsFWQ==} engines: {node: '>=14'} punycode@2.3.1: @@ -260,10 +250,6 @@ packages: resolution: {integrity: sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==} engines: {node: '>=0.12'} - readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} - readable-stream@4.5.2: resolution: {integrity: sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -278,8 +264,8 @@ packages: safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - semver@7.6.0: - resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + semver@7.6.3: + resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} hasBin: true @@ -293,15 +279,12 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - uuid-1345@1.0.2: resolution: {integrity: sha512-bA5zYZui+3nwAc0s3VdGQGBfbVsJLVX7Np7ch2aqcEWFi5lsAEcmO3+lx3djM1npgpZI8KY2FITZ2uYTnYUYyw==} @@ -315,37 +298,34 @@ packages: whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - yggdrasil@1.7.0: resolution: {integrity: sha512-QBIo5fiNd7688G3FqXXYGr36uyrYzczlNuzpWFy2zL3+R+3KT2lF+wFxm51synfA3l3z6IBiGOc1/EVXWCYY1Q==} snapshots: - '@azure/msal-common@14.12.0': {} + '@azure/msal-common@14.15.0': {} - '@azure/msal-node@2.9.2': + '@azure/msal-node@2.15.0': dependencies: - '@azure/msal-common': 14.12.0 + '@azure/msal-common': 14.15.0 jsonwebtoken: 9.0.2 uuid: 8.3.2 - '@types/node@20.11.24': + '@types/node@22.8.6': dependencies: - undici-types: 5.26.5 + undici-types: 6.19.8 - '@types/readable-stream@4.0.10': + '@types/readable-stream@4.0.18': dependencies: - '@types/node': 20.11.24 + '@types/node': 22.8.6 safe-buffer: 5.1.2 '@xboxreplay/errors@0.1.0': {} - '@xboxreplay/xboxlive-auth@3.3.3(debug@4.3.4)': + '@xboxreplay/xboxlive-auth@3.3.3(debug@4.3.7)': dependencies: '@xboxreplay/errors': 0.1.0 - axios: 0.21.4(debug@4.3.4) + axios: 0.21.4(debug@4.3.7) transitivePeerDependencies: - debug @@ -366,9 +346,9 @@ snapshots: asn1@0.2.3: {} - axios@0.21.4(debug@4.3.4): + axios@0.21.4(debug@4.3.7): dependencies: - follow-redirects: 1.15.6(debug@4.3.4) + follow-redirects: 1.15.9(debug@4.3.7) transitivePeerDependencies: - debug @@ -385,9 +365,9 @@ snapshots: commander@2.20.3: {} - debug@4.3.4: + debug@4.3.7: dependencies: - ms: 2.1.2 + ms: 2.1.3 discontinuous-range@1.0.0: {} @@ -405,15 +385,13 @@ snapshots: fast-json-stable-stringify@2.1.0: {} - follow-redirects@1.15.6(debug@4.3.4): + follow-redirects@1.15.9(debug@4.3.7): optionalDependencies: - debug: 4.3.4 + debug: 4.3.7 ieee754@1.2.1: {} - inherits@2.0.4: {} - - jose@4.15.5: {} + jose@4.15.9: {} json-schema-traverse@0.4.1: {} @@ -428,7 +406,7 @@ snapshots: lodash.isstring: 4.0.1 lodash.once: 4.1.1 ms: 2.1.3 - semver: 7.6.0 + semver: 7.6.3 jwa@1.4.1: dependencies: @@ -461,34 +439,30 @@ snapshots: lodash.reduce@4.6.0: {} - lru-cache@6.0.0: - dependencies: - yallist: 4.0.0 - macaddress@0.5.3: {} - minecraft-data@3.69.0: {} + minecraft-data@3.78.0: {} minecraft-folder-path@1.2.0: {} - minecraft-protocol@1.47.0: + minecraft-protocol@1.50.0: dependencies: - '@types/readable-stream': 4.0.10 + '@types/readable-stream': 4.0.18 aes-js: 3.1.2 buffer-equal: 1.0.1 - debug: 4.3.4 + debug: 4.3.7 endian-toggle: 0.0.0 lodash.get: 4.4.2 lodash.merge: 4.6.2 - minecraft-data: 3.69.0 + minecraft-data: 3.78.0 minecraft-folder-path: 1.2.0 node-fetch: 2.7.0 node-rsa: 0.4.2 - prismarine-auth: 2.4.1 - prismarine-chat: 1.10.0 - prismarine-nbt: 2.5.0 + prismarine-auth: 2.5.0 + prismarine-chat: 1.10.1 + prismarine-nbt: 2.6.0 prismarine-realms: 1.3.2 - protodef: 1.15.0 + protodef: 1.17.0 readable-stream: 4.5.2 uuid-1345: 1.0.2 yggdrasil: 1.7.0 @@ -502,8 +476,6 @@ snapshots: moo@0.5.2: {} - ms@2.1.2: {} - ms@2.1.3: {} nearley@2.20.1: @@ -523,12 +495,12 @@ snapshots: prettier@3.3.3: {} - prismarine-auth@2.4.1: + prismarine-auth@2.5.0: dependencies: - '@azure/msal-node': 2.9.2 - '@xboxreplay/xboxlive-auth': 3.3.3(debug@4.3.4) - debug: 4.3.4 - jose: 4.15.5 + '@azure/msal-node': 2.15.0 + '@xboxreplay/xboxlive-auth': 3.3.3(debug@4.3.7) + debug: 4.3.7 + jose: 4.15.9 node-fetch: 2.7.0 smart-buffer: 4.2.0 uuid-1345: 1.0.2 @@ -536,28 +508,28 @@ snapshots: - encoding - supports-color - prismarine-chat@1.10.0: + prismarine-chat@1.10.1: dependencies: mojangson: 2.0.4 - prismarine-nbt: 2.5.0 - prismarine-registry: 1.7.0 + prismarine-nbt: 2.6.0 + prismarine-registry: 1.10.0 - prismarine-nbt@2.5.0: + prismarine-nbt@2.6.0: dependencies: - protodef: 1.15.0 + protodef: 1.17.0 prismarine-realms@1.3.2: dependencies: - debug: 4.3.4 + debug: 4.3.7 node-fetch: 2.7.0 transitivePeerDependencies: - encoding - supports-color - prismarine-registry@1.7.0: + prismarine-registry@1.10.0: dependencies: - minecraft-data: 3.69.0 - prismarine-nbt: 2.5.0 + minecraft-data: 3.78.0 + prismarine-nbt: 2.6.0 process@0.11.10: {} @@ -565,12 +537,12 @@ snapshots: dependencies: ajv: 6.12.6 - protodef@1.15.0: + protodef@1.17.0: dependencies: lodash.get: 4.4.2 lodash.reduce: 4.6.0 protodef-validator: 1.3.1 - readable-stream: 3.6.2 + readable-stream: 4.5.2 punycode@2.3.1: {} @@ -581,12 +553,6 @@ snapshots: discontinuous-range: 1.0.0 ret: 0.1.15 - readable-stream@3.6.2: - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - readable-stream@4.5.2: dependencies: abort-controller: 3.0.0 @@ -601,9 +567,7 @@ snapshots: safe-buffer@5.2.1: {} - semver@7.6.0: - dependencies: - lru-cache: 6.0.0 + semver@7.6.3: {} smart-buffer@4.2.0: {} @@ -613,14 +577,12 @@ snapshots: tr46@0.0.3: {} - undici-types@5.26.5: {} + undici-types@6.19.8: {} uri-js@4.4.1: dependencies: punycode: 2.3.1 - util-deprecate@1.0.2: {} - uuid-1345@1.0.2: dependencies: macaddress: 0.5.3 @@ -634,8 +596,6 @@ snapshots: tr46: 0.0.3 webidl-conversions: 3.0.1 - yallist@4.0.0: {} - yggdrasil@1.7.0: dependencies: node-fetch: 2.7.0 diff --git a/tests_e2e/run.py b/tests_e2e/run.py index 3bdcf26..f8db905 100755 --- a/tests_e2e/run.py +++ b/tests_e2e/run.py @@ -81,7 +81,9 @@ )) ), **( - dict((version, {}) for version in ( + dict((version, { + 'java': 17, + }) for version in ( '1.17.1', '1.18.2', '1.19.3', @@ -95,6 +97,7 @@ dict(( version, { + 'java': 17, 'folia': True, }, ) for version in ( @@ -105,9 +108,22 @@ dict(( version, { + 'java': 21, + }, + ) for version in ( + '1.20.6', + '1.21.1', + )) + ), + **( + dict(( + version, + { + 'java': 21, 'bot': False, }, ) for version in ( + '1.21.3', )) ), } @@ -214,7 +230,7 @@ def save(data): ] debug_level = int(environ.get("DEBUG")) if environ.get("DEBUG") else 0 - debug = debug_level or environ.get("ACTIONS_STEP_DEBUG") == "true" + debug = debug_level > 0 basicConfig( level=DEBUG if debug else INFO ) @@ -286,16 +302,14 @@ def save(data): bot_container = None assert action not in ("test",) - if "java" in version_info: - server_java_version = version_info["java"] - else: - server_java_version = 17 - if "server" in version_info: server_version = version_info["server"] else: server_version = client_version + assert "java" in version_info, f"java version for {server_version} is not defined" + server_java_version = version_info["java"] + if "world" in version_info: world_version = version_info["world"] else: @@ -470,6 +484,7 @@ def save(data): ] if debug else [ '-f', 'bot', + *servers, ]) ], stdout=PIPE,