@pho9ubenaa/siro 0.4.1 → 0.4.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.
- package/CHANGELOG.md +12 -0
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{node-io-DIRcPNSN.mjs → node-io-BN34YwoL.mjs} +2 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.2]
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
- Use an installed official OSV-Scanner binary and explicitly report its absence. Remove automatic scanner downloads and bound command execution and output size.
|
|
9
|
+
|
|
10
|
+
### Maintenance
|
|
11
|
+
|
|
12
|
+
- Run main-branch CI on pull requests to avoid duplicate checks after merges. Publication still runs full verification for version tags.
|
|
13
|
+
- Set the pnpm minimum release age and Dependabot Action-update cooldown to seven days, and align the threat model with those settings.
|
|
14
|
+
|
|
3
15
|
## [0.4.1]
|
|
4
16
|
|
|
5
17
|
### 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-
|
|
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-BN34YwoL.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-
|
|
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-BN34YwoL.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.
|
|
90
|
+
var version$1 = "0.4.2";
|
|
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-
|
|
2211
|
+
//# sourceMappingURL=node-io-BN34YwoL.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pho9ubenaa/siro",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Security best-practices linter for the npm ecosystem (npm, pnpm, deno, bun, yarn, aube).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aube",
|
|
@@ -82,6 +82,7 @@
|
|
|
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",
|
|
87
88
|
"typecheck": "tsc --noEmit",
|