Sectoralarm

Latest version: v1.2.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.0

fix(navigation): Correct interactive mode to properly display Components and avoid full JSON payloads

- **Iterate Through Lists Individually:** Updated `get_navigable_items` to loop through each item in navigable lists (e.g., Sections, Places, Components) instead of treating entire lists as single navigable items.

- **Remove Restrictive Checks:** Eliminated the `contains_navigable` function check to allow navigation into leaf nodes like Components, ensuring their contents are displayed correctly.

- **Enhance Leaf Node Handling:** Modified `navigate_structure` to recognize and display data for leaf nodes without attempting further navigation, preventing full JSON payloads from appearing in the menu.

- **Improve Identifier Extraction:** Ensured the `get_identifier` function accurately extracts meaningful identifiers (`Name`, `Label`, `Id`, `Key`) for each navigable item to enhance clarity in the interactive menus.

- **Update Configuration:** Verified that `category_navigation.json` accurately reflects the data hierarchy, ensuring consistency between the configuration and the JSON payload structure.

- **Enhance User Experience:** Streamlined the interactive navigation flow to allow seamless access to nested Components, providing a more intuitive and user-friendly interface.

1.1.2

Initial stable release

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.