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

shenanigans-manager

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shenanigans-manager - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

1

lib/loggers/consoleLogger.d.ts

@@ -0,1 +1,2 @@

import "colors";
import { IExecuteBeginInfo, IExecuteEndInfo, IExecuteOutInfo, ILogger, IOnSetCwdInfo } from "../logger";

@@ -2,0 +3,0 @@ /**

12

lib/loggers/consoleLogger.js
"use strict";
require("colors");
/**

@@ -12,3 +13,3 @@ * Logs on important events.

onExecuteBegin(info) {
console.log(`Executing command: ${info.command}`);
console.log("Executing command: ".grey, info.command);
}

@@ -21,3 +22,6 @@ /**

onExecuteEnd(info) {
console.log(`Done executing with code ${info.code}: ${info.command}`);
const codeString = info.code === 0
? "0".green
: info.code.toString().red;
console.log("Done executing with code".grey, codeString, info.command);
}

@@ -30,3 +34,3 @@ /**

onExecuteError(info) {
console.log(`>${this.trim(info.data, " Err: ")}`);
console.log(`>${this.trim(info.data, " Err: ")}`.red);
}

@@ -39,3 +43,3 @@ /**

onSetCwd(info) {
console.log(`Now in ${info.cwd}`);
console.log(`Now in ${info.cwd}`.grey.italic);
}

@@ -42,0 +46,0 @@ /**

{
"name": "shenanigans-manager",
"version": "0.1.3",
"version": "0.1.4",
"description": "Manages large-scale operations on FullScreenShenanigans project.",

@@ -26,5 +26,7 @@ "bin": {

"dependencies": {
"colors": "^1.1.2",
"moment": "^2.17.1"
},
"devDependencies": {
"@types/colors": "^1.1.1",
"@types/node": "^7.0.4",

@@ -31,0 +33,0 @@ "del": "^2.2.2",

@@ -0,1 +1,3 @@

import "colors";
import {

@@ -17,3 +19,3 @@ IExecuteBeginInfo, IExecuteEndInfo, IExecuteOutInfo,

public onExecuteBegin(info: IExecuteBeginInfo): void {
console.log(`Executing command: ${info.command}`);
console.log("Executing command: ".grey, info.command);
}

@@ -27,3 +29,7 @@

public onExecuteEnd(info: IExecuteEndInfo): void {
console.log(`Done executing with code ${info.code}: ${info.command}`);
const codeString: string = info.code === 0
? "0".green
: info.code.toString().red;
console.log("Done executing with code".grey, codeString, info.command);
}

@@ -37,3 +43,3 @@

public onExecuteError(info: IExecuteOutInfo): void {
console.log(`>${this.trim(info.data, " Err: ")}`);
console.log(`>${this.trim(info.data, " Err: ")}`.red);
}

@@ -47,3 +53,3 @@

public onSetCwd(info: IOnSetCwdInfo): void {
console.log(`Now in ${info.cwd}`);
console.log(`Now in ${info.cwd}`.grey.italic);
}

@@ -50,0 +56,0 @@

@@ -51,4 +51,2 @@ /**

"WorldSeedr",
// Utilities
"gulp-shenanigans",
// Games

@@ -55,0 +53,0 @@ "FullScreenPokemon"

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