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

@libp2p/logger

Package Overview
Dependencies
Maintainers
4
Versions
520
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/logger - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

3

dist/src/index.d.ts

@@ -8,2 +8,5 @@ export interface Logger {

export declare function logger(name: string): Logger;
export declare function disable(): void;
export declare function enable(namespaces: string): void;
export declare function enabled(namespaces: string): boolean;
//# sourceMappingURL=index.d.ts.map

@@ -35,2 +35,11 @@ import debug from 'debug';

}
export function disable() {
debug.disable();
}
export function enable(namespaces) {
debug.enable(namespaces);
}
export function enabled(namespaces) {
return debug.enabled(namespaces);
}
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@libp2p/logger",
"version": "1.1.3",
"version": "1.1.4",
"description": "A logging component for use in js-libp2p components",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -52,1 +52,13 @@ import debug from 'debug'

}
export function disable () {
debug.disable()
}
export function enable (namespaces: string) {
debug.enable(namespaces)
}
export function enabled (namespaces: string) {
return debug.enabled(namespaces)
}

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