Skip to content

Commit 3ebedc8

Browse files
authored
chore: Update dependencies (#94)
* chore: Update dependencies * chore: Update dependencies
1 parent 908a0ce commit 3ebedc8

File tree

5 files changed

+1071
-1381
lines changed

5 files changed

+1071
-1381
lines changed

__tests__/property-tests.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe('@typeofweb/schema', () => {
140140
it('should not allow other values', () =>
141141
Fc.assert(
142142
Fc.property(
143-
Fc.anything().filter(complement(anyPass([is(Date), isISODateString]))),
143+
Fc.anything().filter((x) => anyPass([is(Date), isISODateString])(x as string)),
144144
throws(validate(date()), ValidationError),
145145
),
146146
));

__tests__/types.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('@typeofweb/schema', () => {
2222
` - ${test.severity} - ${test.message}`
2323
);
2424
});
25-
fail('\n' + errorMessage.join('\n') + '\n');
25+
throw new Error('\n' + errorMessage.join('\n') + '\n');
2626
}
2727
});
2828
});

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,35 +42,35 @@
4242
"validations"
4343
],
4444
"devDependencies": {
45-
"@rollup/plugin-commonjs": "19.0.0",
46-
"@rollup/plugin-node-resolve": "13.0.0",
47-
"@rollup/plugin-typescript": "8.2.1",
48-
"@tsconfig/node12": "1.0.7",
49-
"@tsconfig/node14": "1.0.0",
50-
"@typeofweb/eslint-plugin": "0.1.10",
51-
"@types/jest": "26.0.23",
45+
"@rollup/plugin-commonjs": "21.0.1",
46+
"@rollup/plugin-node-resolve": "13.1.1",
47+
"@rollup/plugin-typescript": "8.3.0",
48+
"@tsconfig/node12": "1.0.9",
49+
"@tsconfig/node14": "1.0.1",
50+
"@typeofweb/eslint-plugin": "0.2.2",
51+
"@types/jest": "27.0.3",
5252
"@types/node": "12",
53-
"@types/qs": "6.9.6",
54-
"@types/ramda": "0.27.40",
53+
"@types/qs": "6.9.7",
54+
"@types/ramda": "0.27.60",
5555
"all-contributors-cli": "6.20.0",
56-
"eslint": "7.28.0",
57-
"fast-check": "2.16.0",
58-
"husky": "6.0.0",
59-
"jest": "27.0.4",
60-
"lint-staged": "11.0.0",
61-
"prettier": "2.3.1",
62-
"qs": "6.10.1",
56+
"eslint": "8.5.0",
57+
"fast-check": "2.20.0",
58+
"husky": "7.0.4",
59+
"jest": "27.4.5",
60+
"lint-staged": "12.1.3",
61+
"prettier": "2.5.1",
62+
"qs": "6.10.2",
6363
"ramda": "0.27.1",
6464
"rimraf": "3.0.2",
65-
"rollup": "2.51.1",
65+
"rollup": "2.61.1",
6666
"rollup-plugin-filesize": "9.1.1",
67-
"rollup-plugin-license": "2.5.0",
68-
"rollup-plugin-prettier": "2.1.0",
67+
"rollup-plugin-license": "2.6.0",
68+
"rollup-plugin-prettier": "2.2.0",
6969
"rollup-plugin-terser": "7.0.2",
70-
"ts-jest": "27.0.3",
70+
"ts-jest": "27.1.2",
7171
"tsd": "https://github.com/typeofweb/tsd#pkg",
72-
"tslib": "2.2.0",
73-
"typescript": "4.3.2",
72+
"tslib": "2.3.1",
73+
"typescript": "4.5.4",
7474
"weak-napi": "2.0.2"
7575
},
7676
"scripts": {

rollup.config.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,16 @@ const rollupConfig = [
7676
declaration: true,
7777
declarationDir: 'dist/',
7878
rootDir: 'src/',
79-
include: ['src/**/*.ts'],
8079
}),
8180
filesize({}),
8281
license({
8382
banner: `
84-
<%= pkg.name %>@<%= pkg.version %>
85-
Copyright (c) <%= moment().format('YYYY') %> Type of Web - Michał Miszczyszyn
83+
<%= pkg.name %>@<%= pkg.version %>
84+
Copyright (c) <%= moment().format('YYYY') %> Type of Web - Michał Miszczyszyn
8685
87-
This source code is licensed under the MIT license found in the
88-
LICENSE file in the root directory of this source tree.
89-
`.trim(),
86+
This source code is licensed under the MIT license found in the
87+
LICENSE file in the root directory of this source tree.
88+
`.trim(),
9089
}),
9190
],
9291
},

0 commit comments

Comments
 (0)