{"id":22749429,"url":"https://github.com/email-types/stylis-plugin-mso","last_synced_at":"2025-10-17T03:35:17.927Z","repository":{"id":57373776,"uuid":"225100081","full_name":"email-types/stylis-plugin-mso","owner":"email-types","description":"A Stylis plugin that adds support for the `mso-` CSS vendor prefix","archived":false,"fork":false,"pushed_at":"2019-12-23T07:24:06.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"canary","last_synced_at":"2025-09-03T14:45:15.274Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/email-types.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-12-01T03:13:53.000Z","updated_at":"2021-06-29T13:37:08.000Z","dependencies_parsed_at":"2022-09-11T07:12:34.005Z","dependency_job_id":null,"html_url":"https://github.com/email-types/stylis-plugin-mso","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/email-types/stylis-plugin-mso","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/email-types%2Fstylis-plugin-mso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/email-types%2Fstylis-plugin-mso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/email-types%2Fstylis-plugin-mso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/email-types%2Fstylis-plugin-mso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/email-types","download_url":"https://codeload.github.com/email-types/stylis-plugin-mso/tar.gz/refs/heads/canary","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/email-types%2Fstylis-plugin-mso/sbom","scorecard":{"id":374407,"data":{"date":"2025-08-11","repo":{"name":"github.com/email-types/stylis-plugin-mso","commit":"6210ed57038c76f5e5f086a20eae6b86d25eaa47"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/11 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codecov.yml:1","Warn: no topLevel permission defined: .github/workflows/pr.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codecov.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/codecov.yml/canary?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codecov.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/codecov.yml/canary?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/pr.yml/canary?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/pr.yml/canary?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/pr.yml/canary?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/test.yml/canary?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/email-types/stylis-plugin-mso/test.yml/canary?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 4 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"}}]},"last_synced_at":"2025-08-18T13:53:03.643Z","repository_id":57373776,"created_at":"2025-08-18T13:53:03.643Z","updated_at":"2025-08-18T13:53:03.643Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279277827,"owners_count":26138856,"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-17T02:00:07.504Z","response_time":56,"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":"2024-12-11T04:08:55.845Z","updated_at":"2025-10-17T03:35:17.874Z","avatar_url":"https://github.com/email-types.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[emotion]: https://github.com/emotion-js/emotion\n[stylis]: https://github.com/thysultan/stylis.js\n[msotype]:\n  https://github.com/email-types/email-types/tree/master/packages/msotype\n\n\u003cdiv align=\"center\"\u003e\n\n# MSO Stylis Plugin\n\nA [Stylis][stylis] plugin that adds support for the `mso-` CSS vendor prefix. It\nautomatically adds the `mso-` prefix and `-alt` postfix for all Microsoft Office\nalternative CSS properties (see [msotype][msotype]). It also prevents a leading\n`-` from being added. So you'll get `mso-` instead of `-mso-`.\n\n[![](https://img.shields.io/npm/v/stylis-plugin-mso?color=black\u0026logoColor=white)](https://www.npmjs.com/package/stylis-plugin-mso)\n![](https://img.shields.io/github/workflow/status/email-types/stylis-plugin-mso/Test?logo=github\u0026color=black)\n[![](https://img.shields.io/codecov/c/github/email-types/stylis-plugin-mso?logo=codecov\u0026logoColor=white\u0026color=black)](https://codecov.io/gh/email-types/stylis-plugin-mso)\n[![](https://img.shields.io/bundlephobia/min/stylis-plugin-mso?logo=bundlephobia\u0026color=black)](https://bundlephobia.com/result?p=stylis-plugin-mso)\n[![](https://img.shields.io/bundlephobia/minzip/stylis-plugin-mso?logo=bundlephobia\u0026color=black)](https://bundlephobia.com/result?p=stylis-plugin-mso)\n\n\u003c/div\u003e\n\nInstall with yarn\n\n```sh\nyarn add stylis-plugin-mso\n```\n\nOr install with npm:\n\n```sh\nnpm install stylis-plugin-mso\n```\n\n## Using with Stylis\n\n```ts\nimport stylis from 'stylis';\nimport plugin from 'stylis-plugin-mso';\n\nstylis.use(plugin);\n\nstylis('.foobar', `{ color: tomato; }`);\n// =\u003e .foobar { mso-color-alt:tomato; color:tomato; }\n```\n\n## Using with EmotionJs\n\nTo use with [EmotionJs][emotion], you'll need to add a `\u003cCacheProvider /\u003e`. Note\nthat when multiple `\u003cCacheProvider /\u003e` are used, all of your styles will be\nparsed twice. So make sure to add this at the top of your app. See more at\n[@emotion/cache](https://github.com/emotion-js/emotion/tree/master/packages/cache).\n\n```tsx\nimport { CacheProvider } from '@emotion/core';\nimport plugin from 'stylis-plugin-mso';\n\nconst cache = createCache({\n  stylisPlugins: [plugin],\n});\n\nconst App = () =\u003e (\n  \u003cCacheProvider value={cache}\u003e\n    \u003cMyRoot /\u003e\n  \u003c/CacheProvider\u003e\n);\n```\n\n## Automatic Vendor Prefix\n\nBy default, the `mso-` prefix and `-alt` postfix are automatically applied to\nall Microsoft Office alternative CSS properties. You can disable this by\ncreating an instance of the plugin and setting the `prefix` option to `false`.\n\n```ts\nimport stylis from 'stylis';\nimport { createPlugin } from 'stylis-plugin-mso';\n\nconst plugin = createPlugin({ prefix: false });\n\nstylis.set({ prefix: false });\nstylis.use(plugin);\n\nstylis('.foobar', `{ color: tomato; }`);\n// =\u003e .foobar { color:tomato; }\n```\n\n## API\n\n### createPlugin\n\n```tsx\ncreatePlugin(options?: object): StylisPlugin\n```\n\n**options**\n\n- `prefix?: boolean`: Toggles automatic `mso` vendor prefixing. Default: `true`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femail-types%2Fstylis-plugin-mso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femail-types%2Fstylis-plugin-mso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femail-types%2Fstylis-plugin-mso/lists"}