
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
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";
// hiro-graph-redux will use the hiro-graph-implicit-oauth,
// `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
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 3 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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

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.