Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@digibib/deichman-ui
Advanced tools
Style-guide and component library for the Oslo public libraries
Local development is done via React-storybook. Clone the repo and run:
npm i
npm start
Before adding a new Component, make sure this is a generic utility-component. If it's not, add it to the project where it will be used. I.E, an "Accordion" is generic, a "LibraryDetailsCard" is probably not.
Requirement | Description | |
---|---|---|
✅ | The component is semantic | Use HTML5 markup, the correct font hierarchy etc. |
✅ | The component is documented | Ensure the component has a Component.md file, a story and proptype definitions. |
✅ | The component is accessible | Usable with a keyboard, correct :focus -styles, correct aria-roles . |
✅ | The component is tested | Cross-browser testing. |
All icons are stored in the /src/assets/icons
folder.
npm run icons
.public/icons.svg
), You need to manually replace any hex color values (taken from the source files) with currentColor
. This will allow the icons to easily be colored when used. NB: Check the commit well to ensure you didn't edit any old icons/colors).stories/1-Base/3-icons.stories.js
file.Make sure to update the changelog if there's any breaking changes.
To publish a new version of the library to npm:
npm version {major/minor/patch}
git push --tags
git push origin master
npm publish
To publish/update the docs:
npm run deploy-storybook
jsDelivr will cache the @latest
tag for 24 hours, if you're using the latest version and wish to purge the cache, visit https://purge.jsdelivr.net/npm/@digibib/deichman-ui@latest/dist/index.css
FAQs
Deichman style-guide and component library
We found that @digibib/deichman-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.