Socket
Socket
Sign inDemoInstall

jss

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

20

bin/cli.js

@@ -39,2 +39,22 @@ #!/usr/bin/env node

break
case 'font-face':
var key = '@' + rule.type
var value = {}
rule.declarations.forEach(function (decl) {
value[decl.property] = decl.value
})
jssRules[key] = value
break
case 'keyframes':
var key = '@' + rule.type + ' ' + rule.name
var value = {}
rule.keyframes.forEach(function (keyframe) {
var frameKey = keyframe.values.join(', ')
var frameValue = {}
keyframe.declarations.forEach(function (decl) {
frameValue[decl.property] = decl.value
})
value[frameKey] = frameValue
})
jssRules[key] = value
}

@@ -41,0 +61,0 @@ })

2

bower.json
{
"name": "jss",
"description": "Dynamic stylesheets for web components.",
"version": "0.2.6",
"version": "0.2.7",
"author": {

@@ -6,0 +6,0 @@ "name": "Oleg Slobodskoi",

@@ -1,3 +0,8 @@

## 0.2.5 / 2014-11-02
## 0.2.7 / 2014-11-02
- add @font-face to cli converter
- add @keyframes to cli converter
## 0.2.6 / 2014-11-02
- create perf comparence for bootstrap #13

@@ -4,0 +9,0 @@

{
"name": "jss",
"description": "Dynamic stylesheets for web components.",
"version": "0.2.6",
"version": "0.2.7",
"author": {

@@ -6,0 +6,0 @@ "name": "Oleg Slobodskoi",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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