You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@scvo/router

Package Overview
Dependencies
Maintainers
2
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scvo/router - npm Package Compare versions

Comparing version

to
1.2.19

3

build/basic-tasks/task-firebase-auth.js

@@ -37,2 +37,5 @@ "use strict";

const app = this.apps[appName];
routeMatch.log('ID TOKEN -> Length:', idToken.length, '\nToken:', idToken);
const cookie = yield app.auth().createSessionCookie(idToken, { expiresIn: 20160 });
routeMatch.log('SESSION COOKIE-> Length:', cookie.length, '\nToken:', cookie);
let decodedToken;

@@ -39,0 +42,0 @@ try {

2

package.json
{
"name": "@scvo/router",
"version": "1.2.18",
"version": "1.2.19",
"description": "A lightweight routing engine based around the idea that complex web apps can be entirely written using only configuration and templating",

@@ -5,0 +5,0 @@ "main": "./build/index",

@@ -38,2 +38,9 @@ import * as firebase from 'firebase-admin';

const app = this.apps[appName];
routeMatch.log('ID TOKEN -> Length:', idToken.length, '\nToken:', idToken);
const cookie =
await app.auth().createSessionCookie(idToken, {expiresIn: 20160});
routeMatch.log(
'SESSION COOKIE-> Length:', cookie.length, '\nToken:', cookie);
let decodedToken: undefined|firebase.auth.DecodedIdToken;

@@ -40,0 +47,0 @@ try {

Sorry, the diff of this file is not supported yet