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.0.4 to 1.1.0

1

dist/src/index.d.ts
export interface Logger {
(formatter: any, ...args: any[]): void;
error: (formatter: any, ...args: any[]) => void;
trace: (formatter: any, ...args: any[]) => void;
enabled: boolean;

@@ -5,0 +6,0 @@ }

3

dist/src/index.js

@@ -26,5 +26,6 @@ import debug from 'debug';

return Object.assign(debug(name), {
error: debug(`${name}:error`)
error: debug(`${name}:error`),
trace: debug(`${name}:trace`)
});
}
//# sourceMappingURL=index.js.map
{
"name": "@libp2p/logger",
"version": "1.0.4",
"version": "1.1.0",
"description": "A logging component for use in js-libp2p components",

@@ -135,3 +135,3 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/interfaces": "^1.0.0",
"@libp2p/interfaces": "^1.3.6",
"debug": "^4.3.3",

@@ -138,0 +138,0 @@ "interface-datastore": "^6.1.0",

@@ -36,2 +36,3 @@ import debug from 'debug'

error: (formatter: any, ...args: any[]) => void
trace: (formatter: any, ...args: any[]) => void
enabled: boolean

@@ -42,4 +43,5 @@ }

return Object.assign(debug(name), {
error: debug(`${name}:error`)
error: debug(`${name}:error`),
trace: debug(`${name}:trace`)
})
}

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