roto-rooter 0.8.4 → 0.8.6

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/README.md CHANGED
@@ -12,7 +12,7 @@ npm install -g roto-rooter
12
12
  rr [OPTIONS] [FILES...]
13
13
  ```
14
14
 
15
- Point `rr` at your project and it scans your route files for issues. With no arguments it runs the **default checks** (links, loader, params, interactivity) against all files in the current directory.
15
+ Point `rr` at your project and it scans your route files for issues. With no arguments it runs the **default checks** (links, loader, params, interactivity, hydration) against all files in the current directory.
16
16
 
17
17
  | Option | Description |
18
18
  | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -29,8 +29,8 @@ Point `rr` at your project and it scans your route files for issues. With no arg
29
29
  - **loader** (default) -- ensures `useLoaderData()` is backed by a loader; catches `clientLoader` importing server-only modules
30
30
  - **params** (default) -- ensures `useParams()` only accesses params defined in the route path
31
31
  - **interactivity** (default) -- catches "Save" buttons that don't save, "Delete" buttons that don't delete, and empty click handlers
32
+ - **hydration** (default) -- detects SSR/client mismatches from `new Date()`, `Math.random()`, locale-dependent formatting, `window` access in render
32
33
  - **forms** (opt-in) -- validates `<Form>` targets have actions and that field names match `formData.get()` calls
33
- - **hydration** (opt-in) -- detects SSR/client mismatches from `new Date()`, `Math.random()`, `window` access in render
34
34
  - **drizzle** (opt-in) -- validates Drizzle ORM operations against your schema (missing columns, type mismatches, etc.)
35
35
 
36
36
  **Example output:**
@@ -1 +1 @@
1
- {"version":3,"file":"analyzer.d.ts","sourceRoot":"","sources":["../src/analyzer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAId,UAAU,EACX,MAAM,YAAY,CAAC;AAgBpB,eAAO,MAAM,cAAc,UAAiD,CAAC;AAG7E,eAAO,MAAM,eAAe,UAAoC,CAAC;AAGjE,eAAO,MAAM,UAAU,UAA0C,CAAC;AAElE;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,UAAU,GAAG,cAAc,CA0G3D"}
1
+ {"version":3,"file":"analyzer.d.ts","sourceRoot":"","sources":["../src/analyzer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAId,UAAU,EACX,MAAM,YAAY,CAAC;AAgBpB,eAAO,MAAM,cAAc,UAM1B,CAAC;AAGF,eAAO,MAAM,eAAe,UAAuB,CAAC;AAGpD,eAAO,MAAM,UAAU,UAA0C,CAAC;AAElE;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,UAAU,GAAG,cAAc,CA0G3D"}