githits 0.4.11 → 0.4.12

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.
@@ -4,8 +4,8 @@ import {
4
4
  createAuthStatusDependencies,
5
5
  createContainer,
6
6
  loadAutoLoginAuthSessionMetadata
7
- } from "./chunk-5xd5rcm9.js";
8
- import"./chunk-agpezzpd.js";
7
+ } from "./chunk-1045f3nq.js";
8
+ import"./chunk-tmhsq5ft.js";
9
9
  export {
10
10
  loadAutoLoginAuthSessionMetadata,
11
11
  createContainer,
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
2
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
3
3
  // package.json
4
- var version = "0.4.11";
4
+ var version = "0.4.12";
5
5
 
6
6
  export { __require, version };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "Code examples from global open source for developers and AI assistants.",
5
5
  "mcpServers": {
6
6
  "githits": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "githits",
3
3
  "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants",
4
- "version": "0.4.11",
4
+ "version": "0.4.12",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "Code examples from global open source for developers and AI assistants",
5
5
  "author": {
6
6
  "name": "GitHits"
@@ -36,7 +36,7 @@ githits pkg vulns npm:lodash@4.17.21 --scope non_affecting
36
36
 
37
37
  githits pkg deps npm:express
38
38
  githits pkg deps npm:express --lifecycle all
39
- githits pkg deps npm:express --transitive --depth 3 --json
39
+ githits pkg deps npm:express --depth 3 --json
40
40
 
41
41
  githits pkg changelog npm:express --limit 3
42
42
  githits pkg changelog npm:express --from 4.18.0 --to 4.19.0
@@ -51,7 +51,7 @@ githits pkg upgrade-review --package npm:zod@4.3.6..4.4.3 --package npm:lint-sta
51
51
  - Need current package health: start with `githits pkg info <registry:name>`.
52
52
  - Need security status for a specific installed version: use `githits pkg vulns <registry:name@version>`.
53
53
  - Need historical advisories that do not affect the inspected version: use `pkg vulns --scope non_affecting`; use `--scope all` for affected plus historical rows.
54
- - Need dependency footprint: start with `pkg deps`; add `--lifecycle all` for non-runtime groups and `--transitive` for aggregate transitive graph data.
54
+ - Need dependency footprint: start with `pkg deps`; add `--lifecycle all` for non-runtime groups and `--depth <n>` for aggregate transitive graph data.
55
55
  - Need upgrade evidence for dependency updates, outdated package bumps, or lockfile changes: prefer `pkg upgrade-review` because it compares current vs target vulnerabilities, changelog range evidence, deprecation metadata, peer changes, dependency changes, and optional transitive evidence. It reports facts only; you still own the final assessment.
56
56
  - Need release notes without a current-to-target comparison: use `pkg changelog`; use `--from`/`--to` for ranges and `--no-body` for compact timelines.
57
57
 
@@ -18,9 +18,9 @@ Supported registries: npm, PyPI, Hex, Crates, NuGet, Maven, Packagist, RubyGems,
18
18
 
19
19
  `githits pkg deps <registry:name[@version]>` lists direct runtime dependencies by default.
20
20
 
21
- Flags: `--lifecycle runtime|development|build|peer|optional|all`, `--transitive`, `--depth 1-10`, `--verbose`, `--json`.
21
+ Flags: `--lifecycle runtime|development|build|peer|optional|all`, `--depth 1-10`, `--verbose`, `--json`.
22
22
 
23
- Use `--transitive` before `--depth`; `--depth` without transitive traversal is invalid.
23
+ Use `--depth` to request transitive output capped to that traversal depth. Omit it for direct dependencies only.
24
24
 
25
25
  ## Changelog
26
26