@northtalk/ts 0.9.0 → 0.11.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 (51) hide show
  1. package/{binary-value-B93hEK7l.d.ts → binary-value-np-QZCfn.d.ts} +1 -1
  2. package/{checker-D74oYIhs.js → checker-hkWO1UbN.js} +1 -1
  3. package/{core-BBPI6EhG.d.ts → core-kBXyAo-m.d.ts} +1 -1
  4. package/{debug-s6QIovKS.d.ts → debug-fthW6KN8.d.ts} +15 -1
  5. package/debug.d.ts +1 -1
  6. package/{driver-D5yrK3Nu.d.ts → driver-DtOBRKiH.d.ts} +1 -1
  7. package/driver.d.ts +1 -1
  8. package/{encoding-DzVFpg7k.js → encoding-DlMqlP2Y.js} +1 -1
  9. package/{engine-Dy-BCoiw.d.ts → engine-BoafZGEv.d.ts} +2 -2
  10. package/{engine-Bx8B63iQ.js → engine-CxcONfhv.js} +4 -4
  11. package/{group-CY4FKhzT.js → group-dgTtB1Pi.js} +179 -97
  12. package/{http-fetch-DnpfiOWK.js → http-fetch-CLAeEXVi.js} +1 -1
  13. package/http.d.ts +1 -1
  14. package/http.js +2 -2
  15. package/index.d.ts +4 -4
  16. package/index.js +11 -11
  17. package/{lean-Bg_UTRj0.d.ts → lean-BAz1NuyP.d.ts} +2 -2
  18. package/{lean-DTCTJUmR.js → lean-BwszbUJl.js} +8 -8
  19. package/lean.d.ts +4 -4
  20. package/lean.js +11 -11
  21. package/{manifest-DVS1SEmN.js → manifest-CRpUahPt.js} +2 -2
  22. package/message-layer.d.ts +2 -2
  23. package/message-layer.js +1 -1
  24. package/notify.d.ts +1 -1
  25. package/notify.js +1 -1
  26. package/{objects-q0lnCK-4.d.ts → objects-Cpc3eO-f.d.ts} +1 -1
  27. package/{operations-B3XaG7Ve.js → operations-DrsedOvj.js} +3 -3
  28. package/package.json +1 -1
  29. package/{peer-capability-3etyPHs3.js → peer-capability-RMdN4OHj.js} +2 -2
  30. package/peer.d.ts +1 -1
  31. package/peer.js +2 -2
  32. package/{readers-AeB1bJ--.d.ts → readers-DW4pUrD-.d.ts} +1 -1
  33. package/{request-pump-binary-VOPVqRZD.js → request-pump-binary-P8m6kLfB.js} +229 -51
  34. package/{router-Bdm4KiMG.js → router-C_Fjc2as.js} +4 -4
  35. package/{router-DXoJ_2Z4.d.ts → router-D6b7VJ92.d.ts} +2 -2
  36. package/session.d.ts +2 -2
  37. package/session.js +21 -17
  38. package/setup.d.ts +2 -2
  39. package/setup.js +3 -3
  40. package/sha256-C5Lqj5U7.js +197 -0
  41. package/sqlite.d.ts +2 -2
  42. package/sqlite.js +3 -3
  43. package/{store-BTcyKBLg.js → store-_af2DPoK.js} +2 -2
  44. package/{store-capability-CBJ6mUoH.js → store-capability-Db6v_dw9.js} +2 -2
  45. package/store.d.ts +2 -2
  46. package/store.js +2 -2
  47. package/{user-capability-DNY2dyjq.js → user-capability-CzoLN3RK.js} +2 -2
  48. package/wasm.d.ts +15 -4
  49. package/wasm.js +119 -46
  50. package/{zone-rules-DsCJtmlC.js → zone-rules-Cn-f9u_Z.js} +3 -3
  51. package/sha256-9CGf5BS_.js +0 -168
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { J as Value } from "./debug-s6QIovKS.js";
2
+ import { J as Value } from "./debug-fthW6KN8.js";
3
3
  //#region src/binary-value.d.ts
4
4
  type BinaryValueOptions = {
5
5
  coreErrors?: boolean;
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { I as literalDigits, _n as unitKinds, _t as unitText, ft as parseUnit, gn as libraryExports, gt as unitEntry, hn as grammar, mn as diagnosticCodes, pn as builtins, sn as normalizeNFC, st as UnitError, vn as units } from "./errors-CNc-xY_9.js";
3
- import { Mt as Lexer, Nt as RESERVED, Pt as runTask, _t as acceptsArgumentCount } from "./operations-B3XaG7Ve.js";
3
+ import { Mt as Lexer, Nt as RESERVED, Pt as runTask, _t as acceptsArgumentCount } from "./operations-DrsedOvj.js";
4
4
  //#region src/constructs.ts
5
5
  /** Chapter 3's kind names. */
6
6
  const kindNames = /* @__PURE__ */ new Set([
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { B as restore, Bn as compileLibrary, en as Core, vt as defineObjectKind, z as newGroup } from "./debug-s6QIovKS.js";
2
+ import { B as restore, Bn as compileLibrary, en as Core, vt as defineObjectKind, z as newGroup } from "./debug-fthW6KN8.js";
3
3
  //#region src/save-format.d.ts
4
4
  /**
5
5
  * A save's State Fingerprint (ADR 0142), read from its header and frames
@@ -801,6 +801,13 @@ declare class HostError extends Error {
801
801
  type LoadDiagnostic = {
802
802
  code: string;
803
803
  col: number;
804
+ /**
805
+ * The end of its range, exclusive, in the same unit and units as `line` and
806
+ * `col`: the end of the token there, or `line`/`col` for an empty range
807
+ * (chapter 2, Syntax errors).
808
+ */
809
+ endCol: number;
810
+ endLine: number;
804
811
  line: number;
805
812
  message: string;
806
813
  unit: string;
@@ -2266,6 +2273,7 @@ type Group = {
2266
2273
  dispose(o: HostObject): void;
2267
2274
  fingerprint(): Uint8Array;
2268
2275
  inspect(): Inspection;
2276
+ libraries(): Library[];
2269
2277
  load(o: LoadOptions): Script;
2270
2278
  readonly name: string;
2271
2279
  object<N>(kind: ObjectKind<N>, id: string, native: N, o?: {
@@ -3266,7 +3274,7 @@ declare class TsGroup implements Group {
3266
3274
  private readonly trace;
3267
3275
  private readonly onReady;
3268
3276
  private readonly scripts;
3269
- private readonly libraries;
3277
+ private readonly libraryMap;
3270
3278
  private readonly waits;
3271
3279
  private readonly functionGroup;
3272
3280
  private readonly objects;
@@ -3432,6 +3440,12 @@ declare class TsGroup implements Group {
3432
3440
  script(name: string): TsScript | undefined;
3433
3441
  /** Any time, inside a Pump too. Its Scripts' names, in load order; not a Host Input. */
3434
3442
  scriptNames(): string[];
3443
+ /**
3444
+ * Any time, inside a Pump too. The user Libraries it holds now, as
3445
+ * `restore` takes them, including those `replaceLibrary` recompiled
3446
+ * (chapter 9); not a Host Input, and not traced.
3447
+ */
3448
+ libraries(): Library[];
3435
3449
  private queueInput;
3436
3450
  private worker;
3437
3451
  private finalizeEffects;
package/debug.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { a as DebugPause, c as RepeatedEffect, ct as sourceForm, et as isReadable, i as DebugInstruction, n as DebugEvaluation, o as DebugSnapshot, r as DebugFrame, s as DebugSource, t as DebugController } from "./debug-s6QIovKS.js";
2
+ import { a as DebugPause, c as RepeatedEffect, ct as sourceForm, et as isReadable, i as DebugInstruction, n as DebugEvaluation, o as DebugSnapshot, r as DebugFrame, s as DebugSource, t as DebugController } from "./debug-fthW6KN8.js";
3
3
  export { type DebugController, type DebugEvaluation, type DebugFrame, type DebugInstruction, type DebugPause, type DebugSnapshot, type DebugSource, type RepeatedEffect, isReadable, sourceForm };
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { b as PumpOptions, h as GroupOptions, tn as Group, x as PumpResult } from "./debug-s6QIovKS.js";
2
+ import { b as PumpOptions, h as GroupOptions, tn as Group, x as PumpResult } from "./debug-fthW6KN8.js";
3
3
  //#region src/operation-promises.d.ts
4
4
  /** A suspending call whose Host `run` Promise has not settled. */
5
5
  type PendingOperation = {
package/driver.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { a as autoDrive, i as asyncDispose, n as Drive, o as newDrivenGroup, r as DrivenGroupOptions, s as PendingOperation, t as AutoDriveOptions } from "./driver-D5yrK3Nu.js";
2
+ import { a as autoDrive, i as asyncDispose, n as Drive, o as newDrivenGroup, r as DrivenGroupOptions, s as PendingOperation, t as AutoDriveOptions } from "./driver-DtOBRKiH.js";
3
3
  export { AutoDriveOptions, Drive, DrivenGroupOptions, type PendingOperation, asyncDispose, autoDrive, newDrivenGroup };
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { D as instant, Z as requireValue, it as text, o as invalidValue, t as HostError } from "./errors-CNc-xY_9.js";
3
- import { n as ScriptError, xt as defineValueCapability } from "./operations-B3XaG7Ve.js";
3
+ import { n as ScriptError, xt as defineValueCapability } from "./operations-DrsedOvj.js";
4
4
  import { n as toBase64 } from "./base64-CDO-a06R.js";
5
5
  //#region src/standard-capability-checks.ts
6
6
  const checks = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { Dt as EffectResult, J as Value, Mt as GrantContext, Ut as SegmentContext, bt as Call, mn as StoreImpl } from "./debug-s6QIovKS.js";
3
- import { i as WatchLimits, n as RouterOptions, t as NotificationRouter } from "./router-DXoJ_2Z4.js";
2
+ import { Dt as EffectResult, J as Value, Mt as GrantContext, Ut as SegmentContext, bt as Call, mn as StoreImpl } from "./debug-fthW6KN8.js";
3
+ import { i as WatchLimits, n as RouterOptions, t as NotificationRouter } from "./router-D6b7VJ92.js";
4
4
  //#region src/store/engine.d.ts
5
5
  /** A Store's limits, each counted by logical size (chapter 8). */
6
6
  type StoreQuotas = {
@@ -1,10 +1,10 @@
1
1
 
2
2
  import { P as listValues, V as nothing, b as dec, it as text, o as invalidValue } from "./errors-CNc-xY_9.js";
3
- import { Q as sizeOf, ut as compareText } from "./operations-B3XaG7Ve.js";
3
+ import { Q as sizeOf, ut as compareText } from "./operations-DrsedOvj.js";
4
4
  import { i as decodeValueMembers } from "./readers-G1lHqrPl.js";
5
- import { n as quoteJSON, t as encodeValue } from "./encoding-DzVFpg7k.js";
6
- import { n as hostScriptError, t as add } from "./store-capability-CBJ6mUoH.js";
7
- import { n as createRouter, t as changed } from "./router-Bdm4KiMG.js";
5
+ import { n as quoteJSON, t as encodeValue } from "./encoding-DlMqlP2Y.js";
6
+ import { n as hostScriptError, t as add } from "./store-capability-Db6v_dw9.js";
7
+ import { n as createRouter, t as changed } from "./router-C_Fjc2as.js";
8
8
  //#region src/store/engine.ts
9
9
  /** The Session Store's quotas (chapter 12, The Session Store). */
10
10
  const sessionQuotas = Object.freeze({