Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@jcoreio/mutate
Advanced tools
a few immutable.js-like mutation functions for plain objects
Beware of using Ramda.js! It always returns a new object, even if nothing changed!
pnpm install --save @jcoreio/mutate
setIn(obj: any, path: Iterable<any>, newValue: any): any
const { setIn } = require('@jcoreio/mutate')
Works just like setIn
from Immutable.js
but operates on nested JS Objects and Arrays.
updateIn(obj: any, path: Iterable<any>, [notSetValue: any], updater: (value: any) => any): any
const { updateIn } = require('@jcoreio/mutate')
Works just like updateIn
from Immutable.js
but operates on nested JS Objects and Arrays.
FAQs
a few immutable.js-like mutation functions for plain objects
We found that @jcoreio/mutate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.