emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.93k stars 450 forks source link

fix(cli): support more biarny type files #1808

Closed ysfscream closed 1 week ago

ysfscream commented 1 week ago

Issue Number

1806

What is the new behavior?

This pull request includes updates to the cli/src/__tests__/utils/binaryFormats.test.ts and cli/src/utils/binaryFormats.ts files to expand the list of supported and unsupported binary formats for MQTT. The changes also include improvements to the test cases to handle format categories and case sensitivity.

Updates to supported and unsupported formats:

Improvements to test cases:

Does this PR introduce a breaking change?

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information