{"id":25109896,"url":"https://github.com/fiveladdercon/gulp-subset","last_synced_at":"2026-05-01T13:33:01.027Z","repository":{"id":57259101,"uuid":"50450471","full_name":"fiveladdercon/gulp-subset","owner":"fiveladdercon","description":"Process a subset of files in a gulp pipeline","archived":false,"fork":false,"pushed_at":"2018-04-30T17:08:30.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-21T00:22:02.051Z","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/fiveladdercon.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}},"created_at":"2016-01-26T18:41:49.000Z","updated_at":"2018-04-30T17:08:31.000Z","dependencies_parsed_at":"2022-08-25T02:21:30.552Z","dependency_job_id":null,"html_url":"https://github.com/fiveladdercon/gulp-subset","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fiveladdercon/gulp-subset","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveladdercon%2Fgulp-subset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveladdercon%2Fgulp-subset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveladdercon%2Fgulp-subset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveladdercon%2Fgulp-subset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiveladdercon","download_url":"https://codeload.github.com/fiveladdercon/gulp-subset/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveladdercon%2Fgulp-subset/sbom","scorecard":{"id":401756,"data":{"date":"2025-08-11","repo":{"name":"github.com/fiveladdercon/gulp-subset","commit":"3a90b7a19033d2dc63d1c9b243d04448d5046fc2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"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":"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":"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"}},{"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":"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":"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 '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"}}]},"last_synced_at":"2025-08-18T20:14:11.253Z","repository_id":57259101,"created_at":"2025-08-18T20:14:11.253Z","updated_at":"2025-08-18T20:14:11.253Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":[],"created_at":"2025-02-08T00:32:43.438Z","updated_at":"2026-05-01T13:33:00.998Z","avatar_url":"https://github.com/fiveladdercon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-subset\n\nProcess a subset of files in a gulp pipeline.\n\n## Install\n\n```\n\u003e npm install gulp-subset\n```\n\n## Usage\n\ngulp-subset uses a pattern to select a subset of files to process.\nFiles that match the pattern are passed to the processing step while\nthe remaining files just fall through to the next step.\n\n```javascript\nvar subset = require('gulp-subset');\n\ngulp.src(['*.css','*.less'])\n\t.pipe(subset(/less$/, less()))  // Pipe .less files through less()\n\t.pipe(cssmin())\n\t...\n```\n\nThe pattern can be a string, regex or custom function.  Passing an extra\ntruthy value will invert the match:\n\n```javascript\nvar subset = require('gulp-subset');\n\ngulp.src(['*.css','*.less'])\n\t.pipe(subset(/css$/, less(), true))  // Pipe non .css files through less()\n\t.pipe(cssmin())\n\t...\n```\n\n\n## API\n\n```javascript\nsubset(pattern, stream [,invert])\n```\n\n#### pattern : string | regex | function\n\nThe pattern is either a string, regex or function.  If it is a function, it is passed\na vinyl and must return true if the file is to be processed, false otherwise.  \n\nPassing a string pattern is a convience for the following matching function:\n\n```javascript\nfunction (vinyl) { \n\treturn (vinyl.relative.indexOf(pattern)\u003e=0)\n}\n```\n\nPassing a regex pattern is a convience the following matching function:\n\n```javascript\nfunction (vinyl) {\n\treturn (vinyl.relative.match(pattern))\n}\n```\n\n#### stream\n\nThis is any operation that you would normally pass to the pipe() function.\n\n#### invert\n\nPassing a truthy value will invert the matching subset.\n\n## Test\n\n```\n\u003e npm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiveladdercon%2Fgulp-subset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiveladdercon%2Fgulp-subset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiveladdercon%2Fgulp-subset/lists"}