
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
specified-package-version-check
Advanced tools
[ENGLISH] | 中文
specified-package-version-check is a script which can check the specified package version is outdated or not, if outdated, develop env process will be exist.
For some case, e.g. our team develop ourselves eslint rules as a npm package, if we update the npm package version, we hope all of our team member must use the latest npm version.
// Run this script first, e.g. { "start": node check && webpack-dev-server --open --history-api-fallback -d --colors}
//check.js
const checkDependenceVersion = require('specified-package-version-check');
async function func() {
await checkDependenceVersion({
dependenceArr: ['axios', 'specified-package-version-check', '@shuyun-ep-team/eslint-config'],
ignoreCheck: false,
onlyWarn: false,
checkAllLocalDependencies: false,
ignoreSelf: false,
remoteUrl: '',
});
console.log('end');
}
func();
| Property | Description | Type | Default | required | Version |
|---|---|---|---|---|---|
| dependenceArr | dependence need to be checked | string[] | [] | true | 1.0.0 |
| ignoreCheck | skip check | boolean | false | false | 1.0.0 |
| onlyWarn | only warn when specified package outdated | boolean | false | false | 1.0.0 |
| checkAllLocalDependencies | check all packages version in package.json | boolean | false | false | 1.0.0 |
| ignoreSelf | ignore check specified-package-version-check | boolean | false | false | 2.0.0 |
| remoteUrl | check specified npm global cli version | string | https://api-track.kylin.shuyun.com/monitor-service/static/global-package-info.json | false | 2.0.0 |
false
json content construct must be as following
{
"info": [
{
"command": "show version command", //e.g. yarn -v
"name": "package name" //e.g. yarn
}
]
}
FAQs
check the specified package version is outdated or not
We found that specified-package-version-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.