{"id":20844801,"url":"https://github.com/nest-cloud/validations","last_synced_at":"2025-10-20T11:51:05.088Z","repository":{"id":57129891,"uuid":"133627579","full_name":"nest-cloud/validations","owner":"nest-cloud","description":"A Nest framework (node.js) module for validating request params.","archived":false,"fork":false,"pushed_at":"2023-01-12T01:41:53.000Z","size":26,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T14:50:12.313Z","etag":null,"topics":["nest","nest-validations","nestjs"],"latest_commit_sha":null,"homepage":"https://github.com/nest-cloud/nestcloud","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/nest-cloud.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}},"created_at":"2018-05-16T07:30:02.000Z","updated_at":"2023-03-24T06:27:15.000Z","dependencies_parsed_at":"2023-02-09T09:01:09.428Z","dependency_job_id":null,"html_url":"https://github.com/nest-cloud/validations","commit_stats":null,"previous_names":["miaowing/nest-validations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nest-cloud/validations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fvalidations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fvalidations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fvalidations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fvalidations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nest-cloud","download_url":"https://codeload.github.com/nest-cloud/validations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fvalidations/sbom","scorecard":{"id":640507,"data":{"date":"2025-08-11","repo":{"name":"github.com/nest-cloud/validations","commit":"c8ab36b160caf4d1746e6e6e75b9b95ceebad601"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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":0,"reason":"Found 0/5 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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-cj7v-w2c7-cp7c","Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-6gp3-h3jj-prx4","Warn: Project is vulnerable to: GHSA-fj58-h2fr-3pp2","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-qgmg-gppg-76g5"],"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-21T10:34:19.837Z","repository_id":57129891,"created_at":"2025-08-21T10:34:19.837Z","updated_at":"2025-08-21T10:34:19.837Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280006342,"owners_count":26257585,"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-10-20T02:00:06.978Z","response_time":62,"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":["nest","nest-validations","nestjs"],"created_at":"2024-11-18T02:11:00.202Z","updated_at":"2025-10-20T11:51:05.070Z","avatar_url":"https://github.com/nest-cloud.png","language":"TypeScript","readme":"\n[travis-image]: https://api.travis-ci.org/nest-cloud/nestcloud.svg?branch=master\n[travis-url]: https://travis-ci.org/nest-cloud/nestcloud\n[linux-image]: https://img.shields.io/travis/nest-cloud/nestcloud/master.svg?label=linux\n[linux-url]: https://travis-ci.org/nest-cloud/nestcloud\n\n# NestCloud - Validations\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/~nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@nestcloud/common.svg\" alt=\"NPM Version\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/~nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@nestcloud/common.svg\" alt=\"Package License\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/~nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@nestcloud/common.svg\" alt=\"NPM Downloads\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/nest-cloud/nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://travis-ci.org/nest-cloud/nestcloud.svg?branch=master\" alt=\"Travis\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/nest-cloud/nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/travis/nest-cloud/nestcloud/master.svg?label=linux\" alt=\"Linux\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://coveralls.io/github/nest-cloud/nestcloud?branch=master\" target=\"_blank\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/nest-cloud/nestcloud/badge.svg?branch=master\" alt=\"Coverage\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Description\n\nThis is a [Nest](https://github.com/nestjs/nest) module for validating request params.\n\n## Installation\n\n```bash\n$ npm i --save @nestcloud/validations class-validator\n```\n\n## Quick Start\n\n#### CatDto\n\n```typescript\nimport {IsNotEmpty} from 'class-validator';\n\nexport class CreateCatDto {\n  @IsNotEmpty()\n  readonly name: string;\n  readonly age: number;\n  readonly breed: string;\n}\n```\n\n#### CatController\n\n```typescript\nimport { Controller, Get, Post, Body, Put, Param, Delete } from '@nestjs/common';\nimport {IsValid, IsNotEmpty} from '@nestcloud/validations';\n\n@Controller('cats')\nexport class CatsController {\n  @Post()\n  create(@Body(new IsValid()) createCatDto: CreateCatDto) {\n    return 'This action adds a new cat';\n  }\n\n  @Get()\n  findAll() {\n    return 'This action returns all cats';\n  }\n\n  @Get(':id')\n  findOne(@Param('id') id) {\n    return `This action returns a #${id} cat`;\n  }\n\n  @Put(':id')\n  update(@Param('id') id, @Body('name', new IsNotEmpty()) name) {\n    return `This action updates a #${id} cat`;\n  }\n\n  @Delete(':id')\n  remove(@Param('id') id) {\n    return `This action removes a #${id} cat`;\n  }\n}\n```\n\n### More Validators\n\nhttps://github.com/nest-cloud/validations/tree/master\n\n## Stay in touch\n\n- Author - [NestCloud](https://github.com/nest-cloud)\n\n## License\n\n  NestCloud is [MIT licensed](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnest-cloud%2Fvalidations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnest-cloud%2Fvalidations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnest-cloud%2Fvalidations/lists"}