Skip to content

Commit a274f1f

Browse files
committed
Add fileoverview headers to npm Arborist modules
Add @fileoverview JSDoc headers to Arborist wrapper modules for npm's dependency resolution integration.
1 parent 10a9a41 commit a274f1f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/shadow/npm/arborist/index.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** @fileoverview npm Arborist class installation and setup for Socket CLI. Provides safe Arborist wrappers that integrate security scanning into npm's dependency resolution process. */
2+
13
import { createRequire } from 'node:module'
24

35
// @ts-ignore

src/shadow/npm/arborist/lib/arborist/index.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** @fileoverview Safe Arborist class implementation for Socket CLI. Extends npm's Arborist to intercept buildIdealTree and reify operations for security scanning before package installation. */
2+
13
// @ts-ignore
24
import UntypedArborist from '@npmcli/arborist/lib/arborist/index.js'
35

src/shadow/npm/arborist/types.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** @fileoverview Type definitions for npm Arborist integration in Socket CLI. Extends @npmcli/arborist types with Socket-specific enhancements for dependency tree analysis and security scanning. */
2+
13
import { createEnum } from '../../../utils/objects.mts'
24

35
import type {

0 commit comments

Comments
 (0)