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-css
Advanced tools
Core CSS layer for web services.
<link rel="stylesheet" href="https://static.nrk.no/core-css/latest/core-css.min.css">
or version
<link rel="stylesheet" href="https://static.nrk.no/core-css/X.X.X/core-css.min.css">
npm
npm install @nrk/core-css --save
yarn
yarn add @nrk/core-css
@import '@nrk/core-css/dist/core-css.css';
In order to use NRKs core fonts and icons, see these related projects:
https://github.com/nrkno/core-fonts
https://github.com/nrkno/core-icons
Once the fonts (LFT Etica and NRK Etica Slab) have been imported, add this to your project’s CSS:
html {
font-family: 'LFT Etica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
First clone @nrk/core-css
and install dependencies:
git clone git@github.com:nrkno/core-css.git
cd core-css
npm install --no-optional
Open src/index.html
in the browser and refresh to see changes.
After having applied changes, remember to build the CSS, SVG and fonts 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 PR to the master branch,
# and assign a CSS developer to review your code
NOTE! Please also make sure to keep commits small, clean and that the commit message actually refers to the updated files. Formally, make sure the message is Capitalized and starts with a verb.
FAQs
Core CSS layer for web services.
The npm package @nrk/core-css receives a total of 556 weekly downloads. As such, @nrk/core-css popularity was classified as not popular.
We found that @nrk/core-css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 125 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.