Skip to content

Commit

Permalink
chore(deps)!: update all the things (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
callmehiphop committed Jun 1, 2021
1 parent 2ecd42e commit dbb8d82
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js:
- '16'
- '14'
- '12'
- '10'
- '8'
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@
"url": "https://github.com/callmehiphop/pb-util/issues"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^1.5.0",
"@typescript-eslint/parser": "^1.10.2",
"ava": "^2.1.0",
"eslint": "^5.15.3",
"ts-node": "^8.0.3",
"typescript": "^3.5.0"
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"ava": "^3.15.0",
"eslint": "^7.27.0",
"ts-node": "^10.0.0",
"typescript": "~4.3.2"
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
Expand Down
4 changes: 2 additions & 2 deletions test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava';
import {list, struct, value} from './index';
import {list, struct, value, JsonValue} from './index';

const arr = [null, 10];

Expand Down Expand Up @@ -105,7 +105,7 @@ test('value.encode - null', t => {

test('value.encode - unknown', t => {
t.throws(() => {
value.encode(new Date() as {});
value.encode(new Date() as unknown as JsonValue);
});
});

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"outDir": "build",
"target": "es2016",
"lib": ["es2017"],
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
Expand Down

0 comments on commit dbb8d82

Please sign in to comment.