Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
tempo-store
Advanced tools
tempo-store
contains utilities to wrap a value into a Store
instance and track its lifecycle.
A Property
instance wraps a single generic value of type T
. It exposes a field observable
where you can add your own listeners. These will be triggered any time Property.set
is invoked but only if the value differs from its previous state. To control such behavior it is possible to pass a function equal
. The default implementation performs a structural equality test.
A Store
instance wraps a property and adds a reducer
function to the mix. With the reducer
it is possible to influence the value of store by invoking process(action: Action)
. Whenver that method is called, reducer(currentState: State, action: Action): State
is invoked and the value of store is accordinlgy updated. It is possible to monitor state changes and action triggers by adding listeners to the observable
field. Note that these listeners should have the shape (state: State, action: Action, changed: boolean) => void
.
More info on the tempo
architecture can be found here.
FAQs
Super simple state management library
The npm package tempo-store receives a total of 11 weekly downloads. As such, tempo-store popularity was classified as not popular.
We found that tempo-store 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.