New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

errsole

Package Overview
Dependencies
Maintainers
0
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errsole - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

2

package.json
{
"name": "errsole",
"version": "2.10.0",
"version": "2.10.1",
"description": "Collect, Store, and Visualize Logs with a Single Module",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,39 @@

declare module 'errsole' {
// errsole.d.ts
// Errsole available as a global namespace
export as namespace Errsole;
// Errsole for module-based systems
export = Errsole;
// Errsole class and its static members
declare class Errsole {
static port: number;
static initialize(options: Errsole.Options): void;
static meta(data: any): Errsole.LoggerContext;
static alert: Errsole.Logger;
static error: Errsole.Logger;
static warn: Errsole.Logger;
static debug: Errsole.Logger;
static info: Errsole.Logger;
static log: Errsole.Logger;
static proxyMiddleware(): () => void;
static multiFrameworkProxyMiddleware(): any;
static expressProxyMiddleware(): any;
static httpProxyMiddleware(): any;
static connectProxyMiddleware(): any;
static fastifyProxyMiddleware(): any;
static koaProxyMiddleware(url: string): (ctx: any, next: any) => Promise<any>;
static nestExpressProxyMiddleware(path: string, req: any, res: any, next: any): void;
static nestFastifyProxyMiddleware(path: string, req: any, res: any): void;
static hapiProxyMiddleware(basePath: string, auth?: boolean): {
name: string;
register: (server: any, options: any) => Promise<void>;
};
}
// Errsole namespace containing interfaces and other types
declare namespace Errsole {
interface Options {

@@ -42,32 +79,2 @@ storage: any;

}
class Errsole {
static port: number;
static initialize(options: Options): void;
static meta(data: any): LoggerContext;
static alert: Logger;
static error: Logger;
static warn: Logger;
static debug: Logger;
static info: Logger;
static log: Logger;
static proxyMiddleware(): () => void;
static multiFrameworkProxyMiddleware(): any;
static expressProxyMiddleware(): any;
static httpProxyMiddleware(): any;
static connectProxyMiddleware(): any;
static fastifyProxyMiddleware(): any;
static koaProxyMiddleware(url: string): (ctx: any, next: any) => Promise<any>;
static nestExpressProxyMiddleware(path: string, req: any, res: any, next: any): void;
static nestFastifyProxyMiddleware(path: string, req: any, res: any): void;
static hapiProxyMiddleware(basePath: string, auth?: boolean): {
name: string;
register: (server: any, options: any) => Promise<void>;
};
}
export = Errsole;
}
export as namespace Errsole;
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