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

tiny-crayon

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-crayon - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

index.js
module.exports = new Crayon()
module.exports.Crayon = Crayon
function Crayon (stream = process.stdout) {
function Crayon (stream) {
if (!stream) stream = process._stdout ? { isTTY: true } : process.stdout
const modifiers1 = { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24] }

@@ -6,0 +8,0 @@ const modifiers2 = { overline: [53, 55], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }

{
"name": "tiny-crayon",
"version": "1.0.3",
"version": "1.0.4",
"description": "Terminal string styling",

@@ -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