Comparing version 0.10.4 to 0.10.5
@@ -0,1 +1,15 @@ | ||
<a name="v0.10.5"></a> | ||
### v0.10.5 (2013-11-20) | ||
#### Bug Fixes | ||
* **config:** not append empty module if no custom launcher/rep/prep ([c025cdcd](http://github.com/karma-runner/karma/commit/c025cdcdd97b8b9efc0c0dc1086b6c3a31aadebc)) | ||
* **watcher:** allow parentheses in a pattern ([8eaa0562](http://github.com/karma-runner/karma/commit/8eaa0562e07e8ab06fea04f134bdfbdffc2e84f6), closes [#728](http://github.com/karma-runner/karma/issues/728)) | ||
#### Features | ||
* **config:** log if no config file is specified ([27a07912](http://github.com/karma-runner/karma/commit/27a079129f5adcc0478b6006ee69d3323faa4431)) | ||
<a name="v0.10.4"></a> | ||
@@ -2,0 +16,0 @@ ### v0.10.4 (2013-10-25) |
@@ -135,2 +135,3 @@ var path = require('path'); | ||
var module = Object.create(null); | ||
var hasSomeInlinedPlugin = false; | ||
['launcher', 'preprocessor', 'reporter'].forEach(function(type) { | ||
@@ -158,6 +159,9 @@ var definitions = config['custom' + helper.ucFirst(type) + 's'] || {}; | ||
}]; | ||
hasSomeInlinedPlugin = true; | ||
}); | ||
}); | ||
config.plugins.push(module); | ||
if (hasSomeInlinedPlugin) { | ||
config.plugins.push(module); | ||
} | ||
@@ -324,2 +328,3 @@ return config; | ||
} else { | ||
log.debug('No config file specified.'); | ||
// if no config file path is passed, we define a dummy config module. | ||
@@ -326,0 +331,0 @@ configModule = function() {}; |
@@ -11,3 +11,5 @@ var chokidar = require('chokidar'); | ||
var baseDirFromPattern = function(pattern) { | ||
return pattern.replace(/\/[^\/]*[\*\(].*$/, '') || '/'; | ||
return pattern.replace(/\/[^\/]*\*.*$/, '') // remove parts with * | ||
.replace(/\/[^\/]*[\!\+]\(.*$/, '') // remove parts with !(...) and +(...) | ||
.replace(/\/[^\/]*\)\?.*$/, '') || '/'; // remove parts with (...)? | ||
}; | ||
@@ -14,0 +16,0 @@ |
@@ -65,2 +65,3 @@ { | ||
"James Shore <jshore@jamesshore.com>", | ||
"Jeff Froom <jeff@jfroom.com>", | ||
"Jeff Jewiss <jeffjewiss@gmail.com>", | ||
@@ -168,3 +169,3 @@ "Julian Connor <julian.connor@venmo.com>", | ||
}, | ||
"version": "0.10.4" | ||
"version": "0.10.5" | ||
} |
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
856079
3299