
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@studiohyperdrive/ng-redux-router
Advanced tools
Sync Angular Router state with the Redux app state, gaining easy access to the entire route, not just the activated route.
Sync Angular Router state with the Redux app state, gaining easy access to the entire route, not just the activated route.
@angular/router
npm install @studiohyperdrive/ng-redux-router --save
or
yarn add @studiohyperdrive/ng-redux-router
Import module in app.module.ts:
import { ReduxRouterModule } from '@studiohyperdrive/ng-redux-router';
@NgModule({
imports: [
ReduxRouterModule
]
})
export class AppModule {}
Initialize ReduxRouter
with a dispatch function (e.g. using the @angular-redux/store
package:
constructor(
private ngRedux: NgRedux<MyAppState>,
private reduxRouter: ReduxRouter
) {
reduxRouter.initialize(ngRedux.dispatch);
}
You can find examples for a vanilla implementation, angular-redux and ngrx in the examples
folder. All examples can be run using the angular-cli.
The ReduxRouter
will listen for route changes and store the current, previous and active (pending) route for the entire route tree in the state (i.e. from the root, not just the parts applicable for the component context).
The following properties are stored for each route:
The ROUTE_UPDATE
action will only be dispatched once the NavigationEnd
event is triggered.
4.0.1
. There are some type issues in newer versions.replaceUrl
when navigating, the route is not updated correctly.FAQs
Sync Angular Router state with the Redux app state, gaining easy access to the entire route, not just the activated route.
The npm package @studiohyperdrive/ng-redux-router receives a total of 4 weekly downloads. As such, @studiohyperdrive/ng-redux-router popularity was classified as not popular.
We found that @studiohyperdrive/ng-redux-router demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.