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

bunyan-syslog

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan-syslog - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

1

lib/sys.js
// Copyright 2013 Mark Cavage, Inc. All rights reserved.
var os = require('os');
var Buffer = require('safer-buffer').Buffer;
var Stream = require('stream').Stream;

@@ -5,0 +6,0 @@ var util = require('util');

3

lib/tcp.js

@@ -8,2 +8,3 @@ // Copyright 2013 Mark Cavage, Inc. All rights reserved.

var Buffer = require('safer-buffer').Buffer;
var SyslogStream = require('./sys');

@@ -115,3 +116,3 @@

TCPStream.prototype._send = function _send(msg) {
this.socket.write(new Buffer(msg + '\n', 'utf-8'));
this.socket.write(Buffer.from(msg + '\n', 'utf-8'));
};

@@ -8,2 +8,3 @@ // Copyright 2013 Mark Cavage, Inc. All rights reserved.

var Buffer = require('safer-buffer').Buffer;
var SyslogStream = require('./sys');

@@ -48,3 +49,3 @@

UDPStream.prototype._send = function _send(msg) {
var buf = new Buffer(msg, 'utf-8');
var buf = Buffer.from(msg, 'utf-8');
var s = this.socket;

@@ -51,0 +52,0 @@ var self = this;

{
"name": "bunyan-syslog",
"description": "Syslog Stream for Bunyan",
"version": "0.3.2",
"version": "0.3.3",
"author": "Mark Cavage",
"license": "MIT",
"main": "./lib/index.js",
"keywords": [
"bunyan",
"syslog"
],
"repository": {

@@ -12,5 +16,9 @@ "type": "git",

},
"bugs": {
"url": "https://github.com/joyent/node-bunyan-syslog/issues"
},
"dependencies": {
"assert-plus": "0.1.5",
"nan": "^2.10.0"
"nan": "^2.14.0",
"safer-buffer": "~2.1.0"
},

@@ -21,3 +29,3 @@ "devDependencies": {

"faucet": "0.0.1",
"tape": "^3.5.0",
"tape": "^4.11.0",
"eslint": "^4.13.1",

@@ -24,0 +32,0 @@ "eslint-plugin-joyent": "~2.1.0"

@@ -80,3 +80,3 @@ bunyan-syslog is a stream for [bunyan](https://github.com/trentm/node-bunyan)

```
$ rsyslogd -f ./test/rsyslog.conf -i ./test.pid -u $USER
$ rsyslogd -f ./test/rsyslog.conf -i $PWD/test.pid -u $USER
$ make test

@@ -83,0 +83,0 @@ $ kill $(cat test.pid)

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