@orkestrel/console 0.0.7 → 0.0.9
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.
- package/dist/src/core/index.cjs +2 -2
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +2 -2
- package/dist/src/core/index.d.ts +2 -2
- package/dist/src/core/index.js +2 -2
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +42 -11
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +11 -2
- package/dist/src/server/index.d.ts +11 -2
- package/dist/src/server/index.js +42 -11
- package/dist/src/server/index.js.map +1 -1
- package/package.json +13 -13
|
@@ -1927,8 +1927,8 @@ export declare interface SinkInterface {
|
|
|
1927
1927
|
* - **Self-driving but deterministically testable.** `start()` arms a `setInterval` that calls
|
|
1928
1928
|
* {@link tick} each `interval`; each {@link tick} builds the styled `glyph + message` line for the
|
|
1929
1929
|
* current frame, emits it on `frame`, writes `'\r' + line` to the sink, then advances the frame
|
|
1930
|
-
* index (wrapping). A test drives frames by calling {@link tick} directly
|
|
1931
|
-
* the timer arms / clears
|
|
1930
|
+
* index (wrapping). A test drives frames by calling {@link tick} directly, or arms a real short
|
|
1931
|
+
* `interval` and proves the timer arms / clears through the sink it writes to.
|
|
1932
1932
|
* - **Leak-free timer.** The interval is ALWAYS cleared on {@link success} / {@link failure} /
|
|
1933
1933
|
* {@link stop} / {@link destroy} — `#handle` is the single source of `active`, set on arm and unset
|
|
1934
1934
|
* on clear, so a spinner never leaks a running interval.
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -1927,8 +1927,8 @@ export declare interface SinkInterface {
|
|
|
1927
1927
|
* - **Self-driving but deterministically testable.** `start()` arms a `setInterval` that calls
|
|
1928
1928
|
* {@link tick} each `interval`; each {@link tick} builds the styled `glyph + message` line for the
|
|
1929
1929
|
* current frame, emits it on `frame`, writes `'\r' + line` to the sink, then advances the frame
|
|
1930
|
-
* index (wrapping). A test drives frames by calling {@link tick} directly
|
|
1931
|
-
* the timer arms / clears
|
|
1930
|
+
* index (wrapping). A test drives frames by calling {@link tick} directly, or arms a real short
|
|
1931
|
+
* `interval` and proves the timer arms / clears through the sink it writes to.
|
|
1932
1932
|
* - **Leak-free timer.** The interval is ALWAYS cleared on {@link success} / {@link failure} /
|
|
1933
1933
|
* {@link stop} / {@link destroy} — `#handle` is the single source of `active`, set on arm and unset
|
|
1934
1934
|
* on clear, so a spinner never leaks a running interval.
|
package/dist/src/core/index.js
CHANGED
|
@@ -1625,8 +1625,8 @@ var Reporter = class {
|
|
|
1625
1625
|
* - **Self-driving but deterministically testable.** `start()` arms a `setInterval` that calls
|
|
1626
1626
|
* {@link tick} each `interval`; each {@link tick} builds the styled `glyph + message` line for the
|
|
1627
1627
|
* current frame, emits it on `frame`, writes `'\r' + line` to the sink, then advances the frame
|
|
1628
|
-
* index (wrapping). A test drives frames by calling {@link tick} directly
|
|
1629
|
-
* the timer arms / clears
|
|
1628
|
+
* index (wrapping). A test drives frames by calling {@link tick} directly, or arms a real short
|
|
1629
|
+
* `interval` and proves the timer arms / clears through the sink it writes to.
|
|
1630
1630
|
* - **Leak-free timer.** The interval is ALWAYS cleared on {@link success} / {@link failure} /
|
|
1631
1631
|
* {@link stop} / {@link destroy} — `#handle` is the single source of `active`, set on arm and unset
|
|
1632
1632
|
* on clear, so a spinner never leaks a running interval.
|