Comparing version 6.3.2 to 6.3.3
@@ -13,2 +13,2 @@ # Contributor Code of Conduct | ||
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/) | ||
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 1.0.0, available at <https://www.contributor-covenant.org/version/1/0/0/code-of-conduct/> |
@@ -12,3 +12,3 @@ // Karma configuration | ||
// frameworks to use | ||
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter | ||
// available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter | ||
frameworks: [%FRAMEWORKS%], | ||
@@ -28,3 +28,3 @@ | ||
// preprocess matching files before serving them to the browser | ||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor | ||
// available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor | ||
preprocessors: {%PREPROCESSORS% | ||
@@ -36,3 +36,3 @@ }, | ||
// possible values: 'dots', 'progress' | ||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter | ||
// available reporters: https://www.npmjs.com/search?q=keywords:karma-reporter | ||
reporters: ['progress'], | ||
@@ -59,3 +59,3 @@ | ||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
// available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher | ||
browsers: [%BROWSERS%], | ||
@@ -69,5 +69,5 @@ | ||
// Concurrency level | ||
// how many browser should be started simultaneous | ||
// how many browser instances should be started simultaneously | ||
concurrency: Infinity | ||
}) | ||
} |
@@ -12,3 +12,3 @@ // Karma configuration | ||
// frameworks to use | ||
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter | ||
// available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter | ||
frameworks: [%FRAMEWORKS%], | ||
@@ -28,3 +28,3 @@ | ||
// preprocess matching files before serving them to the browser | ||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor | ||
// available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor | ||
preprocessors: {%PREPROCESSORS% | ||
@@ -36,3 +36,3 @@ }, | ||
// possible values: 'dots', 'progress' | ||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter | ||
// available reporters: https://www.npmjs.com/search?q=keywords:karma-reporter | ||
reporters: ['progress'], | ||
@@ -59,3 +59,3 @@ | ||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
// available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher | ||
browsers: [%BROWSERS%], | ||
@@ -69,5 +69,5 @@ | ||
// Concurrency level | ||
// how many browser should be started simultaneous | ||
// how many browser instances should be started simultaneously | ||
concurrency: Infinity | ||
}) | ||
} |
@@ -13,3 +13,3 @@ // Load in our dependencies | ||
// DEV: We avoid using this in Internet Explorer as they only support strings | ||
// http://caniuse.com/#search=postmessage | ||
// https://caniuse.com/?search=postmessage | ||
var haveParentAccess = false | ||
@@ -16,0 +16,0 @@ try { haveParentAccess = !!parentWindow.window } catch (err) { /* Ignore errors (likely permisison errors) */ } |
@@ -52,3 +52,3 @@ 'use strict' | ||
} else if (/is not in the npm registry/.test(stderr)) { | ||
log.warn(`Failed to install "${pkgName}". It is not in the NPM registry!\n Please install it manually.`) | ||
log.warn(`Failed to install "${pkgName}". It is not in the npm registry!\n Please install it manually.`) | ||
} else if (/Error: EACCES/.test(stderr)) { | ||
@@ -55,0 +55,0 @@ log.warn(`Failed to install "${pkgName}". No permissions to write in ${options.cwd}!\n Please install it manually.`) |
@@ -170,3 +170,3 @@ /** | ||
` To silence the warning specify a valid type for ${file.originalPath} in the configuration file.\n` + | ||
' See http://karma-runner.github.io/latest/config/files.html' | ||
' See https://karma-runner.github.io/latest/config/files.html' | ||
) | ||
@@ -173,0 +173,0 @@ } else { |
@@ -37,16 +37,12 @@ const url = require('url') | ||
const protocol = proxyDetails.protocol || config.protocol | ||
const https = proxyDetails.protocol === 'https:' | ||
let port | ||
if (proxyDetails.port) { | ||
port = proxyDetails.port | ||
} else if (proxyDetails.protocol) { | ||
port = https ? '443' : '80' | ||
} else { | ||
port = config.port | ||
const defaultPorts = { | ||
'http:': '80', | ||
'https:': '443' | ||
} | ||
const port = proxyDetails.port || defaultPorts[proxyDetails.protocol] || config.port | ||
const changeOrigin = proxyConfiguration.changeOrigin || false | ||
const Agent = https ? httpsAgent : httpAgent | ||
const Agent = protocol === 'https:' ? httpsAgent : httpAgent | ||
const agent = new Agent({ keepAlive: true }) | ||
const proxy = httpProxy.createProxyServer({ | ||
target: { host: hostname, port, https, protocol }, | ||
target: { host: hostname, port, protocol }, | ||
xfwd: true, | ||
@@ -75,3 +71,3 @@ changeOrigin: changeOrigin, | ||
return { path: proxyPath, baseUrl: pathname, host: hostname, port, https, proxy, agent } | ||
return { path: proxyPath, baseUrl: pathname, host: hostname, port, proxy, agent } | ||
}), 'path').reverse() | ||
@@ -78,0 +74,0 @@ } |
{ | ||
"name": "karma", | ||
"description": "Spectacular Test Runner for JavaScript.", | ||
"homepage": "http://karma-runner.github.io/", | ||
"homepage": "https://karma-runner.github.io/", | ||
"repository": { | ||
@@ -97,4 +97,6 @@ "type": "git", | ||
"James Talmage <james@talmage.io>", | ||
"Janderson Constantino <jandersonconstantino@gmail.com>", | ||
"Jonas Pommerening <jonas.pommerening@aixigo.de>", | ||
"Jonathan Freeman <freethejazz@gmail.com>", | ||
"Jonathan Ginsburg <jon@than.ml>", | ||
"Josh <joshhunt180@gmail.com>", | ||
@@ -232,3 +234,2 @@ "KJ Tsanaktsidis <kjtsanaktsidis@gmail.com>", | ||
"Jan Molak <jan.molak@smartcodeltd.co.uk>", | ||
"Janderson Constantino <jandersonconstantino@gmail.com>", | ||
"Jeff Froom <jeff@jfroom.com>", | ||
@@ -246,3 +247,2 @@ "Jeff Lage <jefflage@me.com>", | ||
"Jonathan Felchlin <jonathan@xgecko.com>", | ||
"Jonathan Ginsburg <jon@than.ml>", | ||
"Jonathan Niles <jniles@users.noreply.github.com>", | ||
@@ -384,2 +384,3 @@ "Josh Lory <josh.lory@code.org>", | ||
"Wizek <123.wizek@gmail.com>", | ||
"XhmikosR <xhmikosr@gmail.com>", | ||
"Yaniv Efraim <yaniv.efraim@gmail.com>", | ||
@@ -467,2 +468,3 @@ "Yi Wang <e@yi-wang.me>", | ||
"jasmine-core": "^3.6.0", | ||
"karma": ".", | ||
"karma-browserify": "^7.0.0", | ||
@@ -498,3 +500,3 @@ "karma-browserstack-launcher": "^1.6.0", | ||
}, | ||
"version": "6.3.2", | ||
"version": "6.3.3", | ||
"license": "MIT", | ||
@@ -518,8 +520,4 @@ "husky": { | ||
"test:integration": "./scripts/integration-tests.sh", | ||
"link": "node --eval \"path=require('path'); require('fs').symlinkSync(path.resolve(__dirname), path.resolve(__dirname, 'node_modules', 'karma'), 'junction')\"", | ||
"unlink": "node --eval \"require('fs').unlinkSync(require('path').resolve(__dirname, 'node_modules', 'karma'))\"", | ||
"init": "rm -rf node_modules/karma && cd node_modules && ln -nsf ../ karma && cd ../", | ||
"init:windows": "(IF EXIST node_modules\\karma (rmdir node_modules\\karma /S /q)) && npm run link", | ||
"semantic-release": "semantic-release" | ||
} | ||
} |
# Karma | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/karma-runner/karma) [![npm version](https://img.shields.io/npm/v/karma.svg?style=flat-square)](https://www.npmjs.com/package/karma) [![npm downloads](https://img.shields.io/npm/dm/karma.svg?style=flat-square)](https://npmcharts.com/compare/karma?minimal=true) | ||
[![Build Status](https://img.shields.io/travis/karma-runner/karma/master.svg?style=flat-square)](https://travis-ci.org/karma-runner/karma) [![Build Status](https://img.shields.io/appveyor/ci/dignifiedquire/karma/master.svg?style=flat-square)](https://ci.appveyor.com/project/dignifiedquire/karma) [![Code Climate](https://img.shields.io/codeclimate/github/karma-runner/karma.svg?style=flat-square)](https://codeclimate.com/github/karma-runner/karma) [![PRs Welcome](https://img.shields.io/badge/prs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![Dependency Status](https://img.shields.io/david/karma-runner/karma.svg?style=flat-square)](https://david-dm.org/karma-runner/karma) [![devDependency Status](https://img.shields.io/david/dev/karma-runner/karma.svg?style=flat-square)](https://david-dm.org/karma-runner/karma#info=devDependencies) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
[![Build Status](https://img.shields.io/travis/karma-runner/karma/master.svg?style=flat-square)](https://travis-ci.org/karma-runner/karma) [![Build Status](https://img.shields.io/appveyor/ci/dignifiedquire/karma/master.svg?style=flat-square)](https://ci.appveyor.com/project/dignifiedquire/karma) [![Code Climate](https://img.shields.io/codeclimate/github/karma-runner/karma.svg?style=flat-square)](https://codeclimate.com/github/karma-runner/karma) [![PRs Welcome](https://img.shields.io/badge/prs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com/) [![Dependency Status](https://img.shields.io/david/karma-runner/karma.svg?style=flat-square)](https://david-dm.org/karma-runner/karma) [![devDependency Status](https://img.shields.io/david/dev/karma-runner/karma.svg?style=flat-square)](https://david-dm.org/karma-runner/karma#info=devDependencies) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
@@ -51,3 +51,3 @@ A simple tool that allows you to execute JavaScript code in multiple | ||
* [QUnit] | ||
* and [many others](https://www.npmjs.org/browse/keyword/karma-adapter) | ||
* and [many others](https://www.npmjs.com/search?q=keywords:karma-adapter) | ||
@@ -112,4 +112,4 @@ If you can't find an adapter for your favourite framework, don't worry and write your own. | ||
[JSTD]: https://code.google.com/p/js-test-driver/ | ||
[Socket.io]: http://socket.io/ | ||
[Node.js]: http://nodejs.org/ | ||
[Socket.io]: https://socket.io/ | ||
[Node.js]: https://nodejs.org/ | ||
[Jasmine]: https://github.com/karma-runner/karma-jasmine | ||
@@ -122,3 +122,3 @@ [Mocha]: https://github.com/karma-runner/karma-mocha | ||
[@JsKarma]: https://twitter.com/JsKarma | ||
[RequireJS]: http://requirejs.org/ | ||
[RequireJS]: https://requirejs.org/ | ||
[Istanbul]: https://github.com/gotwarlost/istanbul | ||
@@ -125,0 +125,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
522541
42
10595