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

igniculus

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

igniculus - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

8

index.js

@@ -153,2 +153,6 @@ 'use strict';

if (runestone.postfix && runestone.postfix.text) {
output = output + runestone.postfix.sequence + runestone.postfix.text + ANSIModes.reset;
}
console.log(output);

@@ -209,2 +213,6 @@ }

if (runestone.postfix) {
runestone.postfix.sequence = forgeANSISequence(runestone.postfix);
}
return illumine;

@@ -211,0 +219,0 @@ }

2

package.json
{
"name": "igniculus",
"version": "0.3.0",
"version": "0.4.0",
"description": "SQL Syntax Highlighter and Logger. Unadorned and customizable.",

@@ -5,0 +5,0 @@ "keywords": [

# Igniculus
SQL Syntax Highlighter and Logger. Unadorned and customizable.
[![version](https://img.shields.io/npm/v/igniculus.svg?style=flat-square)](https://www.npmjs.com/package/igniculus)
[![node](https://img.shields.io/node/v/igniculus.svg?style=flat-square)](https://nodejs.org/en/download/releases)
[![downloads](https://img.shields.io/npm/dt/igniculus.svg?style=flat-square)](https://www.npmjs.com/package/igniculus)
[![license](https://img.shields.io/npm/l/igniculus.svg?style=flat-square)](https://github.com/Undre4m/igniculus/blob/master/LICENSE)
## Install

@@ -57,2 +62,4 @@

- prefix.**replace** - Also, a _string_ or _regular expression_ can be provided and it will replace (if a prefix.**text** was given) or remove a prefix that matches such parameter. _E.g:_ [Sequelize](https://www.npmjs.com/package/sequelize) prefixes every _SQL statement_ with `Executing (default):` This is removed by **default** by the option `prefix: { replace: /.*?: / }`
- options.**postfix**
- postfix.**text** - A postfix can be appended to every log through this option. This postfix can be styled like any previous options.

@@ -173,3 +180,4 @@ If defined, the _options_ argument takes precedence over _default_ options. If a rule or it´s style is missing it won't be applied. This allows to _"enable"_ or _"disable"_ certain syntax highlighting as you see fit. _[(Examples below)](https://www.npmjs.com/package/igniculus#examples)_

text: '(Sequelize)'
}
},
postfix: { text:'\r\n' }
}

@@ -197,3 +205,3 @@ );

- Custom rules
- Postfix support
- Selecting log stream _E.g:_ `process.stdout`

@@ -200,0 +208,0 @@ ## Maintainers

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