
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.
@wmde/lib-version-check
Advanced tools
A small utility to check library versions against a remote copy
A small utility to check remote library versions against a local dependency entry.
Install
npm i lib-version-check
Add remote library urls to your package.json
{
// ...
"config": {
"remoteVersion": {
// <package-name>: <remote>
"vue": "https://raw.githubusercontent.com/wikimedia/mediawiki/master/resources/lib/vue/vue.common.prod.js",
}
}
}
Run in a directory that contains your package.json
lib-version-check
Add a script to your package.json, to run anywhere within your project
{
// ...
"scripts": {
"check-versions": "lib-version-check"
}
}
Interpolate environment variables to a specified remote url
{
// ...
"config": {
"remoteVersion": {
// <package-name>: <remote>
"vue": "https://raw.githubusercontent.com/wikimedia/mediawiki/#{SOME_BRANCH}/resources/lib/vue/vue.common.prod.js",
}
}
}
Define the environment variable and run the check
SOME_BRANCH=main lib-version-check
FAQs
A small utility to check library versions against a remote copy
The npm package @wmde/lib-version-check receives a total of 14 weekly downloads. As such, @wmde/lib-version-check popularity was classified as not popular.
We found that @wmde/lib-version-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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.