Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ai-renamer

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-renamer - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"version": "1.0.2",
"version": "1.0.3",
"license": "GPL-3.0",

@@ -4,0 +4,0 @@ "name": "ai-renamer",

@@ -39,3 +39,2 @@ const ollama = require('ollama').default

const model = await chooseModel({ models })
console.log(`⚪ Chosen model: ${model}`)
if (!model) throw new Error('🔴 No suitable model found')

@@ -42,0 +41,0 @@

@@ -7,6 +7,10 @@ const path = require('path')

module.exports = async ({ model: defaultModel, _case, inputPath }) => {
module.exports = async ({ model: defaultModel, _case: defaultCase, inputPath }) => {
try {
const model = defaultModel || await chooseModel()
console.log(`⚪ Chosen model: ${model}`)
const _case = defaultCase || 'kebab-case'
console.log(`⚪ Chosen case: ${_case}`)
const stats = await fs.stat(inputPath)

@@ -13,0 +17,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc