New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qunit

Package Overview
Dependencies
Maintainers
6
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qunit - npm Package Compare versions

Comparing version 2.14.1 to 2.15.0

19

History.md
2.15.0 / 2021-04-12
==================
### Changed
* HTML Reporter: Trim whitespace of the filter input. (Nathaniel Furniss) [#1573](https://github.com/qunitjs/qunit/pull/1573)
* CLI: Upgrade `js-reporters` to 2.0.0. [#1577](https://github.com/qunitjs/qunit/pull/1577)
### Deprecated
* Core: Warn when setting hooks for a different module. (Ray Cohen) [#1586](https://github.com/qunitjs/qunit/pull/1586)
### Fixed
* Assert: Fix `assert.throws()` to fail gracefully when expected class does not match. (Steve McClure) [#1530](https://github.com/qunitjs/qunit/issues/1530)
* CLI: Fix TAP output to support cyclical objects. (Zachary Mulgrew) [#1555](https://github.com/qunitjs/qunit/issues/1555) [js-reporters#104](https://github.com/js-reporters/js-reporters/issues/104)
* CLI: Fix TAP output for the `Infinity` value, previously became `null`. (Timo Tijhof) [#1406](https://github.com/qunitjs/qunit/issues/1406)
* CLI: Fix TAP output going silent if `console` object is mocked. (Timo Tijhof) [#1340](https://github.com/qunitjs/qunit/issues/1340)
2.14.1 / 2021-03-14

@@ -3,0 +22,0 @@ ==================

52

package.json

@@ -5,7 +5,7 @@ {

"description": "The powerful, easy-to-use testing framework.",
"version": "2.14.1",
"version": "2.15.0",
"homepage": "https://qunitjs.com",
"author": {
"name": "OpenJS Foundation and other contributors",
"url": "https://github.com/qunitjs/qunit/blob/2.14.1/AUTHORS.txt"
"url": "https://github.com/qunitjs/qunit/blob/2.15.0/AUTHORS.txt"
},

@@ -46,3 +46,3 @@ "repository": {

"commander": "7.1.0",
"js-reporters": "1.2.3",
"js-reporters": "2.0.0",
"node-watch": "0.7.1",

@@ -52,22 +52,24 @@ "tiny-glob": "0.2.8"

"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/plugin-external-helpers": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/core": "^7.13.15",
"@babel/plugin-external-helpers": "^7.12.13",
"@babel/preset-env": "^7.13.15",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"@qunitjs/browserstack-runner": "0.9.4-qunitjs.2",
"coveralls": "^3.1.0",
"eslint-config-jquery": "^3.0.0",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-qunit": "^5.3.0",
"execa": "^0.8.0",
"fixturify": "^0.3.4",
"eslint-plugin-qunit": "^6.0.0",
"execa": "0.8.0",
"fixturify": "^2.1.0",
"fuzzysort": "^1.1.4",
"grunt": "^1.0.4",
"grunt-cli": "^1.2.0",
"grunt-contrib-connect": "^1.0.2",
"grunt": "^1.3.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-qunit": "^3.1.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-contrib-qunit": "^4.0.0",
"grunt-eslint": "^23.0.0",
"grunt-git-authors": "^3.2.0",
"rollup": "^2.30.0",
"grunt-search": "^0.1.8",

@@ -77,10 +79,6 @@ "npm-reporter": "file:./test/cli/fixtures/npm-reporter",

"proxyquire": "^1.8.0",
"requirejs": "^2.3.5",
"rimraf": "^2.7.1",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.3",
"semver": "^5.4.1",
"tiny-lr": "^1.1.1"
"requirejs": "^2.3.6",
"rimraf": "^3.0.2",
"rollup": "^2.45.1",
"semver": "^7.3.5"
},

@@ -90,3 +88,2 @@ "scripts": {

"build:coverage": "rollup -c --environment BUILD_TARGET:coverage && grunt copy:src-css",
"dev": "grunt watch",
"test": "npm run build && grunt test && bin/qunit.js test/cli/*.js",

@@ -96,7 +93,8 @@ "test:lint": "grunt eslint",

"test:cli": "npm run build && bin/qunit.js test/cli/*.js",
"browserstack": "browserstack-runner -v",
"authors": "grunt authors",
"coverage": "npm run build:coverage && npm run coverage:_cli && npm run coverage:_main && nyc report",
"coverage:_cli": "nyc --use-spawn-wrap --silent bin/qunit.js test/cli/*.js",
"coverage:_main": "nyc instrument --in-place qunit/ && grunt connect:nolivereload qunit",
"coveralls": "npm run coverage && cat coverage/lcov.info | coveralls"
"coverage:_main": "nyc instrument --in-place qunit/ && grunt connect:base qunit",
"coveralls-upload": "cat coverage/lcov.info | coveralls"
},

@@ -103,0 +101,0 @@ "nyc": {

<img src="/docs/img/QUnit-Logo-Large.png" width="250" height="auto">
[![Build Status](https://travis-ci.com/qunitjs/qunit.svg?branch=master)](https://travis-ci.com/qunitjs/qunit)
[![Build Status](https://github.com/qunitjs/qunit/actions/workflows/CI.yaml/badge.svg)](https://github.com/qunitjs/qunit/actions/workflows/CI.yaml)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fqunitjs%2Fqunit.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fqunitjs%2Fqunit?ref=badge_shield)

@@ -5,0 +5,0 @@ [![Coverage Status](https://coveralls.io/repos/qunitjs/qunit/badge.svg)](https://coveralls.io/github/qunitjs/qunit)

@@ -7,2 +7,8 @@ "use strict";

const hasOwn = Object.prototype.hasOwnProperty;
const builtin = {
console: JSReporters.ConsoleReporter,
tap: JSReporters.TapReporter
};
function findReporter( reporterName ) {

@@ -14,8 +20,4 @@ if ( !reporterName ) {

// First, check if the reporter is one of the standard js-reporters ones
const capitalizedName = utils.capitalize( reporterName );
const jsReporterName = `${capitalizedName}Reporter`;
if ( JSReporters[ jsReporterName ] ) {
return JSReporters[ jsReporterName ];
if ( hasOwn.call( builtin, reporterName ) ) {
return builtin[ reporterName ];
}

@@ -43,10 +45,9 @@

const jsReporters = getReportersFromJSReporters();
const jsReporters = Object.keys( builtin ).sort();
message.push( `Built-in reporters: ${jsReporters.join( ", " )}` );
message.push( `Available reporters from JS Reporters are: ${jsReporters.join( ", " )}` );
const npmReporters = getReportersFromDependencies();
if ( npmReporters.length ) {
message.push(
`Available custom reporters from dependencies are: ${npmReporters.join( ", " )}`
`Extra reporters found among package dependencies: ${npmReporters.join( ", " )}`
);

@@ -58,10 +59,2 @@ }

function getReportersFromJSReporters() {
const jsReporterRegex = /(.*)Reporter$/;
return Object.keys( JSReporters )
.filter( key => jsReporterRegex.test( key ) )
.map( reporter => reporter.match( jsReporterRegex )[ 1 ].toLowerCase() )
.sort();
}
function getReportersFromDependencies() {

@@ -68,0 +61,0 @@ const dependencies = [].concat(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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