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

metalog

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalog - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

metalog-1.1.0.tgz

5

metalog.js

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

const common = require('@metarhia/common');
const { WritableFileStream } = require('metastreams');
const concolor = require('concolor');

@@ -132,3 +133,3 @@

this.keepDays = keepDays || 0;
this.options = { flags: 'a', highWaterMark: this.writeBuffer };
this.options = { flags: 'a', bufferSize: this.writeBuffer };
this.stream = null;

@@ -161,3 +162,3 @@ this.reopenTimer = null;

if (this.keepDays) this.rotate();
this.stream = fs.createWriteStream(this.file, this.options);
this.stream = new WritableFileStream(this.file, this.options);
this.flushTimer = setInterval(() => {

@@ -164,0 +165,0 @@ this.flush();

13

package.json
{
"name": "metalog",
"version": "1.0.5",
"version": "1.1.0",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -31,11 +31,12 @@ "description": "Meta Logger for Metarhia",

"@metarhia/common": "^1.2.1",
"concolor": "^0.1.9"
"concolor": "^0.1.10",
"metastreams": "^0.1.0"
},
"devDependencies": {
"eslint": "^5.12.0",
"eslint-config-prettier": "^3.5.0",
"eslint": "^5.13.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-prettier": "^3.0.1",
"metatests": "^0.4.0",
"prettier": "1.16.x"
"metatests": "^0.4.1",
"prettier": "^1.16.4"
}
}
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