
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@laerdal/navigation
Advanced tools
This package builds to a single .js file that can be used to add global navigation / service switcher to all Laerdal web applications.
Questions? Go find Thomas Kalve or Erik J. Sandal.
git clone git@bitbucket.org:laerdal/portal.gitcd packages/navigationyarnyarn buildserve .http://localhost:5000If you are missing serve, run yarn global add serve. If you are missing yarn, visit the yarn install page.
dist/globalNav.js on an appropriate location on the interwebz (Its temporarily hosted on: https://myportal-test.azurewebsites.net/globalNav.js)<script src="https://example.com/globalNav/globalNav.js" />
window.globalNav to show, hide or toggle the switcher:<button onClick="window.globalNav.show()">Show</button>
<button onClick="window.globalNav.hide()">Hide</button>
<button onClick="window.globalNav.toggle()">Toggle</button>
The globalNav script will look for the Gigya Web SDK and bind to the gigya events, ie. onLogin and onLogout.
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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.