
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@muicss/angular
Advanced tools
MUI Angular is a library that helps you to add MUI components to your Angular apps seamlessly.
Install with NPM:
$ npm install --save @muicss/angular
Install with ng:
$ ng add @muicss/angular
Create a new Angular app and install the MUI Angular library:
$ ng new my-app --style scss
$ cd my-app
$ ng add @muicss/angular
Next install the MUI SCSS files:
$ npm install --save muicss
Add the MUI Angular button module to the app module (src/app/app.module.ts
):
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ButtonModule } from '@muicss/angular/button';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
ButtonModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Replace the app component html code with the following (src/app/app.component.html
):
<mui-button color="primary">Press Me!</mui-button>
Next add the MUI SCSS modules we need to your styles.scss file (src/styles.scss
):
// Core variables and mixins
@import
"~muicss/lib/sass/mui/colors",
"~muicss/lib/sass/mui/variables",
"~muicss/lib/sass/mui/mixins";
// Globals
@import
"~muicss/lib/sass/mui/globals";
// Components
@import
"~muicss/lib/sass/mui/buttons";
// Miscellaneous
@import
"~muicss/lib/sass/mui/helpers",
"~muicss/lib/sass/mui/ripple",
"~muicss/lib/sass/mui/typography";
Run the development server:
$ ng serve
Then visit http://localhost:4200/
FAQs
MUI Angular Library
The npm package @muicss/angular receives a total of 0 weekly downloads. As such, @muicss/angular popularity was classified as not popular.
We found that @muicss/angular 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.