
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Fween tweens things - object properties, function calls, HTML element styles.
It is a TypeScript project that builds into a JavaScript library.
Its main concept is simplicity. Its syntax uses a chained/stream methodology to construct sequences.
It is experimental, and under early development.
With a getter/setter function pair:
Fween.use(getterFunc, setterFunc)
.from(value) // Optional: set the starting value
.to(value, durationSeconds = 0, transitionFunction = Easing.none)
With an arbitrary object:
Fween.use(obj)
.todo
All Fween instances also include some common methods:
Fween.use(...)
.play()
.pause()
.call(function)
.wait(seconds)
A getter/setter animation, smooth scrolling in 1 second and then calling a function:
Fween.use(getScrollY, setScrollY).to(0, 1, Easing.expoOut).call(completeCallback).play();
function getScrollY() {
return window.scrollY;
}
function setScrollY(value) {
window.scrollTo(0, value);
}
function completeCallback() {
console.log("Smooth scroll ended.");
}
Fween.use(obj)
.to({x: value}, 1, Easing.expoOut);
Fween.use(element.style)
.to({top: "valuepx"}, 1, Easing.expoOut);
Fween.use(element)
.to("background-color: #ffffff", 1, Easing.expoOutString)
FAQs
Fween animates things
The npm package fween receives a total of 5 weekly downloads. As such, fween popularity was classified as not popular.
We found that fween 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.