Socket
Socket
Sign inDemoInstall

x-chalk

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

dist/index.d.ts

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

import * as chalk from 'chalk';
import chalk from 'chalk';
export { chalk as c };

@@ -3,0 +3,0 @@ export declare function red(...args: any[]): void;

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.log = exports.white = exports.bgRed = exports.grey = exports.gray = exports.cyan = exports.magenta = exports.green = exports.yellow = exports.blue = exports.red = exports.c = void 0;
var chalk = require("chalk");
exports.c = chalk;
var chalk_1 = __importDefault(require("chalk"));
exports.c = chalk_1.default;
function red() {

@@ -11,3 +14,3 @@ var args = [];

}
console.log(chalk.red.apply(chalk, args));
console.log(chalk_1.default.red.apply(chalk_1.default, args));
}

@@ -21,3 +24,3 @@ exports.red = red;

}
console.log((_a = chalk.red).dim.apply(_a, args));
console.log((_a = chalk_1.default.red).dim.apply(_a, args));
};

@@ -29,3 +32,3 @@ function blue() {

}
console.log(chalk.blue.apply(chalk, args));
console.log(chalk_1.default.blue.apply(chalk_1.default, args));
}

@@ -39,3 +42,3 @@ exports.blue = blue;

}
console.log((_a = chalk.blue).dim.apply(_a, args));
console.log((_a = chalk_1.default.blue).dim.apply(_a, args));
};

@@ -47,3 +50,3 @@ function yellow() {

}
console.log(chalk.yellow.apply(chalk, args));
console.log(chalk_1.default.yellow.apply(chalk_1.default, args));
}

@@ -57,3 +60,3 @@ exports.yellow = yellow;

}
console.log((_a = chalk.yellow).dim.apply(_a, args));
console.log((_a = chalk_1.default.yellow).dim.apply(_a, args));
};

@@ -65,3 +68,3 @@ function green() {

}
console.log(chalk.green.apply(chalk, args));
console.log(chalk_1.default.green.apply(chalk_1.default, args));
}

@@ -75,3 +78,3 @@ exports.green = green;

}
console.log((_a = chalk.green).dim.apply(_a, args));
console.log((_a = chalk_1.default.green).dim.apply(_a, args));
};

@@ -83,3 +86,3 @@ function magenta() {

}
console.log(chalk.magenta.apply(chalk, args));
console.log(chalk_1.default.magenta.apply(chalk_1.default, args));
}

@@ -93,3 +96,3 @@ exports.magenta = magenta;

}
console.log((_a = chalk.magenta).dim.apply(_a, args));
console.log((_a = chalk_1.default.magenta).dim.apply(_a, args));
};

@@ -101,3 +104,3 @@ function cyan() {

}
console.log(chalk.cyan.apply(chalk, args));
console.log(chalk_1.default.cyan.apply(chalk_1.default, args));
}

@@ -111,3 +114,3 @@ exports.cyan = cyan;

}
console.log((_a = chalk.cyan).dim.apply(_a, args));
console.log((_a = chalk_1.default.cyan).dim.apply(_a, args));
};

@@ -119,3 +122,3 @@ function gray() {

}
console.log(chalk.gray.apply(chalk, args));
console.log(chalk_1.default.gray.apply(chalk_1.default, args));
}

@@ -129,3 +132,3 @@ exports.gray = gray;

}
console.log((_a = chalk.gray).dim.apply(_a, args));
console.log((_a = chalk_1.default.gray).dim.apply(_a, args));
};

@@ -137,3 +140,3 @@ function grey() {

}
console.log(chalk.gray.apply(chalk, args));
console.log(chalk_1.default.gray.apply(chalk_1.default, args));
}

@@ -147,3 +150,3 @@ exports.grey = grey;

}
console.log((_a = chalk.gray).dim.apply(_a, args));
console.log((_a = chalk_1.default.gray).dim.apply(_a, args));
};

@@ -155,3 +158,3 @@ function bgRed() {

}
console.log(chalk.bgRed.apply(chalk, args));
console.log(chalk_1.default.bgRed.apply(chalk_1.default, args));
}

@@ -172,3 +175,3 @@ exports.bgRed = bgRed;

}
console.log(chalk.dim.apply(chalk, args));
console.log(chalk_1.default.dim.apply(chalk_1.default, args));
};

@@ -188,3 +191,3 @@ function log() {

}
console.log(chalk.dim.apply(chalk, args));
console.log(chalk_1.default.dim.apply(chalk_1.default, args));
};
{
"name": "x-chalk",
"version": "1.0.0",
"version": "1.0.1",
"description": "simple colored terminal output - wrapper around `chalk`",

@@ -5,0 +5,0 @@ "repository": "github:jaredh159/x-chalk",

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

import * as chalk from 'chalk';
import chalk from 'chalk';

@@ -3,0 +3,0 @@ export { chalk as c };

{
"compilerOptions": {
"esModuleInterop": true,
"rootDir": "./src",

@@ -4,0 +5,0 @@ "outDir": "./dist",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc