switch from mmccooks php-json-canonicalization library to root23s which, according to mike, better deals with floating point values

This commit is contained in:
Mario Vavti
2025-10-30 21:30:18 +01:00
parent d11b05de71
commit 3cf7e09609
23 changed files with 343 additions and 424 deletions

96
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1d57dc4fa64f8d1c65893908928709dc",
"content-hash": "24176151470b3ff960b0acb1165bd1f2",
"packages": [
{
"name": "bakame/http-structured-fields",
@@ -1326,64 +1326,6 @@
},
"time": "2022-09-26T12:21:08+00:00"
},
{
"name": "mmccook/php-json-canonicalization-scheme",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/mmccook/php-json-canonicalization-scheme.git",
"reference": "cd6d3e7645a2c1e62574a9a2437d68e9e74e799f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mmccook/php-json-canonicalization-scheme/zipball/cd6d3e7645a2c1e62574a9a2437d68e9e74e799f",
"reference": "cd6d3e7645a2c1e62574a9a2437d68e9e74e799f",
"shasum": ""
},
"require": {
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
"pestphp/pest": "^1.20",
"phpstan/phpstan": "^1.10",
"spatie/ray": "^1.28"
},
"type": "library",
"autoload": {
"psr-4": {
"Mmccook\\JsonCanonicalizator\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Mark M. McCook",
"email": "mark.mccook@gmail.com",
"role": "Developer"
}
],
"description": "This is my package php-json-canonicalization-scheme",
"homepage": "https://github.com/mmccook/php-json-canonicalization-scheme",
"keywords": [
"mmccook",
"php-json-canonicalization-scheme"
],
"support": {
"issues": "https://github.com/mmccook/php-json-canonicalization-scheme/issues",
"source": "https://github.com/mmccook/php-json-canonicalization-scheme/tree/1.0.0"
},
"funding": [
{
"url": "https://github.com/mmccook",
"type": "github"
}
],
"time": "2023-08-07T18:12:27+00:00"
},
{
"name": "paragonie/constant_time_encoding",
"version": "v3.1.3",
@@ -2405,6 +2347,42 @@
},
"time": "2025-09-04T20:59:21+00:00"
},
{
"name": "root23/php-json-canonicalization",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/root23/php-json-canonicalization.git",
"reference": "be888e03a171c2b9667265d03924bd6bfc3fe85a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/root23/php-json-canonicalization/zipball/be888e03a171c2b9667265d03924bd6bfc3fe85a",
"reference": "be888e03a171c2b9667265d03924bd6bfc3fe85a",
"shasum": ""
},
"require": {
"php": ">=8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.27.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9"
},
"type": "library",
"autoload": {
"psr-4": {
"Root23\\JsonCanonicalizer\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"description": "Serialize data into canonical way, based on RFC-8785.",
"support": {
"issues": "https://github.com/root23/php-json-canonicalization/issues",
"source": "https://github.com/root23/php-json-canonicalization/tree/1.0.1"
},
"time": "2023-09-27T08:27:25+00:00"
},
{
"name": "sabre/dav",
"version": "4.7.0",