Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain 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.git
cd packages/navigation
yarn
yarn build
serve .
http://localhost:5000
If 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
Navigation for MyLaerdal Portal and friends
The npm package @laerdal/navigation receives a total of 107 weekly downloads. As such, @laerdal/navigation popularity was classified as not popular.
We found that @laerdal/navigation 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.