koa-jwt
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "koa-jwt", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Koa JWT authentication middleware.", | ||
@@ -32,12 +32,7 @@ "keywords": [ | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://www.opensource.org/licenses/MIT" | ||
} | ||
], | ||
"license": "MIT", | ||
"main": "./lib", | ||
"dependencies": { | ||
"bluebird": "^3.3.5", | ||
"jsonwebtoken": "^5.7.0", | ||
"bluebird": "^3.4.6", | ||
"jsonwebtoken": "^7.1.9", | ||
"koa-unless": "^1.0.0" | ||
@@ -47,4 +42,5 @@ }, | ||
"koa": "^2.0.0", | ||
"mocha": "~2.2.1", | ||
"supertest": "~0.15.0" | ||
"mocha": "~3.1.0", | ||
"supertest": "~2.0.0", | ||
"istanbul": "~0.4.5" | ||
}, | ||
@@ -55,4 +51,5 @@ "engines": { | ||
"scripts": { | ||
"test": "make test" | ||
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --bail test/test.js", | ||
"test-only": "mocha --reporter spec --bail test/test.js" | ||
} | ||
} |
@@ -1,3 +0,24 @@ | ||
# koa-jwt | ||
koa-jwt | ||
======= | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![Coveralls][coveralls-image]][coveralls-url] | ||
[![node version][node-image]][node-url] | ||
[![npm download][download-image]][download-url] | ||
[![license][license-image]][license-url] | ||
[npm-image]: https://img.shields.io/npm/v/koa-jwt.svg?maxAge=2592000&style=flat-square | ||
[npm-url]: https://npmjs.org/package/koa-jwt | ||
[travis-image]: https://img.shields.io/travis/koajs/jwt/koa-v2.svg?maxAge=2592000&style=flat-square | ||
[travis-url]: https://travis-ci.org/koajs/jwt | ||
[coveralls-image]: https://img.shields.io/coveralls/koajs/jwt/koa-v2.svg?maxAge=2592000&style=flat-square | ||
[coveralls-url]: https://coveralls.io/r/koajs/jwt?branch=koa-v2 | ||
[node-image]: https://img.shields.io/node/v/koa-jwt.svg?maxAge=2592000&style=flat-square | ||
[node-url]: http://nodejs.org/download/ | ||
[download-image]: https://img.shields.io/npm/dm/koa-jwt.svg?maxAge=2592000&style=flat-square | ||
[download-url]: https://npmjs.org/package/koa-jwt | ||
[license-image]: https://img.shields.io/npm/l/koa-jwt.svg?maxAge=2592000&style=flat-square | ||
[license-url]: https://github.com/koajs/jwt/blob/koa-v2/LICENSE | ||
Koa middleware that validates JSON Web Tokens and sets `ctx.state.user` | ||
@@ -4,0 +25,0 @@ (by default) if a valid token is provided. |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25211
8
222
4
1
+ Addedhoek@2.16.3(transitive)
+ Addedisemail@1.2.0(transitive)
+ Addedjoi@6.10.1(transitive)
+ Addedjsonwebtoken@7.4.3(transitive)
+ Addedlodash.once@4.1.1(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addedtopo@1.1.0(transitive)
- Removedjsonwebtoken@5.7.0(transitive)
- Removedms@0.7.3(transitive)
Updatedbluebird@^3.4.6
Updatedjsonwebtoken@^7.1.9