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

@larvit/log

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@larvit/log - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

12

index.ts

@@ -1,8 +0,8 @@

type Metadata = {
export type Metadata = {
[key: string]: string;
}
type LogShorthand = (msg: string, metadata?: Metadata) => void;
export type LogShorthand = (msg: string, metadata?: Metadata) => void;
interface LogInt {
export interface LogInt {
/* eslint-disable typescript-sort-keys/interface */

@@ -18,5 +18,5 @@ error: LogShorthand;

type LogLevel = keyof LogInt;
export type LogLevel = keyof LogInt;
type EntryFormatterConf = {
export type EntryFormatterConf = {
logLevel: LogLevel;

@@ -27,3 +27,3 @@ metadata?: Metadata;

type LogConf = {
export type LogConf = {
context?: Metadata;

@@ -30,0 +30,0 @@ entryFormatter?: (conf: EntryFormatterConf) => string;

{
"name": "@larvit/log",
"version": "1.0.4",
"version": "1.1.0",
"type": "module",

@@ -5,0 +5,0 @@ "license": "MIT",

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