New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.2 to 1.0.3

16

CHANGELOG.md

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

### 1.0.3 - 2019-08-01
#### ⚙️ Types
- Refine types and replace `any` with `unknown`. (#58) ([43512fc](https://github.com/milesj/boost/tree/master/packages/log/commit/43512fc)), closes [#58](https://github.com/milesj/boost/tree/master/packages/log/issues/58)
#### 🛠 Internals
- Increase statement and function code coverage to 100%. ([7c98aa7](https://github.com/milesj/boost/tree/master/packages/log/commit/7c98aa7))
**Note:** Version bump only for package @boost/log
### 1.0.2 - 2019-07-07

@@ -8,0 +24,0 @@

2

lib/isAllowedLogLevel.js

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

if (currentLevel === maxLevel) {
return false;
break;
}

@@ -17,0 +17,0 @@ }

@@ -6,12 +6,12 @@ export declare type LogLevel = 'debug' | 'error' | 'log' | 'info' | 'trace' | 'warn';

export interface Logger {
(message: string, ...args: any[]): void;
debug(message: string, ...args: any[]): void;
(message: string, ...args: unknown[]): void;
debug(message: string, ...args: unknown[]): void;
disable(): void;
enable(): void;
error(message: string, ...args: any[]): void;
log(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
trace(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
error(message: string, ...args: unknown[]): void;
log(message: string, ...args: unknown[]): void;
info(message: string, ...args: unknown[]): void;
trace(message: string, ...args: unknown[]): void;
warn(message: string, ...args: unknown[]): void;
}
//# sourceMappingURL=types.d.ts.map
{
"name": "@boost/log",
"version": "1.0.2",
"version": "1.0.3",
"description": "Lightweight level based logging system.",

@@ -23,7 +23,7 @@ "keywords": [

"dependencies": {
"@boost/translate": "^1.0.2",
"@boost/translate": "^1.0.3",
"chalk": "^2.4.2",
"debug": "^4.1.1"
},
"gitHead": "ff2562891abe422e18eb803fc59ca7998a1e5904"
"gitHead": "cf50d411c778a661520be41b0ea1042b31ce900d"
}

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