
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
decentraland-commons
Advanced tools
Set of common functionality accross Decentraland projects.
build
Build the lib for use
lint
Lint js files with tslint
docs
Builds an static page with the JSDoc documentation
test
Run tests using mocha and chai
We use semantic-release to automate the release process of this package. Every time we merge to master, the CI will run semantic-release and it will publish a new version of the package. It will determine the next version of the package and it will generate release notes from the commit messages. That's why we enforce the following format for commit messages:
type: message
or
type(scope): messages
for example
feature(Map): added zoom levels
We use husky and validate-commit-msg to enforce this format on every commit.
If you have commons as a dependency and you're deploying to a Linux system, you might run into an error like this one: commit 2dd8319 on CircleCI.
The error comes from the installation of node-hid, you need to have libusb available for it to work, and it's not present in all Linux systems.
You can see an example of a fix in this repos config.yml file.
node-hid is a dependency of ledgerco, which in turn is a dependency of ledger-wallet-provider, used by this lib.
FAQs
Set of common functionality accross Decentraland projects.
The npm package decentraland-commons receives a total of 206 weekly downloads. As such, decentraland-commons popularity was classified as not popular.
We found that decentraland-commons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

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.