New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

toka

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toka - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/files.js

@@ -6,3 +6,3 @@ var gitignore = require('./gitignore'),

exports.search = function (options) {
var filename = options[0];
switch (filename) {

@@ -9,0 +9,0 @@ case '-v':

var fs = require('fs');
var prompt = require('prompt');
var request = require('request');
var temp_langs = require('./list/gitignore').langs();

@@ -56,2 +54,3 @@ var langs = [];

notFound();
return;
}

@@ -64,3 +63,3 @@ var file = fs.readFileSync(__dirname + '/gitignore/' + lang + '.gitignore').toString('utf8');

fs.appendFileSync(process.cwd() + '/.gitignore', all, 'utf-8');
console.log('The .gitignore file for your %s project has been append to .gitignore!'.green, language.toString());
console.log('%s has been append to .gitignore!'.green, language.toString());
} else {

@@ -67,0 +66,0 @@ fs.writeFileSync(process.cwd() + '/.gitignore', all, 'utf-8');

{
"name": "toka",
"version": "0.2.0",
"version": "0.2.1",
"description": "A handy tool to generate common files in command line",

@@ -5,0 +5,0 @@ "main": "index.js",

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