@securityreviewai/securityreview-kit 0.1.29 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@securityreviewai/securityreview-kit",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "Bootstrap security-review-mcp for AI IDEs and CLI tools",
5
5
  "author": "Debarshi Das <debarshi.das@we45.com>",
6
6
  "license": "UNLICENSED",
@@ -52,7 +52,9 @@ function mergeCursorCliMcpAllowlist(cwd) {
52
52
  if (!existing.permissions.allow.includes(token)) {
53
53
  existing.permissions.allow.push(token);
54
54
  }
55
- if (existing.permissions.deny !== undefined && !Array.isArray(existing.permissions.deny)) {
55
+ // Cursor CLI schema requires permissions.deny to be a string[] (may be empty).
56
+ // @see https://cursor.com/docs/cli/reference/configuration
57
+ if (!Array.isArray(existing.permissions.deny)) {
56
58
  existing.permissions.deny = [];
57
59
  }
58
60
  writeJson(cliPath, existing);