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

brolog

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brolog - npm Package Compare versions

Comparing version 1.13.1 to 1.13.3

dist/cjs/src/loggable.d.ts

8

dist/cjs/src/brolog.d.ts

@@ -12,2 +12,3 @@ /*!

import { VERSION } from './config.js';
import type { Loggable } from './loggable.js';
declare type LogLevelTitle = 'ERR' | 'WARN' | 'INFO' | 'VERB' | 'SILL';

@@ -24,9 +25,2 @@ declare type TextPrinterFunction = (title: string, text?: string) => void;

declare type LogLevelName = keyof typeof LogLevel;
interface Loggable {
error(moduleName: string, message: string, ...args: any[]): void;
warn(moduleName: string, message: string, ...args: any[]): void;
info(moduleName: string, message: string, ...args: any[]): void;
verbose(moduleName: string, message: string, ...args: any[]): void;
silly(moduleName: string, message: string, ...args: any[]): void;
}
declare class Brolog implements Loggable {

@@ -33,0 +27,0 @@ private static globalInstance?;

import { VERSION } from './config.js';
import { Brolog, log } from './brolog.js';
import type { Loggable } from './brolog.js';
import type { Loggable } from './loggable.js';
import { getLoggable } from './loggable.js';
export type { Loggable, };
export { VERSION, Brolog, log, };
export { VERSION, Brolog, getLoggable, log, };
//# sourceMappingURL=mod.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.log = exports.Brolog = exports.VERSION = void 0;
exports.log = exports.getLoggable = exports.Brolog = exports.VERSION = void 0;
const config_js_1 = require("./config.js");

@@ -9,2 +9,4 @@ Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return config_js_1.VERSION; } });

Object.defineProperty(exports, "log", { enumerable: true, get: function () { return brolog_js_1.log; } });
const loggable_js_1 = require("./loggable.js");
Object.defineProperty(exports, "getLoggable", { enumerable: true, get: function () { return loggable_js_1.getLoggable; } });
//# sourceMappingURL=mod.js.map

@@ -12,2 +12,3 @@ /*!

import { VERSION } from './config.js';
import type { Loggable } from './loggable.js';
declare type LogLevelTitle = 'ERR' | 'WARN' | 'INFO' | 'VERB' | 'SILL';

@@ -24,9 +25,2 @@ declare type TextPrinterFunction = (title: string, text?: string) => void;

declare type LogLevelName = keyof typeof LogLevel;
interface Loggable {
error(moduleName: string, message: string, ...args: any[]): void;
warn(moduleName: string, message: string, ...args: any[]): void;
info(moduleName: string, message: string, ...args: any[]): void;
verbose(moduleName: string, message: string, ...args: any[]): void;
silly(moduleName: string, message: string, ...args: any[]): void;
}
declare class Brolog implements Loggable {

@@ -33,0 +27,0 @@ private static globalInstance?;

import { VERSION } from './config.js';
import { Brolog, log } from './brolog.js';
import type { Loggable } from './brolog.js';
import type { Loggable } from './loggable.js';
import { getLoggable } from './loggable.js';
export type { Loggable, };
export { VERSION, Brolog, log, };
export { VERSION, Brolog, getLoggable, log, };
//# sourceMappingURL=mod.d.ts.map
import { VERSION, } from './config.js';
import { Brolog, log, } from './brolog.js';
export { VERSION, Brolog, log, };
import { getLoggable, } from './loggable.js';
export { VERSION, Brolog, getLoggable, log, };
//# sourceMappingURL=mod.js.map
{
"name": "brolog",
"version": "1.13.1",
"version": "1.13.3",
"description": "Npmlog like logger for Browser",

@@ -48,3 +48,5 @@ "type": "module",

"homepage": "https://github.com/huan/brolog#readme",
"dependencies": {},
"dependencies": {
"nop": "^1.0.0"
},
"devDependencies": {

@@ -51,0 +53,0 @@ "@chatie/eslint-config": "^1.0.2",

@@ -18,2 +18,6 @@ /* eslint-disable no-console */

import type {
Loggable,
} from './loggable.js'
type LogLevelTitle =

@@ -39,10 +43,2 @@ | 'ERR'

interface Loggable {
error (moduleName: string, message: string, ...args: any[]): void
warn (moduleName: string, message: string, ...args: any[]): void
info (moduleName: string, message: string, ...args: any[]): void
verbose (moduleName: string, message: string, ...args: any[]): void
silly (moduleName: string, message: string, ...args: any[]): void
}
class Brolog implements Loggable {

@@ -49,0 +45,0 @@

@@ -10,3 +10,6 @@ import {

Loggable,
} from './brolog.js'
} from './loggable.js'
import {
getLoggable,
} from './loggable.js'

@@ -19,3 +22,4 @@ export type {

Brolog,
getLoggable,
log,
}

@@ -5,1 +5,2 @@ // declare module '*/package.json' {

// }
declare module 'nop'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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