Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caccl-lti

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caccl-lti - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc