Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-contrib-less

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-less - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

22

package.json
{
"name": "grunt-contrib-less",
"description": "Compile LESS files to CSS",
"version": "2.0.0",
"version": "2.1.0",
"author": {

@@ -12,3 +12,3 @@ "name": "Grunt Team",

"engines": {
"node": ">=6"
"node": ">=10"
},

@@ -20,14 +20,14 @@ "main": "tasks/less.js",

"dependencies": {
"async": "^2.0.0",
"chalk": "^1.0.0",
"async": "^3.2.0",
"chalk": "^4.1.0",
"less": "^3.0.4",
"lodash": "^4.17.10"
"lodash": "^4.17.20"
},
"devDependencies": {
"grunt": "^1.0.2",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-internal": "^3.0.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-nodeunit": "^2.0.0",
"less-plugin-clean-css": "^1.5.0"
"grunt": "^1.3.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-internal": "^6.0.1",
"grunt-contrib-jshint": "^3.0.0",
"grunt-contrib-nodeunit": "^2.1.0",
"less-plugin-clean-css": "^1.5.1"
},

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

@@ -1,2 +0,2 @@

# grunt-contrib-less v2.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-less.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-less) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ho4vr86k30r8un49/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-less/branch/master)
# grunt-contrib-less v2.1.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-less/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-less/actions?workflow=Tests)

@@ -9,3 +9,3 @@ > Compile LESS files to CSS

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
If you haven't used [Grunt](https://gruntjs.com/) before, be sure to check out the [Getting Started](https://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](https://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

@@ -170,2 +170,9 @@ ```shell

#### process
Type: `Function(content, destinationPath)`
Default: none
Attributes: content, destinationPath
Allows to parse the CSS content to be written to destinationPath to flow through a self defined function.
### Usage Examples

@@ -205,2 +212,3 @@

* 2021-02-20   v2.1.0   Dependency updates. New process option to modify the written CSS.
* 2018-05-25   v2.0.0   Update less to ^3.0.0

@@ -246,2 +254,2 @@ * 2017-03-08   v1.4.1   Fix `sourceMappingURL` to be the same as the CSS if not specified, #322. Rethrow the compilation error after printing the message, #315.

*This file was generated on Fri May 25 2018 16:31:35.*
*This file was generated on Sat Feb 20 2021 10:43:07.*

@@ -93,2 +93,8 @@ /*

var allCss = compiled.join(options.compress ? '' : grunt.util.normalizelf(grunt.util.linefeed));
// Add a process step to modify the written CSS
if ( typeof options.process === 'function' ) {
allCss = options.process( allCss, destFile );
}
grunt.file.write(destFile, allCss);

@@ -95,0 +101,0 @@ grunt.verbose.writeln('File ' + chalk.cyan(destFile) + ' created');

Sorry, the diff of this file is not supported yet

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