Socket
Socket
Sign inDemoInstall

@opentelemetry/otlp-exporter-base

Package Overview
Dependencies
3
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.29.2 to 0.30.0

2

build/esm/platform/node/OTLPExporterNodeBase.js

@@ -73,4 +73,2 @@ /*

};
// TODO: end gzip stream from util.ts if not undefined
// It should perhaps be a class member here instead of a variable in util.ts
OTLPExporterNodeBase.prototype.onShutdown = function () { };

@@ -77,0 +75,0 @@ return OTLPExporterNodeBase;

@@ -36,3 +36,2 @@ var __assign = (this && this.__assign) || function () {

import { OTLPExporterError } from '../../types';
var gzip;
/**

@@ -105,9 +104,6 @@ * Sends data using http

case CompressionAlgorithm.GZIP: {
if (!gzip) {
gzip = zlib.createGzip();
}
req.setHeader('Content-Encoding', 'gzip');
var dataStream = readableFromBuffer(data);
dataStream.on('error', onError)
.pipe(gzip).on('error', onError)
.pipe(zlib.createGzip()).on('error', onError)
.pipe(req);

@@ -114,0 +110,0 @@ break;

2

build/esm/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.29.2";
export declare const VERSION = "0.30.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '0.29.2';
export var VERSION = '0.30.0';
//# sourceMappingURL=version.js.map

@@ -54,6 +54,4 @@ /*

}
// TODO: end gzip stream from util.ts if not undefined
// It should perhaps be a class member here instead of a variable in util.ts
onShutdown() { }
}
//# sourceMappingURL=OTLPExporterNodeBase.js.map

@@ -25,3 +25,2 @@ /*

import { OTLPExporterError } from '../../types';
let gzip;
/**

@@ -94,9 +93,6 @@ * Sends data using http

case CompressionAlgorithm.GZIP: {
if (!gzip) {
gzip = zlib.createGzip();
}
req.setHeader('Content-Encoding', 'gzip');
const dataStream = readableFromBuffer(data);
dataStream.on('error', onError)
.pipe(gzip).on('error', onError)
.pipe(zlib.createGzip()).on('error', onError)
.pipe(req);

@@ -103,0 +99,0 @@ break;

@@ -1,2 +0,2 @@

export declare const VERSION = "0.29.2";
export declare const VERSION = "0.30.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '0.29.2';
export const VERSION = '0.30.0';
//# sourceMappingURL=version.js.map

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

}
// TODO: end gzip stream from util.ts if not undefined
// It should perhaps be a class member here instead of a variable in util.ts
onShutdown() { }

@@ -61,0 +59,0 @@ }

@@ -28,3 +28,2 @@ "use strict";

const types_2 = require("../../types");
let gzip;
/**

@@ -97,9 +96,6 @@ * Sends data using http

case types_1.CompressionAlgorithm.GZIP: {
if (!gzip) {
gzip = zlib.createGzip();
}
req.setHeader('Content-Encoding', 'gzip');
const dataStream = readableFromBuffer(data);
dataStream.on('error', onError)
.pipe(gzip).on('error', onError)
.pipe(zlib.createGzip()).on('error', onError)
.pipe(req);

@@ -106,0 +102,0 @@ break;

@@ -1,2 +0,2 @@

export declare const VERSION = "0.29.2";
export declare const VERSION = "0.30.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.29.2';
exports.VERSION = '0.30.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/otlp-exporter-base",
"version": "0.29.2",
"version": "0.30.0",
"description": "OpenTelemetry OTLP Exporter base (for internal use only)",

@@ -45,3 +45,3 @@ "main": "build/src/index.js",

"engines": {
"node": ">=8.12.0"
"node": ">=14"
},

@@ -65,3 +65,3 @@ "files": [

"dependencies": {
"@opentelemetry/core": "1.3.1"
"@opentelemetry/core": "1.4.0"
},

@@ -86,3 +86,3 @@ "devDependencies": {

},
"gitHead": "51afd54bd63e46d5d530266761144c7be2f6b3a7"
"gitHead": "e39ab883b18636238ef0fd741df4ce5ed53e8d04"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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