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

create-stylesheet

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-stylesheet - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

.travis.yml

4

index.js
module.exports = function createStyleSheet(blocks) {
let style = document.createElement('style');
let text = Object.keys(blocks).map(function (selector) {
var style = document.createElement('style');
var text = Object.keys(blocks).map(function (selector) {
return processRuleSet(selector, blocks[selector]);

@@ -5,0 +5,0 @@ }).join('\n');

{
"name": "create-stylesheet",
"version": "0.2.0",
"version": "0.3.0",
"description": "Dynamically create a stylesheet",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/mzabriskie/create-styleshet.git"
"url": "git+https://github.com/mzabriskie/create-stylesheet.git"
},

@@ -22,5 +22,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/mzabriskie/create-styleshet/issues"
"url": "https://github.com/mzabriskie/create-stylesheet/issues"
},
"homepage": "https://github.com/mzabriskie/create-styleshet#readme",
"homepage": "https://github.com/mzabriskie/create-stylesheet#readme",
"devDependencies": {

@@ -27,0 +27,0 @@ "babel-cli": "^6.6.5",

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

# create-stylesheet
# create-stylesheet [![build status](https://img.shields.io/travis/mzabriskie/create-stylesheet.svg?style=flat-square)](https://travis-ci.org/mzabriskie/create-stylesheet)

@@ -3,0 +3,0 @@ Dynamically create a stylesheet

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