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

@spinajs/log-common

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/log-common - npm Package Compare versions

Comparing version 1.2.7 to 1.2.30

5

lib/index.d.ts

@@ -142,3 +142,3 @@ export declare enum LogLevel {

export interface ILogVariable {
[key: string]: string | (() => string);
[key: string]: unknown | (() => unknown);
}

@@ -176,4 +176,7 @@ export interface ILogEntry {

write(entry: ILogEntry): Promise<PromiseSettledResult<void>[]>;
addVariable(name: string, value: unknown): void;
timeStart(name: string): void;
timeEnd(name: string): number;
}
export declare type LogVariables = ILogStaticVariables & ILogVariable;
export declare function createLogMessageObject(err: Error | string, message: string | any[], level: LogLevel, logger: string, variables: any, ...args: any[]): ILogEntry;

4

package.json
{
"version": "1.2.7",
"version": "1.2.30",
"description": "Log lib for all spinejs related libs",

@@ -42,3 +42,3 @@ "main": "lib/index.js",

},
"gitHead": "389cf142b4ca63b7850b93fc858184ddcbb43ce1"
"gitHead": "06aef45008bf43baf2d1a91917a1a1eaa23a15cc"
}

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