Skip to content

Commit ff4ce04

Browse files
committed
chore(deps): bump @socketsecurity/lib to 5.21.0
Bump the catalog entry from 5.20.1 to 5.21.0 and migrate the two callers affected by 5.21.0's `/validation` subpath retirement: - scripts/xport.mts — `validateSchema` now imported from `@socketsecurity/lib/schema/validate` (was `@socketsecurity/lib/validation/validate-schema`) - scripts/xport-schema.mts — fileoverview comment updated to match - .claude/hooks/setup-security-tools/index.mts — `parseSchema` now imported from `@socketsecurity/lib/schema/parse` (was `@socketsecurity/lib/validation/validate-schema`) No behavioral change — `validateSchema` / `parseSchema` signatures are unchanged; only the import path moved. All 2184 tests pass.
1 parent 614efae commit ff4ce04

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.claude/hooks/setup-security-tools/index.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { getDefaultLogger } from '@socketsecurity/lib/logger'
2727
import { normalizePath } from '@socketsecurity/lib/paths/normalize'
2828
import { getSocketHomePath } from '@socketsecurity/lib/paths/socket'
2929
import { spawn } from '@socketsecurity/lib/spawn'
30-
import { parseSchema } from '@socketsecurity/lib/validation/validate-schema'
30+
import { parseSchema } from '@socketsecurity/lib/schema/parse'
3131

3232
const logger = getDefaultLogger()
3333

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ catalog:
2828
'@npmcli/promise-spawn': 8.0.3
2929
'@sinclair/typebox': 0.34.49
3030
'@socketregistry/packageurl-js': 1.4.2
31-
'@socketsecurity/lib': 5.20.1
31+
'@socketsecurity/lib': 5.21.0
3232
'@types/fs-extra': 11.0.4
3333
'@types/node': 24.9.2
3434
'@types/normalize-package-data': 2.4.4

scripts/xport-schema.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* TypeBox schema, emitted by scripts/xport-emit-schema.mts
88
* - Runtime validation at harness startup via
99
* `validateSchema(XportManifestSchema, ...)` from
10-
* `@socketsecurity/lib/validation/validate-schema`
10+
* `@socketsecurity/lib/schema/validate`
1111
*
1212
* Byte-identical across socket-tui / socket-btm / socket-sdxgen / ultrathink /
1313
* socket-registry / socket-repo-template via sync-scaffolding.mjs.

scripts/xport.mts

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

4343
import { getDefaultLogger } from '@socketsecurity/lib/logger'
4444
import { spawnSync } from '@socketsecurity/lib/spawn'
45-
import { validateSchema } from '@socketsecurity/lib/validation/validate-schema'
45+
import { validateSchema } from '@socketsecurity/lib/schema/validate'
4646

4747
import {
4848
XportManifestSchema,

0 commit comments

Comments
 (0)