Skip to content

Commit

Permalink
Merge pull request #11 from hojberg/security-upgrade-depend
Browse files Browse the repository at this point in the history
Upgrade dev dependencies for security issues
  • Loading branch information
hojberg authored Jan 2, 2020
2 parents a9ae44f + 8dc0a1d commit 19f295e
Show file tree
Hide file tree
Showing 4 changed files with 812 additions and 911 deletions.
8 changes: 4 additions & 4 deletions __tests__/sumtype.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ describe('SumType', () => {
});

describe('caseOf', () => {
let nothingSpy: SinonSpy;
let justSpy: SinonSpy;
let nothingSpy: SinonSpy<[], string>;
let justSpy: SinonSpy<[unknown], string>;
beforeEach(() => {
nothingSpy = sinon.spy(() => 'nothing');
justSpy = sinon.spy(() => 'just');
justSpy = sinon.spy((_) => 'just');
});

describe('Just', () => {
Expand Down Expand Up @@ -68,7 +68,7 @@ describe('SumType', () => {
});

describe('_', () => {
let wildcardSpy: SinonSpy;
let wildcardSpy: SinonSpy<[], string>;
beforeEach(() => {
wildcardSpy = sinon.spy(() => 'wildcard');
});
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"prepublish": "npm test && npm run build"
},
"devDependencies": {
"@types/jest": "^23.3.13",
"@types/sinon": "^7.0.0",
"jest": "^24.0.0",
"sinon": "^6.1.5",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1",
"typescript": "^3.0.3"
"@types/jest": "^24.0.25",
"@types/sinon": "^7.5.1",
"jest": "^24.9.0",
"sinon": "^8.0.2",
"ts-jest": "^24.2.0",
"ts-node": "^8.5.4",
"typescript": "^3.7.4"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "es2015",
"module": "commonjs",
"declaration": true,
"outDir": "dist",
Expand Down
Loading

0 comments on commit 19f295e

Please sign in to comment.