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

style-inject

Package Overview
Dependencies
Maintainers
1
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.0.11 to 0.1.0

3

index.js

@@ -1,2 +0,2 @@

module.exports = function styleInject (css) {
module.exports = function styleInject (css, returnValue) {
css = css || '';

@@ -12,2 +12,3 @@ var head = document.head || document.getElementsByTagName('head')[0];

head.appendChild(style);
return returnValue;
};
{
"name": "style-inject",
"version": "0.0.11",
"version": "0.1.0",
"description": "Inject style tag to document head.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo lol"
},

@@ -9,0 +9,0 @@ "repository": {

@@ -0,0 +0,0 @@ # style-inject

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