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 1.4.1 to 2.0.0

16

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

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

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

@@ -22,11 +22,11 @@ "main": "tasks/less.js",

"chalk": "^1.0.0",
"less": "~2.7.1",
"lodash": "^4.8.2"
"less": "^3.0.4",
"lodash": "^4.17.10"
},
"devDependencies": {
"grunt": "^1.0.0",
"grunt": "^1.0.2",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-internal": "^1.1.0",
"grunt-contrib-internal": "^3.0.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-nodeunit": "^1.0.0",
"grunt-contrib-nodeunit": "^2.0.0",
"less-plugin-clean-css": "^1.5.0"

@@ -40,3 +40,3 @@ },

],
"appveyor_id": "e3aa4d07xe4w4u05"
"appveyor_id": "ho4vr86k30r8un49"
}

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

# grunt-contrib-less v1.4.1 [![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/e3aa4d07xe4w4u05/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-less/branch/master)
# 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)

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

Type: `Boolean`
Default: false
Default: `false`

@@ -156,3 +156,3 @@ Puts the map (and any less files) as a base64 data uri into the output css file.

Type: `Boolean`
Default: false
Default: `false`

@@ -205,2 +205,3 @@ Puts the less files into the map instead of referencing them.

* 2018-05-25   v2.0.0   Update less to ^3.0.0
* 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.

@@ -245,2 +246,2 @@ * 2016-07-21   v1.4.0   Update async and less to ~2.7.1.

*This file was generated on Wed Mar 08 2017 11:27:07.*
*This file was generated on Fri May 25 2018 16:31:35.*

@@ -71,2 +71,10 @@ /*

}
if (typeof sourceMapFilename === 'function') {
try {
sourceMapFilename = sourceMapFilename(destFile);
} catch (e) {
sourceMapFilename = destFile + '.map';
grunt.fail.warn(wrapError(e, 'Generating sourceMapFilename failed.'));
}
}
grunt.file.write(sourceMapFilename, output.map);

@@ -119,3 +127,9 @@ grunt.verbose.writeln('File ' + chalk.cyan(sourceMapFilename) + ' created.');

if (options.sourceMap && !options.sourceMapFileInline && !options.sourceMapFilename) {
options.sourceMapFilename = path.basename(destFile) + '.map';
options.sourceMapFilename = destFile + '.map';
} else if (options.sourceMap && !options.sourceMapFileInline && typeof options.sourceMapFilename === 'function') {
try {
options.sourceMapFilename = options.sourceMapFilename(destFile);
} catch (e) {
grunt.fail.warn(wrapError(e, 'Generating sourceMapFilename failed.'));
}
}

@@ -131,2 +145,10 @@

if (typeof options.sourceMapURL === 'function') {
try {
options.sourceMapURL = options.sourceMapURL(destFile);
} catch (e) {
grunt.fail.warn(wrapError(e, 'Generating sourceMapURL failed.'));
}
}
if (typeof options.sourceMap === 'boolean' && options.sourceMap) {

@@ -133,0 +155,0 @@ options.sourceMap = {

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