Socket
Socket
Sign inDemoInstall

rtlcss

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtlcss - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

2

lib/prop.js

@@ -185,3 +185,3 @@ function main(configuration) {

item = util.swapLeftRight(item);
if (item.match(/deg|g?rad|turn/i))
if (item.match(/\d+(deg|g?rad|turn)/i))
item = util.negate(item);

@@ -188,0 +188,0 @@ }

{
"author": "Mohammad Younes",
"name": "rtlcss",
"version": "0.6.0",
"version": "0.7.0",
"description": "Framework for transforming cascading style sheets (CSS) from left-to-right (LTR) to right-to-left (RTL)",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/MohammadYounes/rtlcss/issues?state=open",

@@ -224,2 +224,5 @@ [![GitHub version](https://badge.fury.io/gh/MohammadYounes%2Frtlcss.svg)](http://badge.fury.io/gh/MohammadYounes%2Frtlcss)

## Release Notes
* **v0.7.0** [4 Jul. 2014]
* Fix flipping linear-gradient.
* **v0.6.0** [4 Jul. 2014]

@@ -226,0 +229,0 @@ * Allow additional comments inside `ignore`/`rename` rule level directives.

@@ -73,3 +73,15 @@ var assert = require("assert");

'reversable': true
},
},
{
'should' : 'Should not negate color value for linear gradient',
'expected' : 'div { background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);}',
'input' : 'div { background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);}',
'reversable': true
},
{
'should' : 'Should negate angle value for linear gradient',
'expected' : 'div { background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%);}',
'input' : 'div { background-image: linear-gradient(-135deg, rgba(255, 255, 255, .15) 25%, transparent 25%);}',
'reversable': true
}
],

@@ -76,0 +88,0 @@ 'Background Position:': [

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