@fro.bot/space-bus 0.15.0 → 0.15.2

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/launchd.d.ts CHANGED
@@ -69,9 +69,11 @@ export type PlistSafety = {
69
69
  /**
70
70
  * Refuses a plist that isn't owned by the current user or is
71
71
  * group/world-writable — a tampered plist must never become login-time
72
- * code execution (R15).
72
+ * code execution (R15). `expectedUid` defaults to `process.getuid()`; it is a
73
+ * test seam (a foreign-owned file cannot be made without privilege), and
74
+ * production callers leave it unset.
73
75
  */
74
- export declare function verifyPlistSafe(path: string): PlistSafety;
76
+ export declare function verifyPlistSafe(path: string, expectedUid?: number | undefined): PlistSafety;
75
77
  export interface ExecResult {
76
78
  code: number;
77
79
  stdout: string;