Comparing version 3.0.4 to 3.0.5
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -316,4 +316,8 @@ /** | ||
const cacheControl = headers['cache-control'] | ||
let [, maxAge] = cacheControl.match(/max-age=(\d+)/) // Get digits | ||
maxAge = parseInt(maxAge, 10) | ||
let maxAge | ||
if (cacheControl) { | ||
const match = cacheControl.match(/max-age=(\d+)/) // Get digits | ||
maxAge = match[1] | ||
maxAge = parseInt(maxAge, 10) | ||
} | ||
if (!maxAge) { | ||
@@ -320,0 +324,0 @@ debug('defaulting max age to 3600') |
@@ -0,0 +0,0 @@ /** |
{ | ||
"name": "byu-jwt", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "The byu-jwt module provides helpful functions to retrieve a specified BYU .well-known URL and verify BYU signed JWTs.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ # byu-jwt |
@@ -0,0 +0,0 @@ /* |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
804
48999