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

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 1.7.2 to 1.7.3

4

lib/prop.js

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

"expr": /^(margin|padding|border-(color|style|width))$/ig,
"match": /[^\s]+/g,
"match": /[^\s\uFFFD]+/g,
"action": function (prop, value) {

@@ -45,3 +45,3 @@ var tokens = util.saveFunctions(value);

"expr": /border-radius/ig,
"match": /[^\s]+/g,
"match": /[^\s\uFFFD]+/g,
"slash": /[^\/]+/g,

@@ -48,0 +48,0 @@ "flip": function (value) {

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

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

"chalk": "^1.0.0",
"findup": "0.1.5",
"strip-json-comments": "^1.0.0",
"mkdirp": "0.5.0"
"findup": "^0.1.5",
"mkdirp": "^0.5.1",
"strip-json-comments": "^1.0.0"
},

@@ -24,0 +24,0 @@ "devDependencies": {

@@ -412,2 +412,5 @@ # RTLCSS [![GitHub version](https://badge.fury.io/gh/MohammadYounes%2Frtlcss.svg)](http://badge.fury.io/gh/MohammadYounes%2Frtlcss) [![NPM version](https://badge.fury.io/js/rtlcss.svg)](http://badge.fury.io/js/rtlcss) [![Build Status](https://travis-ci.org/MohammadYounes/rtlcss.svg?branch=master)](https://travis-ci.org/MohammadYounes/rtlcss) [![DEPENDENCIES](https://david-dm.org/MohammadYounes/rtlcss.svg)](https://david-dm.org/MohammadYounes/rtlcss) [![Twitter](https://img.shields.io/badge/follow-%40rtlcss-blue.svg)](https://twitter.com/rtlcss)

## Release Notes
* **v1.7.3** [30 Jan. 2016]
* Fixes a bug in flipping N-Values containing comments.
* **v1.7.2** [04 Dec. 2015]

@@ -414,0 +417,0 @@ * Fixes a compatibility issue with postcss-js (Fixes [#48](https://github.com/MohammadYounes/rtlcss/issues/48)).

@@ -300,4 +300,4 @@ var assert = require("assert");

'should': 'Should mirror property value: border-radius (4 values)',
'expected': 'div { border-radius: 40.25px 10.5px 10.75px 40.3px; }',
'input': 'div { border-radius: 10.5px 40.25px 40.3px 10.75px; }',
'expected': 'div { border-radius: 40.25px 10.5px /*comment*/ 10.75px 40.3px; }',
'input': 'div { border-radius: 10.5px 40.25px /*comment*/ 40.3px 10.75px; }',
'reversable': true

@@ -319,4 +319,4 @@ },

'should': 'Should mirror property value: border-radius (4 values - double)',
'expected': 'div { border-radius: 40.25px 10.75px .5px 40.75px / .4em 1em 1em 4.5em; }',
'input': 'div { border-radius: 10.75px 40.25px 40.75px .5px / 1em .4em 4.5em 1em; }',
'expected': 'div { border-radius: 40.25px 10.75px .5px 40.75px /*comment*/ / /*comment*/ .4em 1em 1em 4.5em; }',
'input': 'div { border-radius: 10.75px 40.25px 40.75px .5px /*comment*/ / /*comment*/ 1em .4em 4.5em 1em; }',
'reversable': true

@@ -323,0 +323,0 @@ },

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