Socket
Socket
Sign inDemoInstall

koa-jwt

Package Overview
Dependencies
16
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.1.0

.travis.yml

21

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc