Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@amsterdam/bmi-component-library
Advanced tools
A React component library based on ASC and Material-UI aimed at repurposing and sharing components across BMI projects
A React component library based on Amsterdam Styled Components and Material-UI specifically aimed at repurposing and sharing domain specific components across BMI projects.
NOTE: If you are looking for a component library that is primarily focused on providing you with building blocks which are aligned with the Amsterdam Design System, then take a look at Amsterdam Styled Components instead.
To import components from this library you will to at least have followed the ASC Getting Started guide.
There are also a number of components that make use of MUI components. You can follow the Installation guide. Make sure to configure a path in your TS config to create an override for styled-components as documented in the MUI getting started guide (it will render de emotion dependency redundant).
With both ASC en MUI configured you will have your application wrapped in 2 theme providers like so:
import { muiTheme } from '@amsterdam/bmi-component-library';
import { ThemeProvider } from '@amsterdam/asc-ui';
import { ThemeProvider as MUIThemeProvider } from '@mui/material';
import theme from '../theme';
<MUIThemeProvider theme={muiTheme}>
<ThemeProvider overrides={theme}>
// ... styled ASC/MUI components
</ThemeProvider>
</MUIThemeProvider>
Unit tests are done with Jest and @testing-library/react
.
To run the unit tests:
npm run test
To run storybook:
npm run start
FAQs
A React component library based on ASC and Material-UI aimed at repurposing and sharing components across BMI projects
The npm package @amsterdam/bmi-component-library receives a total of 380 weekly downloads. As such, @amsterdam/bmi-component-library popularity was classified as not popular.
We found that @amsterdam/bmi-component-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.