Skip to content

Commit

Permalink
Update deps. Closes hapijs#9. Closes hapijs#10. Closes hapijs#11
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Jan 22, 2020
1 parent 1d83763 commit 4741505
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 21 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: node_js

node_js:
- "8"
- "10"
- "12"
- "node"

Expand All @@ -14,6 +12,7 @@ install:

env:
- HAPI_VERSION="18"
- HAPI_VERSION="19"

os:
- "linux"
Expand Down
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
COMMERCIAL LICENSE

Copyright (c) 2019 Sideway Inc.
Copyright (c) 2019-2020 Sideway Inc.

This package requires a commercial license. You may not use, copy, or distribute it without first acquiring a commercial license from Sideway Inc. Using this software without a license is a violation of US and international law. To obtain a license, please contact [[email protected]](mailto:[email protected]).
2 changes: 1 addition & 1 deletion lib/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = internals.Provider = class {
this._statics.push({ key: key.key, algorithms: key.algorithms || internals.Provider.keyAlgorithms(key.key), kid: key.kid });
}
else {
this._remotes.set(key.uri, { algorithms: key.algorithms, wreck: { json: true, headers: key.headers, rejectUnauthorized: key.rejectUnauthorized } });
this._remotes.set(key.uri, { algorithms: key.algorithms, wreck: { json: 'force', headers: key.headers, rejectUnauthorized: key.rejectUnauthorized } });
}
}

Expand Down
3 changes: 1 addition & 2 deletions lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ const internals = {};


exports.plugin = {
name: 'jwt',
pkg: require('../package.json'),
requirements: {
hapi: '>=17.9.0'
hapi: '>=18.0.0'
},

register: function (server, options) {
Expand Down
27 changes: 15 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,31 @@
"version": "1.1.2",
"repository": "git://github.com/hapijs/jwt",
"main": "lib/index.js",
"files": [
"lib"
],
"keywords": [
"jwt",
"authentication",
"plugin",
"hapi"
],
"dependencies": {
"@hapi/b64": "4.x.x",
"@hapi/boom": "7.x.x",
"@hapi/bounce": "1.x.x",
"@hapi/bourne": "1.x.x",
"@hapi/catbox-object": "1.x.x",
"@hapi/cryptiles": "4.x.x",
"@hapi/hoek": "8.x.x",
"@hapi/joi": "16.x.x",
"@hapi/wreck": "15.x.x",
"@hapi/b64": "5.x.x",
"@hapi/boom": "9.x.x",
"@hapi/bounce": "2.x.x",
"@hapi/bourne": "2.x.x",
"@hapi/catbox-object": "2.x.x",
"@hapi/cryptiles": "5.x.x",
"@hapi/hoek": "9.x.x",
"@hapi/joi": "17.x.x",
"@hapi/wreck": "17.x.x",
"ecdsa-sig-formatter": "1.x.x"
},
"devDependencies": {
"@hapi/code": "6.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/lab": "20.x.x",
"@hapi/code": "8.x.x",
"@hapi/hapi": "19.x.x",
"@hapi/lab": "22.x.x",
"node-forge": "0.8.x",
"node-rsa": "1.x.x"
},
Expand Down

0 comments on commit 4741505

Please sign in to comment.