Skip to content

Commit

Permalink
Update deps (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Feb 28, 2019
1 parent 0ff444b commit c24b14a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -84,12 +84,15 @@
"node": ">=6"
},
"devDependencies": {
"@types/node": "^11.9.3",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "^1.4.2",
"JSONStream": "^1.3.5",
"autocannon": "^3.2.0",
"branch-comparer": "^0.4.0",
"concurrently": "^4.1.0",
"cors": "^2.8.5",
"coveralls": "^3.0.2",
"coveralls": "^3.0.3",
"dns-prefetch-control": "^0.1.0",
"eslint-import-resolver-node": "^0.3.2",
"fast-json-body": "^1.1.0",
Expand Down Expand Up @@ -118,18 +121,15 @@
"tap": "^12.5.2",
"tap-mocha-reporter": "^3.0.7",
"then-sleep": "^1.0.1",
"typescript": "^3.3.3",
"@types/node": "^11.9.3",
"@typescript-eslint/parser": "^1.3.0",
"@typescript-eslint/eslint-plugin": "^1.3.0",
"typescript": "^3.3.3333",
"x-xss-protection": "^1.1.0"
},
"dependencies": {
"abstract-logging": "^1.0.0",
"ajv": "^6.9.1",
"avvio": "^6.0.1",
"ajv": "^6.9.2",
"avvio": "^6.1.0",
"bourne": "^1.1.2",
"fast-json-stringify": "^1.11.0",
"fast-json-stringify": "^1.11.1",
"find-my-way": "^2.0.0",
"flatstr": "^1.0.9",
"light-my-request": "^3.2.0",
Expand Down
4 changes: 1 addition & 3 deletions test/handler-context.test.js
Expand Up @@ -15,9 +15,7 @@ test('handlers receive correct `this` context', (t) => {
plugin[Symbol.for('skip-override')] = true

const instance = fastify()
instance.register(plugin, (err) => {
if (err) t.threw(err)
})
instance.register(plugin)

instance.get('/', function (req, reply) {
t.ok(this.foo)
Expand Down

0 comments on commit c24b14a

Please sign in to comment.