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

lolcatjs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lolcatjs - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

6

cli.js

@@ -51,4 +51,4 @@ #!/usr/bin/env node

Report lolcatjs bugs to <https://github.com/robertboloc/lolcatjs/issues>
lolcatjs home page: <https://github.com/robertboloc/lolcatjs/>
Report lolcatjs bugs to <https://github.com/robertmarsal/lolcatjs/issues>
lolcatjs home page: <https://github.com/robertmarsal/lolcatjs/>
Report lolcatjs translation bugs to <http://speaklolcat.com>`;

@@ -75,3 +75,3 @@

lolcatjs.println('lolcatjs ' + info.version + ' (c) 2015 robertboloc@gmail.com');
lolcatjs.println('lolcatjs ' + info.version + ' (c) 2015 Robert Marsal');

@@ -78,0 +78,0 @@ process.exit();

@@ -17,3 +17,3 @@ "use strict";

let options = {
const options = {
// To animate or not (only works if the sleep module is available)

@@ -33,7 +33,7 @@ animate: false,

let rainbow = function(freq, i) {
const rainbow = function(freq, i) {
let red = Math.round(Math.sin(freq * i + 0) * 127 + 128);
let green = Math.round(Math.sin(freq * i + 2 * Math.PI / 3) * 127 + 128);
let blue = Math.round(Math.sin(freq * i + 4 * Math.PI / 3) * 127 + 128);
const red = Math.round(Math.sin(freq * i + 0) * 127 + 128);
const green = Math.round(Math.sin(freq * i + 2 * Math.PI / 3) * 127 + 128);
const blue = Math.round(Math.sin(freq * i + 4 * Math.PI / 3) * 127 + 128);

@@ -47,7 +47,7 @@ return {

let colorize = function(char, colors) {
const colorize = function(char, colors) {
process.stdout.write(chalk.rgb(colors.red, colors.green, colors.blue)(char));
};
let printlnPlain = function(colorize, line) {
const printlnPlain = function(colorize, line) {

@@ -59,3 +59,3 @@ for (let i = 0; i < line.length; i++) {

let printlnAnimated = function(colorize, line) {
const printlnAnimated = function(colorize, line) {

@@ -65,3 +65,3 @@ if (sleep) {

// Backup the seed
let seed = options.seed;
const seed = options.seed;

@@ -88,3 +88,3 @@ for (let j = 1; j < options.duration; j++) {

let println = function(line) {
const println = function(line) {
cursor.show();

@@ -102,3 +102,3 @@

let fromPipe = function() {
const fromPipe = function() {

@@ -109,3 +109,3 @@ process.stdin.resume();

let lines = data.split('\n');
const lines = data.split('\n');

@@ -121,5 +121,5 @@ for (let line in lines) {

let fromFile = function(file) {
const fromFile = function(file) {
let fileReader = new Reader(file)
const fileReader = new Reader(file)
fileReader.on('line', function (line) {

@@ -133,6 +133,6 @@ options.seed += 1;

let fromString = function(string) {
const fromString = function(string) {
string = string || '';
let lines = string.split('\n')
const lines = string.split('\n')
lines.forEach(function (line) {

@@ -139,0 +139,0 @@ options.seed += 1;

@@ -5,3 +5,3 @@ ```

Copyright (C) 2015 Robert Boloc <robertboloc@gmail.com>
Copyright (C) 2015 Robert Marsal

@@ -8,0 +8,0 @@ Everyone is permitted to copy and distribute verbatim or modified

{
"name": "lolcatjs",
"version": "2.4.0",
"version": "2.4.1",
"description": "The rainbow I tastes it",

@@ -14,3 +14,3 @@ "main": "index.js",

"bugs": {
"url": "https://github.com/robertboloc/lolcatjs/issues"
"url": "https://github.com/robertmarsal/lolcatjs/issues"
},

@@ -28,5 +28,3 @@ "scripts": {

"author": {
"name": "Robert Boloc",
"email": "robertboloc@gmail.com",
"url": "http://robertboloc.eu"
"name": "Robert Marsal"
},

@@ -33,0 +31,0 @@ "license": "WTFPL",

@@ -52,5 +52,5 @@ ![lolcatjs](/assets/banner.png)

## Thanks
[Nur Ortega Marsal](http://esnur.eu) for creating the banner
Nur Ortega Marsal for creating the banner
## License
WTFPL © [Robert Boloc](http://robertboloc.eu)
WTFPL © Robert Marsal
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