Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

style-inject

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

style-inject - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

3

index.js

@@ -9,2 +9,4 @@ module.exports = function styleInject (css, returnValue) {

style.type = 'text/css';
head.appendChild(style);
if (style.styleSheet){

@@ -15,4 +17,3 @@ style.styleSheet.cssText = css;

}
head.appendChild(style);
return returnValue;
};
{
"name": "style-inject",
"version": "0.1.1",
"version": "0.1.2",
"description": "Inject style tag to document head.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc