Skip to content

Commit

Permalink
Removes babel
Browse files Browse the repository at this point in the history
Compiling is no longer needed.  Node 10+ supports all the features used in this library.
  • Loading branch information
davidpatrick committed Mar 9, 2021
1 parent 9c4fddf commit 1d79ead
Show file tree
Hide file tree
Showing 33 changed files with 993 additions and 4,676 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion examples/express-demo/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Express = require('express');
const jwt = require('express-jwt');
const logger = require('debug')('express');
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
2 changes: 1 addition & 1 deletion examples/hapi-demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Hapi = require('hapi');
const good = require('good');
const jwt = require('hapi-auth-jwt2');
const logger = require('debug')('hapi');
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
2 changes: 1 addition & 1 deletion examples/koa-demo/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Koa = require('koa');
const Router = require('koa-router');
const jwt = require('koa-jwt');
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
2 changes: 1 addition & 1 deletion examples/passport-demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const logger = require('debug')('express');
const passport = require('passport');
const JwtStrategy = require('passport-jwt').Strategy;
const ExtractJwt = require('passport-jwt').ExtractJwt;
const jwksRsa = require('../../lib');
const jwksRsa = require('../../src');

const jwksHost = process.env.JWKS_HOST;
const audience = process.env.AUDIENCE;
Expand Down
Loading

0 comments on commit 1d79ead

Please sign in to comment.