
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.
combine-reducers
Advanced tools
This is a standalone implementation of the combine reducers method from redux. You might ask, why would you not just use Redux? Redux comes with a bunch of other opinions that I personally do not fully subscribe to. Also, I hope to make some changes to improve on the existing pattern.
This module also removes most of the opinionated type checking stuff that Redux does. I would rather document the module and trust users to use it properly than add a bunch of code to force them into my opinions. Why shouldn't a reducer return undefined? Also it makes it much smaller (13 lines compared to 139).
$ npm install --save combine-reducers
var combineReducers = require('combine-reducers');
var reducer = combineReducers({
foo: function (store, action) {
return action.type === 'incr-foo' ? store + 1 : store;
},
bar: function (store, action) {
return action.type === 'incr-bar' ? store + 1 : store;
}
});
reducer({
foo: 1,
bar: 2
}, {
type: 'incr-foo'
}); // {foo: 2, bar: 1}
FAQs
A stand-alone, Redux compatible implementation of combine reducers
The npm package combine-reducers receives a total of 864 weekly downloads. As such, combine-reducers popularity was classified as not popular.
We found that combine-reducers 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.