Socket
Socket
Sign inDemoInstall

@opentelemetry/sdk-trace-base

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/sdk-trace-base - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

12

build/esm/export/ConsoleSpanExporter.js

@@ -16,3 +16,13 @@ /*

*/
import { __values } from "tslib";
var __values = (this && this.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
import { ExportResultCode, hrTimeToMicroseconds, } from '@opentelemetry/core';

@@ -19,0 +29,0 @@ /**

@@ -16,3 +16,27 @@ /*

*/
import { __read, __spreadArray } from "tslib";
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};
import { ExportResultCode } from '@opentelemetry/core';

@@ -19,0 +43,0 @@ /**

@@ -16,3 +16,38 @@ /*

*/
import { __awaiter, __generator } from "tslib";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import { TraceFlags } from '@opentelemetry/api';

@@ -19,0 +54,0 @@ import { internal, ExportResultCode, globalErrorHandler, BindOnceFuture, } from '@opentelemetry/core';

@@ -16,3 +16,13 @@ /*

*/
import { __values } from "tslib";
var __values = (this && this.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
import { globalErrorHandler } from '@opentelemetry/core';

@@ -19,0 +29,0 @@ /**

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

*/
import { __extends } from "tslib";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { BatchSpanProcessorBase } from '../../../export/BatchSpanProcessorBase';

@@ -19,0 +33,0 @@ var BatchSpanProcessor = /** @class */ (function (_super) {

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

*/
import { __extends } from "tslib";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { BatchSpanProcessorBase } from '../../../export/BatchSpanProcessorBase';

@@ -19,0 +33,0 @@ var BatchSpanProcessor = /** @class */ (function (_super) {

@@ -16,3 +16,29 @@ /*

*/
import { __read, __values } from "tslib";
var __values = (this && this.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
import { diag, SpanStatusCode, } from '@opentelemetry/api';

@@ -19,0 +45,0 @@ import { addHrTimes, millisToHrTime, getTimeOrigin, hrTime, hrTimeDuration, isAttributeValue, isTimeInput, isTimeInputHrTime, otperformance, sanitizeAttributes, } from '@opentelemetry/core';

2

build/esm/version.d.ts

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

export declare const VERSION = "1.15.0";
export declare const VERSION = "1.15.1";
//# sourceMappingURL=version.d.ts.map

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

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

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

export declare const VERSION = "1.15.0";
export declare const VERSION = "1.15.1";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -17,23 +17,32 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./Tracer"), exports);
(0, tslib_1.__exportStar)(require("./BasicTracerProvider"), exports);
(0, tslib_1.__exportStar)(require("./platform"), exports);
(0, tslib_1.__exportStar)(require("./export/ConsoleSpanExporter"), exports);
(0, tslib_1.__exportStar)(require("./export/InMemorySpanExporter"), exports);
(0, tslib_1.__exportStar)(require("./export/ReadableSpan"), exports);
(0, tslib_1.__exportStar)(require("./export/SimpleSpanProcessor"), exports);
(0, tslib_1.__exportStar)(require("./export/SpanExporter"), exports);
(0, tslib_1.__exportStar)(require("./export/NoopSpanProcessor"), exports);
(0, tslib_1.__exportStar)(require("./sampler/AlwaysOffSampler"), exports);
(0, tslib_1.__exportStar)(require("./sampler/AlwaysOnSampler"), exports);
(0, tslib_1.__exportStar)(require("./sampler/ParentBasedSampler"), exports);
(0, tslib_1.__exportStar)(require("./sampler/TraceIdRatioBasedSampler"), exports);
(0, tslib_1.__exportStar)(require("./Sampler"), exports);
(0, tslib_1.__exportStar)(require("./Span"), exports);
(0, tslib_1.__exportStar)(require("./SpanProcessor"), exports);
(0, tslib_1.__exportStar)(require("./TimedEvent"), exports);
(0, tslib_1.__exportStar)(require("./types"), exports);
(0, tslib_1.__exportStar)(require("./IdGenerator"), exports);
__exportStar(require("./Tracer"), exports);
__exportStar(require("./BasicTracerProvider"), exports);
__exportStar(require("./platform"), exports);
__exportStar(require("./export/ConsoleSpanExporter"), exports);
__exportStar(require("./export/InMemorySpanExporter"), exports);
__exportStar(require("./export/ReadableSpan"), exports);
__exportStar(require("./export/SimpleSpanProcessor"), exports);
__exportStar(require("./export/SpanExporter"), exports);
__exportStar(require("./export/NoopSpanProcessor"), exports);
__exportStar(require("./sampler/AlwaysOffSampler"), exports);
__exportStar(require("./sampler/AlwaysOnSampler"), exports);
__exportStar(require("./sampler/ParentBasedSampler"), exports);
__exportStar(require("./sampler/TraceIdRatioBasedSampler"), exports);
__exportStar(require("./Sampler"), exports);
__exportStar(require("./Span"), exports);
__exportStar(require("./SpanProcessor"), exports);
__exportStar(require("./TimedEvent"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./IdGenerator"), exports);
//# sourceMappingURL=index.js.map

@@ -17,6 +17,15 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./export/BatchSpanProcessor"), exports);
(0, tslib_1.__exportStar)(require("./RandomIdGenerator"), exports);
__exportStar(require("./export/BatchSpanProcessor"), exports);
__exportStar(require("./RandomIdGenerator"), exports);
//# sourceMappingURL=index.js.map

@@ -17,5 +17,14 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./node"), exports);
__exportStar(require("./node"), exports);
//# sourceMappingURL=index.js.map

@@ -17,6 +17,15 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./export/BatchSpanProcessor"), exports);
(0, tslib_1.__exportStar)(require("./RandomIdGenerator"), exports);
__exportStar(require("./export/BatchSpanProcessor"), exports);
__exportStar(require("./RandomIdGenerator"), exports);
//# sourceMappingURL=index.js.map

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

export declare const VERSION = "1.15.0";
export declare const VERSION = "1.15.1";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '1.15.0';
exports.VERSION = '1.15.1';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/sdk-trace-base",
"version": "1.15.0",
"version": "1.15.1",
"description": "OpenTelemetry Tracing",

@@ -21,4 +21,4 @@ "main": "build/src/index.js",

"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' --exclude 'test/browser/**/*.ts'",
"test:browser": "nyc karma start --single-run",
"test:webworker": "nyc karma start karma.worker.js --single-run",
"test:browser": "karma start --single-run",
"test:webworker": "karma start karma.worker.js --single-run",
"tdd": "npm run tdd:node",

@@ -74,8 +74,8 @@ "tdd:node": "npm run test -- --watch-extensions ts --watch",

"@types/webpack-env": "1.16.3",
"babel-plugin-istanbul": "6.1.1",
"codecov": "3.8.3",
"cross-var": "1.1.0",
"istanbul-instrumenter-loader": "3.0.1",
"karma": "6.4.2",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-coverage": "2.2.1",
"karma-mocha": "2.0.1",

@@ -85,3 +85,3 @@ "karma-mocha-webworker": "1.3.0",

"karma-webpack": "4.0.2",
"lerna": "7.1.1",
"lerna": "7.1.3",
"mocha": "10.2.0",

@@ -99,10 +99,9 @@ "nyc": "15.1.0",

"dependencies": {
"@opentelemetry/core": "1.15.0",
"@opentelemetry/resources": "1.15.0",
"@opentelemetry/semantic-conventions": "1.15.0",
"tslib": "^2.3.1"
"@opentelemetry/core": "1.15.1",
"@opentelemetry/resources": "1.15.1",
"@opentelemetry/semantic-conventions": "1.15.1"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base",
"sideEffects": false,
"gitHead": "06e919d6c909e8cc8e28b6624d9843f401d9b059"
"gitHead": "9f71800fdc2a5ee5055684037a12498af71955f2"
}

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc