{"id":24518210,"url":"https://github.com/flasd/no-hats","last_synced_at":"2025-03-15T11:12:07.442Z","repository":{"id":155424682,"uuid":"632629743","full_name":"flasd/no-hats","owner":"flasd","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-25T20:08:08.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T01:41:25.889Z","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/flasd.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}},"created_at":"2023-04-25T20:05:09.000Z","updated_at":"2023-04-25T20:08:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"92a2928c-5f7e-4bed-9f1b-9073d73056f2","html_url":"https://github.com/flasd/no-hats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flasd%2Fno-hats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flasd%2Fno-hats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flasd%2Fno-hats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flasd%2Fno-hats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flasd","download_url":"https://codeload.github.com/flasd/no-hats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719398,"owners_count":20336607,"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":"2025-01-22T01:40:54.972Z","updated_at":"2025-03-15T11:12:07.437Z","avatar_url":"https://github.com/flasd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dependecy hats are problematic because they can cause unexpected changes in your dependencies.\n\nFor example, if you have a dependency on \"foo@^1.0.0\" and \"foo@1.1.0\" is released, installing dependencies will install 1.1.0 instead of 1.0.0.\n\nThis can cause unexpected bugs and breakages in your code.\n\nThis package will help you avoid this problem by stopping commits that adds dependency hats.\n\n### Installation\n\n```sh\nyarn @flasd/no-hats\n```\n\n### Usage\n\nAdd the following to your `package.json`:\n\n```json\n{\n  \"lint-staged\": {\n    \"package.json\": [\"no-hats\"]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflasd%2Fno-hats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflasd%2Fno-hats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflasd%2Fno-hats/lists"}