Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions fix-result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"fixed": [
{
"cve": "N/A",
"package": "protobufjs",
"ecosystem": "npm",
"old_version": "7.5.4",
"new_version": "7.6.1",
"manifest": "package-lock.json"
}
],
"reverted": [],
"summary": "1 fixed, 0 reverted"
}
51 changes: 25 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 22 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/internal/detect-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
'X-Stainless-Arch': normalizeArch(Deno.build.arch),
'X-Stainless-Runtime': 'deno',
'X-Stainless-Runtime-Version':
typeof Deno.version === 'string' ? Deno.version : Deno.version?.deno ?? 'unknown',
typeof Deno.version === 'string' ? Deno.version : (Deno.version?.deno ?? 'unknown'),

Check failure on line 70 in src/internal/detect-platform.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `(Deno.version?.deno·??·'unknown')` with `Deno.version?.deno·??·'unknown'`
};
}
if (typeof EdgeRuntime !== 'undefined') {
Expand Down
4 changes: 2 additions & 2 deletions tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@
{ signal }: RequestInit = {},
): Promise<Response> => {
if (count++ === 0) {
return new Promise(
(resolve, reject) => signal?.addEventListener('abort', () => reject(new Error('timed out'))),
return new Promise((resolve, reject) =>

Check failure on line 555 in tests/index.test.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `(resolve,·reject)·=>⏎·········` with `⏎··········(resolve,·reject)·=>`
signal?.addEventListener('abort', () => reject(new Error('timed out'))),
);
}
return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } });
Expand Down
2 changes: 1 addition & 1 deletion tests/uploads.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
const result = await toFile(input);
const file: File = result;
const blob: Blob = result;
void file, blob;
(void file, blob);

Check failure on line 72 in tests/uploads.test.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `(void·file,·blob)` with `void·file,·blob`
});
});

Expand Down
27 changes: 27 additions & 0 deletions triage-result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"alerts": [
{
"category": "fix",
"type": "criticalCVE",
"severity": "warn",
"package": "protobufjs",
"version": "7.5.4",
"ecosystem": "npm",
"cve": null,
"manifest": "package-lock.json",
"reason": "CVE alert in runtime dependency chain (via dockerode); newer 7.x versions exist, so remediation is likely available without a major bump"
},
{
"category": "dismiss",
"type": "criticalCVE",
"severity": "warn",
"package": "handlebars",
"version": "4.7.8",
"ecosystem": "npm",
"cve": null,
"manifest": "pnpm-lock.yaml",
"reason": "Development-only dependency through ts-jest (dev dependency), not part of production runtime"
}
],
"summary": "2 alerts triaged: 1 fix, 0 defer, 1 dismiss"
}
Loading