{"id":20113665,"url":"https://github.com/archergu/npm-upstream-check","last_synced_at":"2025-10-24T05:01:21.466Z","repository":{"id":200547031,"uuid":"705924987","full_name":"ArcherGu/npm-upstream-check","owner":"ArcherGu","description":"Check the updates of upstream npm dependencies","archived":false,"fork":false,"pushed_at":"2025-05-05T19:07:42.000Z","size":2591,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-05T20:28:53.573Z","etag":null,"topics":["actions","npm","npm-package"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArcherGu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-10-17T01:04:13.000Z","updated_at":"2025-05-05T19:07:45.000Z","dependencies_parsed_at":"2023-11-17T02:37:11.768Z","dependency_job_id":"424075aa-2f34-48d2-bce4-4b72f7536ed7","html_url":"https://github.com/ArcherGu/npm-upstream-check","commit_stats":null,"previous_names":["archergu/npm-upstream-check"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fnpm-upstream-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fnpm-upstream-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fnpm-upstream-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fnpm-upstream-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArcherGu","download_url":"https://codeload.github.com/ArcherGu/npm-upstream-check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252683376,"owners_count":21788028,"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","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":["actions","npm","npm-package"],"created_at":"2024-11-13T18:25:19.160Z","updated_at":"2025-10-24T05:01:21.318Z","avatar_url":"https://github.com/ArcherGu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Npm Upstream Check\n\n[![CI](https://github.com/ArcherGu/npm-upstream-check/actions/workflows/ci.yml/badge.svg)](https://github.com/ArcherGu/npm-upstream-check/actions/workflows/ci.yml)  \n\n## Usage\n\nYour npm package may depend on another npm package, and when the upstream package is updated, you may need to make some changes, and this action can help you.\n\n## Example\n  \n  ```yaml\n  - name: Check npm upstream\n    id: cnu\n    uses: ArcherGu/npm-upstream-check@v1\n    with:\n      upstream: esbuild\n    \n  - name: Get the outputs\n    run: |\n      echo \"Need Update: ${{ steps.cnu.outputs.need-update }}\"\n      echo \"Dependencies: ${{ steps.cnu.outputs.dependencies }}\"\n  ```\n\n## Inputs\n  - `upstream`: The upstream package name\n    - required\n    - example: `esbuild` or `esbuild,rollup`\n  - `deep`: Deep check, e.g. monorepo\n    - optional\n    - default: `false`\n  - `check-only`: Only check, not update package.json\n    - optional\n    - default: `false`\n  - `all`: Check all dependencies, not just upstream\n    - optional\n    - default: `false`\n\n## Outputs\n  - `need-update`: Whether the dependencies need to be updated\n    - example: `true` or `false`\n  - `dependencies`: The dependencies that need to be updated, in JSON string format\n    - example: `{\"esbuild\": \"^0.13.0\"}`\n\n\n## License\n\nMIT License © 2023 [Archer Gu](https://github.com/archergu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchergu%2Fnpm-upstream-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchergu%2Fnpm-upstream-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchergu%2Fnpm-upstream-check/lists"}