Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
micro-fatina
Advanced tools
Micro Tween library for js13k, keep the basic features from Fatina but stripped to the maximum
Micro Tween library for js13k, keep the basic features from Fatina but stripped to the maximum:
onStarted
, onCompleted
, onKilled
).append
method to chain themimport { tween } from 'micro-fatina'
// let's use any type of object to animate
var obj = { x: -2000, y: 150 }
// move the object to a new position in 2 seconds
var t = tween(obj, { x: -150, y: 100 }, 2)
// use events
t.onStarted.push(() => console.log('tween started !'))
t.onCompleted.push(() => console.log('tween completed !'))
you can chain tweens (here the chain takes 5s)
// append a new move after the first one
tween(obj, { x: -150, y: 100 }, 2)
.append(tween(obj, { x: 0, y: 150 }, 1))
.append(tween(obj, { x: 0, y: 250 }, 1))
.append(tween(obj, { x: 0, y: 350 }, 1))
or run them in parallel (here the chain takes 3s)
// append a new move after the first one
const t = tween(obj, { x: -150, y: 100 }, 2)
t.append(tween(obj, { x: 0 }, 1))
t.append(tween(obj, { y: 250 }, 1))
FAQs
Micro Tween library for js13k, keep the basic features from Fatina but stripped to the maximum
The npm package micro-fatina receives a total of 5 weekly downloads. As such, micro-fatina popularity was classified as not popular.
We found that micro-fatina demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.