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

roarr

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roarr - npm Package Compare versions

Comparing version 7.11.1 to 7.12.0

4

dist/src/browser.d.ts

@@ -5,6 +5,4 @@ import { logLevels } from './constants';

declare const ROARR: RoarrGlobalState;
declare const Roarr: import("./types").Logger<{
[x: string]: import("./types").JsonValue<{}> | undefined;
}>;
declare const Roarr: import("./types").Logger<import("./types").JsonObject>;
export type { MessageSerializer, Logger, LogLevelName, Message, MessageEventHandler, RoarrGlobalState, TransformMessageFunction, } from './types';
export { getLogLevelName, logLevels, Roarr, ROARR, };

@@ -5,6 +5,4 @@ import { logLevels } from './constants';

declare const ROARR: RoarrGlobalState;
declare const Roarr: import("./types").Logger<{
[x: string]: import("./types").JsonValue<{}> | undefined;
}>;
declare const Roarr: import("./types").Logger<import("./types").JsonObject>;
export type { MessageSerializer, Logger, LogLevelName, LogWriter, Message, MessageEventHandler, RoarrGlobalState, TransformMessageFunction, } from './types';
export { getLogLevelName, logLevels, Roarr, ROARR, };
/// <reference types="node" />
import type { AsyncLocalStorage } from 'async_hooks';
export declare type JsonObject<T = {}> = T & {
[Key in string]?: JsonValue<T>;
export declare type JsonValue = JsonObject | JsonValue[] | boolean | number | string | null;
export declare type JsonObject = {
[k: string]: JsonValue;
};
export declare type JsonValue<T> = Array<JsonValue<T>> | JsonObject<T> | boolean | number | string | null;
export declare type LogWriter = (message: string) => void;
export declare type MessageContext<T = {}> = JsonObject<T>;
export declare type MessageContext<T = {}> = JsonObject & T;
export declare type TopLevelAsyncLocalContext = {

@@ -36,4 +36,4 @@ messageContext: MessageContext;

export declare type LogMethod<Z> = {
(context: Z, message: string, c?: SprintfArgument, d?: SprintfArgument, e?: SprintfArgument, f?: SprintfArgument, g?: SprintfArgument, h?: SprintfArgument, i?: SprintfArgument, j?: SprintfArgument): void;
(message: string, b?: SprintfArgument, c?: SprintfArgument, d?: SprintfArgument, e?: SprintfArgument, f?: SprintfArgument, g?: SprintfArgument, h?: SprintfArgument, i?: SprintfArgument, j?: SprintfArgument): void;
<T extends string = string>(context: Z, message: T, c?: T extends `${string}%${string}` ? SprintfArgument : never, d?: SprintfArgument, e?: SprintfArgument, f?: SprintfArgument, g?: SprintfArgument, h?: SprintfArgument, i?: SprintfArgument, j?: SprintfArgument): void;
<T extends string = string>(message: T, b?: T extends `${string}%${string}` ? SprintfArgument : never, c?: SprintfArgument, d?: SprintfArgument, e?: SprintfArgument, f?: SprintfArgument, g?: SprintfArgument, h?: SprintfArgument, i?: SprintfArgument, j?: SprintfArgument): void;
};

@@ -40,0 +40,0 @@ declare type Child<Z> = {

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

t.throws(() => {
// @ts-expect-error Invalid invocation
log('test', 123);

@@ -91,0 +92,0 @@ });

@@ -75,3 +75,3 @@ {

"typings": "./dist/src/Roarr.d.ts",
"version": "7.11.1"
"version": "7.12.0"
}
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