Skip to content

Commit

Permalink
Fixing vulnerabilities issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rpinheiroalmeida committed Jan 24, 2022
1 parent f2b3206 commit d9909db
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-event-stream",
"version": "1.2.6",
"version": "1.2.7",
"description": "A simple and fast EventStore for AWS.",
"author": "Rodrigo Pinheiro de Almeida <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -28,7 +28,7 @@
"test:unit": "jest --config ./test/jest.config.js --coverage --silent test/unit",
"test:watch": "jest --config ./test/jest.config.js --watch --silent test/unit",
"test:coverage": "nyc npm test",
"test:mutation": "stryker run ./test/stryker.conf.js",
"test:mutation": "stryker run ./test/stryker.conf.json",
"stryker:init": "stryker init",
"tsc": "tsc"
},
Expand Down Expand Up @@ -101,4 +101,4 @@
"publishConfig": {
"access": "public"
}
}
}
32 changes: 14 additions & 18 deletions test/stryker.conf.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
module.exports = function (config) {
config.set({
mutator: 'typescript',
packageManager: 'npm',
reporters: ['html', 'clear-text', 'progress'],
testRunner: 'jest',
jest: {
projectType: 'custom',
config: require('./jest.config-unit.js'),
enableFindRelatedTests: true,
},
transpilers: [],
coverageAnalysis: 'off',
tsconfigFile: 'tsconfig-stryker.json',
mutate: ['src/**/*.ts'],
thresholds: { break: 65 },
timeoutMS: 35000
});
module.exports = {
packageManager: 'npm',
reporters: ['html', 'clear-text', 'progress'],
testRunner: 'jest',
jest: {
projectType: 'custom',
config: require('./jest.config-unit.js'),
enableFindRelatedTests: true,
},
coverageAnalysis: 'off',
tsconfigFile: 'tsconfig-stryker.json',
mutate: ['src/**/*.ts'],
thresholds: { break: 65 },
timeoutMS: 35000
};

0 comments on commit d9909db

Please sign in to comment.