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

@neoskop/ethereal-secrets-middleware

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neoskop/ethereal-secrets-middleware - npm Package Compare versions

Comparing version 3.0.1 to 3.0.3

6

dist/index.d.ts

@@ -1,3 +0,3 @@

import { RedisStoreOptions } from 'connect-redis';
import { NextFunction, Request, Response } from 'express-serve-static-core';
import { RedisOptions } from 'ioredis';
export interface EtherealSecretsConfig {

@@ -21,4 +21,6 @@ local?: {

trustProxy?: boolean;
redis?: RedisStoreOptions;
redis?: {
client?: any;
} & RedisOptions;
}
export declare function etherealSecrets(config: EtherealSecretsConfig): (req: Request, res: Response, next: NextFunction) => void;

@@ -7,3 +7,3 @@ "use strict";

const bodyParser = require("body-parser");
const RedisStore = require("connect-redis");
const RedisStore = require('connect-redis').default;
const crypto = require("crypto");

@@ -77,3 +77,3 @@ const deepmerge = require("deepmerge");

}
var expiryDate = new Date();
const expiryDate = new Date();
expiryDate.setSeconds(expiryDate.getSeconds() + ttl);

@@ -80,0 +80,0 @@ res.status(201).send({

{
"name": "@neoskop/ethereal-secrets-middleware",
"version": "3.0.1",
"version": "3.0.3",
"main": "dist/index.js",

@@ -25,5 +25,5 @@ "typings": "dist/index.d.ts",

"@types/chai": "4.3.4",
"@types/connect-redis": "0.0.20",
"@types/cookie-parser": "1.4.3",
"@types/express": "4.17.17",
"@types/express-session": "1.17.6",
"@types/ioredis": "4.28.10",

@@ -30,0 +30,0 @@ "@types/mocha": "10.0.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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