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.
Toolset for efficient development with MobX-State-Tree
npm install mobx mobx-state-tree mst-tools
For a detailed description of all helper functions and wrappers see API
import { types, effect } from "mst-tools"
const model = types.model('ModelName', {
...,
isLoaded: types.flag,
isLoading: types.flag,
})
.effects((self, { isLoading, isLoaded }) => ({
load: effect(
function* () {
self.field = yield self.api.load();
},
{ isLoading, isLoaded }
),
}));
const store = model.create({});
await store.load();
The toolkit adds additional code to implement new features. Welcome - if you are willing to pay for the speed of development time to create a model.
npm run benchmark
---
Test perf (model creation):
[mobx-state-tree] x 7,843 ops/sec ±0.28% (92 runs sampled)
[mst-tools] x 7,141 ops/sec ±0.31% (93 runs sampled)
# Fastest is [mobx-state-tree]
---
OS: Ubuntu 21.10 x86_64
DE: GNOME 40.5
Terminal: tilix
CPU: Intel i9-9900 (16) @ 5.000GHz
GPU: NVIDIA GeForce RTX 2070
Memory: 32019MiB
Click the tools names for complete docs.
...in process
FAQs
Toolset for efficient development with MobX-State-Tree
The npm package mst-tools receives a total of 0 weekly downloads. As such, mst-tools popularity was classified as not popular.
We found that mst-tools 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.
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.