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

@uptrace/node

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uptrace/node - npm Package Compare versions

Comparing version 0.20.0 to 0.25.0

14

build/src/uptrace.js

@@ -5,4 +5,5 @@ "use strict";

var core_1 = require("@opentelemetry/core");
var tracing_1 = require("@opentelemetry/tracing");
var sdk_trace_base_1 = require("@opentelemetry/sdk-trace-base");
var sdk_node_1 = require("@opentelemetry/sdk-node");
var exporter_collector_1 = require("@opentelemetry/exporter-collector");
var core_2 = require("@uptrace/core");

@@ -52,11 +53,8 @@ var _CLIENT = core_2.createClient(core_2.parseDSN('https://TOKEN@api.uptrace.dev/PROJECT_ID'));

_CLIENT = core_2.createClient(dsn);
if (!cfg.beforeSpanSend) {
cfg.beforeSpanSend = function () { };
}
var exporter = new core_2.SpanExporter({
dsn: cfg.dsn,
beforeSpanSend: cfg.beforeSpanSend,
var exporter = new exporter_collector_1.CollectorTraceExporter({
url: 'https://otlp.uptrace.dev/v1/traces',
headers: { 'uptrace-dsn': cfg.dsn },
});
// TODO: spanProcessor is deprecated
cfg.spanProcessor = new tracing_1.BatchSpanProcessor(exporter, {
cfg.spanProcessor = new sdk_trace_base_1.BatchSpanProcessor(exporter, {
maxExportBatchSize: 1000,

@@ -63,0 +61,0 @@ maxQueueSize: 1000,

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

export declare const VERSION = "0.20.0";
export declare const VERSION = "0.25.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.20.0';
exports.VERSION = '0.25.0';
//# sourceMappingURL=version.js.map
{
"name": "@uptrace/node",
"version": "0.20.0",
"version": "0.25.0",
"description": "Uptrace JS exporter for Node.js",

@@ -53,22 +53,22 @@ "main": "build/src/index.js",

"dependencies": {
"@opentelemetry/api": "0.20.0",
"@opentelemetry/node": "0.20.0",
"@opentelemetry/sdk-node": "0.20.0",
"@uptrace/core": "^0.20.0"
"@opentelemetry/api": "1.0.2",
"@opentelemetry/exporter-collector": "0.25.0",
"@opentelemetry/sdk-node": "0.25.0",
"@uptrace/core": "^0.25.0"
},
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.12.2",
"@types/mocha": "9.0.0",
"@types/node": "16.7.1",
"@types/sinon": "10.0.2",
"@typescript-eslint/eslint-plugin": "4.26.1",
"eslint": "7.28.0",
"@typescript-eslint/eslint-plugin": "4.29.3",
"eslint": "7.32.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-prettier": "3.4.1",
"gts": "3.1.0",
"mocha": "9.0.0",
"mocha": "9.1.0",
"nyc": "15.1.0",
"sinon": "11.1.1",
"sinon": "11.1.2",
"ts-mocha": "8.0.0",
"typescript": "4.2.3"
"typescript": "4.3.5"
}
}

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