Comparing version 3.2.1 to 3.3.0
@@ -0,3 +1,7 @@ | ||
# 3.3.0 - 08 Jul. 2021 | ||
* Add `processEnv` option to support flipping agent-defined environment variables (`safe-area-inset-left`, `safe-area-inset-right`). | ||
# 3.2.1 - 22 Jun. 2021 | ||
* Bump [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. | ||
# 3.2.0 - 23 May. 2021 | ||
@@ -4,0 +8,0 @@ * Add `aliases` option to support processing Custom Properties (CSS Variables). **Thanks @elchininet** |
@@ -26,2 +26,3 @@ 'use strict' | ||
addKey('aliases', {}) | ||
addKey('processEnv', true) | ||
@@ -28,0 +29,0 @@ // default strings map |
@@ -150,2 +150,5 @@ /* | ||
const state = context.util.saveComments(raw) | ||
if (context.config.processEnv) { | ||
state.value = context.util.swap(state.value, 'safe-area-inset-left', 'safe-area-inset-right', { ignoreCase: false }) | ||
} | ||
const pair = processor.action(node.prop, state.value, context) | ||
@@ -152,0 +155,0 @@ state.value = pair.value |
{ | ||
"author": "Mohammad Younes", | ||
"name": "rtlcss", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"description": "Framework for transforming cascading style sheets (CSS) from left-to-right (LTR) to right-to-left (RTL)", | ||
@@ -49,2 +49,3 @@ "homepage": "https://rtlcss.com/", | ||
"mocha": "mocha -R spec", | ||
"mocha:special": "npm run mocha -- --fgrep \"# Special\"", | ||
"test": "npm run lint && npm run main && npm run mocha" | ||
@@ -51,0 +52,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66640
1512