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

file-name-fixer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-name-fixer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

14

index.js

@@ -1,5 +0,7 @@

// var texturepack = require('./tps/texturepack')
#! /usr/bin/env node
var fs = require('fs');
var path = require('path');
var decamelize = require('decamelize');
const colors = require('colors'); // eslint-disable-line

@@ -31,3 +33,3 @@ let count = 0;

fs.renameSync(fullPath, fullRenamePath)
console.log('Renamed: ' + fullPath + ' to ' + fullRenamePath)
console.log( ('Renamed: ' + fullPath + ' to ' + fullRenamePath).red );
}

@@ -56,7 +58,7 @@ }

const inputDir = process.argv[2]//args.path;
const inputDir = process.argv[2];
if(!inputDir)
{
console.log('please provide a path')
console.log('please provide a path'.red)
}

@@ -69,8 +71,8 @@ else

{
console.log(count + ' files names fixed.')
console.log(count + ' files names fixed.'.green)
}
else
{
console.log('all file names are valid, well done goodboy!')
console.log('all file names are valid, well done goodboy!'.green)
}
}
{
"name": "file-name-fixer",
"version": "1.0.0",
"version": "1.0.1",
"description": "Finds invalid file names and renames them.",
"main": "index.js",
"bin": {
"fix-file-names": "./index.js"
},
"scripts": {

@@ -22,3 +25,7 @@ "test": "echo \"Error: no test specified\" && exit 1"

},
"homepage": "https://github.com/Goodboy-Digital/file-name-fixer#readme"
"homepage": "https://github.com/Goodboy-Digital/file-name-fixer#readme",
"dependencies": {
"colors": "^1.1.2",
"decamelize": "^2.0.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