Skip to content

Commit fe77a56

Browse files
authored
feat: add Bun's new Security Scanner API (SchemaStore#4941)
1 parent a8ffe8f commit fe77a56

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/schemas/json/bunfig.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,20 @@
351351
"type": "string",
352352
"enum": ["hoisted", "isolated"],
353353
"default": "hoisted"
354+
},
355+
"security": {
356+
"$comment": "https://bun.sh/docs/runtime/bunfig#install-security-scanner",
357+
"description": "Security configuration for package installation\nhttps://bun.sh/docs/runtime/bunfig#install-security-scanner",
358+
"type": "object",
359+
"additionalProperties": false,
360+
"properties": {
361+
"scanner": {
362+
"$comment": "https://bun.sh/docs/runtime/bunfig#install-security-scanner",
363+
"description": "The security scanner to use during certain package manager commands.\nhttps://bun.sh/docs/runtime/bunfig#install-security-scanner",
364+
"type": "string",
365+
"examples": ["@acme/bun-security-scanner"]
366+
}
367+
}
354368
}
355369
}
356370
},

0 commit comments

Comments
 (0)