Skip to content

Commit 643dc15

Browse files
committed
chore: Update deps
1 parent 44d3c17 commit 643dc15

File tree

4 files changed

+1072
-874
lines changed

4 files changed

+1072
-874
lines changed

__tests__/errors.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const expectToMatchError = (fn: () => any, details?: ErrorData) => {
2727
}
2828
throw err;
2929
}
30-
fail();
30+
throw new Error(`Function did not throw: ${fn.toString()}`);
3131
};
3232

3333
describe('errors', () => {
@@ -308,7 +308,7 @@ describe('errors', () => {
308308
const futureDate = new Date();
309309
futureDate.setMonth(futureDate.getMonth() + 10);
310310
const pastDate = new Date();
311-
pastDate.setMonth(futureDate.getMonth() - 10);
311+
pastDate.setMonth(pastDate.getMonth() - 10);
312312

313313
expectToMatchError(() => λ(presentOrFuture, date, validate)(''), {
314314
expected: 'date',

__tests__/refinements.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('refinements', () => {
6969
const futureDate = new Date();
7070
futureDate.setMonth(futureDate.getMonth() + 10);
7171
const pastDate = new Date();
72-
pastDate.setMonth(futureDate.getMonth() - 10);
72+
pastDate.setMonth(pastDate.getMonth() - 10);
7373

7474
expect(λ(presentOrFuture, date, validate)(futureDate)).toEqual(futureDate);
7575
expect(() => λ(presentOrFuture, date, validate)('')).toThrow(ValidationError);

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,34 +43,34 @@
4343
],
4444
"devDependencies": {
4545
"@rollup/plugin-commonjs": "21.0.1",
46-
"@rollup/plugin-node-resolve": "13.1.1",
46+
"@rollup/plugin-node-resolve": "13.1.3",
4747
"@rollup/plugin-typescript": "8.3.0",
4848
"@tsconfig/node12": "1.0.9",
4949
"@tsconfig/node14": "1.0.1",
50-
"@typeofweb/eslint-plugin": "0.2.2",
51-
"@types/jest": "27.0.3",
50+
"@typeofweb/eslint-plugin": "0.2.3-0",
51+
"@types/jest": "27.4.0",
5252
"@types/node": "12",
5353
"@types/qs": "6.9.7",
54-
"@types/ramda": "0.27.60",
54+
"@types/ramda": "0.27.64",
5555
"all-contributors-cli": "6.20.0",
56-
"eslint": "8.5.0",
57-
"fast-check": "2.20.0",
56+
"eslint": "8.9.0",
57+
"fast-check": "2.22.0",
5858
"husky": "7.0.4",
59-
"jest": "27.4.5",
60-
"lint-staged": "12.1.3",
59+
"jest": "27.5.1",
60+
"lint-staged": "12.3.4",
6161
"prettier": "2.5.1",
62-
"qs": "6.10.2",
63-
"ramda": "0.27.1",
62+
"qs": "6.10.3",
63+
"ramda": "0.28.0",
6464
"rimraf": "3.0.2",
65-
"rollup": "2.61.1",
66-
"rollup-plugin-filesize": "9.1.1",
67-
"rollup-plugin-license": "2.6.0",
68-
"rollup-plugin-prettier": "2.2.0",
65+
"rollup": "2.67.2",
66+
"rollup-plugin-filesize": "9.1.2",
67+
"rollup-plugin-license": "2.6.1",
68+
"rollup-plugin-prettier": "2.2.2",
6969
"rollup-plugin-terser": "7.0.2",
70-
"ts-jest": "27.1.2",
70+
"ts-jest": "27.1.3",
7171
"tsd": "https://github.com/typeofweb/tsd#pkg",
7272
"tslib": "2.3.1",
73-
"typescript": "4.5.4",
73+
"typescript": "4.5.5",
7474
"weak-napi": "2.0.2"
7575
},
7676
"scripts": {

0 commit comments

Comments
 (0)