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.1.2 to 0.1.3

2

bin/gen.js

@@ -8,3 +8,3 @@ #!/usr/bin/env node

console.log(' $ '.cyan + 'toka -v');
console.log(' $ '.cyan + 'toka .gitignore <LAUNGUAGE NAME>'); // Use -d to create a default .gitignore file
console.log(' $ '.cyan + 'toka .gitignore <LAUNGUAGE NAME>');
console.log(' $ '.cyan + 'toka .bowerrc <COMPONENT DIR>');

@@ -11,0 +11,0 @@ console.log(' $ '.cyan + 'toka license <LICENSE NAME>');

@@ -19,14 +19,2 @@ var fs = require('fs');

var htmldecode = function (str) {
str= str.replace(/&lt;/g, "<");
str= str.replace(/&gt;/g, ">");
str= str.replace(/&nbsp;/g, " ");
str= str.replace(/&quot;/g, "\"");
str= str.replace(/<br>/g, "\n");
str= str.replace(/&raquo;/g, "");
str= str.replace(/&amp;/g, "");
return str;
}
module.exports = function (license) {

@@ -48,3 +36,3 @@ var check = require('./helper').checkInArray(licenses, license);

YEAR: new Date().getFullYear(),
OWNER: config.user.name + ' <' + config.user.email + '>'
OWNER: config.user.name + ' ' + config.user.email
}

@@ -51,0 +39,0 @@

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

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

@@ -18,3 +18,3 @@ ## Toka

toka -v
toka .gitignore <LAUNGUAGE NAME>
toka .gitignore <LAUNGUAGE NAME> // Use -d to create a default .gitignore file
toka .bowerrc <COMPONENT DIR>

@@ -37,3 +37,3 @@ toka license <LICENSE NAME>

By deault, `toka` is also alias to `gen`.
By default, `toka` is also alias to `gen`.

@@ -40,0 +40,0 @@ >因为 NPM 上的 gen 被抢占了... 那就用董香女神的名字 QAQ

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