@gesslar/toolkit 5.7.0 → 5.9.0

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.
Files changed (62) hide show
  1. package/package.json +6 -6
  2. package/src/node/lib/Cache.js +70 -18
  3. package/src/node/lib/Data.js +35 -18
  4. package/src/node/lib/FileObject.js +3 -2
  5. package/types/browser/index.d.ts +6 -3
  6. package/types/browser/index.d.ts.map +1 -1
  7. package/types/browser/lib/Collection.d.ts +9 -2
  8. package/types/browser/lib/Collection.d.ts.map +1 -1
  9. package/types/browser/lib/Data.d.ts +21 -7
  10. package/types/browser/lib/Data.d.ts.map +1 -1
  11. package/types/browser/lib/Disposer.d.ts +2 -2
  12. package/types/browser/lib/Disposer.d.ts.map +1 -1
  13. package/types/browser/lib/HTML.d.ts +2 -2
  14. package/types/browser/lib/HTML.d.ts.map +1 -1
  15. package/types/browser/lib/Notify.d.ts +16 -16
  16. package/types/browser/lib/Notify.d.ts.map +1 -1
  17. package/types/browser/lib/Promised.d.ts +10 -10
  18. package/types/browser/lib/Promised.d.ts.map +1 -1
  19. package/types/browser/lib/Sass.d.ts +40 -28
  20. package/types/browser/lib/Sass.d.ts.map +1 -1
  21. package/types/browser/lib/Tantrum.d.ts +26 -16
  22. package/types/browser/lib/Tantrum.d.ts.map +1 -1
  23. package/types/browser/lib/Time.d.ts.map +1 -1
  24. package/types/browser/lib/TypeSpec.d.ts +33 -23
  25. package/types/browser/lib/TypeSpec.d.ts.map +1 -1
  26. package/types/browser/lib/Util.d.ts.map +1 -1
  27. package/types/browser/lib/Valid.d.ts +14 -11
  28. package/types/browser/lib/Valid.d.ts.map +1 -1
  29. package/types/browser/lib/vendor/dompurify.esm.d.ts +11 -23
  30. package/types/browser/lib/vendor/dompurify.esm.d.ts.map +1 -1
  31. package/types/node/index.d.ts +4 -2
  32. package/types/node/index.d.ts.map +1 -1
  33. package/types/node/lib/Cache.d.ts +63 -8
  34. package/types/node/lib/Cache.d.ts.map +1 -1
  35. package/types/node/lib/Data.d.ts +16 -6
  36. package/types/node/lib/Data.d.ts.map +1 -1
  37. package/types/node/lib/DirectoryObject.d.ts +111 -69
  38. package/types/node/lib/DirectoryObject.d.ts.map +1 -1
  39. package/types/node/lib/FileObject.d.ts +53 -23
  40. package/types/node/lib/FileObject.d.ts.map +1 -1
  41. package/types/node/lib/FileSystem.d.ts +63 -53
  42. package/types/node/lib/FileSystem.d.ts.map +1 -1
  43. package/types/node/lib/Font.d.ts +5 -5
  44. package/types/node/lib/Font.d.ts.map +1 -1
  45. package/types/node/lib/Glog.d.ts +157 -145
  46. package/types/node/lib/Glog.d.ts.map +1 -1
  47. package/types/node/lib/Notify.d.ts +18 -12
  48. package/types/node/lib/Notify.d.ts.map +1 -1
  49. package/types/node/lib/Sass.d.ts +14 -2
  50. package/types/node/lib/Sass.d.ts.map +1 -1
  51. package/types/node/lib/Tantrum.d.ts +18 -1
  52. package/types/node/lib/Tantrum.d.ts.map +1 -1
  53. package/types/node/lib/Term.d.ts +1 -2
  54. package/types/node/lib/Term.d.ts.map +1 -1
  55. package/types/node/lib/Util.d.ts +3 -11
  56. package/types/node/lib/Util.d.ts.map +1 -1
  57. package/types/node/lib/Valid.d.ts +8 -2
  58. package/types/node/lib/Valid.d.ts.map +1 -1
  59. package/types/node/lib/Watcher.d.ts +4 -4
  60. package/types/node/lib/Watcher.d.ts.map +1 -1
  61. package/vendor/toolkit.esm.js +1 -1
  62. package/vendor/toolkit.umd.js +1 -1
@@ -1,6 +1,17 @@
1
- declare const _default: typeof Glog;
2
- export default _default;
1
+ /**
2
+ * @file Glog.js
3
+ *
4
+ * Enhanced Global logging utility that combines simple logging with advanced Logger features.
5
+ *
6
+ * Can be used in multiple ways:
7
+ * 1. Simple function call: Glog(data)
8
+ * 2. With levels: Glog(2, "debug message")
9
+ * 3. Configured instance: new Glog(options)
10
+ * 4. Fluent setup: Glog.create().withName("App").withColours()
11
+ * 5. Traditional logger: logger.debug("message", level)
12
+ */
3
13
  declare class Glog {
14
+ #private;
4
15
  static logLevel: number;
5
16
  static logPrefix: string;
6
17
  static colours: any;
@@ -8,6 +19,59 @@ declare class Glog {
8
19
  static name: string;
9
20
  static tagsAsStrings: boolean;
10
21
  static symbols: any;
22
+ /**
23
+ * Create a new Glog logger instance with optional configuration
24
+ *
25
+ * @param {object} [options={}] - Configuration options
26
+ * @param {string} [options.name] - Logger name to display in output
27
+ * @param {number} [options.debugLevel] - Debug verbosity level (0-5, default: 0)
28
+ * @param {number} [options.logLevel] - Alias for debugLevel
29
+ * @param {string} [options.prefix] - Prefix to prepend to all log messages
30
+ * @param {object} [options.colours] - Colour configuration object
31
+ * @param {object} [options.symbols] - Custom log level symbols (e.g., {info: '🚒', warn: '🚨', error: '🔥', success: '💧', debug: '🧯'})
32
+ * @param {boolean} [options.stackTrace=false] - Enable stack trace extraction
33
+ * @param {boolean} [options.tagsAsStrings=false] - Use string tags instead of symbols
34
+ * @param {boolean} [options.displayName=true] - Display logger name in output
35
+ * @param {object} [options.vscode] - VS Code API object (auto-detected if not provided)
36
+ */
37
+ constructor(options?: {
38
+ name?: string;
39
+ debugLevel?: number;
40
+ logLevel?: number;
41
+ prefix?: string;
42
+ colours?: object;
43
+ symbols?: object;
44
+ stackTrace?: boolean;
45
+ tagsAsStrings?: boolean;
46
+ displayName?: boolean;
47
+ vscode?: object;
48
+ });
49
+ /**
50
+ * Set configuration options for this logger instance
51
+ *
52
+ * @param {object} options - Configuration options
53
+ * @param {string} [options.name] - Logger name to display in output
54
+ * @param {number} [options.debugLevel] - Debug verbosity level (0-5)
55
+ * @param {number} [options.logLevel] - Alias for debugLevel
56
+ * @param {string} [options.prefix] - Prefix to prepend to all log messages
57
+ * @param {object} [options.colours] - Colour configuration object
58
+ * @param {object} [options.symbols] - Custom log level symbols (e.g., {info: '🚒', warn: '🚨', error: '🔥', success: '💧', debug: '🧯'})
59
+ * @param {boolean} [options.stackTrace] - Enable stack trace extraction
60
+ * @param {boolean} [options.tagsAsStrings] - Use string tags instead of symbols
61
+ * @param {boolean} [options.displayName] - Display logger name in output
62
+ * @returns {Glog} This Glog instance for chaining
63
+ */
64
+ setOptions(options: {
65
+ name?: string;
66
+ debugLevel?: number;
67
+ logLevel?: number;
68
+ prefix?: string;
69
+ colours?: object;
70
+ symbols?: object;
71
+ stackTrace?: boolean;
72
+ tagsAsStrings?: boolean;
73
+ displayName?: boolean;
74
+ }): Glog;
11
75
  /**
12
76
  * Set the log prefix for global usage
13
77
  *
@@ -85,147 +149,6 @@ declare class Glog {
85
149
  * @returns {Glog} New Glog instance
86
150
  */
87
151
  static create(options?: object): Glog;
88
- /**
89
- * Core execute method for simple static usage
90
- * Can be called as: Glog(data) or Glog(level, data)
91
- *
92
- * @param {...unknown} args - Arguments (optional level number, then data)
93
- */
94
- static execute(...args: unknown[]): void;
95
- /**
96
- * Static version of colourize for global usage
97
- *
98
- * @param {Array<string>} strings - Template strings
99
- * @param {...unknown} values - Template values
100
- */
101
- static colourize(strings: Array<string>, ...values: unknown[]): void;
102
- /**
103
- * Static success method
104
- *
105
- * @param {string} message - Success message to log
106
- * @param {...unknown} args - Additional arguments to log
107
- */
108
- static success(message: string, ...args: unknown[]): void;
109
- /**
110
- * Static group method - start a console group for indented output
111
- *
112
- * @param {...unknown} args - Optional group label
113
- */
114
- static group(...args: unknown[]): void;
115
- /**
116
- * Static groupEnd method - end the current console group
117
- */
118
- static groupEnd(): void;
119
- /**
120
- * Static groupDebug - start a debug-tagged group
121
- *
122
- * @param {string} message - Group label
123
- * @param {number} [level=1] - Debug level
124
- */
125
- static groupDebug(message: string, level?: number): void;
126
- /**
127
- * Static groupInfo - start an info-tagged group
128
- *
129
- * @param {string} message - Group label
130
- */
131
- static groupInfo(message: string): void;
132
- /**
133
- * Static groupSuccess - start a success-tagged group
134
- *
135
- * @param {string} message - Group label
136
- */
137
- static groupSuccess(message: string): void;
138
- /**
139
- * Static table method
140
- *
141
- * @param {object | Array} data - Object or array to display
142
- * @param {string | object} [labelOrOptions] - Optional label (string) or options (object)
143
- * @param {object} [options] - Optional options when label is provided
144
- * @param {Array<string>} [options.properties] - Column properties to display
145
- * @param {boolean} [options.showHeader=false] - Whether to show the header row
146
- * @param {boolean} [options.quotedStrings=false] - Whether to show quotes around strings
147
- */
148
- static table(data: object | any[], labelOrOptions?: string | object, options?: {
149
- properties?: Array<string>;
150
- showHeader?: boolean;
151
- quotedStrings?: boolean;
152
- }): void;
153
- /**
154
- * Set a colour alias for convenient usage
155
- *
156
- * @param {string} alias - Alias name
157
- * @param {string} colourCode - Colour code (e.g., "{F196}" or "{<B}")
158
- * @returns {Glog} The Glog class for chaining.
159
- */
160
- static setAlias(alias: string, colourCode: string): Glog;
161
- /**
162
- * Static raw logger that outputs without name/tag formatting
163
- *
164
- * @returns {object} Raw logger interface
165
- * @returns {Function} return.debug - Raw debug output function
166
- * @returns {Function} return.info - Raw info output function
167
- * @returns {Function} return.warn - Raw warning output function
168
- * @returns {Function} return.error - Raw error output function
169
- * @returns {Function} return.log - Raw log output function
170
- * @returns {Function} return.success - Raw success output function
171
- * @returns {Function} return.table - Raw table output function
172
- * @returns {Function} return.group - Raw group start function
173
- * @returns {Function} return.groupEnd - Raw group end function
174
- */
175
- static get raw(): object;
176
- /**
177
- * Create a new Glog logger instance with optional configuration
178
- *
179
- * @param {object} [options={}] - Configuration options
180
- * @param {string} [options.name] - Logger name to display in output
181
- * @param {number} [options.debugLevel] - Debug verbosity level (0-5, default: 0)
182
- * @param {number} [options.logLevel] - Alias for debugLevel
183
- * @param {string} [options.prefix] - Prefix to prepend to all log messages
184
- * @param {object} [options.colours] - Colour configuration object
185
- * @param {object} [options.symbols] - Custom log level symbols (e.g., {info: '🚒', warn: '🚨', error: '🔥', success: '💧', debug: '🧯'})
186
- * @param {boolean} [options.stackTrace=false] - Enable stack trace extraction
187
- * @param {boolean} [options.tagsAsStrings=false] - Use string tags instead of symbols
188
- * @param {boolean} [options.displayName=true] - Display logger name in output
189
- * @param {object} [options.vscode] - VS Code API object (auto-detected if not provided)
190
- */
191
- constructor(options?: {
192
- name?: string;
193
- debugLevel?: number;
194
- logLevel?: number;
195
- prefix?: string;
196
- colours?: object;
197
- symbols?: object;
198
- stackTrace?: boolean;
199
- tagsAsStrings?: boolean;
200
- displayName?: boolean;
201
- vscode?: object;
202
- });
203
- /**
204
- * Set configuration options for this logger instance
205
- *
206
- * @param {object} options - Configuration options
207
- * @param {string} [options.name] - Logger name to display in output
208
- * @param {number} [options.debugLevel] - Debug verbosity level (0-5)
209
- * @param {number} [options.logLevel] - Alias for debugLevel
210
- * @param {string} [options.prefix] - Prefix to prepend to all log messages
211
- * @param {object} [options.colours] - Colour configuration object
212
- * @param {object} [options.symbols] - Custom log level symbols (e.g., {info: '🚒', warn: '🚨', error: '🔥', success: '💧', debug: '🧯'})
213
- * @param {boolean} [options.stackTrace] - Enable stack trace extraction
214
- * @param {boolean} [options.tagsAsStrings] - Use string tags instead of symbols
215
- * @param {boolean} [options.displayName] - Display logger name in output
216
- * @returns {Glog} This Glog instance for chaining
217
- */
218
- setOptions(options: {
219
- name?: string;
220
- debugLevel?: number;
221
- logLevel?: number;
222
- prefix?: string;
223
- colours?: object;
224
- symbols?: object;
225
- stackTrace?: boolean;
226
- tagsAsStrings?: boolean;
227
- displayName?: boolean;
228
- }): Glog;
229
152
  /**
230
153
  * Set the logger name for this instance
231
154
  *
@@ -364,6 +287,13 @@ declare class Glog {
364
287
  * @param {...unknown} arg - Additional arguments to log
365
288
  */
366
289
  error(message: string, ...arg: unknown[]): void;
290
+ /**
291
+ * Core execute method for simple static usage
292
+ * Can be called as: Glog(data) or Glog(level, data)
293
+ *
294
+ * @param {...unknown} args - Arguments (optional level number, then data)
295
+ */
296
+ static execute(...args: unknown[]): void;
367
297
  /**
368
298
  * Instance execute method for configured loggers
369
299
  * Can be called as: logger(data) or logger(level, data)
@@ -379,6 +309,13 @@ declare class Glog {
379
309
  * @example logger.colourize`{success}Operation completed{/} in {bold}${time}ms{/}`
380
310
  */
381
311
  colourize(strings: Array<string>, ...values: unknown[]): void;
312
+ /**
313
+ * Static version of colourize for global usage
314
+ *
315
+ * @param {Array<string>} strings - Template strings
316
+ * @param {...unknown} values - Template values
317
+ */
318
+ static colourize(strings: Array<string>, ...values: unknown[]): void;
382
319
  /**
383
320
  * Log a success message with green colour
384
321
  *
@@ -386,6 +323,42 @@ declare class Glog {
386
323
  * @param {...unknown} args - Additional arguments
387
324
  */
388
325
  success(message: string, ...args: unknown[]): void;
326
+ /**
327
+ * Static success method
328
+ *
329
+ * @param {string} message - Success message to log
330
+ * @param {...unknown} args - Additional arguments to log
331
+ */
332
+ static success(message: string, ...args: unknown[]): void;
333
+ /**
334
+ * Static group method - start a console group for indented output
335
+ *
336
+ * @param {...unknown} args - Optional group label
337
+ */
338
+ static group(...args: unknown[]): void;
339
+ /**
340
+ * Static groupEnd method - end the current console group
341
+ */
342
+ static groupEnd(): void;
343
+ /**
344
+ * Static groupDebug - start a debug-tagged group
345
+ *
346
+ * @param {string} message - Group label
347
+ * @param {number} [level=1] - Debug level
348
+ */
349
+ static groupDebug(message: string, level?: number): void;
350
+ /**
351
+ * Static groupInfo - start an info-tagged group
352
+ *
353
+ * @param {string} message - Group label
354
+ */
355
+ static groupInfo(message: string): void;
356
+ /**
357
+ * Static groupSuccess - start a success-tagged group
358
+ *
359
+ * @param {string} message - Group label
360
+ */
361
+ static groupSuccess(message: string): void;
389
362
  /**
390
363
  * Start a console group for indented output
391
364
  *
@@ -430,12 +403,35 @@ declare class Glog {
430
403
  showHeader?: boolean;
431
404
  quotedStrings?: boolean;
432
405
  }): void;
406
+ /**
407
+ * Static table method
408
+ *
409
+ * @param {object | Array} data - Object or array to display
410
+ * @param {string | object} [labelOrOptions] - Optional label (string) or options (object)
411
+ * @param {object} [options] - Optional options when label is provided
412
+ * @param {Array<string>} [options.properties] - Column properties to display
413
+ * @param {boolean} [options.showHeader=false] - Whether to show the header row
414
+ * @param {boolean} [options.quotedStrings=false] - Whether to show quotes around strings
415
+ */
416
+ static table(data: object | any[], labelOrOptions?: string | object, options?: {
417
+ properties?: Array<string>;
418
+ showHeader?: boolean;
419
+ quotedStrings?: boolean;
420
+ }): void;
421
+ /**
422
+ * Set a colour alias for convenient usage
423
+ *
424
+ * @param {string} alias - Alias name
425
+ * @param {string} colourCode - Colour code (e.g., "{F196}" or "{<B}")
426
+ * @returns {Glog} The Glog class for chaining.
427
+ */
428
+ static setAlias(alias: string, colourCode: string): Glog;
433
429
  /**
434
430
  * Get access to the colours template function for instance usage
435
431
  *
436
432
  * @returns {import('@gesslar/colours')} The colours template function from \@gesslar/colours
437
433
  */
438
- get colours(): typeof import("@gesslar/colours");
434
+ get colours(): import('@gesslar/colours');
439
435
  /**
440
436
  * Get a raw logger that outputs without name/tag formatting
441
437
  *
@@ -451,6 +447,22 @@ declare class Glog {
451
447
  * @returns {Function} return.groupEnd - Raw group end function
452
448
  */
453
449
  get raw(): object;
454
- #private;
450
+ /**
451
+ * Static raw logger that outputs without name/tag formatting
452
+ *
453
+ * @returns {object} Raw logger interface
454
+ * @returns {Function} return.debug - Raw debug output function
455
+ * @returns {Function} return.info - Raw info output function
456
+ * @returns {Function} return.warn - Raw warning output function
457
+ * @returns {Function} return.error - Raw error output function
458
+ * @returns {Function} return.log - Raw log output function
459
+ * @returns {Function} return.success - Raw success output function
460
+ * @returns {Function} return.table - Raw table output function
461
+ * @returns {Function} return.group - Raw group start function
462
+ * @returns {Function} return.groupEnd - Raw group end function
463
+ */
464
+ static get raw(): object;
455
465
  }
466
+ declare const _default: typeof Glog;
467
+ export default _default;
456
468
  //# sourceMappingURL=Glog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Glog.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Glog.js"],"names":[],"mappings":";;AAgGA;IAEE,wBAAmB;IACnB,yBAAqB;IACrB,oBAAqB;IACrB,2BAAyB;IACzB,oBAAgB;IAChB,8BAA4B;IAC5B,oBAAqB;IAiFrB;;;;;OAKG;IACH,4BAHW,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IAED;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,CAAC,KAAK,EAJV,MAIU,EAAE,UAAU,EAHtB,MAGsB,GAFpB,IAAI,CAMhB;IAED;;;;OAIG;IACH,IAAI,OAAO,IAFE,OAAO,kBAAkB,CAAC,CAItC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,GAAG,IAXM,MAAM,CAuBlB;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,KAAK,GAAG,IAXD,MAAM,CAuBlB;CACF"}
@@ -1,3 +1,19 @@
1
+ /**
2
+ * @file Notify.js
3
+ * @description Node.js event notification system using EventEmitter.
4
+ * Provides a centralized API for event emission and handling.
5
+ */
6
+ import { EventEmitter } from "node:events";
7
+ export type NotifyEventOptions = {
8
+ /**
9
+ * - Whether the listener should be invoked only once.
10
+ */
11
+ once?: boolean;
12
+ /**
13
+ * - An AbortSignal to remove the listener.
14
+ */
15
+ signal?: AbortSignal;
16
+ };
1
17
  /**
2
18
  * @typedef {object} NotifyEventOptions
3
19
  * @property {boolean} [once] - Whether the listener should be invoked only once.
@@ -7,7 +23,8 @@
7
23
  * Notify class provides a thin wrapper around EventEmitter for centralized
8
24
  * event handling in Node.js applications. Mirrors the browser Notify API.
9
25
  */
10
- export class Notify {
26
+ export declare class Notify {
27
+ #private;
11
28
  /** @type {string} Display name for debugging. */
12
29
  name: string;
13
30
  /**
@@ -69,18 +86,7 @@ export class Notify {
69
86
  * @returns {undefined}
70
87
  */
71
88
  off(type: string, handler: (payload: unknown) => undefined, emitter?: EventEmitter): undefined;
72
- #private;
73
89
  }
74
90
  declare const _default: Notify;
75
91
  export default _default;
76
- export type NotifyEventOptions = {
77
- /**
78
- * - Whether the listener should be invoked only once.
79
- */
80
- once?: boolean;
81
- /**
82
- * - An AbortSignal to remove the listener.
83
- */
84
- signal?: AbortSignal;
85
- };
86
92
  //# sourceMappingURL=Notify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notify.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Notify.js"],"names":[],"mappings":"AAWA;;;;GAIG;AAEH;;;GAGG;AACH;IACE,iDAAiD;IACjD,MADW,MAAM,CACF;IAKf;;;;;;OAMG;IACH,WAJW,MAAM,YACN,OAAO,GACL,SAAS,CAMrB;IAED;;;;;;;;OAQG;IACH,gBAJW,MAAM,YACN,OAAO,GACL,OAAO,CAAC,SAAS,CAAC,CAM9B;IAED;;;;;;;;;;;OAWG;IACH,WANW,MAAM,YACN,OAAO,YACP,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAC,IAAI,WAC7B,WAAW,GACT,SAAS,CAQrB;IAED;;;;;;;OAOG;IACH,cAJW,MAAM,YACN,OAAO,GACL,OAAO,CAQnB;IAED;;;;;;;;OAQG;IACH,SANW,MAAM,WACN,CAAC,OAAO,EAAE,OAAO,KAAK,SAAS,YAC/B,YAAY,YACZ,kBAAkB,GAChB,MAAM,SAAS,CAa3B;IAED;;;;;;;OAOG;IACH,UALW,MAAM,WACN,CAAC,OAAO,EAAE,OAAO,KAAK,SAAS,YAC/B,YAAY,GACV,SAAS,CAMrB;;CACF;;;;;;;WAlHa,OAAO;;;;aACP,WAAW"}
1
+ {"version":3,"file":"Notify.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Notify.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAA;AAMrC,YAAkB,kBAAkB,GACpC;;;;IAAqB,IAAI,AAAzB,CACA,EADW,OAAO,CAClB;;;;IAAyB,MAAM,AAA/B,CACF,EADa,WAAW,CACxB;CAAA,CAAA;AAJD;;;;GAIG;AAEH;;;GAGG;AACH,qBAAa,MAAM;;IACjB,iDAAiD;IACjD,IAAI,EADO,MAAM,CACF;IAKf;;;;;;OAMG;IACH,IAAI,CAAC,IAAI,EAJE,MAIF,EAAE,OAAO,AAHf,CACA,EADQ,OAGiB,GAFf,SAAS,CAMrB;IAED;;;;;;;;OAQG;IACG,SAAS,CAAC,IAAI,EAJT,MAIS,EAAE,OAAO,AAH1B,CACA,EADQ,OAGkB,GAFhB,OAAO,CAAC,SAAS,CAAC,CAM9B;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EANE,MAMF,EAAE,OAAO,AALf,CACA,EADQ,OAKO,EAAE,OAAO,AAJxB,CACA,EADQ,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAC,IAIT,EAAE,MAAM,AAHhC,CACA,EADQ,WAGwB,GAFtB,SAAS,CAQrB;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,IAAI,EAJD,MAIC,EAAE,OAAO,AAHlB,CACA,EADQ,OAGa,GAFX,OAAO,CAQnB;IAED;;;;;;;;OAQG;IACH,EAAE,CAAC,IAAI,EANI,MAMJ,EAAE,OAAO,EALL,CAAC,OAAO,EAAE,OAAO,KAAK,SAKjB,EAAE,OAAO,AAJtB,CACA,EADQ,YAI4B,EAAE,OAAO,AAH7C,CACA,EADQ,kBAG+C,GAF7C,MAAM,SAAS,CAa3B;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,IAAI,EALG,MAKH,EAAE,OAAO,EAJN,CAAC,OAAO,EAAE,OAAO,KAAK,SAIhB,EAAE,OAAO,AAHvB,CACA,EADQ,YAG6B,GAF3B,SAAS,CAMrB;CACF"}
@@ -1,8 +1,22 @@
1
+ /**
2
+ * @file Sass.js
3
+ *
4
+ * Defines the Sass class, a custom error type for toolkit compilation
5
+ * errors.
6
+ *
7
+ * Supports error chaining, trace management, and formatted reporting for both
8
+ * user-friendly and verbose (nerd) output.
9
+ *
10
+ * Used throughout the toolkit for structured error handling and
11
+ * debugging.
12
+ */
13
+ import BrowserSass from "../../browser/lib/Sass.js";
1
14
  /**
2
15
  * Custom error class for toolkit errors.
3
16
  * Provides error chaining, trace management, and formatted error reporting.
4
17
  */
5
18
  export default class Sass extends BrowserSass {
19
+ #private;
6
20
  /**
7
21
  * Reports the error to the terminal with formatted output.
8
22
  * Optionally includes detailed stack trace information.
@@ -10,7 +24,5 @@ export default class Sass extends BrowserSass {
10
24
  * @param {boolean} [nerdMode] - Whether to include detailed stack trace
11
25
  */
12
26
  report(nerdMode?: boolean): void;
13
- #private;
14
27
  }
15
- import BrowserSass from "../../browser/lib/Sass.js";
16
28
  //# sourceMappingURL=Sass.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sass.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Sass.js"],"names":[],"mappings":"AAgBA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,kBAFW,OAAO,QAqCjB;;CAiCF;wBAlFuB,2BAA2B"}
1
+ {"version":3,"file":"Sass.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Sass.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,WAAW,MAAM,2BAA2B,CAAA;AAGnD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW;;IAC3C;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,AAFZ,CACF,EADU,OAEU,QAmCpB;CAiCF"}
@@ -1,9 +1,26 @@
1
+ /**
2
+ * @file Tantrum.js
3
+ *
4
+ * Defines the Tantrum class, a custom AggregateError type for toolkit
5
+ * that collects multiple errors with Sass-style reporting.
6
+ *
7
+ * Auto-wraps plain Error objects in Sass instances while preserving
8
+ * existing Sass errors, providing consistent formatted output for
9
+ * multiple error scenarios.
10
+ */
11
+ import BrowserTantrum from "../../browser/lib/Tantrum.js";
1
12
  /**
2
13
  * Custom aggregate error class that extends AggregateError.
3
14
  * Automatically wraps plain errors in Sass instances for consistent reporting.
4
15
  */
5
16
  export default class Tantrum extends BrowserTantrum {
6
17
  constructor(message: any, errors?: any[]);
18
+ /**
19
+ * Reports all aggregated errors to the terminal with formatted output.
20
+ *
21
+ * @param {boolean} [nerdMode] - Whether to include detailed stack traces
22
+ * @param {boolean} [isNested] - Whether this is a nested error report
23
+ */
24
+ report(nerdMode?: boolean, isNested?: boolean): void;
7
25
  }
8
- import BrowserTantrum from "../../browser/lib/Tantrum.js";
9
26
  //# sourceMappingURL=Tantrum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tantrum.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Tantrum.js"],"names":[],"mappings":"AAeA;;;GAGG;AACH;IACE,0CAEC;CA0BF;2BArC0B,8BAA8B"}
1
+ {"version":3,"file":"Tantrum.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Tantrum.js"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,cAAc,MAAM,8BAA8B,CAAA;AAIzD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,cAAc;IACjD,YAAY,OAAO,KAAA,EAAE,MAAM,QAAK,EAE/B;IAED;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,AAHZ,CACA,EADQ,OAGY,EAAE,QAAQ,AAF9B,CACF,EADU,OAE8B,QAiBxC;CACF"}
@@ -5,8 +5,7 @@
5
5
  * output with colour styling via `@gesslar/colours`.
6
6
  */
7
7
  export default class Term {
8
- static #cache: Map<any, any>;
9
- static #preformat(text: any): any;
8
+ #private;
10
9
  /**
11
10
  * Terminal width in columns.
12
11
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Term.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Term.js"],"names":[],"mappings":"AAyBA;;;;;GAKG;AACH;IACE,6BAAyB;IAEzB,kCAIC;IAED;;;;OAIG;IACH,sBAFU,MAAM,GAAG,SAAS,CAI3B;IAED;;;;OAIG;IACH,mBAFU,MAAM,GAAG,SAAS,CAI3B;IAED;;;;OAIG;IACH,kBAFU;QAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;KAAC,CAIhE;IAED;;;;OAIG;IACH,4BAFU,OAAO,CAMhB;IAED;;;;;;;;;OASG;IACH,uBAFU,OAAO,CAeh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AS,CAAC,CAiCtC;IAED;;;;OAIG;IACH,MAAM,CAAC,UAAU,IAFJ,OAAO,IAAI,CAMvB;IAED;;;;OAIG;IACH,MAAM,CAAC,aAAa,IAFP,OAAO,IAAI,CAMvB;IAED;;;;OAIG;IACH,MAAM,CAAC,GAAG,IAFG,OAAO,IAAI,CAMvB;CACF"}
@@ -1,8 +1,11 @@
1
+ import { EventEmitter } from "node:events";
2
+ import BrowserUtil from "../../browser/lib/Util.js";
1
3
  /**
2
4
  * Utility class providing common helper functions for string manipulation,
3
5
  * timing, hashing, and option parsing.
4
6
  */
5
7
  export default class Util extends BrowserUtil {
8
+ #private;
6
9
  /**
7
10
  * Compute sha256 hash (hex) of the provided string.
8
11
  *
@@ -35,16 +38,6 @@ export default class Util extends BrowserUtil {
35
38
  * @returns {Array<string>} Array of canonical option names (long preferred, short if no long present).
36
39
  */
37
40
  static generateOptionNames(object: object): Array<string>;
38
- /**
39
- * Private method that performs the actual async emission logic.
40
- * Handles listener execution, error aggregation, and result processing.
41
- *
42
- * @param {object} emitter - The emitter object (already validated)
43
- * @param {string} event - The event name to emit
44
- * @param {...unknown} args - Arguments to pass to event listeners
45
- * @returns {Promise<undefined>} Resolves when all listeners have completed
46
- */
47
- static #performAsyncEmit(emitter: object, event: string, ...args: unknown[]): Promise<undefined>;
48
41
  /**
49
42
  * Emits an event asynchronously and waits for all listeners to complete.
50
43
  * Unlike the standard EventEmitter.emit() which is synchronous, this method
@@ -110,5 +103,4 @@ export default class Util extends BrowserUtil {
110
103
  */
111
104
  static getEnv(ev: string, def?: unknown): unknown;
112
105
  }
113
- import BrowserUtil from "../../browser/lib/Util.js";
114
106
  //# sourceMappingURL=Util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Util.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Util.js"],"names":[],"mappings":"AAQA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,iBAHW,MAAM,GACJ,MAAM,CAIlB;IAED;;;;;;;;;;;;;;;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,OAAO,CAAC,SAAS,CAAC,CAgB9B;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,CAAC,OAAO,EAPR,YAOQ,EAAE,KAAK,EANf,MAMe,EAAE,OAAO,AALhC,CACA,EADQ,OAKwB,EAAE,OAAO,AAJzC,CACA,EADQ,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAC,IAIQ,EAAE,MAAM,AAHjD,CACA,EADQ,WAGyC,GAFvC,SAAS,CA6BrB;IAED;;;;;;;;;;OAUG;IACH,OAAa,cAAc,CAAC,OAAO,EALxB,MAKwB,EAAE,KAAK,EAJ/B,MAI+B,EAAE,GAAG,IAAI,EAHrC,OAAO,EAG8B,GAFtC,OAAO,CAAC,SAAS,CAAC,CAoB9B;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,MAAM,CAAC,EAAE,EALL,MAKK,EAAE,GAAG,AAJlB,CACA,EADQ,OAIoB,GAHlB,OAAO,CAmBnB;CACF"}
@@ -1,3 +1,11 @@
1
+ /**
2
+ * @file Valid.js
3
+ *
4
+ * Node-flavoured validation utilities that throw the Node Sass error type.
5
+ * Extends the browser Valid, swapping in the Node Sass for richer reporting.
6
+ */
7
+ import BrowserValid from "../../browser/lib/Valid.js";
8
+ import Sass from "./Sass.js";
1
9
  /**
2
10
  * Validation utility class providing type checking and assertion methods.
3
11
  * Inherits all behaviour from browser Valid; only the Sass class differs.
@@ -6,6 +14,4 @@ export default class Valid extends BrowserValid {
6
14
  /** @type {typeof Sass} */
7
15
  static _Sass: typeof Sass;
8
16
  }
9
- import BrowserValid from "../../browser/lib/Valid.js";
10
- import Sass from "./Sass.js";
11
17
  //# sourceMappingURL=Valid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Valid.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Valid.js"],"names":[],"mappings":"AAUA;;;GAGG;AACH;IACE,0BAA0B;IAC1B,cADW,OAAO,IAAI,CACH;CACpB;yBAVwB,4BAA4B;iBACpC,WAAW"}
1
+ {"version":3,"file":"Valid.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Valid.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,YAAY,MAAM,4BAA4B,CAAA;AACrD,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,YAAY;IAC7C,0BAA0B;IAC1B,MAAM,CAAC,KAAK,EADD,OAAO,IAAI,CACH;CACpB"}
@@ -1,12 +1,15 @@
1
+ import type FileObject from "./FileObject.js";
2
+ import type DirectoryObject from "./DirectoryObject.js";
1
3
  /**
2
4
  * @import FileObject from "./FileObject.js"
3
5
  * @import DirectoryObject from "./DirectoryObject.js"
4
6
  */
5
- export const OverFlowBehaviour: Readonly<{
7
+ export declare const OverFlowBehaviour: Readonly<{
6
8
  IGNORE: "ignore";
7
9
  THROW: "throw";
8
10
  }>;
9
11
  export default class Watcher {
12
+ #private;
10
13
  /**
11
14
  * Watch one or more file/directory targets for changes, invoking a callback
12
15
  * with debounce protection.
@@ -31,8 +34,5 @@ export default class Watcher {
31
34
  * Stop watching all targets.
32
35
  */
33
36
  stopWatching(): void;
34
- #private;
35
37
  }
36
- import type FileObject from "./FileObject.js";
37
- import type DirectoryObject from "./DirectoryObject.js";
38
38
  //# sourceMappingURL=Watcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Watcher.d.ts","sourceRoot":"","sources":["../../../src/node/lib/Watcher.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;GAGE;AAEF;IAIE;;;;;;;;;;;;OAYG;IACH,eATW,UAAU,GAAC,eAAe,GAAC,KAAK,CAAE,CAAC,UAAU,GAAC,eAAe,CAAC,CAAC,8DAEvE;QAA8D,QAAQ,EAA9D,CAAC,MAAM,EAAE,UAAU,GAAC,eAAe,KAAK,IAAI;QAC3B,UAAU,GAA3B,MAAM;QACY,UAAU,GAA5B,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