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

@boost/log

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/log - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

./cjs/index.cjs

6

dts/transports/RotatingFileTransport.d.ts

@@ -16,11 +16,11 @@ import { Blueprint, Schemas } from '@boost/common/optimal';

/**
* @inheritdoc
* @inheritDoc
*/
protected checkIfNeedsRotation(): void;
/**
* @inheritdoc
* @inheritDoc
*/
protected getRotatedFileName(): string;
/**
* @inheritdoc
* @inheritDoc
*/

@@ -27,0 +27,0 @@ protected rotateFile(): void;

@@ -1,6 +0,6 @@

export declare type LogLevel = 'debug' | 'error' | 'info' | 'log' | 'trace' | 'warn';
export declare type LogLevelLabels = {
export type LogLevel = 'debug' | 'error' | 'info' | 'log' | 'trace' | 'warn';
export type LogLevelLabels = {
[L in LogLevel]?: string;
};
export declare type LogMetadata = Record<string, unknown>;
export type LogMetadata = Record<string, unknown>;
export interface LogItem {

@@ -77,3 +77,3 @@ /** The name of the host machine. */

}
export declare type Formatter = (item: LogItem) => string;
export type Formatter = (item: LogItem) => string;
export interface Transportable {

@@ -93,3 +93,3 @@ levels: LogLevel[];

}
export declare type Rotation = 'daily' | 'hourly' | 'monthly' | 'weekly';
export type Rotation = 'daily' | 'hourly' | 'monthly' | 'weekly';
//# sourceMappingURL=types.d.ts.map
{
"name": "@boost/log",
"version": "4.0.0",
"version": "4.0.1",
"type": "commonjs",

@@ -37,5 +37,5 @@ "release": "1651512176170",

"dependencies": {
"@boost/common": "^4.0.0",
"@boost/internal": "^4.0.0",
"@boost/translate": "^4.0.0",
"@boost/common": "^4.1.0",
"@boost/internal": "^4.0.1",
"@boost/translate": "^4.0.1",
"chalk": "^4.1.2"

@@ -73,3 +73,3 @@ },

},
"gitHead": "07f3182e14af6b7637b23f69fbe3c735835312a9"
"gitHead": "fd64842195c9e1c72e726800f004bdc80fa682f8"
}

@@ -132,3 +132,4 @@ import fs from 'fs';

protected checkIfNeedsRotation() {
if (this.lastSize > this.options.maxSize) {
// @ts-expect-error Valid is defined
if (this.options && this.lastSize > this.options.maxSize) {
this.closeStreamAndRotateFile();

@@ -135,0 +136,0 @@ }

@@ -59,3 +59,3 @@ import { Blueprint, Schemas } from '@boost/common/optimal';

/**
* @inheritdoc
* @inheritDoc
*/

@@ -72,3 +72,3 @@ protected override checkIfNeedsRotation() {

/**
* @inheritdoc
* @inheritDoc
*/

@@ -83,3 +83,3 @@ protected override getRotatedFileName(): string {

/**
* @inheritdoc
* @inheritDoc
*/

@@ -86,0 +86,0 @@ protected override rotateFile() {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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