
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
@hiro-graph/redux
Advanced tools
@hiro-graph/redux: Graph ORM redux middlewareThis is middleware/reducer combo, a custom Token, an action creator and some actions for redux that wraps the Graph ORM (@hiro-graph/orm).
$ npm install @hiro-graph/redux
Please see ./docs
import HiroGraphORM from "@hiro-graph/orm";
import schema from "path/to/schema/mappings";
import {
createAction,
createStoreEnhancer,
graphReducer,
createToken
} from "@hiro-graph/redux";
import { createStore, combineReducers } from "redux";
const endpoint = "http://graph:8888";
// `createToken` instantiates a new token handler for the
// redux application.
const token = createToken();
const orm = new HiroGraphORM({ endpoint, token }, schema);
const reducers = combineReducers(reducers, reducer);
//createStore from redux
const store = createStore(
createReducer(token),
initialState,
createStoreEnhancer(orm)
);
//make an action creator.
const myAction = createAction(({ orm, dispatch }, ...args) => {
return orm.findById(args).then(nodes => {
//do something with nodes.
//dispatch(something else)?
});
});
store.dispatch(actionCreator("id", "id2"));
FAQs
Redux awareness for the `@hiro-graph/orm` package
The npm package @hiro-graph/redux receives a total of 0 weekly downloads. As such, @hiro-graph/redux popularity was classified as not popular.
We found that @hiro-graph/redux demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.