egoist / style-inject

Inject style tag to document head.
MIT License
48 stars 23 forks source link

perf: added support fo SSR #28

Open alfredosalzillo opened 1 year ago

alfredosalzillo commented 1 year ago

This is needed to allow component library that use rollup-plugin-postcss to inject style during SSR render, for example using Next.js.

socket-security[bot] commented 1 year ago

New dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

⚠️ Please accept the latest app permissions to ensure bot commands work properly. Accept the new permissions here.

Pull request alert summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

📊 Modified Dependency Overview:

🚮 Removed packages: style-inject@0.3.0

eendkonijn commented 1 year ago

Hello, kind of new to Github and replying so I am not sure if I'm in the right place. But this seems exactly the functionality that would be useful for me. Will this be merged at some point?