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

exer

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exer - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

16

lib/debug.d.ts
/// <reference types="node" />
import { InspectOptions } from 'util';
interface Formatters {
export interface Debug {
(namespace: string): Debugger;
enable: (namespaces?: string) => void;
disable: () => void;
enabled: (namespaces: string) => boolean;
coerce: (val: any) => any;
names: RegExp[];
skips: RegExp[];
formatters: Formatters;
}
export interface Formatters {
[formatter: string]: (v: any) => string;
}
interface Debugger {
export interface Debugger {
(formatter: any, ...args: any[]): void;

@@ -24,2 +34,3 @@ enabled: boolean;

}
export { Debug as debug };
/**

@@ -64,2 +75,1 @@ * Create a debugger with the given `namespace`.

}
export {};

@@ -101,2 +101,3 @@ "use strict";

exports.Debug = Debug;
exports.debug = Debug;
/**

@@ -103,0 +104,0 @@ * Adds ANSI color escape codes if enabled.

2

package.json
{
"name": "exer",
"version": "0.0.7",
"version": "0.0.8",
"description": "Utils in TypeScript, Debug, NanoTimer ...",

@@ -5,0 +5,0 @@ "author": "kbajalc@gmail.com",

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