{"id":13531286,"url":"https://github.com/hiwelo/new-dependencies-action","last_synced_at":"2025-07-18T10:33:01.589Z","repository":{"id":43952045,"uuid":"259020602","full_name":"hiwelo/new-dependencies-action","owner":"hiwelo","description":"GitHub Action adding a comment with information about new NPM dependencies detected in a pull request","archived":false,"fork":false,"pushed_at":"2023-01-06T04:26:50.000Z","size":838,"stargazers_count":27,"open_issues_count":17,"forks_count":7,"subscribers_count":0,"default_branch":"stable","last_synced_at":"2025-06-30T14:48:40.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hiwelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-26T12:06:27.000Z","updated_at":"2024-10-09T20:28:04.000Z","dependencies_parsed_at":"2023-02-05T07:31:32.310Z","dependency_job_id":null,"html_url":"https://github.com/hiwelo/new-dependencies-action","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":"0.12121212121212122","last_synced_commit":"9dec3ca1d3b8bbb0e4528a96dd06c4a4582092df"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/hiwelo/new-dependencies-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiwelo%2Fnew-dependencies-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiwelo%2Fnew-dependencies-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiwelo%2Fnew-dependencies-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiwelo%2Fnew-dependencies-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiwelo","download_url":"https://codeload.github.com/hiwelo/new-dependencies-action/tar.gz/refs/heads/stable","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiwelo%2Fnew-dependencies-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742328,"owners_count":23820828,"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":[],"created_at":"2024-08-01T07:01:01.751Z","updated_at":"2025-07-18T10:33:01.558Z","avatar_url":"https://github.com/hiwelo.png","language":"TypeScript","funding_links":[],"categories":["Community Resources","TypeScript","五、按场景分类的实用Action"],"sub_categories":["Utility","1. 依赖管理（提速+合规）"],"readme":"# Highlight new NPM dependencies in Pull Requests\n\nIn Pull Requests, this action highlight the addition of new NPM dependencies in\none of the `package.json` of your repository.\n\nAdding new dependencies in a project should never be a small change, and often\nit should trigger discussions between maintainers. This action can help you\nmaking sure that you are not missing the addition of new package in your NPM\n`dependencies` and `devDependencies`.\n\nTo highlight new packages, this action compares the list of dependencies \nregistered in the current branch with the ones registered in the base branch.\nThis check only occurs for each `package.json` file added or updated with the\ncurrent pull request.\n\nThis action is not only looking at the root-level `package.json` but potentially\nany existing `package.json` in the project to be compatible with monorepo \nprojects.\n\n## Usage\n\nThis _GitHub Action_ should run everytime a commit is pushed to the pull request\nto check any potential addition or change in one of your `package.json`.\n\n```yml\nname: Inspect dependencies\non:\n  - pull_request\n\njobs:\n  check_new_dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check for new dependencies\n        uses: hiwelo/new-dependencies-action@1.0.1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n```\n\n## Example\n\n![Message generated by the GitHub Action showing a list of new dependencies with a table showing some information like author, description and date of the last update for each dependency](https://raw.githubusercontent.com/hiwelo/new-dependencies-action/stable/docs/images/message.png)\n\n## License\n\nThis project is released under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiwelo%2Fnew-dependencies-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiwelo%2Fnew-dependencies-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiwelo%2Fnew-dependencies-action/lists"}