
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@littledan/plugin-transform-operator-overloading
Advanced tools
Babel plugin for a transform for an operator overloading proposal
This package implements an operator overloading proposal for JavaScript as a Babel plugin.
To use the plugin, run the following commands for installation
npm install --save-dev @littledan/plugin-transform-operator-overloading
npm install --save-prod @littledan/operator-overloading-shim
and add the following to your .babelrc:
{
"plugins": ["@littledan/plugin-transform-operator-overloading"]
}
If you encounter any issues, including unexpected behavior, poor performance, weird ergonomics, etc, please file an issue.
with operators from declarations just in code that needs it, rather than at the top level of the module. This makes the transformation only apply to that code, reducing the predictability and performance impact.with operators from ABC, use the syntax withOperatorsFrom(ABC)with operators from declaration, this transform treats objects with overloaded operators as if they didn't have overloading (and therefore undergo coercion like objects), whereas the spec behavior would be to throw a TypeError.FAQs
Babel plugin for a transform for an operator overloading proposal
We found that @littledan/plugin-transform-operator-overloading 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.