{"id":18925815,"url":"https://github.com/modernpoacher/deps","last_synced_at":"2025-09-05T01:32:03.845Z","repository":{"id":37664532,"uuid":"207918463","full_name":"modernpoacher/deps","owner":"modernpoacher","description":"Update your package dependencies to their latest version","archived":false,"fork":false,"pushed_at":"2025-09-02T03:04:43.000Z","size":3840,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T05:27:03.779Z","etag":null,"topics":["dependencies","devdependencies","peerdependencies"],"latest_commit_sha":null,"homepage":"","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/modernpoacher.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-11T22:35:02.000Z","updated_at":"2025-09-02T03:04:46.000Z","dependencies_parsed_at":"2023-12-28T05:24:26.338Z","dependency_job_id":"44167e1d-6436-4938-a834-8ca56a5702ee","html_url":"https://github.com/modernpoacher/deps","commit_stats":{"total_commits":1337,"total_committers":4,"mean_commits":334.25,"dds":"0.016454749439042682","last_synced_commit":"3df5dcba8b6d26a983bdfab09ceea2fab65c6988"},"previous_names":[],"tags_count":249,"template":false,"template_full_name":null,"purl":"pkg:github/modernpoacher/deps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modernpoacher%2Fdeps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modernpoacher%2Fdeps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modernpoacher%2Fdeps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modernpoacher%2Fdeps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modernpoacher","download_url":"https://codeload.github.com/modernpoacher/deps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modernpoacher%2Fdeps/sbom","scorecard":{"id":655977,"data":{"date":"2025-08-11","repo":{"name":"github.com/modernpoacher/deps","commit":"3dbafa8c227c548e9c321dd9c19abbd830ed3b3c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"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":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: bin/bash/deps.sh:24","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":"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 'main'"],"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":"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"}}]},"last_synced_at":"2025-08-21T14:38:34.620Z","repository_id":37664532,"created_at":"2025-08-21T14:38:34.620Z","updated_at":"2025-08-21T14:38:34.620Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699516,"owners_count":25152278,"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-04T02:00:08.968Z","response_time":61,"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":["dependencies","devdependencies","peerdependencies"],"created_at":"2024-11-08T11:13:31.272Z","updated_at":"2025-09-05T01:31:58.825Z","avatar_url":"https://github.com/modernpoacher.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @modernpoacher/deps\n\n*Deps* updates your `package.json` dependencies to their latest version.\n\n*Deps* updates both `dependencies` and `devDependencies` by default. You can [choose to update only _production_ or _development_ dependencies](#using-deps).\n\nWhere a dependency has an _exact_ version, *Deps* does not update that dependency by default. *Deps* can be configured to [update to an _exact_ version or to `latest` as an _exact_ version](#using-depsrc).\n\n## Installing Deps\n\nGlobally:\n\n```bash\nnpm i -g @modernpoacher/deps\n```\n\nTo your project:\n\n```bash\nnpm i -D @modernpoacher/deps\n```\n\n## Using Deps\n\nWhen installed globally, change into the root directory of the package you want to update and execute the command:\n\n```bash\ndeps\n```\n\nWhen installed locally, or not installed, use `npx`:\n\n```bash\nnpx @modernpoacher/deps\n```\n\nAlternatively, use `npm` with a script target in your project's `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"deps\": \"deps\"\n  }\n}\n```\n\nThen:\n\n```bash\nnpm run deps\n```\n\n### Updating only production dependencies\n\nTo update only _production_ dependencies (on the `dependencies` field):\n\n```bash\ndeps --save-prod # or -P\n```\n\nOr:\n\n```bash\nnpx @modernpoacher/deps --save-prod # or -P\n```\n\nOr:\n\n```bash\nnpm run deps -- --save-prod # or -P\n```\n\n### Updating only development dependencies\n\nTo update only _development_ dependencies (dependencies on the `devDependencies` field):\n\n```bash\ndeps --save-dev # or -D\n```\n\nOr:\n\n```bash\nnpx @modernpoacher/deps --save-dev # or -D\n```\n\nOr:\n\n```bash\nnpm run deps -- --save-dev # or -D\n```\n\n## Using `.depsrc`\n\nTo configure *Deps* create a file named `.depsrc` in the root directory of the package you want to update.\n\nIt should contain *JSON* and be structured as `package.json`:\n\n```json\n{\n  \"dependencies\": {\n    \"express\": \"5.0.0-alpha.8\"\n  },\n  \"devDependencies\": {\n    \"gulp\": \"latest\"\n  }\n}\n```\n\n### Author\n\nAdd an `author` field to `.depsrc`:\n\n```json\n{\n  \"author\": \"Jonathan Perry \u003cjonathanperry@modernpoacher.com\u003e\"\n}\n```\n\n### Ignore\n\nInstruct *Deps* not to update your package with an `ignore` field in `.depsrc`:\n\n```json\n{\n  \"ignore\": true\n}\n```\n\nWithout a `.depsrc` configuration file, whenever *Deps* encounters an _exact_ version, it will assume that _an exact version should not be updated_.\n\nThe `.depsrc` configuration file enables this behaviour to be changed.\n\nIn the example above, the `dependencies` field defines `express` with an _exact_ version while `devDependencies` defines `gulp` with `latest`.\n\n### Configuration with an _exact_ version number\n\nWith the `.depsrc` configuration file as the example above:\n\n- If `package.json` defines `express` at version `5.0.0-alpha.7` then *Deps* will upgrade to `5.0.0-alpha.8`\n- If `package.json` defines `5.0.0-alpha.8` then *Deps* will not update the version at all (in which case, the entry in `.depsrc` is meaningless and can be deleted)\n- If `package.json` defines `5.0.0-alpha.9` then *Deps* will downgrade to `5.0.0-alpha.8`. (If the entry in `.depsrc` is out of date, change the entry, or delete it)\n\n*Deps* only refers to the `.depsrc` configuration file when it encounters an _exact_ version in `package.json`. If there is no entry for that dependency in the `.depsrc` configuration file then *Deps* will not upgrade, downgrade or otherwise modify it.\n\nYou need not duplicate an _exact_ version in `.depsrc`. (Let `package.json` be the source of truth.)\n\nTypically, an entry in the `.depsrc` configuration file will contain `latest`.\n\n### Configuration with `latest`\n\nAgain, with the `.depsrc` configuration file as the example above:\n\n- If `package.json` defines `gulp` at version `4.0.2` then *Deps* will update to the latest version\n\n## *Deps* with the shell\n\n```bash\ndeps \\\n  --save-prod \\ # Boolean\n  --save-dev \\ # Boolean\n  --save-optional \\ # Boolean\n  --save-bundle \\ # Boolean\n  --registry '\u003cREGISTRY\u003e' \\\n  --force # Boolean\n\ndeps-execute \\\n  --path '\u003cPATH\u003e' \\\n  --from '\u003cFROM\u003e' \\\n  --only '\u003cONLY\u003e' \\\n  --registry '\u003cREGISTRY\u003e' \\\n  --force \\ # Boolean\n  --message '\u003cMESSAGE\u003e' \\\n  --author '\u003cAUTHOR\u003e'\n\ndeps-install \\\n  --prod \\ # Boolean\n  --dev \\ # Boolean\n  --optional \\ # Boolean\n  --bundle \\ # Boolean\n  --peer \\ # Boolean\n  --save \\ # Boolean\n  --registry '\u003cREGISTRY\u003e' \\\n  --force # Boolean\n\ndeps-deps \\\n  --path . \\\n  --from . \\\n  --only .\n\ndeps-wipe --path .\ndeps-push --path .\ndeps-head --path .\n```\n\n## *Deps* with its own script targets\n\n```bash\nnpm run deps -- \\\n  --save-prod \\ # Boolean\n  --save-dev \\ # Boolean\n  --save-optional \\ # Boolean\n  --save-bundle \\ # Boolean\n  --registry '\u003cREGISTRY\u003e' \\\n  --force # Boolean\n\nnpm run deps-execute -- \\\n  --path '\u003cPATH\u003e' \\\n  --from '\u003cFROM\u003e' \\\n  --only '\u003cONLY\u003e' \\\n  --registry '\u003cREGISTRY\u003e' \\\n  --force \\ # Boolean\n  --message '\u003cMESSAGE\u003e' \\\n  --author '\u003cAUTHOR\u003e'\n\nnpm run deps-install -- \\\n  --prod \\ # Boolean\n  --dev \\ # Boolean\n  --optional \\ # Boolean\n  --bundle \\ # Boolean\n  --peer \\ # Boolean\n  --save \\ # Boolean\n  --registry '\u003cREGISTRY\u003e' \\\n  --force # Boolean\n\nnpm run deps-deps -- \\\n  --path . \\\n  --from . \\\n  --only .\n\nnpm run deps-wipe -- --path .\nnpm run deps-push -- --path .\nnpm run deps-head -- --path .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodernpoacher%2Fdeps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodernpoacher%2Fdeps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodernpoacher%2Fdeps/lists"}