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

grunt-contrib-less

Package Overview
Dependencies
Maintainers
3
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 0.8.2 to 0.8.3

25

docs/less-options.md

@@ -5,2 +5,3 @@ # Options

Type: `String|Array`
Default: Directory of input file.

@@ -12,2 +13,3 @@

Type: `Boolean`
Default: `false`

@@ -19,2 +21,3 @@

Type: `Boolean`
Default: `false`

@@ -26,2 +29,3 @@

Type: `Boolean`
Default: `true`

@@ -35,2 +39,3 @@

Type: `Integer`
Default: `null`

@@ -42,2 +47,3 @@

Type: `Boolean`
Default: `false`

@@ -49,2 +55,3 @@

Type: `Boolean`
Default: `false`

@@ -56,2 +63,3 @@

Type: `Boolean`
Default: `false`

@@ -63,2 +71,3 @@

Type: `Boolean`
Default: `false`

@@ -70,2 +79,3 @@

Type: `String`
Default: `false`

@@ -79,2 +89,3 @@

Type: `Boolean`
Default: `false`

@@ -86,2 +97,3 @@

Type: `Object`
Default: none

@@ -96,2 +108,3 @@

Choices: `false` `'min'` `'gzip'`
Default: `false`

@@ -111,2 +124,3 @@

Type: `Boolean`
Default: `false`

@@ -118,2 +132,3 @@

Type: `String`
Default: none

@@ -123,4 +138,12 @@

## sourceMapURL
Type: `String`
Default: none
Override the default url that points to the sourcemap from the compiled css file.
## sourceMapBasepath
Type: `String`
Default: none

@@ -132,2 +155,3 @@

Type: `String`
Default: none

@@ -139,4 +163,5 @@

Type: `Boolean`
Default: false
Puts the less files into the map instead of referencing them.

@@ -127,2 +127,11 @@ /*

},
sourceMapURL: {
options: {
sourceMap: true,
sourceMapFilename: 'tmp/sourceMap.css.map',
sourceMapURL: 'custom/url/for/sourceMap.css.map'
},
src: 'test/fixtures/style3.less',
dest: 'tmp/sourceMapWithCustomURL.css',
},
sourceMapBasepath: {

@@ -129,0 +138,0 @@ options: {

4

package.json
{
"name": "grunt-contrib-less",
"description": "Compile LESS files to CSS.",
"version": "0.8.2",
"version": "0.8.3",
"homepage": "https://github.com/gruntjs/grunt-contrib-less",

@@ -30,3 +30,3 @@ "author": {

"dependencies": {
"less": "~1.5.0",
"less": "~1.5.1",
"grunt-lib-contrib": "~0.6.1"

@@ -33,0 +33,0 @@ },

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

# grunt-contrib-less v0.8.2 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-less.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-less)
# grunt-contrib-less v0.8.3 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-less.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-less)

@@ -33,2 +33,3 @@ > Compile LESS files to CSS.

Type: `String|Array`
Default: Directory of input file.

@@ -40,2 +41,3 @@

Type: `Boolean`
Default: `false`

@@ -47,2 +49,3 @@

Type: `Boolean`
Default: `false`

@@ -54,2 +57,3 @@

Type: `Boolean`
Default: `true`

@@ -63,2 +67,3 @@

Type: `Integer`
Default: `null`

@@ -70,2 +75,3 @@

Type: `Boolean`
Default: `false`

@@ -77,2 +83,3 @@

Type: `Boolean`
Default: `false`

@@ -84,2 +91,3 @@

Type: `Boolean`
Default: `false`

@@ -91,2 +99,3 @@

Type: `Boolean`
Default: `false`

@@ -98,2 +107,3 @@

Type: `String`
Default: `false`

@@ -107,2 +117,3 @@

Type: `Boolean`
Default: `false`

@@ -114,2 +125,3 @@

Type: `Object`
Default: none

@@ -124,2 +136,3 @@

Choices: `false` `'min'` `'gzip'`
Default: `false`

@@ -139,2 +152,3 @@

Type: `Boolean`
Default: `false`

@@ -146,2 +160,3 @@

Type: `String`
Default: none

@@ -151,4 +166,12 @@

#### sourceMapURL
Type: `String`
Default: none
Override the default url that points to the sourcemap from the compiled css file.
#### sourceMapBasepath
Type: `String`
Default: none

@@ -160,2 +183,3 @@

Type: `String`
Default: none

@@ -167,2 +191,3 @@

Type: `Boolean`
Default: false

@@ -199,2 +224,3 @@

* 2013-12-06   v0.8.3   Support sourceMapURL
* 2013-11-14   v0.8.2   Support outputSourceFiles

@@ -224,2 +250,2 @@ * 2013-10-24   v0.8.1   Support sourceMapFilename, sourceMapBasepath and sourceMapRootpath

*This file was generated on Thu Nov 14 2013 09:29:34.*
*This file was generated on Fri Dec 06 2013 08:39:01.*

@@ -22,3 +22,3 @@ /*

render: ['compress', 'cleancss', 'ieCompat', 'strictMath', 'strictUnits',
'sourceMap', 'sourceMapFilename', 'sourceMapBasepath', 'sourceMapRootpath', 'outputSourceFiles']
'sourceMap', 'sourceMapFilename', 'sourceMapURL', 'sourceMapBasepath', 'sourceMapRootpath', 'outputSourceFiles']
};

@@ -30,3 +30,2 @@

var options = this.options();
grunt.verbose.writeflags(options, 'Options');

@@ -33,0 +32,0 @@ if (this.files.length < 1) {

@@ -89,2 +89,9 @@ 'use strict';

},
sourceMapURL: function(test) {
test.expect(1);
var actual = grunt.file.read('tmp/sourceMapWithCustomURL.css');
test.ok(actual.indexOf('/*# sourceMappingURL=custom/url/for/sourceMap.css.map') !== -1, 'compiled file should have a custom source map URL.');
test.done();
},
sourceMapBasepath: function(test) {

@@ -91,0 +98,0 @@ test.expect(1);

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