{"id":18482308,"url":"https://github.com/openstyles/stylelint-bundle","last_synced_at":"2026-05-12T00:02:17.977Z","repository":{"id":38417374,"uuid":"111963234","full_name":"openstyles/stylelint-bundle","owner":"openstyles","description":"Create \u0026 provide a bundled version of Stylelint","archived":false,"fork":false,"pushed_at":"2026-05-11T18:15:28.000Z","size":7523,"stargazers_count":5,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-05-11T20:12:40.892Z","etag":null,"topics":["bundle","css","less","linter","postcss","scss","stylelint"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/openstyles.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-11-24T23:44:20.000Z","updated_at":"2026-05-11T18:16:48.000Z","dependencies_parsed_at":"2024-05-21T17:54:40.709Z","dependency_job_id":null,"html_url":"https://github.com/openstyles/stylelint-bundle","commit_stats":{"total_commits":34,"total_committers":6,"mean_commits":5.666666666666667,"dds":"0.47058823529411764","last_synced_commit":"03910f20c0134bd170e974dd0603240630792b31"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/openstyles/stylelint-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstyles%2Fstylelint-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstyles%2Fstylelint-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstyles%2Fstylelint-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstyles%2Fstylelint-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openstyles","download_url":"https://codeload.github.com/openstyles/stylelint-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstyles%2Fstylelint-bundle/sbom","scorecard":{"id":710428,"data":{"date":"2025-08-11","repo":{"name":"github.com/openstyles/stylelint-bundle","commit":"f24bd5350c97867113ee48fee3cfe5ba29e2bd1a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"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":1,"reason":"Found 3/16 approved changesets -- score normalized to 1","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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/openstyles/stylelint-bundle/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/openstyles/stylelint-bundle/npm-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/openstyles/stylelint-bundle/npm-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/openstyles/stylelint-bundle/npm-publish.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/npm-publish.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of   2 npmCommand dependencies pinned"],"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":"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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5"],"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-22T08:03:09.954Z","repository_id":38417374,"created_at":"2025-08-22T08:03:09.955Z","updated_at":"2025-08-22T08:03:09.955Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32917885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bundle","css","less","linter","postcss","scss","stylelint"],"created_at":"2024-11-06T12:27:50.476Z","updated_at":"2026-05-12T00:02:17.967Z","avatar_url":"https://github.com/openstyles.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stylelint Bundle\n\nThis repository branch modifies Stylelint and creates a bundle:\n\n* To allow bundling of the code.\n* To reduce the file size of the standalone version.\n* It removes excessive code to make it efficient to use with the [Stylus](https://github.com/openstyles/stylus) browser extension.\n* The bundle includes the sugarss syntax. It will be used when `config.customSyntax === \"sugarss\"`.\n\n[Demo](https://raw.githack.com/openstyles/stylelint-bundle/master/demo/index.html)\n\n## Create the bundle\n\n* Download or clone this repository.\n* Run `npm install --legacy-peer-deps` (NPM v7 and newer) or `npm install` (older NPM)\n* Run `npm run build`.\n* An IIFE bundle `stylelint-bundle.min.js` is created in `dist` directory using the modified version of Stylelint.\n* Run `npm test` for testing.\n\n## Limitations\n\nThe resulting bundle:\n\n* Exposes the standalone version of Stylelint.\n* It does not work from the command line:\n  * All code that uses the node file system (`fs`) or path (`path`) are bypassed or removed.\n  * All command-line interface (CLI) code is bypassed or removed.\n\n## Usage\n\n* Within your HTML page, load the bundle.\n\n  ```html\n  \u003cscript src=\"stylelint-bundle.min.js\"\u003e\u003c/script\u003e\n  ```\n\n* Access the `stylelint` global:\n\n  ```js\n  stylelint.lint({\n    code: \"body { color: #000; }\",\n    config: {\n      customSyntax: 'sugarss',\n      rules: { /*...*/ },\n      formatter: () =\u003e {}\n    }\n  }).then(({results}) =\u003e {\n    console.log(results[0]);\n  });\n  ```\n\n  To get more details, including all the options and return promise values, see the [stylelint Node API](https://stylelint.io/user-guide/node-api/) page; but, don't forget the limitations of this bundle!\n\n## For contributors\n\nTo update to a new version of Stylelint:\n\n```\nnpm run update\nnpm run build\n```\n\nIt will install the latest stylelint, bump the version number in `package.json` and `package-lock.json`, then build the bundle.\n\nTo test it:\n\n```\nnpm test\n```\n\n## Debug the bundle\n\nSet environment variable `DEBUG` to `1` then run `npm run build`:\n\n1. You will get a webpage visualization of modules included in the bundle.\n2. Detailed module information in `stats.json`.\n3. The bundle is no longer minimized.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstyles%2Fstylelint-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenstyles%2Fstylelint-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstyles%2Fstylelint-bundle/lists"}