
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
extend_exclude
Advanced tools
js object _extend()/_exclude() for deeply operate two object
var _extend = require('extend_exclude')._extend
var _exclude = require('extend_exclude')._exclude
var a = {
x:1,
y:{
z:2
}
}
var b= {
y:{
z:10,
u:'name'
}
}
_extend(a,b)
_exclude(a,b)
Deeply merge b properties into a
_extend( a, b )
{
x:1,
y:{
z:10,
u:'name'
}
}
Deeply delete exclude_obj(if key has a truthy value) from a, optionally set to newValue if present
_exclude( a, { y:{z:1} } )
{
x:1,
y:{
u:'name'
}
}
_exclude( a, { y:{z:10} } , null)
{
x:1,
y:{
z:null,
u:'name'
}
}
Iterate deeply with a && b simultaneously, and callback(objA, objB, key)
_deepIt( a, b, function(objA,objB,key){
objA[key] = objB[key]
} )
---> same result of _extend(a,b)
FAQs
Javascript object _extend()/_exclude() for deeply operate two object
We found that extend_exclude 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.