Skip to content

Commit ad7172e

Browse files
committed
chore(deps): bump @socketsecurity/lib to 5.13.0
1 parent b761811 commit ad7172e

19 files changed

Lines changed: 24 additions & 24 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@babel/parser": "7.29.0",
6666
"@dotenvx/dotenvx": "1.52.0",
6767
"@oxlint/migrate": "1.51.0",
68-
"@socketsecurity/lib": "5.12.0",
68+
"@socketsecurity/lib": "5.13.0",
6969
"@socketsecurity/registry": "2.0.2",
7070
"@types/node": "24.9.2",
7171
"@types/picomatch": "4.0.2",

pnpm-lock.yaml

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

test/registry-cargo.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ describe('cargoExists', () => {
139139
const result = await cargoExists('test-crate')
140140

141141
expect(result.exists).toBe(false)
142-
expect(result.error).toContain('Network error')
142+
expect(result.error).toContain('request failed')
143143
})
144144

145145
it('should handle 500 errors', async () => {

test/registry-cocoapods.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ describe('cocoapodsExists', () => {
132132
const result = await cocoapodsExists('TestPod')
133133

134134
expect(result.exists).toBe(false)
135-
expect(result.error).toContain('Network error')
135+
expect(result.error).toContain('request failed')
136136
})
137137

138138
it('should handle 500 errors', async () => {

test/registry-conda.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ describe('condaExists', () => {
172172
const result = await condaExists('test-package')
173173

174174
expect(result.exists).toBe(false)
175-
expect(result.error).toContain('Network error')
175+
expect(result.error).toContain('request failed')
176176
})
177177

178178
it('should handle 500 errors', async () => {

test/registry-cpan.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe('cpanExists', () => {
114114
const result = await cpanExists('TestModule')
115115

116116
expect(result.exists).toBe(false)
117-
expect(result.error).toContain('Network error')
117+
expect(result.error).toContain('request failed')
118118
})
119119

120120
it('should handle 500 errors', async () => {

test/registry-cran.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ describe('cranExists', () => {
129129
const result = await cranExists('TestPackage')
130130

131131
expect(result.exists).toBe(false)
132-
expect(result.error).toContain('Network error')
132+
expect(result.error).toContain('request failed')
133133
})
134134

135135
it('should handle 500 errors', async () => {

test/registry-docker.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ describe('dockerExists', () => {
136136
const result = await dockerExists('test-image', 'library')
137137

138138
expect(result.exists).toBe(false)
139-
expect(result.error).toContain('Network error')
139+
expect(result.error).toContain('request failed')
140140
})
141141

142142
it('should handle 500 errors', async () => {
@@ -162,7 +162,7 @@ describe('dockerExists', () => {
162162
const result = await dockerExists('nginx', 'library', 'test')
163163

164164
expect(result.exists).toBe(false)
165-
expect(result.error).toContain('Network error')
165+
expect(result.error).toContain('request failed')
166166
})
167167
})
168168

test/registry-gem.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('gemExists', () => {
142142
const result = await gemExists('test-gem')
143143

144144
expect(result.exists).toBe(false)
145-
expect(result.error).toContain('Network error')
145+
expect(result.error).toContain('request failed')
146146
})
147147

148148
it('should handle 500 errors', async () => {

test/registry-golang.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe('golangExists', () => {
165165
const result = await golangExists('github.com/test/module')
166166

167167
expect(result.exists).toBe(false)
168-
expect(result.error).toContain('Network error')
168+
expect(result.error).toContain('request failed')
169169
})
170170

171171
it('should handle 410 errors as not found', async () => {

0 commit comments

Comments
 (0)