Skip to content

Commit 6f0c12c

Browse files
committed
chore(wheelhouse): cascade template@c0faf82e11
Auto-applied by socket-wheelhouse commit-cascade into cascade-socket-scan-patterns-42659. 25 file(s) touched: - .config/fleet/oxlintrc.json - .git-hooks/_shared/git.mts - .git-hooks/_shared/helpers.mts - .git-hooks/_shared/logger-leaks.mts - .git-hooks/_shared/personal-path.mts - .git-hooks/fleet/pre-commit.mts - .git-hooks/fleet/pre-merge-commit.mts - .git-hooks/fleet/pre-push.mts - .gitattributes - .github/actions/fleet/setup/external-tools.generated.json - .github/workflows/cron-weekly-fuzz.yml - .github/workflows/cron-weekly-odai-cache.yml - .github/workflows/cron-weekly-update.yml - .github/workflows/publish-npm.yml - .github/workflows/sweep-jobs.yml - .gitignore - .npmrc - AGENTS.md - package.json - pnpm-workspace.yaml ... and 5 more
1 parent c01b421 commit 6f0c12c

24 files changed

Lines changed: 942 additions & 1116 deletions

‎.config/fleet/oxlintrc.json‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.git-hooks/_shared/git.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// legitimately tolerate a missing ref (e.g. probing
77
// remote default-branch HEAD which may not be set up
88
// locally) and provide their own fallback. Silent
9-
// by design — _shared/helpers.mts can't import the canonical
9+
// by design — _shared/util.mts can't import the canonical
1010
// logger because it runs before the Node-version
1111
// gate has cleared, and a fire-and-forget dynamic
1212
// import races process exit. Callers that need to

‎.git-hooks/_shared/logger-leaks.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Logger-leak matcher — shared by the commit-time scanLoggerLeaks
2-
// (.git-hooks/_shared/helpers.mts) and the edit-time logger-guard
2+
// (.git-hooks/_shared/util.mts) and the edit-time logger-guard
33
// (.claude/hooks/fleet/). Both flag direct `console.*` / `process.std*.write`
44
// calls (the fleet rule: use getDefaultLogger()). Previously the commit side
55
// used a REGEX and the edit side an AST walk — divergent engines that could

‎.git-hooks/_shared/personal-path.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Personal-path leak matcher — shared by the commit-time scanPersonalPaths
2-
// (.git-hooks/_shared/helpers.mts) and the edit-time personal-path-guard
2+
// (.git-hooks/_shared/util.mts) and the edit-time personal-path-guard
33
// (.claude/hooks/fleet/). Both surfaces import THESE regexes + helpers so the
44
// two can't drift, which lock-step inline copies cannot promise. Gate-free
55
// (no Node-25 hard-exit like helpers.mts) so the Claude hook can import it on
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// comment / commit-message / supply-chain scanners, file + git IO, and the
55
// staged-state gates. Each hook imports `getDefaultLogger` from
66
// `@socketsecurity/lib-stable/logger/default` directly for output; this module
7-
// stays import-light so the cost of `import '../_shared/helpers.mts'` is bounded.
7+
// stays import-light so the cost of `import '../_shared/util.mts'` is bounded.
88
//
99
// Requires Node 24+ for default-on native .mts type-stripping, no flag needed.
1010
import './node-version.mts'

‎.git-hooks/fleet/pre-commit.mts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import {
4646
stagedIndexIsEmpty,
4747
stripTemplateLayer,
4848
suppressionFor,
49-
} from '../_shared/helpers.mts'
49+
} from '../_shared/util.mts'
5050

5151
const logger = getDefaultLogger()
5252

@@ -63,7 +63,7 @@ function refuseCatastrophicDeletion(): number {
6363
// excluded before the count, so it needs no bypass either. A surgical
6464
// `git commit --only <paths>` sees ONLY the named paths, never a foreign
6565
// deletion staged elsewhere in the working index — see
66-
// catastrophicDeletionReason's comment in _shared/helpers.mts for the
66+
// catastrophicDeletionReason's comment in _shared/util.mts for the
6767
// verified GIT_INDEX_FILE scoping this relies on.
6868
const wipeReason = catastrophicDeletionReason()
6969
if (wipeReason) {

‎.git-hooks/fleet/pre-merge-commit.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { fileURLToPath } from 'node:url'
3030

3131
import { getDefaultLogger } from '@socketsecurity/lib-stable/logger/default'
3232

33-
import { gitLines } from '../_shared/helpers.mts'
33+
import { gitLines } from '../_shared/util.mts'
3434
// Canonical shared identity reader (.git-hooks/_shared/). Same source the
3535
// commit-author-guard PreToolUse hook and the commit-msg git-stage backstop
3636
// use; the DATA is the cascaded .config/fleet|repo/git-authors.json.

‎.git-hooks/fleet/pre-push.mts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ import { errorMessage } from '@socketsecurity/lib-stable/errors/message'
3131
import { getDefaultLogger } from '@socketsecurity/lib-stable/logger/default'
3232

3333
// Import `splitLines` from the barrel, not the scan-core leaf, so the Node-25
34-
// version gate in `../_shared/helpers.mts` runs at load — every gate below
34+
// version gate in `../_shared/util.mts` runs at load — every gate below
3535
// assumes native .mts type stripping.
36-
import { splitLines } from '../_shared/helpers.mts'
36+
import { splitLines } from '../_shared/util.mts'
3737
import { debugCheck } from '../_shared/check-output.mts'
3838
import { scanCommitMessages } from '../_shared/push/commit-messages.mts'
3939
import { scanFilesInRange } from '../_shared/push/file-scan.mts'

‎.gitattributes‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ docs/fleet/fuzzing linguist-generated=true
109109
docs/fleet/perf linguist-generated=true
110110
docs/fleet/testing linguist-generated=true
111111
docs/fleet/workflows linguist-generated=true
112+
docs/references/fleet/fixtures/package-intelligence-v1 linguist-generated=true
113+
docs/references/fleet/package-intelligence-v1.md linguist-generated=true
112114
docs/references/fleet/sfw-local-install.md linguist-generated=true
113115
patches/fleet/@polka__url@1.0.0-next.29.patch linguist-generated=true
114116
patches/fleet/brace-expansion@5.0.12.patch linguist-generated=true
@@ -121,6 +123,7 @@ scripts/fleet/npm/scan/receipt.mts linguist-generated=true
121123
scripts/fleet/npm/scan/staged.mts linguist-generated=true
122124
scripts/fleet/registry/npm/scan/ndjson.mts linguist-generated=true
123125
scripts/fleet/registry/npm/scan/run.mts linguist-generated=true
126+
scripts/fleet/registry/npm/staged.mts linguist-generated=true
124127
scripts/fleet/setup/bootstrap/zero-dep-packages.mjs linguist-generated=true
125128
scripts/fleet/setup/lib/check/sfw.mjs linguist-generated=true
126129
scripts/fleet/setup/lib/error-message.mjs linguist-generated=true
@@ -141,6 +144,7 @@ test/fleet/unit/credentials/otp/bindings.test.mts linguist-generated=true
141144
test/fleet/unit/fix/plan.test.mts linguist-generated=true
142145
test/fleet/unit/fix/run.test.mts linguist-generated=true
143146
test/fleet/unit/lockstep/emit-mirror-globs.test.mts linguist-generated=true
147+
test/fleet/unit/registry/apple/ci/keychain.test.mts linguist-generated=true
144148
test/fleet/unit/registry/cargo/placeholder.test.mts linguist-generated=true
145149
test/fleet/unit/registry/npm/placeholder.test.mts linguist-generated=true
146150
test/fleet/unit/setup/lib/pnpm-path.test.mts linguist-generated=true

‎.github/actions/fleet/setup/external-tools.generated.json‎

Lines changed: 49 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)