
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@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/
First clone @nrk/core-icons
and install its dependencies:
git clone git@github.com:nrkno/core-icons.git
cd core-icons
# Install dependencies according to package-lock-file
npm ci
npm start # Your browser will open documentation with hot reloading
After having applied changes, remember to build before commiting and pushing your changes upstream.
See Conventional Commits for commit guidelines.
git checkout -b feature/my-changes
# Update the source code
npm run build
# Test to ensure integrity
npm run test
git commit -am "<type>[optional scope]: <desciption>"
git push --set-upstream origin feature/my-changes
# Make a PR to the master branch,
# Assign a developer to review your code
We use Testpack-cli to ensure published exports work as intended. In short it does the following:
npm pack
and moves the generated archive to a sibling test folder nrk-core-icons-testpack
(which is created if not present) to core-iconstest
-folder to the testpack-foldertestpack-script
in the testpack-folderWe use arethetypeswring/cli to verify that our type declarations are available for consumers.
d.ts
-file to a d.mts
to solve this error as it could lead to unexpected behavior for consumers.Uses Node Version Manager (nvm) to organize node version
nvm config is saved in .nvmrc
, set appropriate node version using:
nvm use
See the installation guide and usage guide.
To test the script that generates the drawables and Kotlin code locally run node .github\scripts\generate-android-vectors.js
Use gradlew publishToMavenLocal
to publish a version locally on your machine to test in other projects
FAQs
The official icons for NRK.
The npm package @nrk/core-icons receives a total of 1,391 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 189 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.