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 1.1.12 to 1.1.13

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

### 1.1.13 - 2020-04-08
#### ⚙️ Types
- Add `Loggable` interface. ([d58b7ec](https://github.com/milesj/boost/commit/d58b7ec))
**Note:** Version bump only for package @boost/log
### 1.1.12 - 2020-03-22

@@ -8,0 +20,0 @@

7

lib/createLogger.d.ts

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

/// <reference types="node" />
import { Logger, LogLevelLabels } from './types';
import { Logger, LogLevelLabels, Loggable } from './types';
export declare const DEFAULT_LABELS: LogLevelLabels;

@@ -8,7 +7,7 @@ export interface LoggerOptions {

/** Writable stream to send `stderr` messages to. */
stderr?: NodeJS.WriteStream;
stderr?: Loggable;
/** Writable stream to send `stdout` messages to. */
stdout?: NodeJS.WriteStream;
stdout?: Loggable;
}
export default function createLogger({ labels, stderr, stdout, }?: LoggerOptions): Logger;
//# sourceMappingURL=createLogger.d.ts.map

@@ -16,2 +16,5 @@ export declare type LogLevel = 'debug' | 'error' | 'log' | 'info' | 'trace' | 'warn';

}
export interface Loggable {
write(message: string): void;
}
//# sourceMappingURL=types.d.ts.map
{
"name": "@boost/log",
"version": "1.1.12",
"version": "1.1.13",
"description": "Lightweight level based logging system.",

@@ -32,3 +32,3 @@ "keywords": [

},
"gitHead": "fe9903f8a80ae0ad19cc9fd9e51ccbd47e94356e"
"gitHead": "d6808ae43c4baeee8522850ffa8faa29784fbe8c"
}

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