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

@fastkit/tiny-logger

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastkit/tiny-logger - npm Package Compare versions

Comparing version 0.12.8 to 0.12.9

./dist/tiny-logger.mjs

42

dist/tiny-logger.d.ts

@@ -1,25 +0,9 @@

/// <reference types="node" />
import { ConsoleColorPaletteName } from '@fastkit/helpers';
export declare const COLOR_MAP: {
declare const TINY_LOGGER_LOG_TYPES: readonly ["debug", "info", "warn", "error", "success"];
type TinyLoggerLogType = (typeof TINY_LOGGER_LOG_TYPES)[number];
declare const COLOR_MAP: {
[K in TinyLoggerLogType]?: ConsoleColorPaletteName;
};
export declare function createTinyError(name: string): {
new (message: string | Error): {
readonly _tiny_error_symbol: symbol;
name: string;
message: string;
stack?: string | undefined;
cause?: unknown;
};
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void;
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
stackTraceLimit: number;
};
declare const TINY_LOGGER_LOG_TYPES: readonly ["debug", "info", "warn", "error", "success"];
export declare interface TinyLogger {
interface TinyLogger {
debug(message: string, ...args: any[]): void;

@@ -31,4 +15,3 @@ info(message: string, ...args: any[]): void;

}
export declare class TinyLogger {
declare class TinyLogger {
private _name;

@@ -41,4 +24,15 @@ static colorEnable(enable: true): void;

export declare type TinyLoggerLogType = typeof TINY_LOGGER_LOG_TYPES[number];
declare function createTinyError(name: string): {
new (message: string | Error): {
readonly _tiny_error_symbol: symbol;
name: string;
message: string;
stack?: string | undefined;
cause?: unknown;
};
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void;
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
stackTraceLimit: number;
};
export { }
export { COLOR_MAP, TinyLogger, TinyLoggerLogType, createTinyError };
{
"name": "@fastkit/tiny-logger",
"version": "0.12.8",
"version": "0.12.9",
"description": "A small logger to display the application logs just a little bit nicer.",
"keywords": [
"fastkit",
"logger",
"log"
],
"homepage": "https://github.com/dadajam4/fastkit/tree/main/packages/tiny-logger#readme",
"bugs": {
"url": "https://github.com/dadajam4/fastkit/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dadajam4/fastkit.git"
},
"license": "MIT",
"author": "dadajam4",
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/tiny-logger.d.ts",
"import": {
"default": "./dist/tiny-logger.mjs"
}
},
"./*": "./dist/*"
},
"main": "./dist/tiny-logger.mjs",
"types": "./dist/tiny-logger.d.ts",
"typesVersions": {
"*": {
".": [
"./dist/tiny-logger.d.ts"
]
}
},
"files": [
"dist"
],
"dependencies": {
"@fastkit/helpers": "0.12.9"
},
"buildOptions": {

@@ -16,30 +57,13 @@ "name": "TinyLogger"

},
"main": "./dist/tiny-logger.mjs",
"exports": {
".": "./dist/tiny-logger.mjs",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"files": [
"dist"
],
"types": "dist/tiny-logger.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/dadajam4/fastkit.git"
},
"keywords": [
"fastkit",
"logger",
"log"
],
"author": "dadajam4",
"license": "MIT",
"bugs": {
"url": "https://github.com/dadajam4/fastkit/issues"
},
"homepage": "https://github.com/dadajam4/fastkit/tree/main/packages/tiny-logger#readme",
"dependencies": {
"@fastkit/helpers": "0.12.8"
"scripts": {
"build": "plugboy build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"eslint": "eslint . --ext ts,tsx,js,vue,html,yaml",
"eslint:fix": "eslint . --ext ts,tsx,js,vue,html,yaml --fix",
"format": "pnpm run eslint:fix",
"lint": "pnpm run eslint",
"stub": "plugboy stub",
"test": "vitest run",
"typecheck": "tsc --noEmit"
}
}
}

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