-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: auth0/node-jsonwebtoken
base: v8.3.0
head repository: auth0/node-jsonwebtoken
compare: v8.4.0
Commits on Jun 16, 2018
-
Added Istanbul to check test-coverage (#468)
* Added Istanbul to check test-coverage * node_modules_bak is generated and automatically removed by cost-of-modules and isn't needed in the ignore.
Configuration menu - View commit details
-
Copy full SHA for 9676a83 - Browse repository at this point
Copy the full SHA 9676a83View commit details -
Use lolex for faking date in tests (#491)
Sinon.JS provides a project called lolex to handle faking dates. This change replaces the fakeDate utility with the equivalent Sinon.JS code.
Configuration menu - View commit details
-
Copy full SHA for 677ead6 - Browse repository at this point
Copy the full SHA 677ead6View commit details
Commits on Jun 25, 2018
-
Complete ESLint conversion and cleanup (#490)
* Add extension to ESLint config file The .eslintrc file without an extension was deprecated a few years ago, so this change renames the file to add the required extension. See: eslint/eslint@c9a8883 * Add ESLint to package.json This change adds ESLint as a dev-dependency and adds a lint script that will run ESLint. * Complete switch from JSHint to ESLint Convert all the JSHint rules to the ESLint equivalents where possible. The no-undef rule in ESLint caught a few cases of undefined usages in the tests, so they were also fixed. * Add a .eslintignore file The HTML coverage report is currently being linted, which causes a lot if invalid linting errors. This change adds a ignore file to ensure these files are properly skipped during linting.
Configuration menu - View commit details
-
Copy full SHA for cb1d2e1 - Browse repository at this point
Copy the full SHA cb1d2e1View commit details -
Make code-coverage mandatory when running tests (#495)
* Made code-coverage mandatory when running the tests. * Missed the trailing-comma...
Configuration menu - View commit details
-
Copy full SHA for fb0084a - Browse repository at this point
Copy the full SHA fb0084aView commit details
Commits on Jun 27, 2018
-
Refactor tests related to notBefore and nbf (#497)
This change extracts all tests in the current files related to notBefore and nbf into a single test file. It also adds several missing related tests.
Configuration menu - View commit details
-
Copy full SHA for 39adf87 - Browse repository at this point
Copy the full SHA 39adf87View commit details
Commits on Jul 6, 2018
-
Refactor tests related to expiresIn and exp (#501)
This change extracts all tests in the current test files related to expiresIn and exp into a single test file. It also adds several missing tests.
Configuration menu - View commit details
-
Copy full SHA for 72f0d9e - Browse repository at this point
Copy the full SHA 72f0d9eView commit details
Commits on Jul 12, 2018
-
Refactor tests related to audience and aud (#503)
This change extracts all tests in the existing test files related to audience and aud into a single test file. Several other tests are also added that were missing from the existing files.
Configuration menu - View commit details
-
Copy full SHA for 53d405e - Browse repository at this point
Copy the full SHA 53d405eView commit details
Commits on Jul 20, 2018
-
Minor test refactoring for recently added tests (#504)
* Prefix claim- to claim related test files * Fix typo of "signWithNoBfore" in notBefore tests
Configuration menu - View commit details
-
Copy full SHA for e2860a9 - Browse repository at this point
Copy the full SHA e2860a9View commit details -
Refactor tests related to subject and sub (#505)
This change extracts all tests in the existing files related to the subject option and sub claim into a single test file. Several other tests are also added that were missing from the existing files.
Configuration menu - View commit details
-
Copy full SHA for 5a7fa23 - Browse repository at this point
Copy the full SHA 5a7fa23View commit details
Commits on Aug 26, 2018
-
Refactor tests related to iat and maxAge (#507)
This change extracts all tests related to the iat claim and the maxAge verify option into two test files. Several additional tests are added that were missing from the existing tests.
Configuration menu - View commit details
-
Copy full SHA for 877bd57 - Browse repository at this point
Copy the full SHA 877bd57View commit details
Commits on Sep 10, 2018
-
Update dependencies used for running tests (#518)
Update chai and mocha to the latest versions and update nyc to the latest version that supports Node 4.
Configuration menu - View commit details
-
Copy full SHA for 5498bdc - Browse repository at this point
Copy the full SHA 5498bdcView commit details
Commits on Oct 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b76f2a8 - Browse repository at this point
Copy the full SHA b76f2a8View commit details -
Create and implement async/sync test helpers (#523)
It is difficult to write tests that ensure that both the asynchronous and synchronous calls to the sign and verify functions had the same result. These helpers ensure that the calls are the same and return the common result. As a proof of concept, the iat claim tests have been updated to use the new helpers.
Configuration menu - View commit details
-
Copy full SHA for 683d8a9 - Browse repository at this point
Copy the full SHA 683d8a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cd654 - Browse repository at this point
Copy the full SHA 29cd654View commit details
Commits on Oct 16, 2018
-
Implement async/sync tests for sub claim (#534)
Refactor existing tests for the sub claim to use the async/sync test helpers.
Configuration menu - View commit details
-
Copy full SHA for 342b07b - Browse repository at this point
Copy the full SHA 342b07bView commit details -
Implement async/sync tests for exp claim (#536)
Refactor existing tests for the exp claim to use the async/sync test helpers. This required fixing a case where an error was improperly handled in the async case.
Configuration menu - View commit details
-
Copy full SHA for 9ae3f20 - Browse repository at this point
Copy the full SHA 9ae3f20View commit details -
Implement async/sync tests for nbf claim (#537)
Refactor the existing tests for the nbf claim to use the async/sync test helpers. This required fixing a case where an error was improperly handled for an async call.
Configuration menu - View commit details
-
Copy full SHA for 88bc965 - Browse repository at this point
Copy the full SHA 88bc965View commit details
Commits on Oct 17, 2018
-
Implement async/sync tests for the aud claim (#535)
Refactor existing tests for the aud claim to use the async/sync test helpers.
Configuration menu - View commit details
-
Copy full SHA for 1c8ff5a - Browse repository at this point
Copy the full SHA 1c8ff5aView commit details
Commits on Oct 22, 2018
-
Updating Node version in Engines spec in package.json (#528)
* Updating Node version in package.json Updated Node version from 0.12 to 1.4 in package.json engines * Updated node version Updated Node version from 0.12 to 4 in package.json Engines Spec Fixes Issue #509
Configuration menu - View commit details
-
Copy full SHA for cfd1079 - Browse repository at this point
Copy the full SHA cfd1079View commit details -
Fixed error message when empty string passed as expiresIn or notBefor…
…e option (#531) * Fixed error message when empty string passed as expiresIn or notBefore option * Moved tests to option validation block
Configuration menu - View commit details
-
Copy full SHA for 7f9604a - Browse repository at this point
Copy the full SHA 7f9604aView commit details
Commits on Nov 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1956c40 - Browse repository at this point
Copy the full SHA 1956c40View commit details
Commits on Nov 2, 2018
-
Refactor tests related to iss and issuer (#543)
This change extracts all tests related to the iss claim and the issuer option into a single test file. Additional tests were added that were missing.
Configuration menu - View commit details
-
Copy full SHA for 0906a3f - Browse repository at this point
Copy the full SHA 0906a3fView commit details -
Refactor tests related to kid and keyid (#545)
Thie change extracts the tests related to the kid header and the keyid option into a single file. Additonal tests were added that were missing.
Configuration menu - View commit details
-
Copy full SHA for 8864542 - Browse repository at this point
Copy the full SHA 8864542View commit details -
Edited the README.md to make certain parts of the document for the ap…
…i easier to read, emphasizing the examples. (#548)
Configuration menu - View commit details
-
Copy full SHA for dc89a64 - Browse repository at this point
Copy the full SHA dc89a64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0268813 - Browse repository at this point
Copy the full SHA 0268813View commit details
Commits on Nov 14, 2018
-
Add verify option for nonce validation (#540)
* Add verify option for nonce validation * Update README.md Co-Authored-By: kazuki229 <tsuzuku.k@gmail.com> * Refactor option-nonce test * Add nonce option validation
Configuration menu - View commit details
-
Copy full SHA for e7938f0 - Browse repository at this point
Copy the full SHA e7938f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ac95c - Browse repository at this point
Copy the full SHA 78ac95cView commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.