@holz/console-backend 0.8.3-rc.154 → 0.8.3-rc.155

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,22 @@
1
- import { LogProcessor } from '@holz/core';
2
- /**
3
- * A backend that pretty-prints logs to a browser console, or any
4
- * remote-attached console.
5
- */
6
- export declare const createConsoleBackend: (options?: Options) => LogProcessor;
7
- interface Options {
8
- console?: MinimalConsole;
9
- }
10
- /**
11
- * A subset of the Console interface. Must support printf-style interpolation.
12
- * @see https://console.spec.whatwg.org/#formatting-specifiers
13
- *
14
- * Note that `fatal` has no corresponding equivalent. It will be downgraded to
15
- * `error` when printed.
16
- */
17
- export type MinimalConsole = Pick<Console, 'trace' | 'debug' | 'info' | 'warn' | 'error'>;
18
- export {};
1
+ import { LogProcessor } from '@holz/core';
2
+
3
+ /**
4
+ * A backend that pretty-prints logs to a browser console, or any
5
+ * remote-attached console.
6
+ */
7
+ export declare const createConsoleBackend: (options?: Options) => LogProcessor;
8
+
9
+ /**
10
+ * A subset of the Console interface. Must support printf-style interpolation.
11
+ * @see https://console.spec.whatwg.org/#formatting-specifiers
12
+ *
13
+ * Note that `fatal` has no corresponding equivalent. It will be downgraded to
14
+ * `error` when printed.
15
+ */
16
+ declare type MinimalConsole = Pick<Console, 'trace' | 'debug' | 'info' | 'warn' | 'error'>;
17
+
18
+ declare interface Options {
19
+ console?: MinimalConsole;
20
+ }
21
+
22
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holz/console-backend",
3
- "version": "0.8.3-rc.154+3f5148e",
3
+ "version": "0.8.3-rc.155+ca9302f",
4
4
  "description": "A console backend for Holz",
5
5
  "type": "module",
6
6
  "repository": {
@@ -39,7 +39,8 @@
39
39
  "@holz/core": "^0.8.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@holz/core": "^0.8.3-rc.154+3f5148e",
42
+ "@holz/core": "^0.8.3-rc.155+ca9302f",
43
+ "@microsoft/api-extractor": "^7.58.8",
43
44
  "@types/node": "^24.0.0",
44
45
  "@vitest/coverage-v8": "^4.0.0",
45
46
  "typescript": "^6.0.0",
@@ -48,5 +49,5 @@
48
49
  "vite-tsconfig-paths": "^6.0.0",
49
50
  "vitest": "^4.0.0"
50
51
  },
51
- "gitHead": "3f5148eb94bb1d7200d4b4993c95ea30db76b0c4"
52
+ "gitHead": "ca9302f8b1709bb57058eb0dc73af0ed2021ddfd"
52
53
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export { createConsoleBackend } from './console-backend';
@@ -1,6 +0,0 @@
1
- /**
2
- * Formats the difference between two dates in human-readable time.
3
- *
4
- * Inspired by the `ms` package. Thanks TJ.
5
- */
6
- export declare const timeDelta: (now: Date, then?: Date) => string;