Comparing version 7.2.0 to 7.3.0
@@ -1,2 +0,2 @@ | ||
import type { Writer } from '../types'; | ||
export declare const createNodeWriter: () => Writer; | ||
import type { LogWriter } from '../types'; | ||
export declare const createNodeWriter: () => LogWriter; |
@@ -5,3 +5,3 @@ import { logLevels } from './constants'; | ||
declare const Roarr: import("./types").Logger; | ||
export type { Logger, Message, MessageEventHandler, RoarrGlobalState, TranslateMessageFunction, } from './types'; | ||
export type { Logger, LogWriter, Message, MessageEventHandler, RoarrGlobalState, TranslateMessageFunction, } from './types'; | ||
export { logLevels, Roarr, ROARR, }; |
/// <reference types="node" /> | ||
import type { AsyncLocalStorage } from 'async_hooks'; | ||
export declare type Writer = { | ||
export declare type LogWriter = { | ||
write: (message: string) => void; | ||
}; | ||
export declare type MessageContext = any; | ||
export declare type RoarrGlobalState = Writer & { | ||
export declare type RoarrGlobalState = LogWriter & { | ||
asyncLocalStorage?: AsyncLocalStorage<MessageContext>; | ||
@@ -9,0 +9,0 @@ sequence: number; |
@@ -45,3 +45,3 @@ { | ||
"gitdown": "^3.1.4", | ||
"husky": "^4", | ||
"husky": "^7.0.4", | ||
"nyc": "^15.1.0", | ||
@@ -56,8 +56,2 @@ "semantic-release": "^18.0.0", | ||
}, | ||
"husky": { | ||
"scripts": { | ||
"pre-commit": "npm run lint && npm run test && npm run build", | ||
"pre-push": "gitdown ./.README/README.md --output-file ./README.md --check" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -84,3 +78,3 @@ "log", | ||
"typings": "./dist/src/Roarr.d.ts", | ||
"version": "7.2.0" | ||
"version": "7.3.0" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72613