Socket
Socket
Sign inDemoInstall

@opentelemetry/core

Package Overview
Dependencies
Maintainers
3
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/core - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

17

build/esm/baggage/utils.js

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

import { __read } 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;
};
/*

@@ -3,0 +18,0 @@ * Copyright The OpenTelemetry Authors

@@ -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 } from '@opentelemetry/api';

@@ -19,0 +45,0 @@ export function sanitizeAttributes(attributes) {

@@ -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 { diag, } from '@opentelemetry/api';

@@ -19,0 +29,0 @@ /** Combines multiple propagators into a single propagator. */

@@ -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 { Deferred } from './promise';

@@ -19,0 +43,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 __());
};
})();
/**

@@ -19,0 +33,0 @@ * Error that is thrown on timeouts.

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

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.");
};
/*

@@ -3,0 +13,0 @@ * Copyright The OpenTelemetry Authors

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,34 +17,43 @@ "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 });
exports.internal = exports.baggageUtils = void 0;
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./baggage/propagation/W3CBaggagePropagator"), exports);
(0, tslib_1.__exportStar)(require("./common/anchored-clock"), exports);
(0, tslib_1.__exportStar)(require("./common/attributes"), exports);
(0, tslib_1.__exportStar)(require("./common/global-error-handler"), exports);
(0, tslib_1.__exportStar)(require("./common/logging-error-handler"), exports);
(0, tslib_1.__exportStar)(require("./common/time"), exports);
(0, tslib_1.__exportStar)(require("./common/types"), exports);
(0, tslib_1.__exportStar)(require("./ExportResult"), exports);
(0, tslib_1.__exportStar)(require("./version"), exports);
__exportStar(require("./baggage/propagation/W3CBaggagePropagator"), exports);
__exportStar(require("./common/anchored-clock"), exports);
__exportStar(require("./common/attributes"), exports);
__exportStar(require("./common/global-error-handler"), exports);
__exportStar(require("./common/logging-error-handler"), exports);
__exportStar(require("./common/time"), exports);
__exportStar(require("./common/types"), exports);
__exportStar(require("./ExportResult"), exports);
__exportStar(require("./version"), exports);
exports.baggageUtils = require("./baggage/utils");
(0, tslib_1.__exportStar)(require("./platform"), exports);
(0, tslib_1.__exportStar)(require("./propagation/composite"), exports);
(0, tslib_1.__exportStar)(require("./trace/W3CTraceContextPropagator"), exports);
(0, tslib_1.__exportStar)(require("./trace/IdGenerator"), exports);
(0, tslib_1.__exportStar)(require("./trace/rpc-metadata"), exports);
(0, tslib_1.__exportStar)(require("./trace/sampler/AlwaysOffSampler"), exports);
(0, tslib_1.__exportStar)(require("./trace/sampler/AlwaysOnSampler"), exports);
(0, tslib_1.__exportStar)(require("./trace/sampler/ParentBasedSampler"), exports);
(0, tslib_1.__exportStar)(require("./trace/sampler/TraceIdRatioBasedSampler"), exports);
(0, tslib_1.__exportStar)(require("./trace/suppress-tracing"), exports);
(0, tslib_1.__exportStar)(require("./trace/TraceState"), exports);
(0, tslib_1.__exportStar)(require("./utils/environment"), exports);
(0, tslib_1.__exportStar)(require("./utils/merge"), exports);
(0, tslib_1.__exportStar)(require("./utils/sampling"), exports);
(0, tslib_1.__exportStar)(require("./utils/timeout"), exports);
(0, tslib_1.__exportStar)(require("./utils/url"), exports);
(0, tslib_1.__exportStar)(require("./utils/wrap"), exports);
(0, tslib_1.__exportStar)(require("./utils/callback"), exports);
(0, tslib_1.__exportStar)(require("./version"), exports);
__exportStar(require("./platform"), exports);
__exportStar(require("./propagation/composite"), exports);
__exportStar(require("./trace/W3CTraceContextPropagator"), exports);
__exportStar(require("./trace/IdGenerator"), exports);
__exportStar(require("./trace/rpc-metadata"), exports);
__exportStar(require("./trace/sampler/AlwaysOffSampler"), exports);
__exportStar(require("./trace/sampler/AlwaysOnSampler"), exports);
__exportStar(require("./trace/sampler/ParentBasedSampler"), exports);
__exportStar(require("./trace/sampler/TraceIdRatioBasedSampler"), exports);
__exportStar(require("./trace/suppress-tracing"), exports);
__exportStar(require("./trace/TraceState"), exports);
__exportStar(require("./utils/environment"), exports);
__exportStar(require("./utils/merge"), exports);
__exportStar(require("./utils/sampling"), exports);
__exportStar(require("./utils/timeout"), exports);
__exportStar(require("./utils/url"), exports);
__exportStar(require("./utils/wrap"), exports);
__exportStar(require("./utils/callback"), exports);
__exportStar(require("./version"), exports);
const exporter_1 = require("./internal/exporter");

@@ -51,0 +60,0 @@ exports.internal = {

@@ -17,11 +17,20 @@ "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("./environment"), exports);
(0, tslib_1.__exportStar)(require("./globalThis"), exports);
(0, tslib_1.__exportStar)(require("./hex-to-base64"), exports);
(0, tslib_1.__exportStar)(require("./RandomIdGenerator"), exports);
(0, tslib_1.__exportStar)(require("./performance"), exports);
(0, tslib_1.__exportStar)(require("./sdk-info"), exports);
(0, tslib_1.__exportStar)(require("./timer-util"), exports);
__exportStar(require("./environment"), exports);
__exportStar(require("./globalThis"), exports);
__exportStar(require("./hex-to-base64"), exports);
__exportStar(require("./RandomIdGenerator"), exports);
__exportStar(require("./performance"), exports);
__exportStar(require("./sdk-info"), exports);
__exportStar(require("./timer-util"), exports);
//# sourceMappingURL=index.js.map
"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");
/*

@@ -19,3 +28,3 @@ * Copyright The OpenTelemetry Authors

*/
(0, tslib_1.__exportStar)(require("./node"), exports);
__exportStar(require("./node"), exports);
//# sourceMappingURL=index.js.map

@@ -17,11 +17,20 @@ "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("./environment"), exports);
(0, tslib_1.__exportStar)(require("./globalThis"), exports);
(0, tslib_1.__exportStar)(require("./hex-to-base64"), exports);
(0, tslib_1.__exportStar)(require("./RandomIdGenerator"), exports);
(0, tslib_1.__exportStar)(require("./performance"), exports);
(0, tslib_1.__exportStar)(require("./sdk-info"), exports);
(0, tslib_1.__exportStar)(require("./timer-util"), exports);
__exportStar(require("./environment"), exports);
__exportStar(require("./globalThis"), exports);
__exportStar(require("./hex-to-base64"), exports);
__exportStar(require("./RandomIdGenerator"), exports);
__exportStar(require("./performance"), exports);
__exportStar(require("./sdk-info"), exports);
__exportStar(require("./timer-util"), 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/core",
"version": "1.15.0",
"version": "1.15.1",
"description": "OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.",

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

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

@@ -73,12 +73,12 @@ "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",
"karma-spec-reporter": "0.0.36",
"karma-webpack": "4.0.2",
"lerna": "7.1.1",
"lerna": "7.1.3",
"mocha": "10.2.0",

@@ -96,8 +96,7 @@ "nyc": "15.1.0",

"dependencies": {
"@opentelemetry/semantic-conventions": "1.15.0",
"tslib": "^2.3.1"
"@opentelemetry/semantic-conventions": "1.15.1"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core",
"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

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