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

rework

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rework - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

2

component.json
{
"name": "rework",
"version": "0.12.1",
"version": "0.12.2",
"description": "CSS manipulations built on CSSOM",

@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"],

0.12.2 / 2013-02-12
==================
* add prefix visiting for @media
* add column props (fixes #26)
0.12.1 / 2013-02-08

@@ -3,0 +9,0 @@ ==================

/**
* Prefix `prop`.
*
*
* .button {
* border-radius: 5px;
* }
*
*
* yields:
*
*
* .button {

@@ -16,3 +16,3 @@ * -webkit-border-radius: 5px;

* }
*
*
*/

@@ -25,6 +25,7 @@

return function(style, rework){
return function visit(style, rework){
vendors = vendors || rework.prefixes;
style.rules.forEach(function(rule){
if (rule.rules) return visit(rule, rework);
if (rule.keyframes) return prefixKeyframes(props, vendors, rule);

@@ -76,2 +77,2 @@ if (rule.declarations) prefix(props, vendors, rule.declarations);

}
}
}

@@ -22,5 +22,6 @@

return function(style){
return function vars(style){
// map variables
style.rules.forEach(function(rule){
if (rule.rules) vars(rule);
if (!rule.declarations) return;

@@ -27,0 +28,0 @@ rule.declarations.forEach(function(decl, i){

{
"name": "rework",
"version": "0.12.1",
"version": "0.12.2",
"description": "CSS manipulations built on CSSOM",

@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"],

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