diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b0eb19..f145d73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,29 +11,21 @@ jobs: steps: - name: Startup uses: actions/checkout@v3 - - name: Checkout PharBuilder - uses: actions/checkout@v3 - with: - repository: NetherGamesMC/PharBuilder - token: ${{ secrets.ng_token }} - path: PharBuilder - ref: pm5 - name: Download PHP Release - uses: dsaltares/fetch-gh-release-asset@1.1.0 + uses: dsaltares/fetch-gh-release-asset@1.1.2 with: - file: Linux.zip + file: PHP-Linux-x86_64-PM5.tar.gz repo: NetherGamesMC/php-build-scripts - version: "tags/8.2-pm5" + version: "tags/php-8.3-latest" token: ${{ secrets.GITHUB_TOKEN }} - name: Unpack PHP Release - run: unzip Linux.zip && tar -xzvf PHP_Linux-x86_64.tar.gz + run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz - name: Download Composer run: curl -o ./bin/composer.phar "https://getcomposer.org/composer-stable.phar" - name: Install Composer dependencies - run: | - ./bin/php7/bin/php ./bin/composer.phar install --prefer-dist --no-interaction --no-dev + run: ./bin/php7/bin/php ./bin/composer.phar install --prefer-dist --no-interaction --no-dev - name: Download pharbuilder-rs - uses: dsaltares/fetch-gh-release-asset@1.1.0 + uses: dsaltares/fetch-gh-release-asset@1.1.2 with: file: pharbuilder repo: NetherGamesMC/pharbuilder-rs @@ -42,10 +34,10 @@ jobs: run: | echo Building... chmod +x pharbuilder - ./pharbuilder -i . -o PharBuilder/ProxyTransport.phar + ./pharbuilder -i . -o ./ProxyTransport.phar echo Build completed! - name: Upload uses: actions/upload-artifact@v3 with: name: ProxyTransport - path: PharBuilder/ProxyTransport.phar + path: ProxyTransport.phar diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 0432417..16039c9 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -12,17 +12,17 @@ jobs: - name: Startup uses: actions/checkout@v3 - name: Download PHP Release - uses: dsaltares/fetch-gh-release-asset@1.1.0 + uses: dsaltares/fetch-gh-release-asset@1.1.2 with: - file: Linux.zip + file: PHP-Linux-x86_64-PM5.tar.gz repo: NetherGamesMC/php-build-scripts - version: "tags/8.2-pm5" + version: "tags/php-8.3-latest" token: ${{ secrets.GITHUB_TOKEN }} - name: Unpack PHP Release - run: unzip Linux.zip && tar -xzvf PHP_Linux-x86_64.tar.gz + run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz - name: Download Composer - run: curl -o composer.phar "https://getcomposer.org/composer-stable.phar" + run: curl -o ./bin/composer.phar "https://getcomposer.org/composer-stable.phar" - name: Install Composer dependencies - run: ./bin/php7/bin/php composer.phar install --prefer-dist --no-interaction + run: ./bin/php7/bin/php ./bin/composer.phar install --prefer-dist --no-interaction - name: Run PHPStan run: ./bin/php7/bin/php vendor/bin/phpstan.phar analyze --no-progress \ No newline at end of file diff --git a/composer.json b/composer.json index 9fb3279..b275319 100644 --- a/composer.json +++ b/composer.json @@ -5,15 +5,16 @@ "type": "project", "require": { "php": "^8.1", - "ext-pthreads": "^5.1", + "ext-pmmpthread": "^6.0.1", "ext-sockets": "*", - "nethergamesmc/libproxy": "dev-pm5" + "nethergamesmc/libproxy": "dev-tcp" }, "require-dev": { "phpstan/phpstan": "1.10.8", - "pocketmine/pocketmine-mp": "^5.0.0-BETA1" + "nethergamesmc/pocketmine-mp": "dev-stable" }, "repositories": [ + { "type": "vcs", "url": "git@github.com:NetherGamesMC/PocketMine-MP.git" }, { "type": "vcs", "url": "git@github.com:NetherGamesMC/libproxy.git" } ], "autoload": { diff --git a/composer.lock b/composer.lock index f5c8703..a7cf169 100644 --- a/composer.lock +++ b/composer.lock @@ -4,29 +4,30 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7d438429721c081976c02368ab720159", + "content-hash": "f809d240d123cd591c518c294ae7d3e5", "packages": [ { "name": "nethergamesmc/libproxy", - "version": "dev-pm5", + "version": "dev-tcp", "source": { "type": "git", "url": "https://github.com/NetherGamesMC/libproxy.git", - "reference": "7c8b563de1cd583b4568a9bb198116114f2e8526" + "reference": "65f2afd4978beb06799c88f9707e8774a756f40f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/NetherGamesMC/libproxy/zipball/7c8b563de1cd583b4568a9bb198116114f2e8526", - "reference": "7c8b563de1cd583b4568a9bb198116114f2e8526", + "url": "https://api.github.com/repos/NetherGamesMC/libproxy/zipball/65f2afd4978beb06799c88f9707e8774a756f40f", + "reference": "65f2afd4978beb06799c88f9707e8774a756f40f", "shasum": "" }, "require": { - "ext-pthreads": "*", + "ext-pmmpthread": "^6.0.1", "ext-sockets": "*", "php": "^8.0" }, "require-dev": { - "phpstan/phpstan": "1.10.8" + "nethergamesmc/pocketmine-mp": "dev-stable", + "phpstan/phpstan": "1.10.21" }, "type": "project", "autoload": { @@ -39,10 +40,10 @@ ], "description": "An TCP proxy library for PocketMine-MP", "support": { - "source": "https://github.com/NetherGamesMC/libproxy/tree/pm5", + "source": "https://github.com/NetherGamesMC/libproxy/tree/tcp", "issues": "https://github.com/NetherGamesMC/libproxy/issues" }, - "time": "2023-03-26T11:25:24+00:00" + "time": "2024-04-05T23:17:01+00:00" } ], "packages-dev": [ @@ -107,25 +108,25 @@ }, { "name": "brick/math", - "version": "v0.11.x-dev", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "8d60a347dd96c2c748f8993300a27d079a53144a" + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/8d60a347dd96c2c748f8993300a27d079a53144a", - "reference": "8d60a347dd96c2c748f8993300a27d079a53144a", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^9.0", - "vimeo/psalm": "5.0.0" + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" }, "type": "library", "autoload": { @@ -145,12 +146,17 @@ "arithmetic", "bigdecimal", "bignum", + "bignumber", "brick", - "math" + "decimal", + "integer", + "math", + "mathematics", + "rational" ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/v0.11" + "source": "https://github.com/brick/math/tree/0.12.1" }, "funding": [ { @@ -158,134 +164,201 @@ "type": "github" } ], - "time": "2023-01-15T23:12:38+00:00" + "time": "2023-11-29T23:19:16+00:00" }, { - "name": "fgrosse/phpasn1", - "version": "v2.5.0", + "name": "nethergamesmc/bedrock-data", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/fgrosse/PHPASN1.git", - "reference": "42060ed45344789fb9f21f9f1864fc47b9e3507b" + "url": "https://github.com/NetherGamesMC/BedrockData.git", + "reference": "ea90e31ed8264fd098b4c9d3eb9ec8f9d590eb94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fgrosse/PHPASN1/zipball/42060ed45344789fb9f21f9f1864fc47b9e3507b", - "reference": "42060ed45344789fb9f21f9f1864fc47b9e3507b", + "url": "https://api.github.com/repos/NetherGamesMC/BedrockData/zipball/ea90e31ed8264fd098b4c9d3eb9ec8f9d590eb94", + "reference": "ea90e31ed8264fd098b4c9d3eb9ec8f9d590eb94", + "shasum": "" + }, + "default-branch": true, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "CC0-1.0" + ], + "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP", + "support": { + "source": "https://github.com/NetherGamesMC/BedrockData/tree/master" + }, + "time": "2024-04-25T10:37:24+00:00" + }, + { + "name": "nethergamesmc/bedrock-protocol", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/NetherGamesMC/BedrockProtocol.git", + "reference": "44784e4f381781272e2b7a24d1ec0be1097a3d5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/NetherGamesMC/BedrockProtocol/zipball/44784e4f381781272e2b7a24d1ec0be1097a3d5f", + "reference": "44784e4f381781272e2b7a24d1ec0be1097a3d5f", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "ext-json": "*", + "php": "^8.1", + "pocketmine/binaryutils": "^0.2.0", + "pocketmine/color": "^0.2.0 || ^0.3.0", + "pocketmine/math": "^0.3.0 || ^0.4.0 || ^1.0.0", + "pocketmine/nbt": "^1.0.0", + "ramsey/uuid": "^4.1" }, "require-dev": { - "php-coveralls/php-coveralls": "~2.0", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "suggest": { - "ext-bcmath": "BCmath is the fallback extension for big integer calculations", - "ext-curl": "For loading OID information from the web if they have not bee defined statically", - "ext-gmp": "GMP is the preferred extension for big integer calculations", - "phpseclib/bcmath_compat": "BCmath polyfill for servers where neither GMP nor BCmath is available" + "phpstan/phpstan": "1.10.59", + "phpstan/phpstan-phpunit": "^1.0.0", + "phpstan/phpstan-strict-rules": "^1.0.0", + "phpunit/phpunit": "^9.5 || ^10.0" }, + "default-branch": true, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { - "FG\\": "lib/" + "pocketmine\\network\\mcpe\\protocol\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "authors": [ - { - "name": "Friedrich Große", - "email": "friedrich.grosse@gmail.com", - "homepage": "https://github.com/FGrosse", - "role": "Author" - }, - { - "name": "All contributors", - "homepage": "https://github.com/FGrosse/PHPASN1/contributors" - } - ], - "description": "A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.", - "homepage": "https://github.com/FGrosse/PHPASN1", - "keywords": [ - "DER", - "asn.1", - "asn1", - "ber", - "binary", - "decoding", - "encoding", - "x.509", - "x.690", - "x509", - "x690" + "LGPL-3.0" ], + "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", "support": { - "issues": "https://github.com/fgrosse/PHPASN1/issues", - "source": "https://github.com/fgrosse/PHPASN1/tree/v2.5.0" + "source": "https://github.com/NetherGamesMC/BedrockProtocol/tree/master" }, - "abandoned": true, - "time": "2022-12-19T11:08:26+00:00" + "time": "2024-04-25T10:34:42+00:00" }, { - "name": "netresearch/jsonmapper", - "version": "v4.1.0", + "name": "nethergamesmc/pocketmine-mp", + "version": "dev-stable", "source": { "type": "git", - "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f" + "url": "https://github.com/NetherGamesMC/PocketMine-MP.git", + "reference": "19a32c735c46e846d2b6ce7d4406ce6849c16d1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", - "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "url": "https://api.github.com/repos/NetherGamesMC/PocketMine-MP/zipball/19a32c735c46e846d2b6ce7d4406ce6849c16d1f", + "reference": "19a32c735c46e846d2b6ce7d4406ce6849c16d1f", "shasum": "" }, "require": { + "adhocore/json-comment": "~1.2.0", + "composer-runtime-api": "^2.0", + "ext-chunkutils2": "^0.3.1", + "ext-crypto": "^0.3.1", + "ext-ctype": "*", + "ext-curl": "*", + "ext-date": "*", + "ext-gmp": "*", + "ext-hash": "*", + "ext-igbinary": "^3.0.1", "ext-json": "*", + "ext-leveldb": "^0.2.1 || ^0.3.0", + "ext-mbstring": "*", + "ext-morton": "^0.1.0", + "ext-openssl": "*", "ext-pcre": "*", + "ext-phar": "*", + "ext-pmmpthread": "^6.1.0", "ext-reflection": "*", + "ext-simplexml": "*", + "ext-sockets": "*", "ext-spl": "*", - "php": ">=7.1" + "ext-yaml": ">=2.0.0", + "ext-zip": "*", + "ext-zlib": ">=1.2.11", + "nethergamesmc/bedrock-data": "dev-master", + "nethergamesmc/bedrock-protocol": "dev-master", + "php": "^8.1", + "php-64bit": "*", + "pocketmine/bedrock-block-upgrade-schema": "~4.1.0+bedrock-1.20.80", + "pocketmine/bedrock-item-upgrade-schema": "~1.9.0+bedrock-1.20.80", + "pocketmine/binaryutils": "^0.2.1", + "pocketmine/callback-validator": "^1.0.2", + "pocketmine/color": "^0.3.0", + "pocketmine/errorhandler": "^0.7.0", + "pocketmine/locale-data": "~2.19.0", + "pocketmine/log": "^0.4.0", + "pocketmine/math": "~1.0.0", + "pocketmine/nbt": "~1.0.0", + "pocketmine/netresearch-jsonmapper": "~v4.4.999", + "pocketmine/raklib": "~1.1.0", + "pocketmine/raklib-ipc": "~1.0.0", + "pocketmine/snooze": "^0.5.0", + "ramsey/uuid": "~4.7.0", + "symfony/filesystem": "~6.4.0" }, "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", - "squizlabs/php_codesniffer": "~3.5" + "phpstan/phpstan": "1.10.67", + "phpstan/phpstan-phpunit": "^1.1.0", + "phpstan/phpstan-strict-rules": "^1.2.0", + "phpunit/phpunit": "~10.3.0 || ~10.2.0 || ~10.1.0" }, - "type": "library", + "default-branch": true, + "type": "project", "autoload": { - "psr-0": { - "JsonMapper": "src/" + "psr-4": { + "pocketmine\\": "src/" + }, + "files": [ + "src/CoreConstants.php" + ] + }, + "autoload-dev": { + "psr-4": { + "pocketmine\\": "tests/phpunit/", + "pocketmine\\phpstan\\rules\\": "tests/phpstan/rules" } }, - "notification-url": "https://packagist.org/downloads/", + "scripts": { + "make-devtools": [ + "@php -dphar.readonly=0 tests/plugins/DevTools/src/ConsoleScript.php --make ./ --relative tests/plugins/DevTools --out plugins/DevTools.phar" + ], + "make-server": [ + "@composer install --no-dev --classmap-authoritative --ignore-platform-reqs", + "@php -dphar.readonly=0 build/server-phar.php" + ], + "update-codegen": [ + "@php build/generate-bedrockdata-path-consts.php", + "@php build/generate-biome-ids.php", + "@php build/generate-block-serializer-consts.php vendor/pocketmine/bedrock-data/canonical_block_states.nbt", + "@php build/generate-item-type-names.php vendor/pocketmine/bedrock-data/required_item_list.json", + "@php build/generate-known-translation-apis.php", + "@php build/generate-pocketmine-yml-property-consts.php", + "@php build/generate-registry-annotations.php src" + ] + }, "license": [ - "OSL-3.0" + "LGPL-3.0" ], - "authors": [ + "description": "A server software for Minecraft: Bedrock Edition written in PHP", + "homepage": "https://pmmp.io", + "support": { + "source": "https://github.com/NetherGamesMC/PocketMine-MP/tree/stable", + "issues": "https://github.com/NetherGamesMC/PocketMine-MP/issues" + }, + "funding": [ { - "name": "Christian Weiske", - "email": "cweiske@cweiske.de", - "homepage": "http://github.com/cweiske/jsonmapper/", - "role": "Developer" + "type": "patreon", + "url": "https://www.patreon.com/pocketminemp" + }, + { + "type": "custom", + "url": "https://github.com/pmmp/PocketMine-MP#donate" } ], - "description": "Map nested JSON structures onto PHP classes", - "support": { - "email": "cweiske@cweiske.de", - "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.1.0" - }, - "time": "2022-12-08T20:46:14+00:00" + "time": "2024-05-11T13:54:12+00:00" }, { "name": "phpstan/phpstan", @@ -351,16 +424,16 @@ }, { "name": "pocketmine/bedrock-block-upgrade-schema", - "version": "1.1.1", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockBlockUpgradeSchema.git", - "reference": "e0540343e649a92126a1d4071ec401a811416c76" + "reference": "d6b10cb0a5e69fb1dfe3b7f493bf4f519723a9cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockBlockUpgradeSchema/zipball/e0540343e649a92126a1d4071ec401a811416c76", - "reference": "e0540343e649a92126a1d4071ec401a811416c76", + "url": "https://api.github.com/repos/pmmp/BedrockBlockUpgradeSchema/zipball/d6b10cb0a5e69fb1dfe3b7f493bf4f519723a9cb", + "reference": "d6b10cb0a5e69fb1dfe3b7f493bf4f519723a9cb", "shasum": "" }, "type": "library", @@ -371,48 +444,22 @@ "description": "Schemas describing how to upgrade saved block data in older Minecraft: Bedrock Edition world saves", "support": { "issues": "https://github.com/pmmp/BedrockBlockUpgradeSchema/issues", - "source": "https://github.com/pmmp/BedrockBlockUpgradeSchema/tree/1.1.1" - }, - "time": "2023-03-08T23:45:59+00:00" - }, - { - "name": "pocketmine/bedrock-data", - "version": "2.0.0+bedrock-1.19.60", - "source": { - "type": "git", - "url": "https://github.com/pmmp/BedrockData.git", - "reference": "957e49b2381641af29f595e4f32ded3e76ce4723" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/957e49b2381641af29f595e4f32ded3e76ce4723", - "reference": "957e49b2381641af29f595e4f32ded3e76ce4723", - "shasum": "" + "source": "https://github.com/pmmp/BedrockBlockUpgradeSchema/tree/4.1.0" }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "CC0-1.0" - ], - "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP", - "support": { - "issues": "https://github.com/pmmp/BedrockData/issues", - "source": "https://github.com/pmmp/BedrockData/tree/2.0.0+bedrock-1.19.60" - }, - "time": "2023-02-23T21:25:04+00:00" + "time": "2024-04-05T17:28:14+00:00" }, { "name": "pocketmine/bedrock-item-upgrade-schema", - "version": "1.1.0", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockItemUpgradeSchema.git", - "reference": "aab89a1f121a0c127557a4a0cf981330301c9c45" + "reference": "24a89457c17c271b5378b195931e720873865a79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockItemUpgradeSchema/zipball/aab89a1f121a0c127557a4a0cf981330301c9c45", - "reference": "aab89a1f121a0c127557a4a0cf981330301c9c45", + "url": "https://api.github.com/repos/pmmp/BedrockItemUpgradeSchema/zipball/24a89457c17c271b5378b195931e720873865a79", + "reference": "24a89457c17c271b5378b195931e720873865a79", "shasum": "" }, "type": "library", @@ -423,69 +470,22 @@ "description": "JSON schemas for upgrading items found in older Minecraft: Bedrock world saves", "support": { "issues": "https://github.com/pmmp/BedrockItemUpgradeSchema/issues", - "source": "https://github.com/pmmp/BedrockItemUpgradeSchema/tree/1.1.0" - }, - "time": "2023-03-08T22:27:13+00:00" - }, - { - "name": "pocketmine/bedrock-protocol", - "version": "19.3.0+bedrock-1.19.62", - "source": { - "type": "git", - "url": "https://github.com/pmmp/BedrockProtocol.git", - "reference": "a5bf4753c7f30f781c4541918e238f5bb637e7ad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/a5bf4753c7f30f781c4541918e238f5bb637e7ad", - "reference": "a5bf4753c7f30f781c4541918e238f5bb637e7ad", - "shasum": "" - }, - "require": { - "ext-json": "*", - "netresearch/jsonmapper": "^4.0", - "php": "^8.0", - "pocketmine/binaryutils": "^0.2.0", - "pocketmine/color": "^0.2.0 || ^0.3.0", - "pocketmine/math": "^0.3.0 || ^0.4.0", - "pocketmine/nbt": "^0.3.0", - "ramsey/uuid": "^4.1" - }, - "require-dev": { - "phpstan/phpstan": "1.9.13", - "phpstan/phpstan-phpunit": "^1.0.0", - "phpstan/phpstan-strict-rules": "^1.0.0", - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "pocketmine\\network\\mcpe\\protocol\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0" - ], - "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", - "support": { - "issues": "https://github.com/pmmp/BedrockProtocol/issues", - "source": "https://github.com/pmmp/BedrockProtocol/tree/19.3.0+bedrock-1.19.62" + "source": "https://github.com/pmmp/BedrockItemUpgradeSchema/tree/1.9.0" }, - "time": "2023-02-19T16:11:03+00:00" + "time": "2024-04-05T18:46:07+00:00" }, { "name": "pocketmine/binaryutils", - "version": "0.2.4", + "version": "0.2.6", "source": { "type": "git", "url": "https://github.com/pmmp/BinaryUtils.git", - "reference": "5ac7eea91afbad8dc498f5ce34ce6297d5e6ea9a" + "reference": "ccfc1899b859d45814ea3592e20ebec4cb731c84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/5ac7eea91afbad8dc498f5ce34ce6297d5e6ea9a", - "reference": "5ac7eea91afbad8dc498f5ce34ce6297d5e6ea9a", + "url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/ccfc1899b859d45814ea3592e20ebec4cb731c84", + "reference": "ccfc1899b859d45814ea3592e20ebec4cb731c84", "shasum": "" }, "require": { @@ -494,10 +494,10 @@ }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "1.3.0", + "phpstan/phpstan": "~1.10.3", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.0.0", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^9.5 || ^10.0 || ^11.0" }, "type": "library", "autoload": { @@ -512,9 +512,9 @@ "description": "Classes and methods for conveniently handling binary data", "support": { "issues": "https://github.com/pmmp/BinaryUtils/issues", - "source": "https://github.com/pmmp/BinaryUtils/tree/0.2.4" + "source": "https://github.com/pmmp/BinaryUtils/tree/0.2.6" }, - "time": "2022-01-12T18:06:33+00:00" + "time": "2024-03-04T15:04:17+00:00" }, { "name": "pocketmine/callback-validator", @@ -566,70 +566,25 @@ }, "time": "2020-12-11T01:45:37+00:00" }, - { - "name": "pocketmine/classloader", - "version": "0.3.0", - "source": { - "type": "git", - "url": "https://github.com/pmmp/ClassLoader.git", - "reference": "407caf521186ec1f03024f39031cc681ad491026" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmmp/ClassLoader/zipball/407caf521186ec1f03024f39031cc681ad491026", - "reference": "407caf521186ec1f03024f39031cc681ad491026", - "shasum": "" - }, - "require": { - "ext-pthreads": "^5.0", - "ext-reflection": "*", - "php": "^8.0" - }, - "conflict": { - "pocketmine/spl": "<0.4" - }, - "require-dev": { - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "1.9.4", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "./src" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0" - ], - "description": "Ad-hoc autoloading components used by PocketMine-MP", - "support": { - "issues": "https://github.com/pmmp/ClassLoader/issues", - "source": "https://github.com/pmmp/ClassLoader/tree/0.3.0" - }, - "time": "2023-01-23T19:46:53+00:00" - }, { "name": "pocketmine/color", - "version": "0.3.0", + "version": "0.3.1", "source": { "type": "git", "url": "https://github.com/pmmp/Color.git", - "reference": "8cb346d0a21ad3287cc8d7175e4b643416607249" + "reference": "a0421f1e9e0b0c619300fb92d593283378f6a5e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/Color/zipball/8cb346d0a21ad3287cc8d7175e4b643416607249", - "reference": "8cb346d0a21ad3287cc8d7175e4b643416607249", + "url": "https://api.github.com/repos/pmmp/Color/zipball/a0421f1e9e0b0c619300fb92d593283378f6a5e1", + "reference": "a0421f1e9e0b0c619300fb92d593283378f6a5e1", "shasum": "" }, "require": { "php": "^8.0" }, "require-dev": { - "phpstan/phpstan": "1.9.4", + "phpstan/phpstan": "1.10.3", "phpstan/phpstan-strict-rules": "^1.2.0" }, "type": "library", @@ -645,31 +600,31 @@ "description": "Color handling library used by PocketMine-MP and related projects", "support": { "issues": "https://github.com/pmmp/Color/issues", - "source": "https://github.com/pmmp/Color/tree/0.3.0" + "source": "https://github.com/pmmp/Color/tree/0.3.1" }, - "time": "2022-12-18T19:49:21+00:00" + "time": "2023-04-10T11:38:05+00:00" }, { "name": "pocketmine/errorhandler", - "version": "0.6.0", + "version": "0.7.0", "source": { "type": "git", "url": "https://github.com/pmmp/ErrorHandler.git", - "reference": "dae214a04348b911e8219ebf125ff1c5589cc878" + "reference": "cae94884368a74ece5294b9ff7fef18732dcd921" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/ErrorHandler/zipball/dae214a04348b911e8219ebf125ff1c5589cc878", - "reference": "dae214a04348b911e8219ebf125ff1c5589cc878", + "url": "https://api.github.com/repos/pmmp/ErrorHandler/zipball/cae94884368a74ece5294b9ff7fef18732dcd921", + "reference": "cae94884368a74ece5294b9ff7fef18732dcd921", "shasum": "" }, "require": { "php": "^8.0" }, "require-dev": { - "phpstan/phpstan": "0.12.99", - "phpstan/phpstan-strict-rules": "^0.12.2", - "phpunit/phpunit": "^9.5" + "phpstan/phpstan": "~1.10.3", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5 || ^10.0 || ^11.0" }, "type": "library", "autoload": { @@ -684,22 +639,22 @@ "description": "Utilities to handle nasty PHP E_* errors in a usable way", "support": { "issues": "https://github.com/pmmp/ErrorHandler/issues", - "source": "https://github.com/pmmp/ErrorHandler/tree/0.6.0" + "source": "https://github.com/pmmp/ErrorHandler/tree/0.7.0" }, - "time": "2022-01-08T21:05:46+00:00" + "time": "2024-04-02T18:29:54+00:00" }, { "name": "pocketmine/locale-data", - "version": "2.19.5", + "version": "2.19.6", "source": { "type": "git", "url": "https://github.com/pmmp/Language.git", - "reference": "71af5f9bd23b4e4bad8920dac7f4fe08e5205f7d" + "reference": "93e473e20e7f4515ecf45c5ef0f9155b9247a86e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/Language/zipball/71af5f9bd23b4e4bad8920dac7f4fe08e5205f7d", - "reference": "71af5f9bd23b4e4bad8920dac7f4fe08e5205f7d", + "url": "https://api.github.com/repos/pmmp/Language/zipball/93e473e20e7f4515ecf45c5ef0f9155b9247a86e", + "reference": "93e473e20e7f4515ecf45c5ef0f9155b9247a86e", "shasum": "" }, "type": "library", @@ -707,9 +662,9 @@ "description": "Language resources used by PocketMine-MP", "support": { "issues": "https://github.com/pmmp/Language/issues", - "source": "https://github.com/pmmp/Language/tree/2.19.5" + "source": "https://github.com/pmmp/Language/tree/2.19.6" }, - "time": "2023-03-19T16:45:15+00:00" + "time": "2023-08-08T16:53:23+00:00" }, { "name": "pocketmine/log", @@ -752,62 +707,18 @@ }, "time": "2021-06-18T19:08:09+00:00" }, - { - "name": "pocketmine/log-pthreads", - "version": "0.5.0", - "source": { - "type": "git", - "url": "https://github.com/pmmp/LogPthreads.git", - "reference": "0ecfea6dcfc9a9f5c86e126ac1661732de5c5666" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmmp/LogPthreads/zipball/0ecfea6dcfc9a9f5c86e126ac1661732de5c5666", - "reference": "0ecfea6dcfc9a9f5c86e126ac1661732de5c5666", - "shasum": "" - }, - "require": { - "ext-pthreads": "^5.0", - "php": "^8.0", - "pocketmine/log": "^0.4.0" - }, - "conflict": { - "pocketmine/spl": "<0.4" - }, - "require-dev": { - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "1.8.11", - "phpstan/phpstan-strict-rules": "^1.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "./src" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0" - ], - "description": "Logging components specialized for pthreads used by PocketMine-MP and related projects", - "support": { - "issues": "https://github.com/pmmp/LogPthreads/issues", - "source": "https://github.com/pmmp/LogPthreads/tree/0.5.0" - }, - "time": "2023-01-23T19:52:12+00:00" - }, { "name": "pocketmine/math", - "version": "0.4.3", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/pmmp/Math.git", - "reference": "47a243d320b01c8099d65309967934c188111549" + "reference": "dc132d93595b32e9f210d78b3c8d43c662a5edbf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/Math/zipball/47a243d320b01c8099d65309967934c188111549", - "reference": "47a243d320b01c8099d65309967934c188111549", + "url": "https://api.github.com/repos/pmmp/Math/zipball/dc132d93595b32e9f210d78b3c8d43c662a5edbf", + "reference": "dc132d93595b32e9f210d78b3c8d43c662a5edbf", "shasum": "" }, "require": { @@ -816,7 +727,7 @@ }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "1.8.2", + "phpstan/phpstan": "~1.10.3", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^8.5 || ^9.5" }, @@ -833,22 +744,22 @@ "description": "PHP library containing math related code used in PocketMine-MP", "support": { "issues": "https://github.com/pmmp/Math/issues", - "source": "https://github.com/pmmp/Math/tree/0.4.3" + "source": "https://github.com/pmmp/Math/tree/1.0.0" }, - "time": "2022-08-25T18:43:37+00:00" + "time": "2023-08-03T12:56:33+00:00" }, { "name": "pocketmine/nbt", - "version": "0.3.3", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/pmmp/NBT.git", - "reference": "f4321be50df1a18b9f4e94d428a2e68a6e2ac2b4" + "reference": "20540271cb59e04672cb163dca73366f207974f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/NBT/zipball/f4321be50df1a18b9f4e94d428a2e68a6e2ac2b4", - "reference": "f4321be50df1a18b9f4e94d428a2e68a6e2ac2b4", + "url": "https://api.github.com/repos/pmmp/NBT/zipball/20540271cb59e04672cb163dca73366f207974f1", + "reference": "20540271cb59e04672cb163dca73366f207974f1", "shasum": "" }, "require": { @@ -858,7 +769,7 @@ }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "1.7.7", + "phpstan/phpstan": "1.10.25", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.5" }, @@ -875,135 +786,88 @@ "description": "PHP library for working with Named Binary Tags", "support": { "issues": "https://github.com/pmmp/NBT/issues", - "source": "https://github.com/pmmp/NBT/tree/0.3.3" + "source": "https://github.com/pmmp/NBT/tree/1.0.0" }, - "time": "2022-07-06T14:13:26+00:00" + "time": "2023-07-14T13:01:49+00:00" }, { - "name": "pocketmine/pocketmine-mp", - "version": "5.0.0-BETA1", + "name": "pocketmine/netresearch-jsonmapper", + "version": "v4.4.999", "source": { "type": "git", - "url": "https://github.com/pmmp/PocketMine-MP.git", - "reference": "9e329d55a8d25b5857cfcb882d5ea383b4ec3e6f" + "url": "https://github.com/pmmp/netresearch-jsonmapper.git", + "reference": "9a6610033d56e358e86a3e4fd5f87063c7318833" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/PocketMine-MP/zipball/9e329d55a8d25b5857cfcb882d5ea383b4ec3e6f", - "reference": "9e329d55a8d25b5857cfcb882d5ea383b4ec3e6f", + "url": "https://api.github.com/repos/pmmp/netresearch-jsonmapper/zipball/9a6610033d56e358e86a3e4fd5f87063c7318833", + "reference": "9a6610033d56e358e86a3e4fd5f87063c7318833", "shasum": "" }, "require": { - "adhocore/json-comment": "^1.1", - "composer-runtime-api": "^2.0", - "ext-chunkutils2": "^0.3.1", - "ext-crypto": "^0.3.1", - "ext-ctype": "*", - "ext-curl": "*", - "ext-date": "*", - "ext-gmp": "*", - "ext-hash": "*", - "ext-igbinary": "^3.0.1", "ext-json": "*", - "ext-leveldb": "^0.2.1 || ^0.3.0", - "ext-mbstring": "*", - "ext-morton": "^0.1.0", - "ext-openssl": "*", "ext-pcre": "*", - "ext-phar": "*", - "ext-pthreads": "^5.1", "ext-reflection": "*", - "ext-simplexml": "*", - "ext-sockets": "*", "ext-spl": "*", - "ext-yaml": ">=2.0.0", - "ext-zip": "*", - "ext-zlib": ">=1.2.11", - "fgrosse/phpasn1": "^2.3", - "netresearch/jsonmapper": "^4.0", - "php": "^8.0", - "php-64bit": "*", - "pocketmine/bedrock-block-upgrade-schema": "^1.0.0", - "pocketmine/bedrock-data": "~2.0.0+bedrock-1.19.60", - "pocketmine/bedrock-item-upgrade-schema": "^1.0.0", - "pocketmine/bedrock-protocol": "~19.3.0+bedrock-1.19.62", - "pocketmine/binaryutils": "^0.2.1", - "pocketmine/callback-validator": "^1.0.2", - "pocketmine/classloader": "^0.3.0", - "pocketmine/color": "^0.3.0", - "pocketmine/errorhandler": "^0.6.0", - "pocketmine/locale-data": "~2.19.0", - "pocketmine/log": "^0.4.0", - "pocketmine/log-pthreads": "^0.5.0", - "pocketmine/math": "^0.4.0", - "pocketmine/nbt": "^0.3.2", - "pocketmine/raklib": "^0.15.0", - "pocketmine/raklib-ipc": "^0.2.0", - "pocketmine/snooze": "^0.4.0", - "ramsey/uuid": "^4.1", - "symfony/filesystem": "^5.4" + "php": ">=7.1" + }, + "replace": { + "netresearch/jsonmapper": "~4.2.0" }, "require-dev": { - "phpstan/phpstan": "1.10.4", - "phpstan/phpstan-phpunit": "^1.1.0", - "phpstan/phpstan-strict-rules": "^1.2.0", - "phpunit/phpunit": "^9.2" + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", + "squizlabs/php_codesniffer": "~3.5" }, - "type": "project", + "type": "library", "autoload": { - "files": [ - "src/CoreConstants.php" - ], - "psr-4": { - "pocketmine\\": "src/" + "psr-0": { + "JsonMapper": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL-3.0" + "OSL-3.0" ], - "description": "A server software for Minecraft: Bedrock Edition written in PHP", - "homepage": "https://pmmp.io", - "support": { - "issues": "https://github.com/pmmp/PocketMine-MP/issues", - "source": "https://github.com/pmmp/PocketMine-MP/tree/5.0.0-BETA1" - }, - "funding": [ - { - "url": "https://github.com/pmmp/PocketMine-MP#donate", - "type": "custom" - }, + "authors": [ { - "url": "https://www.patreon.com/pocketminemp", - "type": "patreon" + "name": "Christian Weiske", + "email": "cweiske@cweiske.de", + "homepage": "http://github.com/cweiske/jsonmapper/", + "role": "Developer" } ], - "time": "2023-03-07T16:51:53+00:00" + "description": "Fork of netresearch/jsonmapper with security fixes needed by pocketmine/pocketmine-mp", + "support": { + "email": "cweiske@cweiske.de", + "issues": "https://github.com/cweiske/jsonmapper/issues", + "source": "https://github.com/pmmp/netresearch-jsonmapper/tree/v4.4.999" + }, + "time": "2024-02-23T13:17:01+00:00" }, { "name": "pocketmine/raklib", - "version": "0.15.1", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/pmmp/RakLib.git", - "reference": "79b7b4d1d7516dc6e322514453645ad9452b20ca" + "reference": "be2783be516bf6e2872ff5c81fb9048596617b97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/RakLib/zipball/79b7b4d1d7516dc6e322514453645ad9452b20ca", - "reference": "79b7b4d1d7516dc6e322514453645ad9452b20ca", + "url": "https://api.github.com/repos/pmmp/RakLib/zipball/be2783be516bf6e2872ff5c81fb9048596617b97", + "reference": "be2783be516bf6e2872ff5c81fb9048596617b97", "shasum": "" }, "require": { "ext-sockets": "*", - "php": "^8.0", + "php": "^8.1", "php-64bit": "*", "php-ipv6": "*", "pocketmine/binaryutils": "^0.2.0", "pocketmine/log": "^0.3.0 || ^0.4.0" }, "require-dev": { - "phpstan/phpstan": "1.9.17", + "phpstan/phpstan": "1.10.1", "phpstan/phpstan-strict-rules": "^1.0" }, "type": "library", @@ -1019,32 +883,32 @@ "description": "A RakNet server implementation written in PHP", "support": { "issues": "https://github.com/pmmp/RakLib/issues", - "source": "https://github.com/pmmp/RakLib/tree/0.15.1" + "source": "https://github.com/pmmp/RakLib/tree/1.1.1" }, - "time": "2023-03-07T15:10:34+00:00" + "time": "2024-03-04T14:02:14+00:00" }, { "name": "pocketmine/raklib-ipc", - "version": "0.2.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/pmmp/RakLibIpc.git", - "reference": "26ed56fa9db06e4ca6e8920c0ede2e01e219bb9c" + "reference": "ce632ef2c6743e71eddb5dc329c49af6555f90bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/RakLibIpc/zipball/26ed56fa9db06e4ca6e8920c0ede2e01e219bb9c", - "reference": "26ed56fa9db06e4ca6e8920c0ede2e01e219bb9c", + "url": "https://api.github.com/repos/pmmp/RakLibIpc/zipball/ce632ef2c6743e71eddb5dc329c49af6555f90bc", + "reference": "ce632ef2c6743e71eddb5dc329c49af6555f90bc", "shasum": "" }, "require": { "php": "^8.0", "php-64bit": "*", "pocketmine/binaryutils": "^0.2.0", - "pocketmine/raklib": "^0.15.0" + "pocketmine/raklib": "^0.15.0 || ^1.0.0" }, "require-dev": { - "phpstan/phpstan": "1.9.17", + "phpstan/phpstan": "1.10.1", "phpstan/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -1060,31 +924,31 @@ "description": "Channel-based protocols for inter-thread/inter-process communication with RakLib", "support": { "issues": "https://github.com/pmmp/RakLibIpc/issues", - "source": "https://github.com/pmmp/RakLibIpc/tree/0.2.0" + "source": "https://github.com/pmmp/RakLibIpc/tree/1.0.1" }, - "time": "2023-02-13T13:40:40+00:00" + "time": "2024-03-01T15:55:05+00:00" }, { "name": "pocketmine/snooze", - "version": "0.4.0", + "version": "0.5.0", "source": { "type": "git", "url": "https://github.com/pmmp/Snooze.git", - "reference": "6b1d6cc645d674590ff9be2438ac00032f9ee292" + "reference": "a86d9ee60ce44755d166d3c7ba4b8b8be8360915" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/Snooze/zipball/6b1d6cc645d674590ff9be2438ac00032f9ee292", - "reference": "6b1d6cc645d674590ff9be2438ac00032f9ee292", + "url": "https://api.github.com/repos/pmmp/Snooze/zipball/a86d9ee60ce44755d166d3c7ba4b8b8be8360915", + "reference": "a86d9ee60ce44755d166d3c7ba4b8b8be8360915", "shasum": "" }, "require": { - "ext-pthreads": "^5.0", - "php-64bit": "^8.0" + "ext-pmmpthread": "^6.0", + "php-64bit": "^8.1" }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "1.9.14", + "phpstan/phpstan": "1.10.3", "phpstan/phpstan-strict-rules": "^1.0" }, "type": "library", @@ -1100,9 +964,9 @@ "description": "Thread notification management library for code using the pthreads extension", "support": { "issues": "https://github.com/pmmp/Snooze/issues", - "source": "https://github.com/pmmp/Snooze/tree/0.4.0" + "source": "https://github.com/pmmp/Snooze/tree/0.5.0" }, - "time": "2023-01-23T19:43:19+00:00" + "time": "2023-05-22T23:43:01+00:00" }, { "name": "ramsey/collection", @@ -1195,20 +1059,20 @@ }, { "name": "ramsey/uuid", - "version": "4.x-dev", + "version": "4.7.6", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "bf2bee216a4379eaf62162307d62bb7850405fec" + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/bf2bee216a4379eaf62162307d62bb7850405fec", - "reference": "bf2bee216a4379eaf62162307d62bb7850405fec", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" @@ -1245,7 +1109,6 @@ "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." }, - "default-branch": true, "type": "library", "extra": { "captainhook": { @@ -1272,7 +1135,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.x" + "source": "https://github.com/ramsey/uuid/tree/4.7.6" }, "funding": [ { @@ -1284,27 +1147,29 @@ "type": "tidelift" } ], - "time": "2023-02-07T16:14:23+00:00" + "time": "2024-04-27T21:32:50+00:00" }, { "name": "symfony/filesystem", - "version": "5.4.x-dev", + "version": "6.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f" + "reference": "49b14952d1eca903b33f09d4f8f22aabec2f8351" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/e75960b1bbfd2b8c9e483e0d74811d555ca3de9f", - "reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/49b14952d1eca903b33f09d4f8f22aabec2f8351", + "reference": "49b14952d1eca903b33f09d4f8f22aabec2f8351", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" + }, + "require-dev": { + "symfony/process": "^5.4|^6.4|^7.0" }, "type": "library", "autoload": { @@ -1332,7 +1197,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/5.4" + "source": "https://github.com/symfony/filesystem/tree/6.4" }, "funding": [ { @@ -1348,20 +1213,20 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2024-05-17T10:50:43+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "dev-main", + "version": "1.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + "reference": "c9e59dec962d38cf2e0e4c61c4a1a1312f4dd7fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c9e59dec962d38cf2e0e4c61c4a1a1312f4dd7fe", + "reference": "c9e59dec962d38cf2e0e4c61c4a1a1312f4dd7fe", "shasum": "" }, "require": { @@ -1376,9 +1241,6 @@ "default-branch": true, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1415,7 +1277,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/main" + "source": "https://github.com/symfony/polyfill-ctype/tree/1.x" }, "funding": [ { @@ -1431,20 +1293,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-04-19T06:31:17+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "dev-main", + "version": "1.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "f9c7affe77a00ae32ca127ca6833d034e6d33f25" + "reference": "e642fbe7a7b73cdb05460555289a9057bfd6ead6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f9c7affe77a00ae32ca127ca6833d034e6d33f25", - "reference": "f9c7affe77a00ae32ca127ca6833d034e6d33f25", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e642fbe7a7b73cdb05460555289a9057bfd6ead6", + "reference": "e642fbe7a7b73cdb05460555289a9057bfd6ead6", "shasum": "" }, "require": { @@ -1459,9 +1321,6 @@ "default-branch": true, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1499,91 +1358,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/main" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-30T17:25:47+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "dev-main", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/main" + "source": "https://github.com/symfony/polyfill-mbstring/tree/1.x" }, "funding": [ { @@ -1599,21 +1374,22 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-04-19T06:31:17+00:00" } ], "aliases": [], "minimum-stability": "dev", "stability-flags": { - "nethergamesmc/libproxy": 20 + "nethergamesmc/libproxy": 20, + "nethergamesmc/pocketmine-mp": 20 }, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "^8.1", - "ext-pthreads": "^5.1", + "ext-pmmpthread": "^6.0.1", "ext-sockets": "*" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/plugin.yml b/plugin.yml index c0360fb..7dc6b83 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,5 +1,5 @@ name: ProxyTransport version: 1.0 main: NetherGames\ProxyTransport\ProxyTransport -api: [4.18.0] +api: [5.0.0] author: NetherGamesMC \ No newline at end of file