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 3.2.1 to 3.3.0

4

CHANGELOG.md

@@ -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

3

package.json
{
"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 @@ },

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