Socket
Socket
Sign inDemoInstall

karma

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

17

CHANGELOG.md

@@ -0,1 +1,18 @@

<a name="v0.9.2"></a>
### v0.9.2 (2013-04-16)
#### Bug Fixes
* better error reporting when loading plugins ([d9078a8e](https://github.com/karma-runner/karma/commit/d9078a8eca41df15f26b53e2375f722a48d0992d))
* **config:**
* Separate ENOENT error handler from others ([e49dabe7](https://github.com/karma-runner/karma/commit/e49dabe783d6cfb2ee97b70ac01953e82f70f831))
* ensure basePath is always resolved ([2e5c5aaa](https://github.com/karma-runner/karma/commit/2e5c5aaaddc4ad4e1ee9c8fa0388d3916827f403))
#### Features
* allow inlined plugins ([3034bcf9](https://github.com/karma-runner/karma/commit/3034bcf9b074b693afab9c62856346d6f305d0c0))
* **debug:** show skipped specs and failure details in the console ([42ab936b](https://github.com/karma-runner/karma/commit/42ab936b254983faa8ab0ee76a6278fb3aff7fa2))
<a name="v0.9.1"></a>

@@ -2,0 +19,0 @@ ### v0.9.1 (2013-04-04)

18

lib/config.js

@@ -164,5 +164,16 @@ var fs = require('fs');

var configSrc;
try {
var configSrc = fs.readFileSync(filepath);
configSrc = fs.readFileSync(filepath);
} catch(e) {
if (e.code === 'ENOENT' || e.code === 'EISDIR') {
log.error('Config file does not exist!');
} else {
log.error('Unexpected error opening config file!\n', e);
}
process.exit(1);
}
try {
// if the configuration file is coffeescript compile it

@@ -177,4 +188,2 @@ if (path.extname(filepath) === '.coffee') {

log.error('Syntax error in config file!\n' + e.message);
} else if (e.code === 'ENOENT' || e.code === 'EISDIR') {
log.error('Config file does not exist!');
} else {

@@ -250,2 +259,5 @@ log.error('Invalid config file!\n', e);

}
else {
config.basePath = path.resolve(config.basePath);
}

@@ -252,0 +264,0 @@ return normalizeConfig(config);

@@ -19,2 +19,3 @@ var io = require('socket.io');

var log = logger.create();

@@ -32,3 +33,2 @@

var log = logger.create();
var filesPromise = fileList.refresh();

@@ -254,3 +254,18 @@

config.plugins.forEach(function(plugin) {
modules.push(require(plugin));
if (helper.isString(plugin)) {
try {
modules.push(require(plugin));
} catch (e) {
if (e.code === 'MODULE_NOT_FOUND') {
log.warn('Cannot find plugin "%s".\n Did you forget to install it ?\n' +
' npm install %s --save-dev', plugin, plugin);
} else {
log.warn('Error during loading "%s" plugin:\n %s', plugin, e.message);
}
}
} else if (helper.isObject(plugin)) {
modules.push(plugin);
} else {
log.warn('Invalid plugin %s', plugin);
}
});

@@ -257,0 +272,0 @@

50

package.json

@@ -26,12 +26,20 @@ {

"Shyam Seshadri <shyamseshadri@gmail.com>",
"Ilya Volodin <ivolodin@vistaprint.com>",
"Andrew Martin <sublimino@gmail.com>",
"Ilya Volodin <ivolodin@vistaprint.com>",
"Daniel Aleksandersen <code@daniel.priv.no>",
"Iristyle <Iristyle@github>",
"Kim Joar Bekkelund <kjbekkelund@gmail.com>",
"Marcello Nuccio <marcello.nuccio@gmail.com>",
"Daniel Aleksandersen <code@daniel.priv.no>",
"ngiebel <ngiebel@starkinvestments.com>",
"Roarke Gaskill <roarke.gaskill@gmail.com>",
"Igor Minar <iiminar@gmail.com>",
"Bulat Shakirzyanov <mallluhuct@gmail.com>",
"Hugues Malphettes <hmalphettes@gmail.com>",
"Ethan J. Brown <ethan_j_brown@hotmail.com>",
"Hugues Malphettes <hmalphettes@gmail.com>",
"Bulat Shakirzyanov <mallluhuct@gmail.com>",
"Igor Minar <iiminar@gmail.com>",
"rdodev <rubenoz@gmail.com>",
"James Shore <jshore@jamesshore.com>",
"Kevin Ortman <kevin_ortman@msn.com>",
"Andy Joslin <andytjoslin@gmail.com>",
"Marko Anastasov <marko@renderedtext.com>",
"Milan Aleksic <milanaleksic@gmail.com>",
"Nish <nishantpatel611@gmail.com>",

@@ -44,23 +52,19 @@ "Nuno Job <nunojobpinto@gmail.com>",

"Pete Swan <pete@indabamusic.com>",
"Brian Ford <btford@umich.edu>",
"AvnerCohen <israbirding@gmail.com>",
"Yi Wang <e@yi-wang.me>",
"ahaurw01 <ahaurwitz@gmail.com>",
"Alexander Shtuchkin <ashtuchkin@gmail.com>",
"ashaffer <darawk@gmail.com>",
"hrgdavor <hrgdavor@gmail.com>",
"lanshunfang <lanshunfang@gmail.com>",
"ngiebel <ngiebel@starkinvestments.com>",
"pavelgj <pavelgj@gmail.com>",
"hrgdavor <hrgdavor@gmail.com>",
"Andy Joslin <andytjoslin@gmail.com>",
"AvnerCohen <israbirding@gmail.com>",
"Brian Ford <btford@umich.edu>",
"Chad Smith <chad@configit.com>",
"David Jensen <david@frode.(none)>",
"David Souther <davidsouther@gmail.com>",
"Eldar Jafarov <djkojb@gmail.com>",
"Ed Rooth <ed.rooth@rackspace.com>",
"Eldar Jafarov <djkojb@gmail.com>",
"Fred Sauer <fredsa@google.com>",
"Chad Smith <chad@configit.com>",
"Igor Minar <igor@angularjs.org>",
"James Ford <jford@psyked.co.uk>",
"James Shore <jshore@jamesshore.com>",
"Kevin Ortman <kevin_ortman@msn.com>",
"Milan Aleksic <milanaleksic@gmail.com>"
"Alexander Shtuchkin <ashtuchkin@gmail.com>",
"pavelgj <pavelgj@gmail.com>",
"James Ford <jford@psyked.co.uk>"
],

@@ -82,3 +86,3 @@ "dependencies": {

"mime": "~1.2",
"log4js": "~0.5.8 || ~0.6.1"
"log4js": "~0.6.3"
},

@@ -91,3 +95,4 @@ "peerDependencies": {

"karma-firefox-launcher": "*",
"karma-phantomjs-launcher": "*"
"karma-phantomjs-launcher": "*",
"karma-script-launcher": "*"
},

@@ -133,6 +138,3 @@ "devDependencies": {

},
"scripts": {
"install": "node install-log4js.js"
},
"version": "0.9.1"
"version": "0.9.2"
}

@@ -163,4 +163,4 @@ # Karma [![Build Status](https://secure.travis-ci.org/karma-runner/karma.png?branch=stable)](http://travis-ci.org/karma-runner/karma) [![Build Status](https://secure.travis-ci.org/karma-runner/karma.png?branch=master)](http://travis-ci.org/karma-runner/karma)

[Node.js]: http://nodejs.org/
[Jasmine]: http://pivotal.github.com/jasmine/
[Mocha]: http://visionmedia.github.com/mocha/
[Jasmine]: http://pivotal.github.io/jasmine/
[Mocha]: http://visionmedia.github.io/mocha/
[QUnit]: http://qunitjs.com/

@@ -174,7 +174,7 @@ [here]: http://www.youtube.com/watch?v=MVw8N3hTfCI

[Browsers]: http://karma-runner.github.com/0.8/config/browsers.html
[Versioning]: http://karma-runner.github.com/0.8/about/versioning.html
[Configuration File Overview]: http://karma-runner.github.com/0.8/config/configuration-file.html
[docs]: http://karma-runner.github.com
[Docs]: http://karma-runner.github.com
[website]: http://karma-runner.github.com
[Browsers]: http://karma-runner.github.io/0.8/config/browsers.html
[Versioning]: http://karma-runner.github.io/0.8/about/versioning.html
[Configuration File Overview]: http://karma-runner.github.io/0.8/config/configuration-file.html
[docs]: http://karma-runner.github.io
[Docs]: http://karma-runner.github.io
[website]: http://karma-runner.github.io

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