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

timer-logs

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timer-logs - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

index.d.ts

@@ -22,3 +22,3 @@ declare type Config = {

*/
loggerName?: 'timer-logs logger';
loggerName?: string;
/**

@@ -25,0 +25,0 @@ * This will be printed on all log output from the instance configured with it, to help identify where a log has

@@ -27,2 +27,4 @@ "use strict";

this.config.label = this.splitFilePath.slice(-1)[0].split('.')[0];
if (this.config.loggerName === undefined)
this.config.loggerName = 'timer-logs';
this.uniqueId = crypto.randomBytes(8).toString('hex');

@@ -29,0 +31,0 @@ this.start(this.config.label);

@@ -22,3 +22,3 @@ import * as crypto from 'crypto'

*/
loggerName?: 'timer-logs logger'
loggerName?: string
/**

@@ -70,2 +70,3 @@ * This will be printed on all log output from the instance configured with it, to help identify where a log has

if (this.config.label === undefined) this.config.label = this.splitFilePath.slice(-1)[0].split('.')[0]
if(this.config.loggerName === undefined) this.config.loggerName = 'timer-logs'
this.uniqueId = crypto.randomBytes(8).toString('hex')

@@ -72,0 +73,0 @@ this.start(this.config.label)

{
"name": "timer-logs",
"version": "1.2.0",
"version": "1.2.1",
"devDependencies": {

@@ -5,0 +5,0 @@ "@types/node": "^15.00.0"

Sorry, the diff of this file is not supported yet

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