
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@arva/nglib-sidenav
Advanced tools
Sidenav Component to use with Angular Material.
The (S)CSS styles are not implemented in the component.
Styles of often used components or libraries should be imported in the App-wide SCSS style file. With this technic the styles are combined in one *.css file and can be served from a CDN. Otherwise the styles would be added inline to the JavaScript code or in case of SSR in the HTML Code, which results in very large initial index.html files.
Add this line to your .\src\styles.scss
@import '~@arva/nglib-sidenav/theming';
Remeber to copy the _theming.scss file.
Run this command to build the library and copy the theming.scss file:
npm run ng build @arva/nglib-sidenav && cp ./projects/arva/nglib-sidenav/_theming.scss ./dist/arva/nglib-sidenav
On Windows use backslashes:
cp .\projects\arva\nglib-sidenav\_theming.scss .\dist\arva\nglib-sidenav
FAQs
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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.