Socket
Socket
Sign inDemoInstall

@stryker-mutator/karma-runner

Package Overview
Dependencies
Maintainers
4
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stryker-mutator/karma-runner - npm Package Compare versions

Comparing version 8.2.6 to 8.3.0

1

dist/src/karma-plugins/stryker-reporter.js

@@ -101,3 +101,2 @@ import { determineHitLimitReached, DryRunStatus, TestStatus } from '@stryker-mutator/api/test-runner';

};
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
onBrowserError = (browser, error) => {

@@ -104,0 +103,0 @@ if (this.initTask) {

3

dist/src/karma-plugins/test-hooks-middleware.js

@@ -54,6 +54,7 @@ import path from 'path';

break;
case 'mocha':
case 'mocha': {
const metaRegExp = testFilter.map((testId) => `(${escapeRegExpLiteral(testId)})`).join('|');
this.currentTestHooks += `mocha.grep(/${metaRegExp}/)`;
break;
}
default:

@@ -60,0 +61,0 @@ }

@@ -37,3 +37,3 @@ import semver from 'semver';

if (!version || semver.lt(version, MIN_KARMA_VERSION)) {
throw new Error(`Your karma version (${version}) is not supported. Please install ${MIN_KARMA_VERSION} or higher`);
throw new Error(`Your karma version (${karma.VERSION}) is not supported. Please install ${MIN_KARMA_VERSION} or higher`);
}

@@ -40,0 +40,0 @@ const browsersReadyPromise = StrykerReporter.instance.whenBrowsersReady();

@@ -17,2 +17,3 @@ import decamelize from 'decamelize';

}
// eslint-disable-next-line @typescript-eslint/require-await -- Any thrown errors need to be translated to rejections
async start() {

@@ -48,3 +49,3 @@ this.verifyAngularCliVersion();

if (!version || semver.lt(version, MIN_ANGULAR_CLI_VERSION)) {
throw new Error(`Your @angular/cli version (${version}) is not supported. Please install ${MIN_ANGULAR_CLI_VERSION} or higher`);
throw new Error(`Your @angular/cli version (${pkg.version}) is not supported. Please install ${MIN_ANGULAR_CLI_VERSION} or higher`);
}

@@ -56,5 +57,5 @@ }

if (prefixedArguments.length > 0) {
throw new Error(`Don't prefix arguments with dashes ('-'). Stryker will do this automatically. Problematic arguments are ${prefixedArguments}.`);
throw new Error(`Don't prefix arguments with dashes ('-'). Stryker will do this automatically. Problematic arguments are ${prefixedArguments.join(', ')}.`);
}
}
//# sourceMappingURL=angular-starter.js.map
{
"name": "@stryker-mutator/karma-runner",
"version": "8.2.6",
"version": "8.3.0",
"description": "A plugin to use the karma test runner in Stryker, the JavaScript mutation testing framework",

@@ -51,8 +51,8 @@ "files": [

"devDependencies": {
"@stryker-mutator/test-helpers": "8.2.6",
"@stryker-mutator/test-helpers": "8.3.0",
"@types/express": "4.17.21",
"@types/node": "20.11.20",
"@types/node": "20.14.13",
"@types/semver": "7.5.8",
"jasmine-core": "5.1.2",
"karma": "6.4.3",
"jasmine-core": "5.2.0",
"karma": "6.4.4",
"karma-chai": "0.1.0",

@@ -64,10 +64,10 @@ "karma-chrome-launcher": "3.2.0",

"peerDependencies": {
"@stryker-mutator/core": "~8.2.0"
"@stryker-mutator/core": "~8.3.0"
},
"dependencies": {
"@stryker-mutator/api": "8.2.6",
"@stryker-mutator/util": "8.2.6",
"@stryker-mutator/api": "8.3.0",
"@stryker-mutator/util": "8.3.0",
"decamelize": "~6.0.0",
"semver": "~7.6.0",
"tslib": "~2.6.2"
"semver": "~7.6.3",
"tslib": "~2.6.3"
},

@@ -86,3 +86,3 @@ "contributors": [

},
"gitHead": "7a044150fb6a1c5db420f8bc57e0cb59f72debe8"
"gitHead": "b9eb7575b89aa4d3a446c2b9aedd1d5168f0879d"
}

@@ -134,3 +134,2 @@ import { determineHitLimitReached, DryRunResult, DryRunStatus, TestResult, TestStatus } from '@stryker-mutator/api/test-runner';

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
public readonly onBrowserError = (browser: Browser, error: any): void => {

@@ -137,0 +136,0 @@ if (this.initTask) {

@@ -72,6 +72,7 @@ import path from 'path';

break;
case 'mocha':
case 'mocha': {
const metaRegExp = testFilter.map((testId) => `(${escapeRegExpLiteral(testId)})`).join('|');
this.currentTestHooks += `mocha.grep(/${metaRegExp}/)`;
break;
}
default:

@@ -78,0 +79,0 @@ }

@@ -59,3 +59,3 @@ import semver from 'semver';

if (!version || semver.lt(version, MIN_KARMA_VERSION)) {
throw new Error(`Your karma version (${version}) is not supported. Please install ${MIN_KARMA_VERSION} or higher`);
throw new Error(`Your karma version (${karma.VERSION}) is not supported. Please install ${MIN_KARMA_VERSION} or higher`);
}

@@ -62,0 +62,0 @@ const browsersReadyPromise = StrykerReporter.instance.whenBrowsersReady();

@@ -29,2 +29,3 @@ import decamelize from 'decamelize';

// eslint-disable-next-line @typescript-eslint/require-await -- Any thrown errors need to be translated to rejections
public async start(): Promise<StartedProject> {

@@ -62,3 +63,3 @@ this.verifyAngularCliVersion();

if (!version || semver.lt(version, MIN_ANGULAR_CLI_VERSION)) {
throw new Error(`Your @angular/cli version (${version}) is not supported. Please install ${MIN_ANGULAR_CLI_VERSION} or higher`);
throw new Error(`Your @angular/cli version (${pkg.version}) is not supported. Please install ${MIN_ANGULAR_CLI_VERSION} or higher`);
}

@@ -71,4 +72,6 @@ }

if (prefixedArguments.length > 0) {
throw new Error(`Don't prefix arguments with dashes ('-'). Stryker will do this automatically. Problematic arguments are ${prefixedArguments}.`);
throw new Error(
`Don't prefix arguments with dashes ('-'). Stryker will do this automatically. Problematic arguments are ${prefixedArguments.join(', ')}.`,
);
}
}

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 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

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