Comparing version 0.4.4 to 0.4.5
@@ -30,2 +30,6 @@ /* | ||
var Log = require('grunt-legacy-log').Log; | ||
var log = new Log({grunt: grunt}); | ||
grunt.log = log; | ||
gRequire('template'); | ||
@@ -38,3 +42,2 @@ gRequire('event'); | ||
var task = gRequire('task'); | ||
var log = gRequire('log'); | ||
var help = gRequire('help'); | ||
@@ -41,0 +44,0 @@ gRequire('cli'); |
@@ -84,2 +84,8 @@ /* | ||
// Deep merge config data. | ||
config.merge = function(obj) { | ||
grunt.util._.merge(config.data, obj); | ||
return config.data; | ||
}; | ||
// Initialize config data. | ||
@@ -86,0 +92,0 @@ config.init = function(obj) { |
@@ -434,3 +434,3 @@ /* | ||
try { | ||
return file.arePathsEquivalent(process.cwd(), fs.realpathSync(filepath)); | ||
return file.arePathsEquivalent(fs.realpathSync(process.cwd()), fs.realpathSync(filepath)); | ||
} catch(e) { | ||
@@ -445,3 +445,3 @@ return false; | ||
try { | ||
return file.doesPathContain(process.cwd(), fs.realpathSync(filepath)); | ||
return file.doesPathContain(fs.realpathSync(process.cwd()), fs.realpathSync(filepath)); | ||
} catch(e) { | ||
@@ -448,0 +448,0 @@ return false; |
@@ -337,3 +337,3 @@ /* | ||
if (regCount === 0) { | ||
grunt.verbose.error('No tasks were registered or unregistered.'); | ||
grunt.verbose.warn('No tasks were registered or unregistered.'); | ||
} | ||
@@ -340,0 +340,0 @@ } catch(e) { |
@@ -88,2 +88,7 @@ /* | ||
// Has the specified task been registered? | ||
Task.prototype.exists = function(name) { | ||
return name in this._tasks; | ||
}; | ||
// Rename a task. This might be useful if you want to override the default | ||
@@ -90,0 +95,0 @@ // behavior of a task, while retaining the old name. This is a billion times |
{ | ||
"name": "grunt", | ||
"description": "The JavaScript Task Runner", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"author": "\"Cowboy\" Ben Alman (http://benalman.com/)", | ||
@@ -58,3 +58,3 @@ "homepage": "http://gruntjs.com/", | ||
"nopt": "~1.0.10", | ||
"rimraf": "~2.2.6", | ||
"rimraf": "~2.2.8", | ||
"lodash": "~0.9.2", | ||
@@ -66,3 +66,4 @@ "underscore.string": "~2.2.1", | ||
"getobject": "~0.1.0", | ||
"grunt-legacy-util": "~0.1.2" | ||
"grunt-legacy-util": "~0.2.0", | ||
"grunt-legacy-log": "~0.1.0" | ||
}, | ||
@@ -78,2 +79,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
# Grunt: The JavaScript Task Runner | ||
[![Build Status](https://secure.travis-ci.org/gruntjs/grunt.png?branch=master)](http://travis-ci.org/gruntjs/grunt) | ||
[![Build Status: Linux](https://secure.travis-ci.org/gruntjs/grunt.png?branch=master)](http://travis-ci.org/gruntjs/grunt) | ||
<a href="https://ci.appveyor.com/project/gruntjs/grunt"><img src="https://ci.appveyor.com/api/projects/status/32r7s2skrgm9ubva/branch/master" alt="Build Status: Windows" height="18" /></a> | ||
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) | ||
@@ -5,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19
21
75592
20
1996
+ Addedgrunt-legacy-log@~0.1.0
+ Addedgrunt-legacy-log@0.1.3(transitive)
+ Addedgrunt-legacy-log-utils@0.1.1(transitive)
+ Addedgrunt-legacy-util@0.2.0(transitive)
+ Addedunderscore.string@2.3.3(transitive)
- Removedgrunt-legacy-util@0.1.2(transitive)
Updatedgrunt-legacy-util@~0.2.0
Updatedrimraf@~2.2.8