@pho9ubenaa/siro 0.4.1 → 0.4.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.3]
4
+
5
+ ### Maintenance
6
+
7
+ - Verify the packed package from an isolated consumer on both supported Node majors in CI. Check distributed files, installed CLI exit codes, package exports, custom rules, JSON output, and strict TypeScript declaration resolution without development dependency types.
8
+ - Verify the same tarball before staging it for npm publication, preferring cached dependencies with install scripts disabled.
9
+ - Centralize packing, verification, and temporary-file cleanup in `pnpm test:package`; retain the verified artifact on request for publication.
10
+ - Move the release tag/version check into a standalone script while preserving the rejection of private packages and mismatched tags before installation and publication.
11
+ - Allow bounded startup headroom for audit subprocess tests on shared runners and report process failures before reading their output records.
12
+
13
+ ## [0.4.2]
14
+
15
+ ### Fixes
16
+
17
+ - Correct the development dependency audit script to read pnpm advisories and OSV's nested package findings. Fail on malformed reports, command errors, and incomplete scans; preserve vulnerability exit status and advisory details.
18
+ - Use an installed official OSV-Scanner binary and explicitly report its absence. Remove automatic scanner downloads and bound command execution and output size.
19
+
20
+ ### Maintenance
21
+
22
+ - Run main-branch CI on pull requests to avoid duplicate checks after merges. Publication still runs full verification for version tags.
23
+ - Set the pnpm minimum release age and Dependabot Action-update cooldown to seven days, and align the threat model with those settings.
24
+
3
25
  ## [0.4.1]
4
26
 
5
27
  ### Maintenance
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { C as SUPPORTED_NODE_RANGE, D as isNodeError, M as UsageError, O as asAbsPath, S as isSeverity, T as assertDirectory, _ as PROJECT_TYPES, b as SEVERITIES, c as DEFAULT_REPORTER_NAME, f as version, j as SiroError, l as JSON_REPORTER_NAME, m as loadConfig, n as lintCommand, s as BUILTIN_REPORTER_NAMES, t as nodeIO, v as isProjectType, w as isSupportedNodeVersion, x as isPM, y as PMS } from "./node-io-DIRcPNSN.mjs";
2
+ import { C as SUPPORTED_NODE_RANGE, D as isNodeError, M as UsageError, O as asAbsPath, S as isSeverity, T as assertDirectory, _ as PROJECT_TYPES, b as SEVERITIES, c as DEFAULT_REPORTER_NAME, f as version, j as SiroError, l as JSON_REPORTER_NAME, m as loadConfig, n as lintCommand, s as BUILTIN_REPORTER_NAMES, t as nodeIO, v as isProjectType, w as isSupportedNodeVersion, x as isPM, y as PMS } from "./node-io-B3Hbcwyn.mjs";
3
3
  import path from "node:path";
4
4
  import { pathToFileURL } from "node:url";
5
5
  import { parseArgs } from "node:util";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ConfigError, E as nodeFileSystem, M as UsageError, O as asAbsPath, S as isSeverity, _ as PROJECT_TYPES, a as overrideBindings, b as SEVERITIES, d as jsonReporter, f as version, g as getByPath, h as defineRule, i as CONFIG_FILES, j as SiroError, k as asRelPath, m as loadConfig, n as lintCommand, o as requireConfigKey, p as githubReporter, r as lint, s as BUILTIN_REPORTER_NAMES, t as nodeIO, u as prettyReporter, x as isPM, y as PMS } from "./node-io-DIRcPNSN.mjs";
1
+ import { A as ConfigError, E as nodeFileSystem, M as UsageError, O as asAbsPath, S as isSeverity, _ as PROJECT_TYPES, a as overrideBindings, b as SEVERITIES, d as jsonReporter, f as version, g as getByPath, h as defineRule, i as CONFIG_FILES, j as SiroError, k as asRelPath, m as loadConfig, n as lintCommand, o as requireConfigKey, p as githubReporter, r as lint, s as BUILTIN_REPORTER_NAMES, t as nodeIO, u as prettyReporter, x as isPM, y as PMS } from "./node-io-B3Hbcwyn.mjs";
2
2
  //#region src/domain/entities/siro-config.ts
3
3
  /** Identity helper for type-checked config files. */
4
4
  const defineConfig = (config) => config;
@@ -87,7 +87,7 @@ const assertDirectory = (root) => {
87
87
  };
88
88
  //#endregion
89
89
  //#region package.json
90
- var version$1 = "0.4.1";
90
+ var version$1 = "0.4.3";
91
91
  //#endregion
92
92
  //#region src/shared/node-version.ts
93
93
  const SUPPORTED_NODE_RANGE = { "node": "^22.18.0 || ^24.0.0" }.node;
@@ -2208,4 +2208,4 @@ const nodeIO = {
2208
2208
  //#endregion
2209
2209
  export { ConfigError as A, SUPPORTED_NODE_RANGE as C, isNodeError as D, nodeFileSystem as E, UsageError as M, asAbsPath as O, isSeverity as S, assertDirectory as T, PROJECT_TYPES as _, overrideBindings as a, SEVERITIES as b, DEFAULT_REPORTER_NAME as c, jsonReporter as d, version as f, getByPath as g, defineRule as h, CONFIG_FILES as i, SiroError as j, asRelPath as k, JSON_REPORTER_NAME as l, loadConfig as m, lintCommand as n, requireConfigKey as o, githubReporter as p, lint as r, BUILTIN_REPORTER_NAMES as s, nodeIO as t, prettyReporter as u, isProjectType as v, isSupportedNodeVersion as w, isPM as x, PMS as y };
2210
2210
 
2211
- //# sourceMappingURL=node-io-DIRcPNSN.mjs.map
2211
+ //# sourceMappingURL=node-io-B3Hbcwyn.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pho9ubenaa/siro",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Security best-practices linter for the npm ecosystem (npm, pnpm, deno, bun, yarn, aube).",
5
5
  "keywords": [
6
6
  "aube",
@@ -82,8 +82,10 @@
82
82
  "gen": "pnpm gen:docs && pnpm gen:api",
83
83
  "gen:api": "typedoc",
84
84
  "knip": "knip",
85
+ "security:scan": "node scripts/security-audit.mjs",
85
86
  "test": "pnpm build && vitest run",
86
87
  "test:coverage": "pnpm build && vitest run --coverage",
88
+ "test:package": "node scripts/verify-package.mjs",
87
89
  "typecheck": "tsc --noEmit",
88
90
  "gen:docs": "node scripts/docs.ts",
89
91
  "check:docs": "node scripts/docs.ts --check",