New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sweet-commit

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sweet-commit - npm Package Compare versions

Comparing version
2.2.0
to
2.2.1
+2
-2
package.json
{
"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",

@@ -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 @@ });