@d-es-ign/stryker-js-core 9.6.0 → 9.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -4
- package/dist/src/checker/checker-child-process-proxy.d.ts +2 -2
- package/dist/src/checker/checker-child-process-proxy.d.ts.map +1 -1
- package/dist/src/checker/checker-facade.d.ts +2 -2
- package/dist/src/checker/checker-facade.d.ts.map +1 -1
- package/dist/src/checker/checker-factory.d.ts +2 -2
- package/dist/src/checker/checker-factory.d.ts.map +1 -1
- package/dist/src/checker/checker-factory.js +1 -1
- package/dist/src/checker/checker-factory.js.map +1 -1
- package/dist/src/checker/checker-resource.d.ts +2 -2
- package/dist/src/checker/checker-resource.d.ts.map +1 -1
- package/dist/src/checker/checker-retry-decorator.d.ts +2 -2
- package/dist/src/checker/checker-retry-decorator.d.ts.map +1 -1
- package/dist/src/checker/checker-worker.d.ts +2 -2
- package/dist/src/checker/checker-worker.d.ts.map +1 -1
- package/dist/src/checker/checker-worker.js +2 -2
- package/dist/src/checker/checker-worker.js.map +1 -1
- package/dist/src/child-proxy/child-process-crashed-error.d.ts +1 -1
- package/dist/src/child-proxy/child-process-crashed-error.d.ts.map +1 -1
- package/dist/src/child-proxy/child-process-crashed-error.js +1 -1
- package/dist/src/child-proxy/child-process-crashed-error.js.map +1 -1
- package/dist/src/child-proxy/child-process-proxy-worker.d.ts +1 -1
- package/dist/src/child-proxy/child-process-proxy-worker.d.ts.map +1 -1
- package/dist/src/child-proxy/child-process-proxy-worker.js +2 -2
- package/dist/src/child-proxy/child-process-proxy-worker.js.map +1 -1
- package/dist/src/child-proxy/child-process-proxy.d.ts +2 -2
- package/dist/src/child-proxy/child-process-proxy.d.ts.map +1 -1
- package/dist/src/child-proxy/child-process-proxy.js +1 -1
- package/dist/src/child-proxy/child-process-proxy.js.map +1 -1
- package/dist/src/child-proxy/message-protocol.d.ts +1 -1
- package/dist/src/child-proxy/message-protocol.d.ts.map +1 -1
- package/dist/src/concurrent/concurrency-token-provider.d.ts +2 -2
- package/dist/src/concurrent/concurrency-token-provider.d.ts.map +1 -1
- package/dist/src/concurrent/concurrency-token-provider.js +1 -1
- package/dist/src/concurrent/concurrency-token-provider.js.map +1 -1
- package/dist/src/concurrent/pool.d.ts +1 -1
- package/dist/src/concurrent/pool.d.ts.map +1 -1
- package/dist/src/concurrent/pool.js +1 -1
- package/dist/src/concurrent/pool.js.map +1 -1
- package/dist/src/config/config-reader.d.ts +3 -3
- package/dist/src/config/config-reader.d.ts.map +1 -1
- package/dist/src/config/config-reader.js +4 -4
- package/dist/src/config/config-reader.js.map +1 -1
- package/dist/src/config/file-matcher.js +1 -1
- package/dist/src/config/file-matcher.js.map +1 -1
- package/dist/src/config/meta-schema-builder.d.ts +1 -1
- package/dist/src/config/meta-schema-builder.d.ts.map +1 -1
- package/dist/src/config/meta-schema-builder.js +1 -1
- package/dist/src/config/meta-schema-builder.js.map +1 -1
- package/dist/src/config/options-validator.d.ts +3 -3
- package/dist/src/config/options-validator.d.ts.map +1 -1
- package/dist/src/config/options-validator.js +3 -3
- package/dist/src/config/options-validator.js.map +1 -1
- package/dist/src/di/plugin-creator.d.ts +1 -1
- package/dist/src/di/plugin-creator.d.ts.map +1 -1
- package/dist/src/di/plugin-creator.js +1 -1
- package/dist/src/di/plugin-creator.js.map +1 -1
- package/dist/src/di/plugin-loader.d.ts +4 -4
- package/dist/src/di/plugin-loader.d.ts.map +1 -1
- package/dist/src/di/plugin-loader.js +6 -6
- package/dist/src/di/plugin-loader.js.map +1 -1
- package/dist/src/errors.d.ts +1 -1
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +1 -1
- package/dist/src/errors.js.map +1 -1
- package/dist/src/fs/file-system.js +1 -1
- package/dist/src/fs/file-system.js.map +1 -1
- package/dist/src/fs/project-file.d.ts +3 -3
- package/dist/src/fs/project-file.d.ts.map +1 -1
- package/dist/src/fs/project-file.js +1 -1
- package/dist/src/fs/project-file.js.map +1 -1
- package/dist/src/fs/project-reader.d.ts +3 -3
- package/dist/src/fs/project-reader.d.ts.map +1 -1
- package/dist/src/fs/project-reader.js +2 -2
- package/dist/src/fs/project-reader.js.map +1 -1
- package/dist/src/fs/project.d.ts +3 -3
- package/dist/src/fs/project.d.ts.map +1 -1
- package/dist/src/fs/project.js +1 -1
- package/dist/src/fs/project.js.map +1 -1
- package/dist/src/initializer/custom-initializers/angular-initializer.d.ts +2 -2
- package/dist/src/initializer/custom-initializers/angular-initializer.d.ts.map +1 -1
- package/dist/src/initializer/custom-initializers/angular-initializer.js +2 -2
- package/dist/src/initializer/custom-initializers/angular-initializer.js.map +1 -1
- package/dist/src/initializer/custom-initializers/custom-initializer.d.ts +2 -2
- package/dist/src/initializer/custom-initializers/custom-initializer.d.ts.map +1 -1
- package/dist/src/initializer/custom-initializers/index.d.ts +2 -2
- package/dist/src/initializer/custom-initializers/index.d.ts.map +1 -1
- package/dist/src/initializer/custom-initializers/index.js +1 -1
- package/dist/src/initializer/custom-initializers/index.js.map +1 -1
- package/dist/src/initializer/custom-initializers/react-initializer.d.ts.map +1 -1
- package/dist/src/initializer/custom-initializers/react-initializer.js +1 -1
- package/dist/src/initializer/custom-initializers/react-initializer.js.map +1 -1
- package/dist/src/initializer/custom-initializers/svelte-initializer.js +1 -1
- package/dist/src/initializer/custom-initializers/svelte-initializer.js.map +1 -1
- package/dist/src/initializer/custom-initializers/vue-js-initializer.js +1 -1
- package/dist/src/initializer/custom-initializers/vue-js-initializer.js.map +1 -1
- package/dist/src/initializer/gitignore-writer.js +1 -1
- package/dist/src/initializer/gitignore-writer.js.map +1 -1
- package/dist/src/initializer/index.js +1 -1
- package/dist/src/initializer/index.js.map +1 -1
- package/dist/src/initializer/npm-client.d.ts +1 -1
- package/dist/src/initializer/npm-client.d.ts.map +1 -1
- package/dist/src/initializer/npm-client.js +5 -5
- package/dist/src/initializer/npm-client.js.map +1 -1
- package/dist/src/initializer/npm-registry.d.ts +1 -1
- package/dist/src/initializer/npm-registry.d.ts.map +1 -1
- package/dist/src/initializer/npm-registry.js +2 -2
- package/dist/src/initializer/npm-registry.js.map +1 -1
- package/dist/src/initializer/stryker-config-writer.d.ts +2 -2
- package/dist/src/initializer/stryker-config-writer.d.ts.map +1 -1
- package/dist/src/initializer/stryker-config-writer.js +4 -4
- package/dist/src/initializer/stryker-config-writer.js.map +1 -1
- package/dist/src/initializer/stryker-initializer.d.ts +1 -1
- package/dist/src/initializer/stryker-initializer.d.ts.map +1 -1
- package/dist/src/initializer/stryker-initializer.js +3 -3
- package/dist/src/initializer/stryker-initializer.js.map +1 -1
- package/dist/src/logging/logger-impl.d.ts +1 -1
- package/dist/src/logging/logger-impl.d.ts.map +1 -1
- package/dist/src/logging/logging-backend.d.ts +1 -1
- package/dist/src/logging/logging-backend.d.ts.map +1 -1
- package/dist/src/logging/logging-client.d.ts +2 -2
- package/dist/src/logging/logging-client.d.ts.map +1 -1
- package/dist/src/logging/logging-event.d.ts +1 -1
- package/dist/src/logging/logging-event.d.ts.map +1 -1
- package/dist/src/logging/logging-server.d.ts +1 -1
- package/dist/src/logging/logging-server.d.ts.map +1 -1
- package/dist/src/logging/logging-sink.d.ts +1 -1
- package/dist/src/logging/logging-sink.d.ts.map +1 -1
- package/dist/src/logging/priority.d.ts +1 -1
- package/dist/src/logging/priority.d.ts.map +1 -1
- package/dist/src/logging/provide-logging.d.ts +5 -5
- package/dist/src/logging/provide-logging.d.ts.map +1 -1
- package/dist/src/logging/provide-logging.js +1 -1
- package/dist/src/logging/provide-logging.js.map +1 -1
- package/dist/src/mutants/incremental-differ.d.ts +3 -3
- package/dist/src/mutants/incremental-differ.d.ts.map +1 -1
- package/dist/src/mutants/incremental-differ.js +3 -3
- package/dist/src/mutants/incremental-differ.js.map +1 -1
- package/dist/src/mutants/mutant-test-planner.d.ts +3 -3
- package/dist/src/mutants/mutant-test-planner.d.ts.map +1 -1
- package/dist/src/mutants/mutant-test-planner.js +3 -3
- package/dist/src/mutants/mutant-test-planner.js.map +1 -1
- package/dist/src/mutants/test-coverage.d.ts +3 -3
- package/dist/src/mutants/test-coverage.d.ts.map +1 -1
- package/dist/src/mutants/test-coverage.js +2 -2
- package/dist/src/mutants/test-coverage.js.map +1 -1
- package/dist/src/process/1-prepare-executor.d.ts +3 -3
- package/dist/src/process/1-prepare-executor.d.ts.map +1 -1
- package/dist/src/process/1-prepare-executor.js +4 -4
- package/dist/src/process/1-prepare-executor.js.map +1 -1
- package/dist/src/process/2-mutant-instrumenter-executor.d.ts +4 -4
- package/dist/src/process/2-mutant-instrumenter-executor.d.ts.map +1 -1
- package/dist/src/process/2-mutant-instrumenter-executor.js +2 -2
- package/dist/src/process/2-mutant-instrumenter-executor.js.map +1 -1
- package/dist/src/process/3-dry-run-executor.d.ts +4 -4
- package/dist/src/process/3-dry-run-executor.d.ts.map +1 -1
- package/dist/src/process/3-dry-run-executor.js +3 -3
- package/dist/src/process/3-dry-run-executor.js.map +1 -1
- package/dist/src/process/4-mutation-test-executor.d.ts +4 -4
- package/dist/src/process/4-mutation-test-executor.d.ts.map +1 -1
- package/dist/src/process/4-mutation-test-executor.js +3 -3
- package/dist/src/process/4-mutation-test-executor.js.map +1 -1
- package/dist/src/reporters/broadcast-reporter.d.ts +3 -3
- package/dist/src/reporters/broadcast-reporter.d.ts.map +1 -1
- package/dist/src/reporters/broadcast-reporter.js +1 -1
- package/dist/src/reporters/broadcast-reporter.js.map +1 -1
- package/dist/src/reporters/clear-text-reporter.d.ts +3 -3
- package/dist/src/reporters/clear-text-reporter.d.ts.map +1 -1
- package/dist/src/reporters/clear-text-reporter.js +1 -1
- package/dist/src/reporters/clear-text-reporter.js.map +1 -1
- package/dist/src/reporters/clear-text-score-table.d.ts +1 -1
- package/dist/src/reporters/clear-text-score-table.d.ts.map +1 -1
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter-client.d.ts +2 -2
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter-client.d.ts.map +1 -1
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter-client.js +2 -2
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter-client.js.map +1 -1
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter.d.ts +3 -3
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter.d.ts.map +1 -1
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter.js +1 -1
- package/dist/src/reporters/dashboard-reporter/dashboard-reporter.js.map +1 -1
- package/dist/src/reporters/dashboard-reporter/index.d.ts +1 -1
- package/dist/src/reporters/dashboard-reporter/index.d.ts.map +1 -1
- package/dist/src/reporters/dashboard-reporter/index.js +1 -1
- package/dist/src/reporters/dashboard-reporter/index.js.map +1 -1
- package/dist/src/reporters/dashboard-reporter/report.d.ts +1 -1
- package/dist/src/reporters/dashboard-reporter/report.d.ts.map +1 -1
- package/dist/src/reporters/dots-reporter.d.ts +2 -2
- package/dist/src/reporters/dots-reporter.d.ts.map +1 -1
- package/dist/src/reporters/event-recorder-reporter.d.ts +3 -3
- package/dist/src/reporters/event-recorder-reporter.d.ts.map +1 -1
- package/dist/src/reporters/event-recorder-reporter.js +1 -1
- package/dist/src/reporters/event-recorder-reporter.js.map +1 -1
- package/dist/src/reporters/html-reporter.d.ts +3 -3
- package/dist/src/reporters/html-reporter.d.ts.map +1 -1
- package/dist/src/reporters/html-reporter.js +1 -1
- package/dist/src/reporters/html-reporter.js.map +1 -1
- package/dist/src/reporters/index.d.ts +2 -2
- package/dist/src/reporters/index.d.ts.map +1 -1
- package/dist/src/reporters/index.js +1 -1
- package/dist/src/reporters/index.js.map +1 -1
- package/dist/src/reporters/json-reporter.d.ts +3 -3
- package/dist/src/reporters/json-reporter.d.ts.map +1 -1
- package/dist/src/reporters/json-reporter.js +1 -1
- package/dist/src/reporters/json-reporter.js.map +1 -1
- package/dist/src/reporters/mutation-test-report-helper.d.ts +6 -6
- package/dist/src/reporters/mutation-test-report-helper.d.ts.map +1 -1
- package/dist/src/reporters/mutation-test-report-helper.js +9 -9
- package/dist/src/reporters/mutation-test-report-helper.js.map +1 -1
- package/dist/src/reporters/mutation-timings-reporter.d.ts +3 -3
- package/dist/src/reporters/mutation-timings-reporter.d.ts.map +1 -1
- package/dist/src/reporters/mutation-timings-reporter.js +1 -1
- package/dist/src/reporters/mutation-timings-reporter.js.map +1 -1
- package/dist/src/reporters/progress-append-only-reporter.d.ts +1 -1
- package/dist/src/reporters/progress-append-only-reporter.d.ts.map +1 -1
- package/dist/src/reporters/progress-keeper.d.ts +2 -2
- package/dist/src/reporters/progress-keeper.d.ts.map +1 -1
- package/dist/src/reporters/progress-keeper.js +1 -1
- package/dist/src/reporters/progress-keeper.js.map +1 -1
- package/dist/src/reporters/progress-reporter.d.ts +2 -2
- package/dist/src/reporters/progress-reporter.d.ts.map +1 -1
- package/dist/src/reporters/strict-reporter.d.ts +1 -1
- package/dist/src/reporters/strict-reporter.d.ts.map +1 -1
- package/dist/src/sandbox/create-preprocessor.d.ts +1 -1
- package/dist/src/sandbox/create-preprocessor.d.ts.map +1 -1
- package/dist/src/sandbox/create-preprocessor.js +2 -2
- package/dist/src/sandbox/create-preprocessor.js.map +1 -1
- package/dist/src/sandbox/disable-type-checks-preprocessor.d.ts +3 -3
- package/dist/src/sandbox/disable-type-checks-preprocessor.d.ts.map +1 -1
- package/dist/src/sandbox/disable-type-checks-preprocessor.js +1 -1
- package/dist/src/sandbox/disable-type-checks-preprocessor.js.map +1 -1
- package/dist/src/sandbox/sandbox.d.ts +4 -4
- package/dist/src/sandbox/sandbox.d.ts.map +1 -1
- package/dist/src/sandbox/sandbox.js +2 -2
- package/dist/src/sandbox/sandbox.js.map +1 -1
- package/dist/src/sandbox/ts-config-preprocessor.d.ts +2 -2
- package/dist/src/sandbox/ts-config-preprocessor.d.ts.map +1 -1
- package/dist/src/sandbox/ts-config-preprocessor.js +1 -1
- package/dist/src/sandbox/ts-config-preprocessor.js.map +1 -1
- package/dist/src/stryker-cli.d.ts +2 -2
- package/dist/src/stryker-cli.d.ts.map +1 -1
- package/dist/src/stryker-cli.js +1 -1
- package/dist/src/stryker-cli.js.map +1 -1
- package/dist/src/stryker-package.d.ts +1 -1
- package/dist/src/stryker-package.js +1 -1
- package/dist/src/stryker-package.js.map +1 -1
- package/dist/src/stryker-server.d.ts +1 -1
- package/dist/src/stryker-server.d.ts.map +1 -1
- package/dist/src/stryker-server.js +2 -2
- package/dist/src/stryker-server.js.map +1 -1
- package/dist/src/stryker.d.ts +1 -1
- package/dist/src/stryker.d.ts.map +1 -1
- package/dist/src/stryker.js +1 -1
- package/dist/src/stryker.js.map +1 -1
- package/dist/src/test-runner/child-process-test-runner-proxy.d.ts +3 -3
- package/dist/src/test-runner/child-process-test-runner-proxy.d.ts.map +1 -1
- package/dist/src/test-runner/child-process-test-runner-proxy.js +1 -1
- package/dist/src/test-runner/child-process-test-runner-proxy.js.map +1 -1
- package/dist/src/test-runner/child-process-test-runner-worker.d.ts +2 -2
- package/dist/src/test-runner/child-process-test-runner-worker.d.ts.map +1 -1
- package/dist/src/test-runner/child-process-test-runner-worker.js +3 -3
- package/dist/src/test-runner/child-process-test-runner-worker.js.map +1 -1
- package/dist/src/test-runner/command-test-runner.d.ts +2 -2
- package/dist/src/test-runner/command-test-runner.d.ts.map +1 -1
- package/dist/src/test-runner/command-test-runner.js +3 -3
- package/dist/src/test-runner/command-test-runner.js.map +1 -1
- package/dist/src/test-runner/index.d.ts +3 -3
- package/dist/src/test-runner/index.d.ts.map +1 -1
- package/dist/src/test-runner/index.js +1 -1
- package/dist/src/test-runner/index.js.map +1 -1
- package/dist/src/test-runner/max-test-runner-reuse-decorator.d.ts +2 -2
- package/dist/src/test-runner/max-test-runner-reuse-decorator.d.ts.map +1 -1
- package/dist/src/test-runner/reload-environment-decorator.d.ts +1 -1
- package/dist/src/test-runner/reload-environment-decorator.d.ts.map +1 -1
- package/dist/src/test-runner/retry-rejected-decorator.d.ts +2 -2
- package/dist/src/test-runner/retry-rejected-decorator.d.ts.map +1 -1
- package/dist/src/test-runner/retry-rejected-decorator.js +2 -2
- package/dist/src/test-runner/retry-rejected-decorator.js.map +1 -1
- package/dist/src/test-runner/test-runner-decorator.d.ts +1 -1
- package/dist/src/test-runner/test-runner-decorator.d.ts.map +1 -1
- package/dist/src/test-runner/timeout-decorator.d.ts +2 -2
- package/dist/src/test-runner/timeout-decorator.d.ts.map +1 -1
- package/dist/src/test-runner/timeout-decorator.js +2 -2
- package/dist/src/test-runner/timeout-decorator.js.map +1 -1
- package/dist/src/unexpected-exit-handler.d.ts +1 -1
- package/dist/src/unexpected-exit-handler.d.ts.map +1 -1
- package/dist/src/utils/file-utils.js +1 -1
- package/dist/src/utils/file-utils.js.map +1 -1
- package/dist/src/utils/object-utils.d.ts +2 -2
- package/dist/src/utils/object-utils.d.ts.map +1 -1
- package/dist/src/utils/object-utils.js +1 -1
- package/dist/src/utils/object-utils.js.map +1 -1
- package/dist/src/utils/string-utils.d.ts +2 -2
- package/dist/src/utils/string-utils.d.ts.map +1 -1
- package/dist/src/utils/string-utils.js +1 -1
- package/dist/src/utils/string-utils.js.map +1 -1
- package/dist/src/utils/temporary-directory.d.ts +2 -2
- package/dist/src/utils/temporary-directory.d.ts.map +1 -1
- package/dist/src/utils/temporary-directory.js +1 -1
- package/dist/src/utils/temporary-directory.js.map +1 -1
- package/package.json +7 -7
- package/schema/stryker-schema.json +12 -12
- package/src/checker/checker-child-process-proxy.ts +2 -2
- package/src/checker/checker-facade.ts +2 -2
- package/src/checker/checker-factory.ts +3 -3
- package/src/checker/checker-resource.ts +2 -2
- package/src/checker/checker-retry-decorator.ts +2 -2
- package/src/checker/checker-worker.ts +4 -4
- package/src/child-proxy/child-process-crashed-error.ts +1 -1
- package/src/child-proxy/child-process-proxy-worker.ts +3 -3
- package/src/child-proxy/child-process-proxy.ts +3 -3
- package/src/child-proxy/message-protocol.ts +1 -1
- package/src/concurrent/concurrency-token-provider.ts +3 -3
- package/src/concurrent/pool.ts +2 -2
- package/src/config/config-reader.ts +6 -6
- package/src/config/file-matcher.ts +1 -1
- package/src/config/meta-schema-builder.ts +2 -2
- package/src/config/options-validator.ts +4 -4
- package/src/di/plugin-creator.ts +1 -1
- package/src/di/plugin-loader.ts +7 -7
- package/src/errors.ts +1 -1
- package/src/fs/file-system.ts +1 -1
- package/src/fs/project-file.ts +3 -3
- package/src/fs/project-reader.ts +4 -4
- package/src/fs/project.ts +3 -3
- package/src/initializer/custom-initializers/angular-initializer.ts +5 -5
- package/src/initializer/custom-initializers/custom-initializer.ts +2 -2
- package/src/initializer/custom-initializers/index.ts +2 -2
- package/src/initializer/custom-initializers/react-initializer.ts +3 -3
- package/src/initializer/custom-initializers/svelte-initializer.ts +1 -1
- package/src/initializer/custom-initializers/vue-js-initializer.ts +3 -3
- package/src/initializer/gitignore-writer.ts +1 -1
- package/src/initializer/index.ts +1 -1
- package/src/initializer/npm-client.ts +6 -6
- package/src/initializer/npm-registry.ts +3 -3
- package/src/initializer/stryker-config-writer.ts +6 -6
- package/src/initializer/stryker-initializer.ts +4 -4
- package/src/logging/logger-impl.ts +2 -2
- package/src/logging/logging-backend.ts +1 -1
- package/src/logging/logging-client.ts +2 -2
- package/src/logging/logging-event.ts +1 -1
- package/src/logging/logging-server.ts +2 -2
- package/src/logging/logging-sink.ts +1 -1
- package/src/logging/priority.ts +1 -1
- package/src/logging/provide-logging.ts +3 -3
- package/src/mutants/incremental-differ.ts +5 -5
- package/src/mutants/mutant-test-planner.ts +5 -5
- package/src/mutants/test-coverage.ts +5 -5
- package/src/process/1-prepare-executor.ts +5 -5
- package/src/process/2-mutant-instrumenter-executor.ts +5 -5
- package/src/process/3-dry-run-executor.ts +6 -6
- package/src/process/4-mutation-test-executor.ts +6 -6
- package/src/reporters/broadcast-reporter.ts +4 -4
- package/src/reporters/clear-text-reporter.ts +4 -4
- package/src/reporters/clear-text-score-table.ts +1 -1
- package/src/reporters/dashboard-reporter/dashboard-reporter-client.ts +4 -4
- package/src/reporters/dashboard-reporter/dashboard-reporter.ts +4 -4
- package/src/reporters/dashboard-reporter/index.ts +1 -1
- package/src/reporters/dashboard-reporter/report.ts +1 -1
- package/src/reporters/dots-reporter.ts +2 -2
- package/src/reporters/event-recorder-reporter.ts +4 -4
- package/src/reporters/html-reporter.ts +4 -4
- package/src/reporters/index.ts +1 -1
- package/src/reporters/json-reporter.ts +4 -4
- package/src/reporters/mutation-test-report-helper.ts +12 -12
- package/src/reporters/mutation-timings-reporter.ts +4 -4
- package/src/reporters/progress-append-only-reporter.ts +1 -1
- package/src/reporters/progress-keeper.ts +3 -3
- package/src/reporters/progress-reporter.ts +2 -2
- package/src/reporters/strict-reporter.ts +1 -1
- package/src/sandbox/create-preprocessor.ts +2 -2
- package/src/sandbox/disable-type-checks-preprocessor.ts +4 -4
- package/src/sandbox/sandbox.ts +4 -4
- package/src/sandbox/ts-config-preprocessor.ts +3 -3
- package/src/stryker-cli.ts +1 -1
- package/src/stryker-package.ts +1 -1
- package/src/stryker-server.ts +5 -5
- package/src/stryker.ts +2 -2
- package/src/test-runner/child-process-test-runner-proxy.ts +4 -4
- package/src/test-runner/child-process-test-runner-worker.ts +4 -4
- package/src/test-runner/command-test-runner.ts +3 -3
- package/src/test-runner/index.ts +4 -4
- package/src/test-runner/max-test-runner-reuse-decorator.ts +2 -2
- package/src/test-runner/reload-environment-decorator.ts +1 -1
- package/src/test-runner/retry-rejected-decorator.ts +3 -3
- package/src/test-runner/test-runner-decorator.ts +1 -1
- package/src/test-runner/timeout-decorator.ts +3 -3
- package/src/unexpected-exit-handler.ts +1 -1
- package/src/utils/file-utils.ts +1 -1
- package/src/utils/object-utils.ts +2 -2
- package/src/utils/string-utils.ts +2 -2
- package/src/utils/temporary-directory.ts +3 -3
package/src/fs/project-reader.ts
CHANGED
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
FileDescription,
|
|
9
9
|
Location,
|
|
10
10
|
Position,
|
|
11
|
-
} from '@stryker-
|
|
12
|
-
import { Logger } from '@stryker-
|
|
13
|
-
import { commonTokens, tokens } from '@stryker-
|
|
11
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
12
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
13
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
14
14
|
import {
|
|
15
15
|
ERROR_CODES,
|
|
16
16
|
I,
|
|
17
17
|
isErrnoException,
|
|
18
18
|
notEmpty,
|
|
19
|
-
} from '@stryker-
|
|
19
|
+
} from '@d-es-ign/stryker-js-util';
|
|
20
20
|
import type { MutationTestResult } from 'mutation-testing-report-schema/api';
|
|
21
21
|
|
|
22
22
|
import { OpenEndLocation } from 'mutation-testing-report-schema';
|
package/src/fs/project.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Logger } from '@stryker-
|
|
2
|
-
import { FileDescriptions, StrykerOptions } from '@stryker-
|
|
3
|
-
import { I, normalizeWhitespaces, propertyPath } from '@stryker-
|
|
1
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
2
|
+
import { FileDescriptions, StrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
3
|
+
import { I, normalizeWhitespaces, propertyPath } from '@d-es-ign/stryker-js-util';
|
|
4
4
|
import { MutationTestResult } from 'mutation-testing-report-schema';
|
|
5
5
|
|
|
6
6
|
import { FileSystem } from './file-system.js';
|
|
@@ -2,10 +2,10 @@ import os from 'os';
|
|
|
2
2
|
import fs from 'fs/promises';
|
|
3
3
|
|
|
4
4
|
import type { execaCommand } from 'execa';
|
|
5
|
-
import { StrykerOptions } from '@stryker-
|
|
6
|
-
import { Immutable, type resolveFromCwd } from '@stryker-
|
|
7
|
-
import { commonTokens } from '@stryker-
|
|
8
|
-
import { Logger } from '@stryker-
|
|
5
|
+
import { StrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
6
|
+
import { Immutable, type resolveFromCwd } from '@d-es-ign/stryker-js-util';
|
|
7
|
+
import { commonTokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
8
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
9
9
|
|
|
10
10
|
import semver from 'semver';
|
|
11
11
|
|
|
@@ -35,7 +35,7 @@ export class AngularInitializer implements CustomInitializer {
|
|
|
35
35
|
|
|
36
36
|
public readonly name = 'angular-cli';
|
|
37
37
|
// Please keep config in sync with handbook
|
|
38
|
-
private readonly dependencies = ['@stryker-
|
|
38
|
+
private readonly dependencies = ['@d-es-ign/stryker-js-karma-runner'];
|
|
39
39
|
private readonly config: Immutable<Partial<StrykerOptions>> = {
|
|
40
40
|
mutate: [
|
|
41
41
|
'src/**/*.ts',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PartialStrykerOptions } from '@stryker-
|
|
2
|
-
import { Immutable } from '@stryker-
|
|
1
|
+
import { PartialStrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
2
|
+
import { Immutable } from '@d-es-ign/stryker-js-util';
|
|
3
3
|
|
|
4
4
|
export interface CustomInitializer {
|
|
5
5
|
readonly name: string;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
BaseContext,
|
|
3
3
|
commonTokens,
|
|
4
4
|
Injector,
|
|
5
|
-
} from '@stryker-
|
|
6
|
-
import type { resolveFromCwd } from '@stryker-
|
|
5
|
+
} from '@d-es-ign/stryker-js-api/plugin';
|
|
6
|
+
import type { resolveFromCwd } from '@d-es-ign/stryker-js-util';
|
|
7
7
|
|
|
8
8
|
import { coreTokens } from '../../di/index.js';
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StrykerOptions } from '@stryker-
|
|
2
|
-
import { Immutable } from '@stryker-
|
|
1
|
+
import { StrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
2
|
+
import { Immutable } from '@d-es-ign/stryker-js-util';
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
CustomInitializer,
|
|
@@ -14,7 +14,7 @@ const guideUrl = 'https://stryker-mutator.io/docs/stryker-js/guides/react';
|
|
|
14
14
|
*/
|
|
15
15
|
export class ReactInitializer implements CustomInitializer {
|
|
16
16
|
public readonly name = 'create-react-app';
|
|
17
|
-
private readonly dependencies = ['@stryker-
|
|
17
|
+
private readonly dependencies = ['@d-es-ign/stryker-js-jest-runner'];
|
|
18
18
|
|
|
19
19
|
private readonly config: Immutable<Partial<StrykerOptions>> = {
|
|
20
20
|
testRunner: 'jest',
|
|
@@ -33,7 +33,7 @@ export class SvelteInitializer implements CustomInitializer {
|
|
|
33
33
|
...(testRunnerNodeArgs.length ? { testRunnerNodeArgs } : {}),
|
|
34
34
|
reporters,
|
|
35
35
|
},
|
|
36
|
-
dependencies: [`@stryker-
|
|
36
|
+
dependencies: [`@d-es-ign/stryker-js-${testRunner}-runner`],
|
|
37
37
|
guideUrl,
|
|
38
38
|
};
|
|
39
39
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PartialStrykerOptions } from '@stryker-
|
|
2
|
-
import { Immutable } from '@stryker-
|
|
1
|
+
import { PartialStrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
2
|
+
import { Immutable } from '@d-es-ign/stryker-js-util';
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
CustomInitializer,
|
|
@@ -23,7 +23,7 @@ export class VueJsInitializer implements CustomInitializer {
|
|
|
23
23
|
public createConfig(): Promise<CustomInitializerConfiguration> {
|
|
24
24
|
return Promise.resolve({
|
|
25
25
|
config: this.vitestConf,
|
|
26
|
-
dependencies: ['@stryker-
|
|
26
|
+
dependencies: ['@d-es-ign/stryker-js-vitest-runner'],
|
|
27
27
|
guideUrl,
|
|
28
28
|
});
|
|
29
29
|
}
|
package/src/initializer/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injector } from 'typed-inject';
|
|
2
2
|
import { execaCommand, execaCommandSync } from 'execa';
|
|
3
|
-
import { resolveFromCwd } from '@stryker-
|
|
3
|
+
import { resolveFromCwd } from '@d-es-ign/stryker-js-util';
|
|
4
4
|
|
|
5
5
|
import { coreTokens } from '../di/index.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Logger } from '@stryker-
|
|
2
|
-
import { commonTokens, tokens } from '@stryker-
|
|
3
|
-
import { errorToString } from '@stryker-
|
|
1
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
2
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
3
|
+
import { errorToString } from '@d-es-ign/stryker-js-util';
|
|
4
4
|
import type {
|
|
5
5
|
IRestResponse,
|
|
6
6
|
RestClient,
|
|
@@ -18,7 +18,7 @@ export interface NpmSearchResult {
|
|
|
18
18
|
|
|
19
19
|
const getName = (packageName: string) => {
|
|
20
20
|
return packageName
|
|
21
|
-
.replace('@stryker-
|
|
21
|
+
.replace('@d-es-ign/stryker-js-', '')
|
|
22
22
|
.replace('stryker-', '')
|
|
23
23
|
.split('-')[0];
|
|
24
24
|
};
|
|
@@ -57,13 +57,13 @@ export class NpmClient {
|
|
|
57
57
|
|
|
58
58
|
public getTestRunnerOptions(): Promise<PromptOption[]> {
|
|
59
59
|
return this.search(
|
|
60
|
-
`/-/v1/search?text=keywords:${encodeURIComponent('@stryker-
|
|
60
|
+
`/-/v1/search?text=keywords:${encodeURIComponent('@d-es-ign/stryker-js-test-runner-plugin')}`,
|
|
61
61
|
).then(mapSearchResultToPromptOption);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
public getTestReporterOptions(): Promise<PromptOption[]> {
|
|
65
65
|
return this.search(
|
|
66
|
-
`/-/v1/search?text=keywords:${encodeURIComponent('@stryker-
|
|
66
|
+
`/-/v1/search?text=keywords:${encodeURIComponent('@d-es-ign/stryker-js-reporter-plugin')}`,
|
|
67
67
|
).then(mapSearchResultToPromptOption);
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -2,9 +2,9 @@ import { execaCommandSync } from 'execa';
|
|
|
2
2
|
import { RestClient } from 'typed-rest-client';
|
|
3
3
|
import * as initializerTokens from './initializer-tokens.js';
|
|
4
4
|
import { coreTokens } from '../di/index.js';
|
|
5
|
-
import { errorToString } from '@stryker-
|
|
6
|
-
import { Logger } from '@stryker-
|
|
7
|
-
import { commonTokens } from '@stryker-
|
|
5
|
+
import { errorToString } from '@d-es-ign/stryker-js-util';
|
|
6
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
7
|
+
import { commonTokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
8
8
|
|
|
9
9
|
const DEFAULT_NPM_REGISTRY = 'https://registry.npmjs.com';
|
|
10
10
|
|
|
@@ -3,10 +3,10 @@ import { promises as fs } from 'fs';
|
|
|
3
3
|
import {
|
|
4
4
|
PartialStrykerOptions,
|
|
5
5
|
StrykerOptions,
|
|
6
|
-
} from '@stryker-
|
|
7
|
-
import { Logger } from '@stryker-
|
|
8
|
-
import { commonTokens, tokens } from '@stryker-
|
|
9
|
-
import { Immutable, childProcessAsPromised } from '@stryker-
|
|
6
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
7
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
8
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
9
|
+
import { Immutable, childProcessAsPromised } from '@d-es-ign/stryker-js-util';
|
|
10
10
|
|
|
11
11
|
import { fileUtils } from '../utils/file-utils.js';
|
|
12
12
|
import { CommandTestRunner } from '../test-runner/command-test-runner.js';
|
|
@@ -119,7 +119,7 @@ export class StrykerConfigWriter {
|
|
|
119
119
|
const rawConfig = this.stringify(commentedConfig);
|
|
120
120
|
|
|
121
121
|
const formattedConfig = `// @ts-check
|
|
122
|
-
/** @type {import('@stryker-
|
|
122
|
+
/** @type {import('@d-es-ign/stryker-js-api/core').PartialStrykerOptions} */
|
|
123
123
|
const config = ${rawConfig};
|
|
124
124
|
export default config;`;
|
|
125
125
|
await fs.writeFile(configFileName, formattedConfig);
|
|
@@ -143,7 +143,7 @@ export class StrykerConfigWriter {
|
|
|
143
143
|
this.out(`Writing & formatting ${configFileName}...`);
|
|
144
144
|
const typedConfig = {
|
|
145
145
|
$schema:
|
|
146
|
-
'./node_modules/@stryker-
|
|
146
|
+
'./node_modules/@d-es-ign/stryker-js-core/schema/stryker-schema.json',
|
|
147
147
|
...commentedConfig,
|
|
148
148
|
};
|
|
149
149
|
const formattedConfig = this.stringify(typedConfig);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import childProcess from 'child_process';
|
|
2
2
|
import { promises as fsPromises } from 'fs';
|
|
3
3
|
|
|
4
|
-
import { commonTokens, tokens } from '@stryker-
|
|
5
|
-
import { Logger } from '@stryker-
|
|
6
|
-
import { notEmpty } from '@stryker-
|
|
4
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
5
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
6
|
+
import { notEmpty } from '@d-es-ign/stryker-js-util';
|
|
7
7
|
|
|
8
8
|
import { NpmClient } from './npm-client.js';
|
|
9
9
|
import { PackageInfo, PackageSummary } from './package-info.js';
|
|
@@ -273,6 +273,6 @@ export class StrykerInitializer {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
private ensureCoreDependencyIncluded(dependencies: string[]) {
|
|
276
|
-
return Array.from(new Set(['@stryker-
|
|
276
|
+
return Array.from(new Set(['@d-es-ign/stryker-js-core', ...dependencies]));
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Logger } from '@stryker-
|
|
2
|
-
import { LogLevel } from '@stryker-
|
|
1
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
2
|
+
import { LogLevel } from '@d-es-ign/stryker-js-api/core';
|
|
3
3
|
import { LoggingEvent } from './logging-event.js';
|
|
4
4
|
import { LoggingSink } from './logging-sink.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
|
-
import { LogLevel, PartialStrykerOptions } from '@stryker-
|
|
2
|
+
import { LogLevel, PartialStrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
3
3
|
import { LoggingEvent } from './logging-event.js';
|
|
4
4
|
import { Disposable } from 'typed-inject';
|
|
5
5
|
import { promisify } from 'util';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import net from 'net';
|
|
2
|
-
import { Disposable } from '@stryker-
|
|
2
|
+
import { Disposable } from '@d-es-ign/stryker-js-api/plugin';
|
|
3
3
|
import { LoggingServerAddress, LoggingSink } from '../logging/index.js';
|
|
4
|
-
import { LogLevel } from '@stryker-
|
|
4
|
+
import { LogLevel } from '@d-es-ign/stryker-js-api/core';
|
|
5
5
|
import { LoggingEvent } from './logging-event.js';
|
|
6
6
|
import { promisify } from 'util';
|
|
7
7
|
import { DELIMITER } from './logging-server.js';
|
|
@@ -2,9 +2,9 @@ import { coreTokens } from '../di/index.js';
|
|
|
2
2
|
import { LoggingEvent, SerializedLoggingEvent } from './logging-event.js';
|
|
3
3
|
import { LoggingSink } from './logging-sink.js';
|
|
4
4
|
import net from 'node:net';
|
|
5
|
-
import { Disposable } from '@stryker-
|
|
5
|
+
import { Disposable } from '@d-es-ign/stryker-js-api/plugin';
|
|
6
6
|
import { promisify } from 'node:util';
|
|
7
|
-
import { LogLevel } from '@stryker-
|
|
7
|
+
import { LogLevel } from '@d-es-ign/stryker-js-api/core';
|
|
8
8
|
|
|
9
9
|
export interface LoggingServerAddress {
|
|
10
10
|
port: number;
|
package/src/logging/priority.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { commonTokens, Scope } from '@stryker-
|
|
1
|
+
import { commonTokens, Scope } from '@d-es-ign/stryker-js-api/plugin';
|
|
2
2
|
import { Injector } from 'typed-inject';
|
|
3
3
|
import { LoggingSink } from './logging-sink.js';
|
|
4
4
|
import { LoggerImpl } from './logger-impl.js';
|
|
5
|
-
import { Logger, LoggerFactoryMethod } from '@stryker-
|
|
5
|
+
import { Logger, LoggerFactoryMethod } from '@d-es-ign/stryker-js-api/logging';
|
|
6
6
|
import { coreTokens } from '../di/index.js';
|
|
7
7
|
import { LoggingServer, LoggingServerAddress } from './logging-server.js';
|
|
8
8
|
import { LoggingBackend } from './logging-backend.js';
|
|
9
9
|
import { LoggingClient } from './logging-client.js';
|
|
10
|
-
import { LogLevel } from '@stryker-
|
|
10
|
+
import { LogLevel } from '@d-es-ign/stryker-js-api/core';
|
|
11
11
|
|
|
12
12
|
function getLoggerFactory(loggingSink: LoggingSink) {
|
|
13
13
|
return (categoryName?: string): Logger =>
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
StrykerOptions,
|
|
11
11
|
FileDescriptions,
|
|
12
12
|
MutateDescription,
|
|
13
|
-
} from '@stryker-
|
|
14
|
-
import { Logger } from '@stryker-
|
|
15
|
-
import { TestResult, TestStatus } from '@stryker-
|
|
13
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
14
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
15
|
+
import { TestResult, TestStatus } from '@d-es-ign/stryker-js-api/test-runner';
|
|
16
16
|
import {
|
|
17
17
|
I,
|
|
18
18
|
normalizeFileName,
|
|
19
19
|
normalizeLineEndings,
|
|
20
20
|
notEmpty,
|
|
21
|
-
} from '@stryker-
|
|
21
|
+
} from '@d-es-ign/stryker-js-util';
|
|
22
22
|
import { TestDefinition } from 'mutation-testing-report-schema';
|
|
23
|
-
import { commonTokens } from '@stryker-
|
|
23
|
+
import { commonTokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
24
24
|
|
|
25
25
|
import {
|
|
26
26
|
DiffChange,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
2
|
|
|
3
|
-
import { TestResult } from '@stryker-
|
|
3
|
+
import { TestResult } from '@d-es-ign/stryker-js-api/test-runner';
|
|
4
4
|
import {
|
|
5
5
|
MutantRunPlan,
|
|
6
6
|
MutantTestPlan,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
StrykerOptions,
|
|
10
10
|
MutantStatus,
|
|
11
11
|
MutantEarlyResultPlan,
|
|
12
|
-
} from '@stryker-
|
|
13
|
-
import { commonTokens, tokens } from '@stryker-
|
|
14
|
-
import { Logger } from '@stryker-
|
|
15
|
-
import { I, notEmpty, split } from '@stryker-
|
|
12
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
13
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
14
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
15
|
+
import { I, notEmpty, split } from '@d-es-ign/stryker-js-util';
|
|
16
16
|
|
|
17
17
|
import { coreTokens } from '../di/index.js';
|
|
18
18
|
import { StrictReporter } from '../reporters/strict-reporter.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CoverageData } from '@stryker-
|
|
2
|
-
import { Logger } from '@stryker-
|
|
3
|
-
import { commonTokens } from '@stryker-
|
|
1
|
+
import { CoverageData } from '@d-es-ign/stryker-js-api/core';
|
|
2
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
3
|
+
import { commonTokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
4
4
|
import {
|
|
5
5
|
CompleteDryRunResult,
|
|
6
6
|
TestResult,
|
|
7
|
-
} from '@stryker-
|
|
8
|
-
import { notEmpty } from '@stryker-
|
|
7
|
+
} from '@d-es-ign/stryker-js-api/test-runner';
|
|
8
|
+
import { notEmpty } from '@d-es-ign/stryker-js-util';
|
|
9
9
|
|
|
10
10
|
import { coreTokens } from '../di/index.js';
|
|
11
11
|
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
StrykerOptions,
|
|
3
3
|
PartialStrykerOptions,
|
|
4
4
|
strykerCoreSchema,
|
|
5
|
-
} from '@stryker-
|
|
5
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
6
6
|
import {
|
|
7
7
|
BaseContext,
|
|
8
8
|
commonTokens,
|
|
9
9
|
Injector,
|
|
10
10
|
tokens,
|
|
11
|
-
} from '@stryker-
|
|
12
|
-
import { frameworkPluginsFileUrl } from '@stryker-
|
|
13
|
-
import { deepFreeze } from '@stryker-
|
|
11
|
+
} from '@d-es-ign/stryker-js-api/plugin';
|
|
12
|
+
import { frameworkPluginsFileUrl } from '@d-es-ign/stryker-js-instrumenter';
|
|
13
|
+
import { deepFreeze } from '@d-es-ign/stryker-js-util';
|
|
14
14
|
import { execaCommand } from 'execa';
|
|
15
15
|
|
|
16
16
|
import { ConfigReader } from '../config/config-reader.js';
|
|
@@ -27,7 +27,7 @@ import { UnexpectedExitHandler } from '../unexpected-exit-handler.js';
|
|
|
27
27
|
import { FileSystem, ProjectReader } from '../fs/index.js';
|
|
28
28
|
|
|
29
29
|
import { MutantInstrumenterContext } from './index.js';
|
|
30
|
-
import { Reporter } from '@stryker-
|
|
30
|
+
import { Reporter } from '@d-es-ign/stryker-js-api/report';
|
|
31
31
|
import { LoggingBackend, LoggingServerAddress } from '../logging/index.js';
|
|
32
32
|
|
|
33
33
|
export interface PrepareExecutorContext extends BaseContext {
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
commonTokens,
|
|
6
6
|
PluginContext,
|
|
7
7
|
PluginKind,
|
|
8
|
-
} from '@stryker-
|
|
8
|
+
} from '@d-es-ign/stryker-js-api/plugin';
|
|
9
9
|
import {
|
|
10
10
|
createInstrumenter,
|
|
11
11
|
InstrumentResult,
|
|
12
|
-
} from '@stryker-
|
|
13
|
-
import { StrykerOptions } from '@stryker-
|
|
14
|
-
import { Reporter } from '@stryker-
|
|
15
|
-
import { I } from '@stryker-
|
|
12
|
+
} from '@d-es-ign/stryker-js-instrumenter';
|
|
13
|
+
import { StrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
14
|
+
import { Reporter } from '@d-es-ign/stryker-js-api/report';
|
|
15
|
+
import { I } from '@d-es-ign/stryker-js-util';
|
|
16
16
|
|
|
17
17
|
import { coreTokens, PluginCreator } from '../di/index.js';
|
|
18
18
|
import { Sandbox } from '../sandbox/sandbox.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EOL } from 'os';
|
|
2
2
|
|
|
3
|
-
import { I, requireResolve } from '@stryker-
|
|
4
|
-
import { Logger } from '@stryker-
|
|
5
|
-
import { commonTokens, tokens, Injector } from '@stryker-
|
|
6
|
-
import { StrykerOptions, Mutant } from '@stryker-
|
|
7
|
-
import { DryRunCompletedEvent, RunTiming } from '@stryker-
|
|
3
|
+
import { I, requireResolve } from '@d-es-ign/stryker-js-util';
|
|
4
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
5
|
+
import { commonTokens, tokens, Injector } from '@d-es-ign/stryker-js-api/plugin';
|
|
6
|
+
import { StrykerOptions, Mutant } from '@d-es-ign/stryker-js-api/core';
|
|
7
|
+
import { DryRunCompletedEvent, RunTiming } from '@d-es-ign/stryker-js-api/report';
|
|
8
8
|
import {
|
|
9
9
|
DryRunResult,
|
|
10
10
|
TestRunner,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
TestResult,
|
|
15
15
|
FailedTestResult,
|
|
16
16
|
ErrorDryRunResult,
|
|
17
|
-
} from '@stryker-
|
|
17
|
+
} from '@d-es-ign/stryker-js-api/test-runner';
|
|
18
18
|
import { lastValueFrom, of } from 'rxjs';
|
|
19
19
|
|
|
20
20
|
import { coreTokens } from '../di/index.js';
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
mergeMap,
|
|
11
11
|
} from 'rxjs';
|
|
12
12
|
import { toArray, map, shareReplay, tap } from 'rxjs/operators';
|
|
13
|
-
import { tokens, commonTokens } from '@stryker-
|
|
13
|
+
import { tokens, commonTokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
14
14
|
import {
|
|
15
15
|
MutantResult,
|
|
16
16
|
Mutant,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
PlanKind,
|
|
19
19
|
MutantTestPlan,
|
|
20
20
|
MutantRunPlan,
|
|
21
|
-
} from '@stryker-
|
|
21
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
22
22
|
import {
|
|
23
23
|
TestRunner,
|
|
24
24
|
CompleteDryRunResult,
|
|
25
|
-
} from '@stryker-
|
|
26
|
-
import { Logger } from '@stryker-
|
|
27
|
-
import { I } from '@stryker-
|
|
28
|
-
import { CheckStatus } from '@stryker-
|
|
25
|
+
} from '@d-es-ign/stryker-js-api/test-runner';
|
|
26
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
27
|
+
import { I } from '@d-es-ign/stryker-js-util';
|
|
28
|
+
import { CheckStatus } from '@d-es-ign/stryker-js-api/check';
|
|
29
29
|
|
|
30
30
|
import { coreTokens } from '../di/index.js';
|
|
31
31
|
import { StrictReporter } from '../reporters/strict-reporter.js';
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
MutantResult,
|
|
3
3
|
schema,
|
|
4
4
|
StrykerOptions,
|
|
5
|
-
} from '@stryker-
|
|
6
|
-
import { Logger } from '@stryker-
|
|
7
|
-
import { commonTokens, PluginKind } from '@stryker-
|
|
5
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
6
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
7
|
+
import { commonTokens, PluginKind } from '@d-es-ign/stryker-js-api/plugin';
|
|
8
8
|
import {
|
|
9
9
|
DryRunCompletedEvent,
|
|
10
10
|
MutationTestingPlanReadyEvent,
|
|
11
11
|
Reporter,
|
|
12
|
-
} from '@stryker-
|
|
12
|
+
} from '@d-es-ign/stryker-js-api/report';
|
|
13
13
|
import { MutationTestMetricsResult } from 'mutation-testing-metrics';
|
|
14
14
|
import { tokens } from 'typed-inject';
|
|
15
15
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import os from 'os';
|
|
2
2
|
|
|
3
3
|
import chalk, { Color } from 'chalk';
|
|
4
|
-
import { schema, Position, StrykerOptions } from '@stryker-
|
|
5
|
-
import { Logger } from '@stryker-
|
|
6
|
-
import { commonTokens } from '@stryker-
|
|
7
|
-
import { Reporter } from '@stryker-
|
|
4
|
+
import { schema, Position, StrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
5
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
6
|
+
import { commonTokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
7
|
+
import { Reporter } from '@d-es-ign/stryker-js-api/report';
|
|
8
8
|
import {
|
|
9
9
|
MetricsResult,
|
|
10
10
|
MutantModel,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Logger } from '@stryker-
|
|
2
|
-
import { commonTokens, tokens } from '@stryker-
|
|
3
|
-
import { StrykerError } from '@stryker-
|
|
1
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
2
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
3
|
+
import { StrykerError } from '@d-es-ign/stryker-js-util';
|
|
4
4
|
import { HttpClient } from 'typed-rest-client/HttpClient.js';
|
|
5
|
-
import { StrykerOptions } from '@stryker-
|
|
5
|
+
import { StrykerOptions } from '@d-es-ign/stryker-js-api/core';
|
|
6
6
|
|
|
7
7
|
import { objectUtils } from '../../utils/object-utils.js';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StrykerOptions, ReportType, schema } from '@stryker-
|
|
2
|
-
import { Logger } from '@stryker-
|
|
3
|
-
import { commonTokens, tokens } from '@stryker-
|
|
4
|
-
import { Reporter } from '@stryker-
|
|
1
|
+
import { StrykerOptions, ReportType, schema } from '@d-es-ign/stryker-js-api/core';
|
|
2
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
3
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
4
|
+
import { Reporter } from '@d-es-ign/stryker-js-api/report';
|
|
5
5
|
import { MutationTestMetricsResult } from 'mutation-testing-metrics';
|
|
6
6
|
|
|
7
7
|
import { CIProvider } from '../ci/provider.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'os';
|
|
2
2
|
|
|
3
3
|
import chalk from 'chalk';
|
|
4
|
-
import { Reporter } from '@stryker-
|
|
5
|
-
import type { MutantResult } from '@stryker-
|
|
4
|
+
import { Reporter } from '@d-es-ign/stryker-js-api/report';
|
|
5
|
+
import type { MutantResult } from '@d-es-ign/stryker-js-api/core';
|
|
6
6
|
|
|
7
7
|
export class DotsReporter implements Reporter {
|
|
8
8
|
public onMutantTested(result: MutantResult): void {
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
MutantResult,
|
|
6
6
|
schema,
|
|
7
7
|
StrykerOptions,
|
|
8
|
-
} from '@stryker-
|
|
9
|
-
import { Logger } from '@stryker-
|
|
10
|
-
import { commonTokens, tokens } from '@stryker-
|
|
8
|
+
} from '@d-es-ign/stryker-js-api/core';
|
|
9
|
+
import { Logger } from '@d-es-ign/stryker-js-api/logging';
|
|
10
|
+
import { commonTokens, tokens } from '@d-es-ign/stryker-js-api/plugin';
|
|
11
11
|
import {
|
|
12
12
|
DryRunCompletedEvent,
|
|
13
13
|
MutationTestingPlanReadyEvent,
|
|
14
14
|
Reporter,
|
|
15
|
-
} from '@stryker-
|
|
15
|
+
} from '@d-es-ign/stryker-js-api/report';
|
|
16
16
|
|
|
17
17
|
import { fileUtils } from '../utils/file-utils.js';
|
|
18
18
|
|