
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ng-router-resolver
Advanced tools
Resolve routes from Angular Module statically
This project is aimed to be used as a cli/programmatic tool with Angular projects
to statically analyze routes in NgModules
and do some useful stuff with it.
As a use case you might want to generate some rules for ServiceWorker based on routes to add some offline/cache capabilities to any Angular application.
$ npm install --save-dev ng-router-resolver
It parses given Angular TS module and collects all routes including lazy-routes.
It does not run your Angular app on the server but statically analyzes your code via AST.
import { NgRouterResolver } from '../src/resolver';
const routes = NgRouterResolver.fromModule('./src/app/app.module.ts');
It will return an array of type same as Route
from @angular/route
package.
$ ng-router-resolver src/app/app.module.ts // Prints json into stdout
$ ng-router-resolver src/app/app.module.ts --out routes.json // Prints json into specified file
MIT © Alex Malkevich
FAQs
Resolve routes from Angular Module
We found that ng-router-resolver 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.