@zgeoff/chex 0.3.6 → 0.3.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgeoff/chex",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Run each shared docs and repo check as one subcommand, with the lefthook pre-push baseline that calls them",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"checks",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/bun": "1.4.4",
|
|
44
|
-
"@zgeoff/rig": "0.2.
|
|
44
|
+
"@zgeoff/rig": "0.2.5",
|
|
45
45
|
"@zgeoff/std": "0.4.3",
|
|
46
46
|
"@zgeoff/testing": "0.3.0",
|
|
47
47
|
"tiny-invariant": "1.3.3",
|
|
@@ -41,9 +41,9 @@ export function collectStaleAgeGateExcludes(
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
// The shared audit-fix workflow writes this comment for each exclude it adds, and removes the
|
|
44
|
-
// exclude once the date passes.
|
|
44
|
+
// exclude once the date passes. oxfmt indents the comment inside the array, so it may follow spaces or tabs.
|
|
45
45
|
const removalCommentPattern =
|
|
46
|
-
|
|
46
|
+
/^[ \t]*# (?<name>\S+) \S+ \(published [^)]*\) ages past the gate ~(?<date>\d{4}-\d{2}-\d{2}) — remove then/gmu;
|
|
47
47
|
|
|
48
48
|
function collectRemovalDates(bunfig: string): Map<string, string> {
|
|
49
49
|
const removalDates = new Map<string, string>();
|