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.
@nrk/core-icons
Advanced tools
Icon and logo kit providing a consistent and predictable user experience across platforms and NRK services
https://static.nrk.no/core-icons/latest/
Download the Sketch library for sketching, individual SVGs for Android, PDFs for iOS. All icons follow BEM naming conventions and are prefixed with nrk-
to play nice with existing code.
npm install @nrk/core-icons
All icons are exposed individually as exported constants (enabling tree shaking):
import { nrkLogoNrk } from '@nrk/core-icons' // Vanilla JS, String
import { NrkLogoNrk } from '@nrk/core-icons/jsx' // React, ReactElement
<NrkLogoNrk /> // Example render a NRK logo with React
<span style={{ color: 'red', fontSize: 20 }}> // Style is inherited from parent element
<NrkLogoNrk />
</span>
Recommended only for prototyping.
<script async src="https://static.nrk.no/core-icons/major/11/core-icons.min.js"></script>
First clone @nrk/core-icons
and install its dependencies:
git clone git@github.com:nrkno/core-icons.git
cd core-icons
npm install
npm start # Your browser will open documentation with hot reloading
After having applied changes, remember to build before pushing the changes upstream.
git checkout -b feature/my-changes
# update the source code
npm run build
git commit -am "Add my changes"
git push origin feature/my-changes
# then make a PR to the master branch,
# and assign another developer to review your code
NOTE! Please also make sure to keep commits small and clean (that the commit message actually refers to the updated files).
Stylistically, make sure the commit message is Capitalized and starts with a verb in the present tense (for exampleAdd minification support
).
FAQs
The official icons for NRK.
The npm package @nrk/core-icons receives a total of 2,251 weekly downloads. As such, @nrk/core-icons popularity was classified as popular.
We found that @nrk/core-icons 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.