Socket
Socket
Sign inDemoInstall

grunt-cssjanus

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-cssjanus - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

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

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

@@ -24,3 +24,3 @@ # grunt-cssjanus

Type: `Boolean`
Default value: `false`
Default value: `true`

@@ -44,4 +44,6 @@ Whether to replace 'ltr' with 'rtl' and vice versa in urls.

0.1.2 - Only outputs file creation message if file has been created
0.1.1 - Add the generateExactDuplicates option
0.1.0 - initial release

@@ -36,9 +36,9 @@ /*

var rtlcss = cssjanus.transform( src, options.swapLtrRtlInUrl, options.swapLeftRightInUrl );
if ( ! options.generateExactDuplicates && rtlcss == src )
if ( ! options.generateExactDuplicates && rtlcss == src ) {
grunt.log.writeln('Nothing to flip in ' + f.src );
else // Write the destination file.
} else { // Write the destination file.
grunt.file.write(f.dest, rtlcss);
grunt.log.writeln('File "' + f.dest + '" created.');
}
// Print a success message.
grunt.log.writeln('File "' + f.dest + '" created.');
});

@@ -45,0 +45,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