
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@dreamworld/dw-image
Advanced tools
A WebComponent to show zoomable image on documentation & blog sites
A WebComponent to show zoomable image on documentation & blog sites.
auto
property, give another value as a css of element.zoomSrc
property. if zoomSrc
is not available then use src
property to show image in dialog.disableZoom
property passed as a true
.Default example
<dw-image src='https://picsum.photos/id/237/200/300' zoom-src='https://picsum.photos/id/237/1000/1000'></dw-image>
<!-- In this above case you give a height css property as an element. -->
dw-image {
width: 200px;
}
Auto width
<dw-image auto='width' src='https://picsum.photos/id/237/200/300' zoom-src='https://picsum.photos/id/237/1000/1000'></dw-image>
Auto none
<dw-image auto='none' src='https://picsum.photos/id/237/200/300' zoom-src='https://picsum.photos/id/237/1000/1000'></dw-image>
<!-- In this above case you give a height css property as an element. -->
dw-image {
height: 200px;
}
Disabled zoomable behaviour and open link click on image.
<a href="https://www.google.com/">
<dw-image src='https://picsum.photos/id/237/200/300' disable-zoom></dw-image>
</a>
Property | Attribute | Type | Description |
---|---|---|---|
auto | auto | string | Auto compute css property name. Default value: height Possible value: height, width, none. |
disableZoom | disable-zoom | boolean | Disabled zoom behaviour when this value is true . |
src | src | string | Image path/source. |
title | title | string | Image title. |
zoomSrc | zoom-src | string | Zoomable image path. |
FAQs
A WebComponent to show zoomable image on documentation & blog sites
We found that @dreamworld/dw-image demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.