Socket
Socket
Sign inDemoInstall

winston-newrelic-logs-transport

Package Overview
Dependencies
17
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

dist/index.d.ts

2

dist/index.js

@@ -16,3 +16,3 @@ "use strict";

var _a, _b, _c;
super();
super(options);
this.logs = [];

@@ -19,0 +19,0 @@ this.axiosClient = axios_1.default.create(Object.assign(Object.assign({ timeout: 5000 }, options.axiosOptions), { baseURL: options.apiUrl, headers: Object.assign(Object.assign({}, (_a = options.axiosOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'Api-Key': options.licenseKey, 'Content-Type': 'application/json' }) }));

@@ -6,3 +6,3 @@ import axios, { AxiosInstance, AxiosRequestConfig } from "axios";

export interface WinstonNewrelicLogsTransportOptions {
export interface WinstonNewrelicLogsTransportOptions extends TransportStream.TransportStreamOptions {
/**

@@ -58,3 +58,3 @@ * Your NewRelic key.

constructor(options: WinstonNewrelicLogsTransportOptions) {
super();
super(options);

@@ -61,0 +61,0 @@ this.logs = [];

{
"name": "winston-newrelic-logs-transport",
"version": "1.3.0",
"version": "1.3.1",
"description": "NewRelic Logs API Transport for Winston",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc