Socket
Socket
Sign inDemoInstall

@stryker-mutator/cucumber-runner

Package Overview
Dependencies
272
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.0 to 7.3.0

10

dist/src/cucumber-test-runner.js

@@ -1,3 +0,3 @@

import { createRequire } from 'module';
import fs from 'fs';
import { fileURLToPath } from 'url';
import semver from 'semver';

@@ -16,5 +16,4 @@ import { commonTokens, tokens, } from '@stryker-mutator/api/plugin';

}
const require = createRequire(import.meta.url);
const StrykerFormatter = strykerFormatterModule.default;
const strykerFormatterFile = require.resolve('./stryker-formatter.cjs');
const strykerFormatterFile = new URL('./stryker-formatter.cjs', import.meta.url);
export class CucumberTestRunner {

@@ -50,5 +49,8 @@ constructor(logger, options, globalNamespace) {

var _a;
const href = semver.satisfies(cucumberVersion, '>=10')
? strykerFormatterFile.href
: fileURLToPath(strykerFormatterFile.href);
const { runConfiguration, useConfiguration } = await loadConfiguration({
provided: {
format: [strykerFormatterFile],
format: [href],
retry: 0,

@@ -55,0 +57,0 @@ parallel: 0,

18

package.json
{
"name": "@stryker-mutator/cucumber-runner",
"version": "7.2.0",
"version": "7.3.0",
"description": "A plugin to use the cucumber test runner in Stryker, the JavaScript mutation testing framework",
"files": [
"dist",
"dist/schema",
"dist/src-generated",
"dist/src",
"src-generated",

@@ -47,4 +49,4 @@ "src"

"devDependencies": {
"@cucumber/cucumber": "9.5.1",
"@stryker-mutator/test-helpers": "7.2.0",
"@cucumber/cucumber": "10.0.0",
"@stryker-mutator/test-helpers": "7.3.0",
"@types/semver": "7.5.3"

@@ -54,11 +56,11 @@ },

"@cucumber/cucumber": ">=8.0.0",
"@stryker-mutator/core": "~7.2.0"
"@stryker-mutator/core": "~7.3.0"
},
"dependencies": {
"@cucumber/messages": "^22.0.0",
"@stryker-mutator/api": "7.2.0",
"@stryker-mutator/util": "7.2.0",
"@stryker-mutator/api": "7.3.0",
"@stryker-mutator/util": "7.3.0",
"semver": "^7.3.7"
},
"gitHead": "fa746b5cb7a2ee91a232809a0adb0cf955996648"
"gitHead": "deb82d861e13f17dbc80b57499c0347b1ec63f7f"
}

@@ -1,4 +0,5 @@

import { createRequire } from 'module';
import fs from 'fs';
import { fileURLToPath } from 'url';
import semver from 'semver';

@@ -66,5 +67,7 @@ import { Logger } from '@stryker-mutator/api/logging';

const require = createRequire(import.meta.url);
const StrykerFormatter = strykerFormatterModule.default;
const strykerFormatterFile = require.resolve('./stryker-formatter.cjs');
const strykerFormatterFile = new URL(
'./stryker-formatter.cjs',
import.meta.url,
);

@@ -133,6 +136,9 @@ interface ResolvedConfiguration {

): Promise<DryRunResult> {
const href = semver.satisfies(cucumberVersion, '>=10')
? strykerFormatterFile.href
: fileURLToPath(strykerFormatterFile.href);
const { runConfiguration, useConfiguration }: ResolvedConfiguration =
await loadConfiguration({
provided: {
format: [strykerFormatterFile],
format: [href],
retry: 0,

@@ -139,0 +145,0 @@ parallel: 0,

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc