sweet-commit
Advanced tools
+2
-2
| { | ||
| "name": "sweet-commit", | ||
| "version": "2.2.0", | ||
| "version": "2.2.1", | ||
| "description": "AI-powered commit messages that just work. One command, perfect commits, every time.", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
| "author": "nhdfr", | ||
| "license": "AGPL-3.0", | ||
| "license": "ISC", | ||
| "repository": { | ||
@@ -28,0 +28,0 @@ "type": "git", |
+3
-3
@@ -297,3 +297,3 @@ import fs from "fs/promises"; | ||
| try { | ||
| const client = new GoogleGenAI({ apiKey }); | ||
| const ai = new GoogleGenAI({ apiKey }); | ||
@@ -333,4 +333,4 @@ const optimizedDiff = createOptimizedDiff(diff); | ||
| const result = await client.models.generateContent({ | ||
| model: "gemini-2.0-flash-001", | ||
| const result = await ai.models.generateContent({ | ||
| model: "gemini-2.5-flash", | ||
| contents: prompt, | ||
@@ -337,0 +337,0 @@ }); |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Copyleft License
LicenseCopyleft license information was found.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
LicensePackage contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
LicenseA license not known to be considered permissive was found.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Copyleft License
LicenseCopyleft license information was found.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Non-permissive License
LicenseA license not known to be considered permissive was found.
Found 1 instance in 1 package
45920
-0.04%3
50%