Socket
Socket
Sign inDemoInstall

grunt-cssjanus

Package Overview
Dependencies
31
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

3

Gruntfile.js

@@ -20,3 +20,4 @@ /*

swapLtrRtlInUrl: true,
swapLeftRightInUrl: false
swapLeftRightInUrl: false,
generateExactDuplicates: false
},

@@ -23,0 +24,0 @@ },

{
"name": "grunt-cssjanus",
"description": "Grunt plugin to convert CSS stylesheets between left-to-right and right-to-left",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/yoavf/grunt-cssjanus",

@@ -6,0 +6,0 @@ "author": {

@@ -34,4 +34,13 @@ # grunt-cssjanus

#### options.generateExactDuplicates
Type: `Boolean`
Default value: `false`
Whether to generate the RTL file if it ends up being the same as the LTR file.
## Release History
0.1.1 - Add the generateExactDuplicates option
0.1.0 - initial release

@@ -36,3 +36,3 @@ /*

var rtlcss = cssjanus.transform( src, options.swapLtrRtlInUrl, options.swapLeftRightInUrl );
if ( rtlcss == src )
if ( ! options.generateExactDuplicates && rtlcss == src )
grunt.log.writeln('Nothing to flip in ' + f.src );

@@ -39,0 +39,0 @@ else // Write the destination file.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc