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.3.0 to 0.4.0

5

build/src/client.js

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

var core_1 = require("@uptrace/core");
var config_1 = require("./config");
function createClient(cfg) {

@@ -14,7 +15,5 @@ if (cfg === void 0) { cfg = {}; }

var nodeConfig = {
resource: config_1.createResource(cfg),
autoDetectResources: true,
};
if (cfg.resource) {
nodeConfig.resource = cfg.resource;
}
if (cfg.sampler) {

@@ -21,0 +20,0 @@ nodeConfig.sampler = cfg.sampler;

3

build/src/config.d.ts
import { Plugins } from '@opentelemetry/node';
import { Config as BaseConfig } from '@uptrace/core';
import { Config as BaseConfig, createResource } from '@uptrace/core';
export interface Config extends BaseConfig {
plugins?: Plugins;
}
export { createResource };
//# sourceMappingURL=config.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createResource = void 0;
var core_1 = require("@uptrace/core");
Object.defineProperty(exports, "createResource", { enumerable: true, get: function () { return core_1.createResource; } });
//# sourceMappingURL=config.js.map

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

export declare const VERSION = "0.3.0";
export declare const VERSION = "0.4.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.3.0';
exports.VERSION = '0.4.0';
//# sourceMappingURL=version.js.map
{
"name": "@uptrace/node",
"version": "0.3.0",
"version": "0.4.0",
"description": "Uptrace JS exporter for Node.js",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"repository": "uptrace/uptrace-js",
"repository": {
"type": "git",
"url": "git+https://github.com/uptrace/uptrace-js.git",
"directory": "packages/uptrace-node"
},
"scripts": {

@@ -52,18 +56,18 @@ "test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts",

"dependencies": {
"@opentelemetry/node": "^0.13.0",
"@uptrace/core": "^0.3.0"
"@opentelemetry/node": "^0.16.0",
"@uptrace/core": "^0.4.0"
},
"devDependencies": {
"@opentelemetry/sdk-node": "0.13.0",
"@types/node": "14.14.10",
"@typescript-eslint/eslint-plugin": "4.9.0",
"eslint": "7.15.0",
"@opentelemetry/sdk-node": "0.16.0",
"@types/node": "14.14.27",
"@typescript-eslint/eslint-plugin": "4.15.0",
"eslint": "7.20.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.2.0",
"gts": "3.0.3",
"mocha": "8.2.1",
"eslint-plugin-prettier": "3.3.1",
"gts": "3.1.0",
"mocha": "8.3.0",
"nyc": "15.1.0",
"ts-mocha": "8.0.0",
"typescript": "4.1.2"
"typescript": "4.1.5"
}
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc