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: v5.4.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: eb272d6da05b7d19d24a5e749cf026ac2b413abf
Choose a head ref
  • 3 commits
  • 2 files changed
  • 3 contributors

Commits on Oct 7, 2015

  1. Copy the full SHA
    8163d69 View commit details

Commits on Oct 20, 2015

  1. Merge pull request #129 from LeviBotelho/master

    Remove duplicate payload line (fix bug in IE strict mode)
    rolodato committed Oct 20, 2015
    Copy the full SHA
    ec447dc View commit details

Commits on Oct 26, 2015

  1. 5.4.1

    Rodrigo López Dato committed Oct 26, 2015
    Copy the full SHA
    eb272d6 View commit details
Showing with 1 addition and 2 deletions.
  1. +0 −1 index.js
  2. +1 −1 package.json
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -105,7 +105,6 @@ JWT.sign = function(payload, secretOrPrivateKey, options, callback) {
if(typeof callback === 'function') {
jws.createSign({
header: header,
payload: payload,
privateKey: secretOrPrivateKey,
payload: JSON.stringify(payload)
}).on('done', callback);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsonwebtoken",
"version": "5.4.0",
"version": "5.4.1",
"description": "JSON Web Token implementation (symmetric and asymmetric)",
"main": "index.js",
"scripts": {