@storybook/addon-viewport provides developers with a seamless way to simulate different device screen sizes directly within their Storybook environment, enhancing the component development and testing workflow. Version 6.1.11 builds upon the foundation of 6.1.10, offering subtle improvements and bug fixes, making it an even more reliable choice for responsive design testing. The core functionality remains consistent: developers can effortlessly switch between predefined viewport sizes, mimicking popular mobile devices and tablets, or define custom dimensions to match specific design requirements.
Both versions share a common set of dependencies, ensuring compatibility with essential libraries like React and React-DOM, leveraging peer dependencies for flexibility. Crucially, both versions depend on related Storybook packages like @storybook/api, @storybook/addons, and @storybook/theming, all of which are versioned consistently within their respective releases (6.1.11 and 6.1.10 respectively). This tight integration guarantees smooth operation within the Storybook ecosystem. For developers, the upgrade from 6.1.10 to 6.1.11 is generally straightforward, promising enhanced stability without introducing breaking changes. By empowering precise viewport control, this addon helps build adaptable and user-friendly components. Each component's visual responsiveness can be thoroughly evaluated, ultimately producing better user experiences across a range of devices.
All the vulnerabilities related to the version 6.1.11 of the package
Cross site scripting in markdown-to-jsx
Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown.