
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@redbuck/resizable
Advanced tools
pnpm i @redbuck/resizable
<div id="box">
<!-- use data-effect to make element be drag-handler -->
<div class="child resize-item" data-effect="start.x,start.y,end.x,end.y">
<span class="move-rect move-rect-tl" data-effect="start.x,start.y"></span>
<span class="move-rect move-rect-tr" data-effect="end.x,start.y"></span>
<span class="move-rect move-rect-rb" data-effect="end.x,end.y"></span>
<span class="move-rect move-rect-lb" data-effect="start.x,end.y"></span>
<span class="move-line move-line-top" data-effect="start.y"></span>
<span class="move-line move-line-bottom" data-effect="end.y"></span>
<span class="move-line move-line-left" data-effect="start.x"></span>
<span class="move-line move-line-right" data-effect="end.x"></span>
</div>
</div>
<!-- linking default style and of course you can modify it-->
<link rel="stylesheet" href="../dist/index.css">
<script type="module">
import Resizable from '../dist/es/index.js'
const resizer = new Resizable('#box')
resizer.on('effect', console.log)
</script>
| Method | Description | default |
|---|---|---|
| container | The container element or selector | - |
| itemClassName | Which child element under el will effect | resize-item |
| effectManual | Should resizer instance effect dom manual | false |
| getItemOnStart | When drag start, carry the touched element call this function to get which item should be effect | find ancestors(include self) which one`s classList contain itemClassName |
| getEffectOnStart | When drag start, carry the touched element call this function to get effect in this drag | el => el.dataset.effect.split(',') |
| getPointsOnStart | When drag start, carry the touched element call this function to get initial points in this drag | el => el.dataset.effect.split(',') |
| listenerFactory | You can use this option to provide your own Listener | web-listener |
| Method | Description |
|---|---|
| effect | Emitted when drag move , carry the target and it`s shape |
FAQs
`pnpm i @redbuck/resizable`
We found that @redbuck/resizable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.