latticesql 1.13.8 → 1.13.10

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 (3) hide show
  1. package/README.md +9 -31
  2. package/dist/cli.js +20 -5156
  3. package/package.json +1 -5
package/README.md CHANGED
@@ -2593,40 +2593,14 @@ interface AutoUpdateResult {
2593
2593
 
2594
2594
  ## Telemetry
2595
2595
 
2596
- `latticesql` includes [Scarf](https://scarf.sh) install analytics so we can understand how the package is used in the wild what versions are running, on what platforms, at roughly what scale. This signal is what lets us prioritize fixes, deprecations, and new features against real usage instead of guesswork.
2596
+ `latticesql` installs and runs with **zero telemetry network calls**. No postinstall pings, no runtime beacons, no anonymous-ID files written to your home directory. The only outbound requests the package ever makes are the explicit, caller-invoked `checkForUpdate()` / `autoUpdate()` calls to `registry.npmjs.org` — and you only get those if you call them.
2597
2597
 
2598
- **What is sent once, at `npm install` time, by the `@scarf/scarf` postinstall hook:**
2598
+ To understand who's using the package we rely on two passive signals that require no instrumentation in your install or your runtime:
2599
2599
 
2600
- - Package name + version (e.g. `latticesql@1.13.6`)
2601
- - Node.js version, OS, CPU architecture
2602
- - A coarse, non-identifying hash derived from the install host (Scarf's default — used for deduplication, not identification)
2603
- - The public IP of the install request (visible to any HTTPS endpoint; not stored long-term by Scarf)
2600
+ - **A 1×1 tracking pixel** embedded at the bottom of this README, served by [Scarf](https://scarf.sh). It fires when this README is rendered (e.g. on the npmjs.com package page). It sees only what any HTTPS image request sees — the requester's user-agent and IP, which Scarf de-identifies into coarse geo/company aggregates. Block it with any standard ad-blocker, or use a privacy-focused npm UI that doesn't render images, and Scarf sees nothing.
2601
+ - **Public npm download counts**, queried by us from npm's own [downloads API](https://api.npmjs.org/downloads/range/last-month/latticesql). These are the same counts npmjs.com itself publishes — no per-user data, just aggregate package downloads.
2604
2602
 
2605
- **What is NOT sent:**
2606
-
2607
- - No data from your application code, schemas, rows, or query strings
2608
- - No environment variables, file paths, hostnames, or usernames
2609
- - No runtime telemetry — `latticesql` makes zero outbound telemetry calls after install. The only network requests it makes at runtime are the explicit `checkForUpdate()` / `autoUpdate()` calls to `registry.npmjs.org`, which you opt into by calling them.
2610
-
2611
- **How to opt out** — any one of these suppresses the install ping:
2612
-
2613
- ```bash
2614
- # Per-install (recommended for CI):
2615
- SCARF_ANALYTICS=false npm install latticesql
2616
-
2617
- # Or, project-wide (add to .npmrc):
2618
- scarf-analytics=false
2619
-
2620
- # Or, the cross-tool standard:
2621
- DO_NOT_TRACK=1 npm install latticesql
2622
-
2623
- # Or, disable all postinstall scripts entirely:
2624
- npm install latticesql --ignore-scripts
2625
- ```
2626
-
2627
- Opting out has no effect on functionality — the package works identically. The Scarf postinstall is a fire-and-forget HTTPS ping with a short timeout; even when enabled it cannot fail your install.
2628
-
2629
- See Scarf's own [privacy documentation](https://docs.scarf.sh) for the upstream policy.
2603
+ Neither signal touches your code, your data, your environment, or your install pipeline. If your network blocks `static.scarf.sh`, the README still renders (image alt text is empty); installs and runtime behavior are identical.
2630
2604
 
2631
2605
  ---
2632
2606
 
@@ -2645,3 +2619,7 @@ See [CHANGELOG.md](./CHANGELOG.md) for the full history.
2645
2619
  ## License
2646
2620
 
2647
2621
  [Apache 2.0](./LICENSE) — includes explicit patent grant (Section 3).
2622
+
2623
+ <!-- Scarf README pixel — see § Telemetry above for what it does and how to block it. -->
2624
+
2625
+ ![](https://static.scarf.sh/a.png?x-pxid=bcbfdaa1-ef11-455a-bcc8-3ec215709da4)