Socket
Socket
Sign inDemoInstall

postcss-janus

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-janus - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

CHANGELOG.md
# Change Log
## 1.0.2
* Small corrections
## 1.0.1

@@ -4,0 +7,0 @@ * Code changes to use more the postcss API instead of concatenating string

2

package.json
{
"name": "postcss-janus",
"version": "1.0.1",
"version": "1.0.2",
"description": "PostCSS plugin plugin to create RTL rules using CSSJanus",

@@ -5,0 +5,0 @@ "keywords": [

@@ -55,4 +55,4 @@ # PostCSS Janus

.rtl .example {
border-radius: 2px 0 8px 0;
padding-right: unset;
border-radius: 2px 0 8px 0;
padding-left: 20px;

@@ -67,3 +67,3 @@ text-align: right;

#### Using postcss
#### Using postcss JavaScript API

@@ -74,3 +74,3 @@ ```bash

postcss( [ rtl(options) ] );
postcss( [ cssJanus(options) ] );
```

@@ -111,6 +111,6 @@

Directives should be added as comments before a CSS selector block or a property, e.g:
Directives should be added as comments before a CSS rule block or a property, e.g:
```css
/* @selectorDirective */
/* @ruleDirective */
.example {

@@ -124,3 +124,3 @@ /* @propertyDirective */

| ------------------- | ------------------------------------------------------------------------------------------------------------ |
| @noflip | Avoid flipping certain CSS property or an entire selector block |
| @noflip | Avoid flipping certain CSS property or an entire rule block |
| @swapLtrRtlInUrl | Swap `ltr` and `rtl` strings in a certain property (it will ignore the global `swapLtrRtlInUrl` option |

@@ -127,0 +127,0 @@ | @swapLeftRightInUrl | Swap `left` and `right` strings in a certain property (it will ignore the global `swapLeftRightInUrl` option |

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