Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "caccl-lti", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "LTI launch validator for IMS-LTI standard launches.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -120,5 +120,5 @@ const chai = require('chai'); | ||
it('Accepts valid nonces', function () { | ||
return expect(store.check(genNonce(), new Date().getTime() / 1000)) | ||
return expect(store.check(genNonce(), Date.now() / 1000)) | ||
.to.eventually.be.fulfilled; | ||
}); | ||
}); |
@@ -40,6 +40,6 @@ // Main tests for caccl-lti | ||
// Create session secret | ||
const sessionSecret = `test-app-session-${new Date().getTime()}`; | ||
const sessionSecret = `test-app-session-${Date.now()}`; | ||
// Create cookie name | ||
const cookieName = `test-app-cookie-${new Date().getTime()}-53901`; | ||
const cookieName = `test-app-cookie-${Date.now()}-53901`; | ||
@@ -46,0 +46,0 @@ // Set session duration to 6 hours |
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
167143