Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: auth0/node-jsonwebtoken
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.2.0
Choose a base ref
...
head repository: auth0/node-jsonwebtoken
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.2.1
Choose a head ref
  • 6 commits
  • 3 files changed
  • 3 contributors

Commits on Aug 25, 2016

  1. Copy the full SHA
    c5f7991 View commit details

Commits on Dec 6, 2016

  1. Merge pull request #243 from rmharrison/patch-1

    Minor README.md edit: Added `iss` on L41
    jfromaniello authored Dec 6, 2016
    Copy the full SHA
    e35bcdc View commit details
  2. update changelog

    jfromaniello committed Dec 6, 2016
    Copy the full SHA
    445cab7 View commit details

Commits on Dec 7, 2016

  1. 3
    Copy the full SHA
    51d4796 View commit details
  2. Copy the full SHA
    4219c34 View commit details
  3. 7.2.1

    jfromaniello committed Dec 7, 2016
    Copy the full SHA
    8da893a View commit details
Showing with 14 additions and 4 deletions.
  1. +9 −0 CHANGELOG.md
  2. +1 −1 README.md
  3. +4 −3 package.json
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,15 @@
All notable changes to this project will be documented in this file starting from version **v4.0.0**.
This project adheres to [Semantic Versioning](http://semver.org/).

## 7.2.0 - 2016-12-06

- improve the documentation for expiration ([771e0b5f9bed90771fb79140eb38e51a3ecac8f0](https://github.com/auth0/node-jsonwebtoken/commit/771e0b5f9bed90771fb79140eb38e51a3ecac8f0))
- Restructured a sentence ([ccc7610187a862f7a50177eadc9152eef26cd065](https://github.com/auth0/node-jsonwebtoken/commit/ccc7610187a862f7a50177eadc9152eef26cd065))
- Allow `keyid` on `sign`. ([b412be91b89acb3a742bb609d3b54e47e1dfc441](https://github.com/auth0/node-jsonwebtoken/commit/b412be91b89acb3a742bb609d3b54e47e1dfc441))
- upgrade joi ([715e3d928023d414d45c6dc3f096a7c8448139ae](https://github.com/auth0/node-jsonwebtoken/commit/715e3d928023d414d45c6dc3f096a7c8448139ae))
- upgrade to latest nodes and Travis infrastructure ([3febcc1dd23ecdec1abbf89313959941d15eb47a](https://github.com/auth0/node-jsonwebtoken/commit/3febcc1dd23ecdec1abbf89313959941d15eb47a))


## 7.1.10 - 2016-12-06

- Bump node-jws version number ([07813dd7194630c9f452684279178af76464a759](https://github.com/auth0/node-jsonwebtoken/commit/07813dd7194630c9f452684279178af76464a759))
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ encoded private key for RSA and ECDSA.

If `payload` is not a buffer or a string, it will be coerced into a string using `JSON.stringify`.

There are no default values for `expiresIn`, `notBefore`, `audience`, `subject`, `issuer`. These claims can also be provided in the payload directly with `exp`, `nbf`, `aud` and `sub` respectively, but you can't include in both places.
There are no default values for `expiresIn`, `notBefore`, `audience`, `subject`, `issuer`. These claims can also be provided in the payload directly with `exp`, `nbf`, `aud`, `sub` and `iss` respectively, but you can't include in both places.


The header can be customized via the `option.header` object.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "jsonwebtoken",
"version": "7.2.0",
"version": "7.2.1",
"description": "JSON Web Token implementation (symmetric and asymmetric)",
"main": "index.js",
"scripts": {
"test": "mocha --require test/util/fakeDate"
"test": "mocha --require test/util/fakeDate && nsp check"
},
"repository": {
"type": "git",
@@ -19,7 +19,7 @@
"url": "https://github.com/auth0/node-jsonwebtoken/issues"
},
"dependencies": {
"joi": "^10.0.1",
"joi": "^6.10.1",
"jws": "^3.1.4",
"lodash.once": "^4.0.0",
"ms": "^0.7.1",
@@ -30,6 +30,7 @@
"chai": "^1.10.0",
"conventional-changelog": "~1.1.0",
"mocha": "^2.1.0",
"nsp": "^2.6.2",
"sinon": "^1.15.4"
},
"engines": {