Skip to content

Commit 376e3ac

Browse files
committed
chore(deps): bump @socketsecurity/lib to 2.0.0
Updated @socketsecurity/lib from 1.3.5 to 2.0.0. Breaking changes in v2.0.0: - Environment variable system refactor (individual env constant files replaced with grouped modules, constants converted to getter functions) - This project is not affected as it doesn't use any env/* imports Also includes code style improvements in scripts/lint.mjs (optional chaining instead of && checks).
1 parent b914774 commit 376e3ac

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@dotenvx/dotenvx": "1.49.0",
5252
"@eslint/compat": "1.3.2",
5353
"@eslint/js": "9.35.0",
54-
"@socketsecurity/lib": "1.3.5",
54+
"@socketsecurity/lib": "2.0.0",
5555
"@socketsecurity/registry": "1.5.3",
5656
"@types/node": "24.6.2",
5757
"@typescript/native-preview": "7.0.0-dev.20250926.1",

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.

scripts/lint.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ async function runLintOnFiles(files, options = {}) {
196196

197197
if (result.exitCode !== 0) {
198198
// Check if Biome simply had no files to process (not an error)
199-
const isBiomeNoFilesError =
200-
result.stderr &&
201-
result.stderr.includes('No files were processed in the specified paths')
199+
const isBiomeNoFilesError = result.stderr?.includes(
200+
'No files were processed in the specified paths',
201+
)
202202

203203
if (isBiomeNoFilesError) {
204204
// Biome had nothing to do - this is fine, continue to next linter
@@ -270,9 +270,9 @@ async function runLintOnAll(options = {}) {
270270

271271
if (result.exitCode !== 0) {
272272
// Check if Biome simply had no files to process (not an error)
273-
const isBiomeNoFilesError =
274-
result.stderr &&
275-
result.stderr.includes('No files were processed in the specified paths')
273+
const isBiomeNoFilesError = result.stderr?.includes(
274+
'No files were processed in the specified paths',
275+
)
276276

277277
if (isBiomeNoFilesError) {
278278
// Biome had nothing to do - this is fine, continue to next linter

0 commit comments

Comments
 (0)