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

@d-fischer/logger

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d-fischer/logger - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

es/CustomLogger.mjs

10

lib/index.d.ts

@@ -1,7 +0,5 @@

import type { Logger as ILogger } from './Logger';
import type { LoggerOptions } from './LoggerOptions';
declare const Logger: new (options: LoggerOptions) => ILogger;
declare type Logger = ILogger;
export { Logger };
export { Logger } from './Logger';
export type { LoggerOptions } from './LoggerOptions';
export { LogLevel } from './LogLevel';
export type { LoggerOptions };
export type { LoggerOptionsOrCustom } from './CustomLogger';
export { createLogger } from './CustomLogger';

11

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogLevel = exports.Logger = void 0;
exports.createLogger = exports.LogLevel = exports.Logger = void 0;
/* eslint-disable filenames/match-exported */
var isNode = require("detect-node");
var NodeLogger_1 = require("./NodeLogger");
var BrowserLogger_1 = require("./BrowserLogger");
var Logger = isNode ? NodeLogger_1.NodeLogger : BrowserLogger_1.BrowserLogger;
exports.Logger = Logger;
var Logger_1 = require("./Logger");
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return Logger_1.Logger; } });
var LogLevel_1 = require("./LogLevel");
Object.defineProperty(exports, "LogLevel", { enumerable: true, get: function () { return LogLevel_1.LogLevel; } });
var CustomLogger_1 = require("./CustomLogger");
Object.defineProperty(exports, "createLogger", { enumerable: true, get: function () { return CustomLogger_1.createLogger; } });
//# sourceMappingURL=index.js.map

@@ -0,1 +1,2 @@

import type { LoggerOptions } from './LoggerOptions';
import type { LogLevel } from './LogLevel';

@@ -11,1 +12,2 @@ export interface Logger {

}
export declare const Logger: new (options: LoggerOptions) => Logger;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = void 0;
var isNode = require("detect-node");
var BrowserLogger_1 = require("./BrowserLogger");
var NodeLogger_1 = require("./NodeLogger");
// eslint-disable-next-line @typescript-eslint/no-redeclare
exports.Logger = isNode ? NodeLogger_1.NodeLogger : BrowserLogger_1.BrowserLogger;
//# sourceMappingURL=Logger.js.map
{
"name": "@d-fischer/logger",
"version": "3.0.0",
"version": "3.1.0",
"description": "A simple logger for Node and the browser.",

@@ -5,0 +5,0 @@ "main": "lib",

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