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

ember-cli-qunit

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-qunit - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

53

index.js

@@ -10,2 +10,25 @@ 'use strict';

buildConsole: function() {
var ui = this.ui;
if (!ui) {
this.console = console;
return;
}
this.console = {
log: function(data) {
ui.writeLine(data);
},
error: function(data) {
ui.writeLine(data, 'ERROR');
}
}
},
init: function() {
this.buildConsole();
},
blueprintsPath: function() {

@@ -26,9 +49,21 @@ return path.join(__dirname, 'blueprints');

app.bowerDirectory + '/qunit/qunit/qunit.js',
app.bowerDirectory + '/qunit/qunit/qunit.css',
app.bowerDirectory + '/qunit-notifications/index.js',
app.bowerDirectory + '/qunit/qunit/qunit.css'
];
var imgAssets = [];
var qunitNotificationsPath = app.bowerDirectory + '/qunit-notifications/index.js';
if (fs.existsSync(qunitNotificationsPath)) {
fileAssets.push(qunitNotificationsPath);
imgAssets.push(
app.bowerDirectory + '/ember-qunit-notifications/passed.png',
app.bowerDirectory + '/ember-qunit-notifications/failed.png'
);
}
fileAssets.push(
'vendor/ember-cli-qunit/qunit-configuration.js',
'vendor/ember-cli-qunit/test-loader.js'
];
);
var addonOptions = target.options['ember-cli-qunit'];

@@ -39,7 +74,2 @@ if (addonOptions && !addonOptions.disableContainerStyles) {

var imgAssets = [
app.bowerDirectory + '/ember-qunit-notifications/passed.png',
app.bowerDirectory + '/ember-qunit-notifications/failed.png',
];
var emberQunitPath = app.bowerDirectory + '/ember-qunit/ember-qunit.amd.js';

@@ -98,7 +128,10 @@ if (!fs.existsSync(emberQunitPath)) {

lintTree: function(type, tree) {
var ui = this.ui;
return jshintTrees(tree, {
jshintrcPath: this.jshintrc[type],
description: 'JSHint ' + type + '- QUnit'
description: 'JSHint ' + type + '- QUnit',
console: this.console
});
}
};

10

package.json
{
"name": "ember-cli-qunit",
"version": "0.3.8",
"version": "0.3.9",
"description": "QUnit testing package for ember-cli applications",

@@ -14,3 +14,3 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/jakecraige/ember-cli-qunit.git"
"url": "https://github.com/ember-cli/ember-cli-qunit.git"
},

@@ -25,9 +25,9 @@ "keywords": [

"bugs": {
"url": "https://github.com/jakecraige/ember-cli-qunit/issues"
"url": "https://github.com/ember-cli/ember-cli-qunit/issues"
},
"homepage": "https://github.com/jakecraige/ember-cli-qunit",
"homepage": "https://github.com/ember-cli/ember-cli-qunit",
"dependencies": {
"broccoli-jshint": "0.5.3"
"broccoli-jshint": "0.5.5"
},
"bundledDependencies": []
}
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