Skip to content

Commit

Permalink
style: remove unused requires
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Jan 29, 2020
1 parent 470b4c7 commit 2fb1d8e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/jwt/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const epoch = require('../help/epoch')
const secs = require('../help/secs')
const getKey = require('../help/get_key')
const { bare: verify } = require('../jws/verify')
const { KeyStore } = require('../jwks')
const { JWTClaimInvalid, JWTExpired } = require('../errors')

const { isString, isNotString } = require('./shared_validations')
Expand Down
1 change: 0 additions & 1 deletion test/help/base64url.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const test = require('ava')

const errors = require('../../lib/errors')
const base64url = require('../../lib/help/base64url')

const testStr = 'fmkIOj+kafqtjMl+iC32a+9YGz0cKj/JT9Jt31uXR1la7FSXkjoBzg/F+huYm0udbM5z5qGlmPBNZASsixJLcA=='
Expand Down
1 change: 0 additions & 1 deletion test/jwk/import.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const { edDSASupported, keyObjectSupported } = require('../../lib/help/runtime_s
const { createSecretKey } = require('../../lib/help/key_object')
const { generateKeyPairSync } = require('../macros/generate')
const fixtures = require('../fixtures')
const base64url = require('../../lib/help/base64url')

test('imports PrivateKeyObject and then its Key instance', t => {
const k = asKey(generateKeyPairSync('ec', { namedCurve: 'P-256' }).privateKey)
Expand Down

0 comments on commit 2fb1d8e

Please sign in to comment.