ego-token-middleware
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -8,4 +8,2 @@ "use strict"; | ||
require("babel-polyfill"); | ||
var _jsonwebtoken = _interopRequireDefault(require("jsonwebtoken")); | ||
@@ -72,2 +70,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJyZXF1aXJlZCIsImVnb1VSTCIsInByb2Nlc3MiLCJlbnYiLCJFR09fQVBJIiwicmVxIiwicmVzIiwibmV4dCIsImF1dGhvcml6YXRpb24iLCJoZWFkZXJzIiwidG9rZW4iLCJzcGxpdCIsInF1ZXJ5Iiwia2V5IiwidmFsaWQiLCJzdGF0dXMiLCJzZW5kIiwiand0IiwiZGVjb2RlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7Ozs7Ozs7Ozs7QUFFZSx3QkFBcUQ7QUFBQSxNQUExQ0EsUUFBMEMsUUFBMUNBLFFBQTBDO0FBQUEseUJBQWhDQyxNQUFnQztBQUFBLE1BQWhDQSxNQUFnQyw0QkFBdkJDLFFBQVFDLEdBQVIsQ0FBWUMsT0FBVztBQUNsRTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUEsOEJBQU8saUJBQU9DLEdBQVAsRUFBWUMsR0FBWixFQUFpQkMsSUFBakI7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0dDLDZCQURILEdBQ3FCSCxJQUFJSSxPQUR6QixDQUNHRCxhQURIO0FBRUNFLHFCQUZELEdBRVNGLGdCQUFnQkEsY0FBY0csS0FBZCxDQUFvQixHQUFwQixFQUF5QixDQUF6QixDQUFoQixHQUE4Q04sSUFBSU8sS0FBSixDQUFVQyxHQUZqRTtBQUFBO0FBQUEsdUJBR2Usd0JBQVU7QUFBRUgsOEJBQUY7QUFBU1Q7QUFBVCxpQkFBVixDQ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0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -29,5 +29,7 @@ "main": "dist", | ||
}, | ||
"peerDependencies": { | ||
"babel-polyfill": "^6.26.0" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.18.0", | ||
"babel-polyfill": "^6.26.0", | ||
"jsonwebtoken": "^8.2.0", | ||
@@ -34,0 +36,0 @@ "memoizee": "^0.4.12", |
@@ -1,2 +0,1 @@ | ||
import 'babel-polyfill'; | ||
import jwt from 'jsonwebtoken'; | ||
@@ -3,0 +2,0 @@ import verifyJWT from './verifyJWT'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12213
169
- Removedbabel-polyfill@^6.26.0