Skip to content

Commit

Permalink
chore: Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Feb 14, 2022
1 parent 44d3c17 commit 643dc15
Show file tree
Hide file tree
Showing 4 changed files with 1,072 additions and 874 deletions.
4 changes: 2 additions & 2 deletions __tests__/errors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const expectToMatchError = (fn: () => any, details?: ErrorData) => {
}
throw err;
}
fail();
throw new Error(`Function did not throw: ${fn.toString()}`);
};

describe('errors', () => {
Expand Down Expand Up @@ -308,7 +308,7 @@ describe('errors', () => {
const futureDate = new Date();
futureDate.setMonth(futureDate.getMonth() + 10);
const pastDate = new Date();
pastDate.setMonth(futureDate.getMonth() - 10);
pastDate.setMonth(pastDate.getMonth() - 10);

expectToMatchError(() => λ(presentOrFuture, date, validate)(''), {
expected: 'date',
Expand Down
2 changes: 1 addition & 1 deletion __tests__/refinements.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('refinements', () => {
const futureDate = new Date();
futureDate.setMonth(futureDate.getMonth() + 10);
const pastDate = new Date();
pastDate.setMonth(futureDate.getMonth() - 10);
pastDate.setMonth(pastDate.getMonth() - 10);

expect(λ(presentOrFuture, date, validate)(futureDate)).toEqual(futureDate);
expect(() => λ(presentOrFuture, date, validate)('')).toThrow(ValidationError);
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,34 @@
],
"devDependencies": {
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-node-resolve": "13.1.1",
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-typescript": "8.3.0",
"@tsconfig/node12": "1.0.9",
"@tsconfig/node14": "1.0.1",
"@typeofweb/eslint-plugin": "0.2.2",
"@types/jest": "27.0.3",
"@typeofweb/eslint-plugin": "0.2.3-0",
"@types/jest": "27.4.0",
"@types/node": "12",
"@types/qs": "6.9.7",
"@types/ramda": "0.27.60",
"@types/ramda": "0.27.64",
"all-contributors-cli": "6.20.0",
"eslint": "8.5.0",
"fast-check": "2.20.0",
"eslint": "8.9.0",
"fast-check": "2.22.0",
"husky": "7.0.4",
"jest": "27.4.5",
"lint-staged": "12.1.3",
"jest": "27.5.1",
"lint-staged": "12.3.4",
"prettier": "2.5.1",
"qs": "6.10.2",
"ramda": "0.27.1",
"qs": "6.10.3",
"ramda": "0.28.0",
"rimraf": "3.0.2",
"rollup": "2.61.1",
"rollup-plugin-filesize": "9.1.1",
"rollup-plugin-license": "2.6.0",
"rollup-plugin-prettier": "2.2.0",
"rollup": "2.67.2",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-license": "2.6.1",
"rollup-plugin-prettier": "2.2.2",
"rollup-plugin-terser": "7.0.2",
"ts-jest": "27.1.2",
"ts-jest": "27.1.3",
"tsd": "https://github.com/typeofweb/tsd#pkg",
"tslib": "2.3.1",
"typescript": "4.5.4",
"typescript": "4.5.5",
"weak-napi": "2.0.2"
},
"scripts": {
Expand Down
Loading

1 comment on commit 643dc15

@vercel
Copy link

@vercel vercel bot commented on 643dc15 Feb 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.