Skip to content

Commit

Permalink
Merge 8afd895 into 421a770
Browse files Browse the repository at this point in the history
  • Loading branch information
venables committed Jun 5, 2019
2 parents 421a770 + 8afd895 commit f590184
Show file tree
Hide file tree
Showing 6 changed files with 1,160 additions and 1,215 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,7 +1,6 @@
language: node_js
node_js:
- "11"
- "12"
- "10"
- "8"
- "6"
after_success: yarn run coverage
2 changes: 1 addition & 1 deletion lib/koa-helmet.js
@@ -1,7 +1,7 @@
'use strict';

const helmet = require('helmet');
const promisify = require('./promisify');
const { promisify } = require('util');

const koaHelmet = function () {
const helmetPromise = promisify(helmet.apply(null, arguments));
Expand Down
24 changes: 0 additions & 24 deletions lib/promisify.js

This file was deleted.

14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -23,19 +23,19 @@
"url": "git://github.com/venables/koa-helmet.git"
},
"engines": {
"node": ">= 6.0.0"
"node": ">= 8.0.0"
},
"dependencies": {
"helmet": "^3.15.1"
"helmet": "^3.18.0"
},
"devDependencies": {
"ava": "^1.3.1",
"ava": "^2.0.0",
"coveralls": "^3.0.3",
"eslint": "^5.15.1",
"eslint-plugin-node": "^8.0.1",
"eslint": "^5.16.0",
"eslint-plugin-node": "^9.1.0",
"koa": "^2.7.0",
"nyc": "^13.3.0",
"supertest": "^4.0.0"
"nyc": "^14.1.1",
"supertest": "^4.0.2"
},
"nyc": {
"reporter": [
Expand Down
38 changes: 0 additions & 38 deletions test/promisify.spec.js

This file was deleted.

0 comments on commit f590184

Please sign in to comment.