{"id":13526894,"url":"https://github.com/node-modules/npm-updater","last_synced_at":"2025-09-25T20:30:04.958Z","repository":{"id":47134464,"uuid":"47058188","full_name":"node-modules/npm-updater","owner":"node-modules","description":"Prompt update of npm package","archived":false,"fork":false,"pushed_at":"2024-05-28T23:43:45.000Z","size":31,"stargazers_count":32,"open_issues_count":12,"forks_count":4,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-09-19T08:29:39.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-modules.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-29T09:53:20.000Z","updated_at":"2024-06-08T16:07:41.000Z","dependencies_parsed_at":"2024-02-11T17:27:14.366Z","dependency_job_id":"f4c58ab3-57d6-4e41-b497-02bdba34e1cb","html_url":"https://github.com/node-modules/npm-updater","commit_stats":{"total_commits":29,"total_committers":5,"mean_commits":5.8,"dds":0.4482758620689655,"last_synced_commit":"9ed064e7721a7d6ddc168cce92d2e45d606ac41f"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/node-modules/npm-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fnpm-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fnpm-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fnpm-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fnpm-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-modules","download_url":"https://codeload.github.com/node-modules/npm-updater/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fnpm-updater/sbom","scorecard":{"id":692029,"data":{"date":"2025-08-11","repo":{"name":"github.com/node-modules/npm-updater","commit":"9ed064e7721a7d6ddc168cce92d2e45d606ac41f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 8/29 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T02:31:15.464Z","repository_id":47134464,"created_at":"2025-08-22T02:31:15.465Z","updated_at":"2025-08-22T02:31:15.465Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276976302,"owners_count":25738659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:36.920Z","updated_at":"2025-09-25T20:30:04.898Z","avatar_url":"https://github.com/node-modules.png","language":"JavaScript","readme":"# npm-updater\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/npm-updater.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/npm-updater\n[travis-image]: https://img.shields.io/travis/node-modules/npm-updater.svg?style=flat-square\n[travis-url]: https://travis-ci.org/node-modules/npm-updater\n[codecov-image]: https://codecov.io/gh/node-modules/npm-updater/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/node-modules/npm-updater\n[david-image]: https://img.shields.io/david/node-modules/npm-updater.svg?style=flat-square\n[david-url]: https://david-dm.org/node-modules/npm-updater\n[snyk-image]: https://snyk.io/test/npm/npm-updater/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/npm-updater\n[download-image]: https://img.shields.io/npm/dm/npm-updater.svg?style=flat-square\n[download-url]: https://npmjs.org/package/npm-updater\n\nCheck update of npm package.\n\n## Installation\n\n```bash\n$ npm i npm-updater --save\n```\n\n## Usage\n\n```js\nconst updater = require('npm-updater');\n\nupdater({\n  package: require('./package.json'),\n  level: 'major',\n}).then(result =\u003e {\n  console.log(result.name, result.version, result.current, result.type);\n});\n```\n\n### Options\n\n```js\n/**\n * check a package lastest version\n * @param {Object} options - query Object\n * @param {Object} options.name - package name, default get from parent package.\n * @param {Object} options.version - package current version, default get from parent package.\n * @param {Object} [options.package] - pass module's `package.json` object\n * @param {String} [options.registry] - publishConfig.registry || npm\n * @param {String} [options.tag] - compare with which tag, default to `latest`.\n * @param {String} [options.interval] - notify interval, default to 1d.\n * @param {Boolean} [options.abort] - If remote version changed, should we abort? default to `true`.\n * @param {String} [options.level] - abort level, default to `minor`.\n * @param {String} [options.updateMessage] - appending update message.\n * @param {Function} [options.formatter] - custom format fn, with args { name, version, current, isAbort, options }.\n * @return {Object} - { name, version, current, type, pkg, options }, type: latest, major, minor, patch, prerelease, build, null\n */\n ```\n\n ## Notice\n\nPlease make sure you pacakge's initial version is bigger than `1.0.0`.\n\n## License\n\nMIT","funding_links":[],"categories":["Repository","JavaScript"],"sub_categories":["NPM"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fnpm-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-modules%2Fnpm-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fnpm-updater/lists"}