Socket
Socket
Sign inDemoInstall

@lavamoat/aa

Package Overview
Dependencies
10
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lavamoat/aa

LavaMoat's secure package naming convention


Version published
Maintainers
6
Created

Readme

Source

@lavamoat/aa

LavaMoat's canonical package name convention.

Named after a type of lava: ʻAʻā https://volcanoes.usgs.gov/vsc/glossary/aa.html

goals
  • name that does not soley rely on the package of unknown provenance's self-determined name
  • consistent across platform and package manager
  • consistent whether only prod dependencies or dev and prod dependencies are installed
scheme

The naming convention is to identify all "logical paths" from the project root to the normalized package disk location and choose the shortest logical path by string length.

For example the path: project/node_modules/xyz

with the logical paths:

  • abc>ijk>xyz
  • abc>xyz

In this case we would choose the name abc>xyz to represent this package.

FAQs

Last updated on 29 Feb 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc