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

grunt-contrib-coffee

Package Overview
Dependencies
Maintainers
6
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-coffee - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

8

package.json
{
"name": "grunt-contrib-coffee",
"description": "Compile CoffeeScript files to JavaScript.",
"version": "0.10.1",
"version": "0.11.0",
"homepage": "https://github.com/gruntjs/grunt-contrib-coffee",

@@ -31,8 +31,8 @@ "author": {

"coffee-script": "~1.7.0",
"chalk": "~0.4.0",
"chalk": "~0.5.0",
"lodash": "~2.4.1"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-nodeunit": "~0.2.1",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-nodeunit": "~0.4.1",
"grunt-contrib-clean": "~0.5.0",

@@ -39,0 +39,0 @@ "grunt-contrib-internal": "~0.4.6",

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

# grunt-contrib-coffee v0.10.1 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-coffee.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-coffee)
# grunt-contrib-coffee v0.11.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-coffee.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-coffee)

@@ -115,3 +115,3 @@ > Compile CoffeeScript files to JavaScript.

}
}
},

@@ -125,3 +125,3 @@ glob_to_multiple: {

ext: '.js'
},
}

@@ -136,2 +136,3 @@ }

* 2014-08-06   v0.11.0   Adds summary containing number of files created. Move file creation logging to grunt.verbose. Updates Chalk to 0.5.
* 2014-02-07   v0.10.0   SourceMappingURL calculated correctly

@@ -165,2 +166,2 @@ * 2014-01-29   v0.9.0   Source mapping fixes. Update coffee-script to 1.7.0 Use lodash directly instead of deprecated grunt.util._

*This file was generated on Mon Feb 17 2014 15:32:05.*
*This file was generated on Wed Aug 06 2014 15:34:17.*

@@ -16,2 +16,7 @@ /*

var actionCounts = {
fileCreated: 0,
mapCreated: 0
};
grunt.registerMultiTask('coffee', 'Compile CoffeeScript files into JavaScript', function() {

@@ -37,7 +42,13 @@ var options = this.options({

} else if (options.join === true) {
writeFile(f.dest, concatInput(validFiles, options));
writeCompiledFile(f.dest, concatInput(validFiles, options));
} else {
writeFile(f.dest, concatOutput(validFiles, options));
writeCompiledFile(f.dest, concatOutput(validFiles, options));
}
});
grunt.log.ok(actionCounts.fileCreated + ' files created.');
if (actionCounts.mapCreated > 0) {
grunt.log.ok(actionCounts.mapCreated + ' source map files created.');
}
});

@@ -71,3 +82,3 @@

var appendTrailingSlash = function(dirname) {
if (dirname.length > 0) {
if (dirname.length > 0 && dirname.slice(-1) !== path.sep) {
return dirname + path.sep;

@@ -215,2 +226,3 @@ } else {

writeCompiledFile(paths.dest, output.js);
options.sourceMapDir = appendTrailingSlash(options.sourceMapDir);
writeSourceMapFile(options.sourceMapDir + paths.mapFileName, output.v3SourceMap);

@@ -235,3 +247,4 @@ };

if (writeFile(path, output)) {
grunt.log.writeln('File ' + chalk.cyan(path) + ' created.');
actionCounts.fileCreated++;
grunt.verbose.writeln('File ' + chalk.cyan(path) + ' created.');
}

@@ -241,5 +254,6 @@ };

if (writeFile(path, output)) {
grunt.log.writeln('File ' + chalk.cyan(path) + ' created (source map).');
actionCounts.mapCreated++;
grunt.verbose.writeln('File ' + chalk.cyan(path) + ' created (source map).');
}
};
};
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