New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

awesome-logging

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-logging - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

lib/logger/index.d.ts

2

lib/index.d.ts
export * from './awesome-logger';
export * from './logger';
export * from './prompt';

@@ -14,2 +14,4 @@ "use strict";

__exportStar(require("./awesome-logger"), exports);
__exportStar(require("./logger"), exports);
__exportStar(require("./prompt"), exports);
//# sourceMappingURL=index.js.map

2

lib/logger/logger-manager.d.ts
import { AwesomeLoggerBase } from './logger-base';
import { AwesomePromptBase } from '../prompt/models/prompt-base';
import { AwesomePromptBase } from '../prompt/prompt-base';
export declare class LoggerManager {

@@ -4,0 +4,0 @@ private static _instance;

import { AwesomePromptChoiceConfig, AwesomePromptChoiceControl } from './config/choice';
import { AwesomePromptBase } from './prompt-base';
import { AwesomePromptBase } from '../prompt-base';
export declare class AwesomeChoicePromt extends AwesomePromptBase<string> implements AwesomePromptChoiceControl {

@@ -4,0 +4,0 @@ private _currentHighlightedRow;

@@ -12,3 +12,3 @@ "use strict";

const terminal_size_1 = require("../../utils/terminal-size");
const prompt_base_1 = require("./prompt-base");
const prompt_base_1 = require("../prompt-base");
class AwesomeChoicePromt extends prompt_base_1.AwesomePromptBase {

@@ -15,0 +15,0 @@ constructor(config) {

@@ -1,4 +0,4 @@

import { AwesomePromptBase } from '../prompt-base';
import { AwesomePromptBase } from '../../prompt-base';
export interface AwesomePromptBaseControl<T> extends AwesomePromptBase<T> {
result: Promise<T>;
}
import { AwesomePromptTextConfig, AwesomePromptTextControl } from './config/text';
import { AwesomePromptBase } from './prompt-base';
import { AwesomePromptBase } from '../prompt-base';
export declare class AwesomeTextPromt extends AwesomePromptBase<string> implements AwesomePromptTextControl {

@@ -4,0 +4,0 @@ private readonly _questionLogger;

@@ -10,3 +10,3 @@ "use strict";

const ansi_utils_1 = require("../../utils/ansi-utils");
const prompt_base_1 = require("./prompt-base");
const prompt_base_1 = require("../prompt-base");
class AwesomeTextPromt extends prompt_base_1.AwesomePromptBase {

@@ -13,0 +13,0 @@ constructor(config) {

import { AwesomePromptToggleConfig, AwesomePromptToggleControl } from './config/toggle';
import { AwesomePromptBase } from './prompt-base';
import { AwesomePromptBase } from '../prompt-base';
export declare class AwesomeTogglePromt extends AwesomePromptBase<string[]> implements AwesomePromptToggleControl {

@@ -4,0 +4,0 @@ private _currentHighlightedRow;

@@ -12,3 +12,3 @@ "use strict";

const terminal_size_1 = require("../../utils/terminal-size");
const prompt_base_1 = require("./prompt-base");
const prompt_base_1 = require("../prompt-base");
class AwesomeTogglePromt extends prompt_base_1.AwesomePromptBase {

@@ -15,0 +15,0 @@ constructor(config) {

@@ -22,3 +22,6 @@ "use strict";

}
if (scrollAmount > actualRowCount - maxRowCount) {
if (scrollAmount < 0) {
scrollAmount = 0;
}
else if (scrollAmount > actualRowCount - maxRowCount) {
scrollAmount = actualRowCount - maxRowCount;

@@ -52,2 +55,4 @@ }

while (strip_ansi_1.default(rest).length > terminal_size_1.TerminalSize.terminalWidth) {
// The line length is limited to two characters less than the actual length
// so that the scroll indicators can be printed, if needed
const maxLengthString = slice_ansi_1.default(rest, 0, terminal_size_1.TerminalSize.terminalWidth - 2);

@@ -54,0 +59,0 @@ res.push(maxLengthString);

{
"name": "awesome-logging",
"version": "0.2.0",
"version": "0.2.1",
"description": "Advanced logging messages, interactive prompts, loading animations and more in TypeScript",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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