@opentelemetry/sdk-trace-base
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -16,13 +16,3 @@ /* | ||
*/ | ||
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 { __values } from "tslib"; | ||
import { ExportResultCode, hrTimeToMicroseconds, } from '@opentelemetry/core'; | ||
@@ -29,0 +19,0 @@ /** |
@@ -16,27 +16,3 @@ /* | ||
*/ | ||
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 { __read, __spreadArray } from "tslib"; | ||
import { ExportResultCode } from '@opentelemetry/core'; | ||
@@ -43,0 +19,0 @@ /** |
@@ -16,38 +16,3 @@ /* | ||
*/ | ||
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 { __awaiter, __generator } from "tslib"; | ||
import { TraceFlags } from '@opentelemetry/api'; | ||
@@ -54,0 +19,0 @@ import { internal, ExportResultCode, globalErrorHandler, BindOnceFuture, } from '@opentelemetry/core'; |
@@ -16,13 +16,3 @@ /* | ||
*/ | ||
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 { __values } from "tslib"; | ||
import { globalErrorHandler } from '@opentelemetry/core'; | ||
@@ -29,0 +19,0 @@ /** |
@@ -16,17 +16,3 @@ /* | ||
*/ | ||
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 { __extends } from "tslib"; | ||
import { BatchSpanProcessorBase } from '../../../export/BatchSpanProcessorBase'; | ||
@@ -33,0 +19,0 @@ var BatchSpanProcessor = /** @class */ (function (_super) { |
@@ -16,17 +16,3 @@ /* | ||
*/ | ||
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 { __extends } from "tslib"; | ||
import { BatchSpanProcessorBase } from '../../../export/BatchSpanProcessorBase'; | ||
@@ -33,0 +19,0 @@ var BatchSpanProcessor = /** @class */ (function (_super) { |
@@ -16,29 +16,3 @@ /* | ||
*/ | ||
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 { __read, __values } from "tslib"; | ||
import { diag, SpanStatusCode, } from '@opentelemetry/api'; | ||
@@ -45,0 +19,0 @@ import { addHrTimes, millisToHrTime, getTimeOrigin, hrTime, hrTimeDuration, isAttributeValue, isTimeInput, isTimeInputHrTime, otperformance, sanitizeAttributes, } from '@opentelemetry/core'; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.14.0"; | ||
export declare const VERSION = "1.15.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.14.0'; | ||
export var VERSION = '1.15.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.14.0"; | ||
export declare const VERSION = "1.15.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '1.14.0'; | ||
export const VERSION = '1.15.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -17,32 +17,23 @@ "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 }); | ||
__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); | ||
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); | ||
//# sourceMappingURL=index.js.map |
@@ -17,15 +17,6 @@ "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 }); | ||
__exportStar(require("./export/BatchSpanProcessor"), exports); | ||
__exportStar(require("./RandomIdGenerator"), exports); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./export/BatchSpanProcessor"), exports); | ||
(0, tslib_1.__exportStar)(require("./RandomIdGenerator"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -17,14 +17,5 @@ "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 }); | ||
__exportStar(require("./node"), exports); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./node"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -17,15 +17,6 @@ "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 }); | ||
__exportStar(require("./export/BatchSpanProcessor"), exports); | ||
__exportStar(require("./RandomIdGenerator"), exports); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./export/BatchSpanProcessor"), exports); | ||
(0, tslib_1.__exportStar)(require("./RandomIdGenerator"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.14.0"; | ||
export declare const VERSION = "1.15.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.14.0'; | ||
exports.VERSION = '1.15.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/sdk-trace-base", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "OpenTelemetry Tracing", | ||
@@ -32,3 +32,3 @@ "main": "build/src/index.js", | ||
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json", | ||
"precompile": "lerna run version --scope $(npm pkg get name) --include-dependencies", | ||
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies", | ||
"prewatch": "npm run precompile", | ||
@@ -70,9 +70,10 @@ "peer-api-check": "node ../../scripts/peer-api-check.js" | ||
"@opentelemetry/resources_1.9.0": "npm:@opentelemetry/resources@1.9.0", | ||
"@types/mocha": "10.0.0", | ||
"@types/mocha": "10.0.1", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.13", | ||
"@types/sinon": "10.0.15", | ||
"@types/webpack-env": "1.16.3", | ||
"codecov": "3.8.3", | ||
"cross-var": "1.1.0", | ||
"istanbul-instrumenter-loader": "3.0.1", | ||
"karma": "6.3.16", | ||
"karma": "6.4.2", | ||
"karma-chrome-launcher": "3.1.0", | ||
@@ -82,7 +83,8 @@ "karma-coverage-istanbul-reporter": "3.0.3", | ||
"karma-mocha-webworker": "1.3.0", | ||
"karma-spec-reporter": "0.0.32", | ||
"karma-spec-reporter": "0.0.36", | ||
"karma-webpack": "4.0.2", | ||
"mocha": "10.0.0", | ||
"lerna": "7.1.1", | ||
"mocha": "10.2.0", | ||
"nyc": "15.1.0", | ||
"sinon": "15.0.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "8.4.0", | ||
@@ -97,9 +99,10 @@ "ts-mocha": "10.0.0", | ||
"dependencies": { | ||
"@opentelemetry/core": "1.14.0", | ||
"@opentelemetry/resources": "1.14.0", | ||
"@opentelemetry/semantic-conventions": "1.14.0" | ||
"@opentelemetry/core": "1.15.0", | ||
"@opentelemetry/resources": "1.15.0", | ||
"@opentelemetry/semantic-conventions": "1.15.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base", | ||
"sideEffects": false, | ||
"gitHead": "edebbcc757535bc88f01340409dbbecc0bb6ccf8" | ||
"gitHead": "06e919d6c909e8cc8e28b6624d9843f401d9b059" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
751257
5
24
8035
+ Addedtslib@^2.3.1
+ Added@opentelemetry/core@1.15.0(transitive)
+ Added@opentelemetry/resources@1.15.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.15.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@opentelemetry/core@1.14.0(transitive)
- Removed@opentelemetry/resources@1.14.0(transitive)
- Removed@opentelemetry/semantic-conventions@1.14.0(transitive)
Updated@opentelemetry/core@1.15.0