@kaynooo/cli-pkg 0.16.1 → 0.16.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -44,7 +44,7 @@ pkg audit ~/Workspace/app --level high --prod --ignore GHSA-238p-pmpm-9mq7 --jso
44
44
  - `--level <low|moderate|high|critical>` (`moderate`) keeps only the advisories at that severity or above, `--prod` audits only the packages a production or optional dependency of a workspace reaches, and `--ignore <GHSA or id>` (repeatable) skips an advisory; `blockSeverity` is for `pkg check` and does not apply here. The three flags are the ones of `audit`.
45
45
  - `--json` prints a flat array, one `{name, version, license, blocked, warnings, advisories}` per package with a finding, each advisory being `{id, ghsa, url, title, severity, vulnerable, fixed}`. `audit --json` nests the same advisory rows (without `vulnerable`) in `{repo, path, findings, error}` per repository.
46
46
  - `--min-age <days>` changes the 14 days.
47
- - Use `pkg audit` to vet one repository in depth (age, install scripts, licences and advisories, with the registry as the source); use `audit` to sweep many repositories for advisories only, through `bun audit`.
47
+ - Use `pkg audit` to vet one repository in depth (age, install scripts, licences and advisories, with the registry as the source); use `ws audit` to sweep many repositories for advisories only, through `bun audit`.
48
48
  - A pin under the minimum age fixing an advisory of the `safe` version at `blockSeverity` or above (not one `--ignore` skips) is let through as `pkg check` lets it, a warning naming the GHSAs.
49
49
  - It exits 1 when a package is missing, too fresh or outside the allowlist, or an advisory remains after the level and the ignores; install scripts and near misses alone exit 0. When the advisories of a registry could not be read it warns which, never prints a clean result for them, and exits 2 unless something already blocks.
50
50
  - An `npm:` alias (`"lodash": "npm:other@1.0.0"`) is audited as the package it names.
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@kaynooo/cli-pkg",
3
3
  "type": "module",
4
- "version": "0.16.1",
4
+ "version": "0.16.2",
5
5
  "description": "pkg: check an npm package before it is added, for a guessed name, a version under two weeks old and install scripts.",
6
6
  "author": "Kaynooo <contact@kaynooo.fr>",
7
7
  "license": "MIT",
8
- "homepage": "https://git.kaynooo.fr/kaynooo/cli/src/branch/main/packages/pkg#readme",
8
+ "homepage": "https://github.com/Kayno0o/cli/tree/main/packages/pkg#readme",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://git.kaynooo.fr/kaynooo/cli.git",
11
+ "url": "git+https://github.com/Kayno0o/cli.git",
12
12
  "directory": "packages/pkg"
13
13
  },
14
- "bugs": "https://git.kaynooo.fr/kaynooo/cli/issues",
14
+ "bugs": "https://github.com/Kayno0o/cli/issues",
15
15
  "keywords": ["npm", "package", "typosquat", "supply-chain", "dependencies"],
16
16
  "bin": {
17
17
  "pkg": "./dist/cli.js"
@@ -33,6 +33,6 @@
33
33
  "@kaynooo/utils": "3.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@kaynooo/cli-kit": "0.41.0"
36
+ "@kaynooo/cli-kit": "0.41.1"
37
37
  }
38
38
  }