
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@kaliber/sanity-plugin-nav-extend
Advanced tools
Extends the nav bar of Sanity Studio
> yarn add @kaliber/sanity-plugin-nav-extend
config/default.js
{
kaliber: [
compileWithBabel: [
/@kaliber\/sanity-plugin-nav-extend/,
...
],
...
],
...
}
admin/sanity.config.js
Minimal version
defineConfig({
...
plugins: [
sanityPluginNavExtend({ clientConfig, reportError }),
...
],
})
Showing a context switch (e.g. language switch)
defineConfig({
...
plugins: [
sanityPluginNavExtend({
contextSwitch: {
profileKey: 'language',
options: Object.values(clientConfig.multiLanguage.languages).map(
({ flagIcon, title, language }) => ({
id: language,
label: title,
icon: <Flag country={flagIcon} />,
})
),
defaultValue: clientConfig.multiLanguage.defaultLanguage,
},
clientConfig,
reportError
}),
...
],
})
> yarn
> yarn link
project/> yarn link @kaliber/sanity-plugin-nav-extend
project/> yarn add @kaliber/sanity-plugin-nav-extend@link:./node_modules/@kaliber/sanity-plugin-nav-extend
yarn publish
git push
git push --tags
This library is intended for internal use, we provide no support, use at your own risk.
FAQs
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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.