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

@josecarlosrz/logger

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@josecarlosrz/logger - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

20

index.js

@@ -24,5 +24,5 @@ const nodeConsole = require('console');

const lastFourPath = caller.getFileName().split(pathSep).slice(-4).join(pathSep);
const lastThreePath = caller.getFileName().split(pathSep).slice(-4).join(pathSep);
const file = pathSep + lastFourPath.trim(pathSep);
const lastThreeFile = pathSep + lastThreePath.trim(pathSep);
const line = caller.getLineNumber();

@@ -35,18 +35,6 @@ const column = caller.getColumnNumber();

console.log('[File]');
console.log('[File]', '...' + lastThreeFile + ':' + line + ':' + column);
console.group();
console.log('[Message]', message);
console.log(file + ':' + line + ':' + column);
console.groupEnd();
console.log('[Message]');
console.group();
console.log(message);
console.groupEnd();
if (args.length > 0) {

@@ -53,0 +41,0 @@

2

package.json
{
"name": "@josecarlosrz/logger",
"version": "1.0.12",
"version": "1.0.13",
"description": "Function to log each component of our application",

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