Files
Heimdall/vendor/phrity/util-transformer/composer.json
T
KodeStar d16b7f60f3 Vendor phrity/websocket dependency and fix v3 exception namespace
The WebSocket support added for TrueNAS JSON-RPC 2.0 requires the
phrity/websocket library to actually be available at runtime. This repo
commits the vendor/ tree (CI does not run composer install), so the
dependency and composer.lock must be committed for class_exists() checks
in the TrueNAS app to succeed.

- composer require phrity/websocket:^3.6 (resolves to 3.7.3) with lock
  and vendor/ committed
- Fix TrueNASWebSocketClient to catch WebSocket\Exception\Exception
  (phrity/websocket v3 namespace) instead of the non-existent
  WebSocket\ConnectionException from the old textalk/websocket v1/v2 API,
  so connection/call failures are logged and wrapped as intended
2026-07-09 22:01:18 +01:00

43 lines
1.3 KiB
JSON

{
"name": "phrity/util-transformer",
"type": "library",
"description": "Type transformers, normalizers and resolvers.",
"homepage": "https://phrity.sirn.se/util-transformer",
"keywords": ["type", "transformer", "normalizer", "resolver"],
"license": "MIT",
"authors": [
{
"name": "Sören Jensen",
"email": "sirn@sirn.se",
"homepage": "https://phrity.sirn.se"
}
],
"autoload": {
"psr-4": {
"Phrity\\Util\\Transformer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Phrity\\Util\\Transformer\\Test\\": "tests/"
}
},
"require": {
"php": "^8.1"
},
"require-dev": {
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.0 || ^11.0 || ^12.0",
"robiningelbrecht/phpunit-coverage-tools": "^1.9",
"squizlabs/php_codesniffer": "^3.5 || ^4.0",
"symfony/property-access": "^6.0 || ^7.0 || ^8.0",
"symfony/serializer": "^6.0 || ^7.0 || ^8.0",
"symfony/translation-contracts": "^3.0",
"symfony/uid": "^6.0 || ^7.0 || ^8.0"
},
"suggests": {
"symfony/property-access": "Use Symfony normalizer as transformer",
"symfony/serializer": "Use Symfony normalizer as transformer"
}
}