Skip to content

Commit 3d6262f

Browse files
committed
style: standardize bullet points to tiny middle dot
Replace large bullet • (U+2022) with tiny middle dot · (U+00B7) to match Socket repos convention. · Update README.md · Update src/socket-sdk-class.ts
1 parent c344683 commit 3d6262f

File tree

2 files changed

+40
-40
lines changed

2 files changed

+40
-40
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ JavaScript SDK for [Socket.dev](https://socket.dev/) API - Security analysis, vu
2727
| **Quota Utilities** | Cost calculation & planning helpers |
2828
| **TypeScript** | Full type safety with auto-generated types |
2929

30-
**Requirements:** Node.js 18+ ESM only (v2.0+)
30+
**Requirements:** Node.js 18+ ·ESM only (v2.0+)
3131

3232
## Installation
3333

@@ -75,91 +75,91 @@ const batchResult = await client.batchPackageFetch({
7575

7676
### Package Analysis
7777

78-
Quick security checks: `batchPackageFetch()` `batchPackageStream()` `getIssuesByNpmPackage()` `getScoreByNpmPackage()`
78+
Quick security checks: `batchPackageFetch()` ·`batchPackageStream()` ·`getIssuesByNpmPackage()` ·`getScoreByNpmPackage()`
7979

8080
[→ Documentation](./docs/api-reference.md#package-analysis)
8181

8282
### Scanning & Analysis
8383

84-
Project scanning: `createDependenciesSnapshot()` `createOrgFullScan()` `createScanFromFilepaths()` `getScan()` `getScanList()` `getSupportedScanFiles()`
84+
Project scanning: `createDependenciesSnapshot()` ·`createOrgFullScan()` ·`createScanFromFilepaths()` ·`getScan()` ·`getScanList()` ·`getSupportedScanFiles()`
8585

8686
[→ Documentation](./docs/api-reference.md#scanning--analysis)
8787

8888
### Organization Management
8989

90-
Organizations and repositories: `getOrganizations()` `createOrgRepo()` `getOrgRepo()` `getOrgRepoList()` `updateOrgRepo()` `deleteOrgRepo()`
90+
Organizations and repositories: `getOrganizations()` ·`createOrgRepo()` ·`getOrgRepo()` ·`getOrgRepoList()` ·`updateOrgRepo()` ·`deleteOrgRepo()`
9191

9292
[→ Documentation](./docs/api-reference.md#organization-management)
9393

9494
### Policy & Settings
9595

96-
Security configuration: `getOrgSecurityPolicy()` `updateOrgSecurityPolicy()` `getOrgLicensePolicy()` `updateOrgLicensePolicy()` `postSettings()`
96+
Security configuration: `getOrgSecurityPolicy()` ·`updateOrgSecurityPolicy()` ·`getOrgLicensePolicy()` ·`updateOrgLicensePolicy()` ·`postSettings()`
9797

9898
[→ Documentation](./docs/api-reference.md#policy--settings)
9999

100100
### Full Scan Management
101101

102-
Deep analysis: `getOrgFullScanList()` `getOrgFullScanMetadata()` `getOrgFullScanBuffered()` `streamOrgFullScan()` `deleteOrgFullScan()`
102+
Deep analysis: `getOrgFullScanList()` ·`getOrgFullScanMetadata()` ·`getOrgFullScanBuffered()` ·`streamOrgFullScan()` ·`deleteOrgFullScan()`
103103

104104
[→ Documentation](./docs/api-reference.md#full-scan-management)
105105

106106
### Diff Scans
107107

108-
Scan comparison: `createOrgDiffScanFromIds()` `getDiffScanById()` `listOrgDiffScans()` `deleteOrgDiffScan()`
108+
Scan comparison: `createOrgDiffScanFromIds()` ·`getDiffScanById()` ·`listOrgDiffScans()` ·`deleteOrgDiffScan()`
109109

110110
[→ Documentation](./docs/api-reference.md#diff-scans)
111111

112112
### Patches & Vulnerabilities
113113

114-
Security fixes: `streamPatchesFromScan()` `viewPatch()`
114+
Security fixes: `streamPatchesFromScan()` ·`viewPatch()`
115115

116116
[→ Documentation](./docs/api-reference.md#patches--vulnerabilities)
117117

118118
### Alert & Triage
119119

120-
Alert management: `getOrgTriage()` `updateOrgAlertTriage()`
120+
Alert management: `getOrgTriage()` ·`updateOrgAlertTriage()`
121121

122122
[→ Documentation](./docs/api-reference.md#alert--triage)
123123

124124
### Export & Integration
125125

126-
SBOM export: `exportCDX()` `exportSPDX()` `searchDependencies()` `uploadManifestFiles()`
126+
SBOM export: `exportCDX()` ·`exportSPDX()` ·`searchDependencies()` ·`uploadManifestFiles()`
127127

128128
[→ Documentation](./docs/api-reference.md#export--integration)
129129

130130
### Repository Labels
131131

132-
Categorization: `createOrgRepoLabel()` `getOrgRepoLabel()` `getOrgRepoLabelList()` `updateOrgRepoLabel()` `deleteOrgRepoLabel()`
132+
Categorization: `createOrgRepoLabel()` ·`getOrgRepoLabel()` ·`getOrgRepoLabelList()` ·`updateOrgRepoLabel()` ·`deleteOrgRepoLabel()`
133133

134134
[→ Documentation](./docs/api-reference.md#repository-labels)
135135

136136
### Analytics & Monitoring
137137

138-
Usage metrics: `getQuota()` `getOrgAnalytics()` `getRepoAnalytics()` `getAuditLogEvents()`
138+
Usage metrics: `getQuota()` ·`getOrgAnalytics()` ·`getRepoAnalytics()` ·`getAuditLogEvents()`
139139

140140
[→ Documentation](./docs/api-reference.md#analytics--monitoring)
141141

142142
### Authentication & Access
143143

144-
API tokens: `getAPITokens()` `postAPIToken()` `postAPITokensRotate()` `postAPITokensRevoke()` `postAPITokenUpdate()`
144+
API tokens: `getAPITokens()` ·`postAPIToken()` ·`postAPITokensRotate()` ·`postAPITokensRevoke()` ·`postAPITokenUpdate()`
145145

146146
[→ Documentation](./docs/api-reference.md#authentication--access)
147147

148148
### Entitlements
149149

150-
Feature access: `getEnabledEntitlements()` `getEntitlements()`
150+
Feature access: `getEnabledEntitlements()` ·`getEntitlements()`
151151

152152
[→ Documentation](./docs/api-reference.md#entitlements)
153153

154154
### Quota Utilities
155155

156-
Cost helpers: `getQuotaCost()` `getRequiredPermissions()` `calculateTotalQuotaCost()` `hasQuotaForMethods()` `getMethodsByQuotaCost()` `getMethodsByPermissions()` `getQuotaUsageSummary()` `getAllMethodRequirements()`
156+
Cost helpers: `getQuotaCost()` ·`getRequiredPermissions()` ·`calculateTotalQuotaCost()` ·`hasQuotaForMethods()` ·`getMethodsByQuotaCost()` ·`getMethodsByPermissions()` ·`getQuotaUsageSummary()` ·`getAllMethodRequirements()`
157157

158158
[→ Documentation](./docs/quota-management.md)
159159

160160
### Advanced Query Methods
161161

162-
Raw API access: `getApi()` `sendApi()`
162+
Raw API access: `getApi()` ·`sendApi()`
163163

164164
[→ Documentation](./docs/api-reference.md#advanced-query-methods)
165165

src/socket-sdk-class.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -830,16 +830,16 @@ export class SocketSdk {
830830
` - ${samplePaths}${remaining}`,
831831
'',
832832
'→ Common causes:',
833-
' Yarn Berry PnP virtual filesystem (files are not on disk)',
834-
' pnpm symlinks pointing to inaccessible locations',
835-
' Incorrect file permissions',
836-
' Files were deleted after discovery',
833+
' ·Yarn Berry PnP virtual filesystem (files are not on disk)',
834+
' ·pnpm symlinks pointing to inaccessible locations',
835+
' ·Incorrect file permissions',
836+
' ·Files were deleted after discovery',
837837
'',
838838
'→ Solutions:',
839-
' Yarn Berry: Use `nodeLinker: node-modules` in .yarnrc.yml',
840-
' pnpm: Use `node-linker=hoisted` in .npmrc',
841-
' Check file permissions with: ls -la <file>',
842-
' Run package manager install command',
839+
' ·Yarn Berry: Use `nodeLinker: node-modules` in .yarnrc.yml',
840+
' ·pnpm: Use `node-linker=hoisted` in .npmrc',
841+
' ·Check file permissions with: ls -la <file>',
842+
' ·Run package manager install command',
843843
].join('\n'),
844844
data: undefined,
845845
error: 'No readable manifest files found',
@@ -996,16 +996,16 @@ export class SocketSdk {
996996
` - ${samplePaths}${remaining}`,
997997
'',
998998
'→ Common causes:',
999-
' Yarn Berry PnP virtual filesystem (files are not on disk)',
1000-
' pnpm symlinks pointing to inaccessible locations',
1001-
' Incorrect file permissions',
1002-
' Files were deleted after discovery',
999+
' ·Yarn Berry PnP virtual filesystem (files are not on disk)',
1000+
' ·pnpm symlinks pointing to inaccessible locations',
1001+
' ·Incorrect file permissions',
1002+
' ·Files were deleted after discovery',
10031003
'',
10041004
'→ Solutions:',
1005-
' Yarn Berry: Use `nodeLinker: node-modules` in .yarnrc.yml',
1006-
' pnpm: Use `node-linker=hoisted` in .npmrc',
1007-
' Check file permissions with: ls -la <file>',
1008-
' Run package manager install command',
1005+
' ·Yarn Berry: Use `nodeLinker: node-modules` in .yarnrc.yml',
1006+
' ·pnpm: Use `node-linker=hoisted` in .npmrc',
1007+
' ·Check file permissions with: ls -la <file>',
1008+
' ·Run package manager install command',
10091009
].join('\n'),
10101010
data: undefined,
10111011
error: 'No readable manifest files found',
@@ -3169,16 +3169,16 @@ export class SocketSdk {
31693169
` - ${samplePaths}${remaining}`,
31703170
'',
31713171
'→ Common causes:',
3172-
' Yarn Berry PnP virtual filesystem (files are not on disk)',
3173-
' pnpm symlinks pointing to inaccessible locations',
3174-
' Incorrect file permissions',
3175-
' Files were deleted after discovery',
3172+
' ·Yarn Berry PnP virtual filesystem (files are not on disk)',
3173+
' ·pnpm symlinks pointing to inaccessible locations',
3174+
' ·Incorrect file permissions',
3175+
' ·Files were deleted after discovery',
31763176
'',
31773177
'→ Solutions:',
3178-
' Yarn Berry: Use `nodeLinker: node-modules` in .yarnrc.yml',
3179-
' pnpm: Use `node-linker=hoisted` in .npmrc',
3180-
' Check file permissions with: ls -la <file>',
3181-
' Run package manager install command',
3178+
' ·Yarn Berry: Use `nodeLinker: node-modules` in .yarnrc.yml',
3179+
' ·pnpm: Use `node-linker=hoisted` in .npmrc',
3180+
' ·Check file permissions with: ls -la <file>',
3181+
' ·Run package manager install command',
31823182
].join('\n'),
31833183
error: 'No readable manifest files found',
31843184
status: 400,

0 commit comments

Comments
 (0)