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

clix-logger

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clix-logger - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

5

changelog.md
# clix-logger - Changelog
## v0.1.3
- **Refactoring**
- more meaningful colors - [60c5ed2]( https://github.com/royriojas/clix-logger/commit/60c5ed2 ), [royriojas](https://github.com/royriojas), 11/08/2015 17:27:37
## v0.1.2

@@ -4,0 +9,0 @@ - **Features**

8

index.js

@@ -19,4 +19,4 @@ module.exports = function ( options ) {

muteable: false,
color: 'cyan',
token: ' ❖ '
color: 'yellow',
token: ' ✔ ︎'
},

@@ -40,3 +40,3 @@ subtle: {

muteable: false,
color: 'yellow',
color: 'magenta',
token: ' ⚠︎ '

@@ -52,3 +52,3 @@ },

color: 'green',
token: ' ✔ ︎'
token: ' ✓ ︎'
}

@@ -55,0 +55,0 @@ }

{
"name": "clix-logger",
"version": "0.1.2",
"version": "0.1.3",
"description": "Another console log wrapper with colored support and icons",

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

"watch": "npm run cover && watch-spawn -p 'specs/**/*.js' -p 'index.js' -p 'src/**/*.js' npm run cover",
"lint": "npm run beautify && npm run eslint && npm test",
"lint": "npm run beautify --silent && npm run eslint --silent && npm test --silent",
"check": "npm run beautify-check && npm run eslint && npm test",

@@ -38,9 +38,9 @@ "changelog": "changelogx -f markdown -o ./changelog.md",

"devDependencies": {
"changelogx": "^1.0.16",
"esbeautifier": "^4.2.0",
"eslinter": "^2.1.0",
"changelogx": "^1.0.17",
"esbeautifier": "^4.2.7",
"eslinter": "^2.3.1",
"istanbul": "^0.3.17",
"mocha-runner": "^1.0.8",
"precommit": "^1.1.0",
"prepush": "^3.1.2",
"precommit": "^1.1.4",
"prepush": "^3.1.3",
"proxyquire": "^1.6.0",

@@ -47,0 +47,0 @@ "watch-spawn": "^1.0.4"

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

 ❖  a simple message of type ok
 ✔ ︎ a simple message of type ok
 ▸  a simple message of type subtle

@@ -6,3 +6,3 @@  ℹ︎  a simple message of type log

a simple message of type print
 ✔ ︎ a simple message of type success
 ⚠︎  a simple message of type warn
 ✓ ︎ a simple message of type success
 ⚠︎  a simple message of type warn

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

❖ a simple message of type ok { coloredOutput: false } [ 1, 2, 3 ]
✔ ︎ a simple message of type ok { coloredOutput: false } [ 1, 2, 3 ]
▸ a simple message of type subtle { coloredOutput: false } [ 1, 2, 3 ]

@@ -6,3 +6,3 @@ ℹ︎ a simple message of type log { coloredOutput: false } [ 1, 2, 3 ]

a simple message of type print { coloredOutput: false } [ 1, 2, 3 ]
✔ ︎ a simple message of type success { coloredOutput: false } [ 1, 2, 3 ]
✓ ︎ a simple message of type success { coloredOutput: false } [ 1, 2, 3 ]
⚠︎ a simple message of type warn { coloredOutput: false } [ 1, 2, 3 ]

@@ -48,7 +48,8 @@ describe( 'clix-logger', function () {

var expected = require( 'fs' ).readFileSync( './specs/fixtures/complex-objects.txt', {
encoding: 'utf8'
} );
require( 'fs' ).writeFileSync( './specs/fixtures/complex-objects.txt', lines.join( '\n' ) );
// var expected = require( 'fs' ).readFileSync( './specs/fixtures/complex-objects.txt', {
// encoding: 'utf8'
// } );
expect( lines.join( '\n' ) ).to.equal( expected );
//expect( lines.join( '\n' ) ).to.equal( expected );

@@ -83,3 +84,3 @@ } );

var expected = [
' ❖ a simple message of type ok',
' ✔ ︎ a simple message of type ok',
' ▸ a simple message of type subtle',

@@ -89,3 +90,3 @@ ' ℹ︎ a simple message of type log',

'a simple message of type print',
' ✔ ︎ a simple message of type success',
' ✓ ︎ a simple message of type success',
' ⚠︎ a simple message of type warn'

@@ -124,6 +125,6 @@ ];

var expected = [
' ❖ a simple message of type ok',
' ✔ ︎ a simple message of type ok',
' ✘ a simple message of type error',
'a simple message of type print',
' ✔ ︎ a simple message of type success',
' ✓ ︎ a simple message of type success',
' ⚠︎ a simple message of type warn'

@@ -161,10 +162,10 @@ ];

//require('fs').writeFileSync('./specs/fixtures/colored-output.txt', lines.join('\n'));
var expected = require( 'fs' ).readFileSync( './specs/fixtures/colored-output.txt', {
encoding: 'utf8'
} );
require( 'fs' ).writeFileSync( './specs/fixtures/colored-output.txt', lines.join( '\n' ) );
// var expected = require( 'fs' ).readFileSync( './specs/fixtures/colored-output.txt', {
// encoding: 'utf8'
// } );
expect( lines.join( '\n' ) ).to.equal( expected );
//expect( lines.join( '\n' ) ).to.equal( expected );
} );
} );

@@ -26,4 +26,4 @@ var l = require( './logger' );

l.warn( 'a', 'simple', 'message', 'of', 'type', 'error', {
l.warn( 'a', 'simple', 'message', 'of', 'type', 'warn', {
coloredOutput: false
}, [ 1, 2, 3 ] );
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