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

@opentelemetry/api

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/api - npm Package Compare versions

Comparing version 1.2.0 to 1.0.2

9

build/esm/api/diag.js

@@ -33,6 +33,2 @@ /*

return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var logger = getGlobal('diag');

@@ -42,3 +38,6 @@ // shortcut if logger not set

return;
return logger[funcName].apply(logger, args);
return logger[funcName].apply(logger,
// work around Function.prototype.apply types
// eslint-disable-next-line @typescript-eslint/no-explicit-any
arguments);
};

@@ -45,0 +44,0 @@ }

import { isSpanContextValid, wrapSpanContext } from '../trace/spancontext-utils';
import { Tracer } from '../trace/tracer';
import { TracerProvider } from '../trace/tracer_provider';
import { deleteSpan, getActiveSpan, getSpan, getSpanContext, setSpan, setSpanContext } from '../trace/context-utils';
import { deleteSpan, getSpan, getSpanContext, setSpan, setSpanContext } from '../trace/context-utils';
/**

@@ -35,3 +35,2 @@ * Singleton object which represents the entry point to the OpenTelemetry Tracing API

getSpan: typeof getSpan;
getActiveSpan: typeof getActiveSpan;
getSpanContext: typeof getSpanContext;

@@ -38,0 +37,0 @@ setSpan: typeof setSpan;

@@ -19,3 +19,3 @@ /*

import { isSpanContextValid, wrapSpanContext, } from '../trace/spancontext-utils';
import { deleteSpan, getActiveSpan, getSpan, getSpanContext, setSpan, setSpanContext, } from '../trace/context-utils';
import { deleteSpan, getSpan, getSpanContext, setSpan, setSpanContext, } from '../trace/context-utils';
import { DiagAPI } from './diag';

@@ -34,3 +34,2 @@ var API_NAME = 'trace';

this.getSpan = getSpan;
this.getActiveSpan = getActiveSpan;
this.getSpanContext = getSpanContext;

@@ -37,0 +36,0 @@ this.setSpan = setSpan;

@@ -16,6 +16,5 @@ /*

*/
import { DiagAPI } from '../api/diag';
import { diag } from '..';
import { BaggageImpl } from './internal/baggage-impl';
import { baggageEntryMetadataSymbol } from './internal/symbol';
var diag = DiagAPI.instance();
/**

@@ -22,0 +21,0 @@ * Create a new Baggage with optional entries

@@ -1,13 +0,1 @@

/**
* Defines High-Resolution Time.
*
* The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.
* The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.
* For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.
* The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:
* HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.
* The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
* This is represented in HrTime format as [1609504210, 150000000].
*/
export declare type HrTime = [number, number];

@@ -14,0 +2,0 @@ /**

@@ -32,13 +32,8 @@ /*

return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var orgArguments = arguments;
if (console) {
// Some environments only expose the console when the F12 developer console is open
// eslint-disable-next-line no-console
var theFunc = console[funcName];
if (typeof theFunc !== 'function') {
// Not all environments support all functions
// eslint-disable-next-line no-console
theFunc = console.log;

@@ -48,3 +43,3 @@ }

if (typeof theFunc === 'function') {
return theFunc.apply(console, args);
return theFunc.apply(console, orgArguments);
}

@@ -51,0 +46,0 @@ }

@@ -5,3 +5,2 @@ export * from './baggage/types';

export * from './common/Time';
export * from './common/Attributes';
export * from './diag';

@@ -22,8 +21,5 @@ export * from './propagation/TextMapPropagator';

export * from './trace/trace_state';
export { createTraceState } from './trace/internal/utils';
export * from './trace/tracer_provider';
export * from './trace/tracer';
export * from './trace/tracer_options';
export { isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';
export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, } from './trace/invalid-span-constants';
export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';
export * from './context/context';

@@ -30,0 +26,0 @@ export * from './context/types';

@@ -20,3 +20,2 @@ /*

export * from './common/Time';
export * from './common/Attributes';
export * from './diag';

@@ -37,8 +36,5 @@ export * from './propagation/TextMapPropagator';

export * from './trace/trace_state';
export { createTraceState } from './trace/internal/utils';
export * from './trace/tracer_provider';
export * from './trace/tracer';
export * from './trace/tracer_options';
export { isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';
export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, } from './trace/invalid-span-constants';
export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';
export * from './context/context';

@@ -45,0 +41,0 @@ export * from './context/types';

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

import type { DiagAPI } from '../api/diag';
import { ContextManager } from '../context/types';

@@ -5,5 +6,5 @@ import { DiagLogger } from '../diag';

import type { TracerProvider } from '../trace/tracer_provider';
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean;
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagAPI, allowOverride?: boolean): boolean;
export declare function getGlobal<Type extends keyof OTelGlobalAPI>(type: Type): OTelGlobalAPI[Type] | undefined;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagAPI): void;
declare type OTelGlobalAPI = {

@@ -10,0 +11,0 @@ version: string;

@@ -1,10 +0,3 @@

/**
* - globalThis (New standard)
* - self (Will return the current window instance for supported browsers)
* - window (fallback for older browser implementations)
* - global (NodeJS implementation)
* - <object> (When all else fails)
*/
/** only globals that common to node and browsers are allowed */
export declare const _globalThis: typeof globalThis;
//# sourceMappingURL=globalThis.d.ts.map

@@ -16,18 +16,5 @@ /*

*/
// Updates to this file should also be replicated to @opentelemetry/api-metrics and
// @opentelemetry/core too.
/**
* - globalThis (New standard)
* - self (Will return the current window instance for supported browsers)
* - window (fallback for older browser implementations)
* - global (NodeJS implementation)
* - <object> (When all else fails)
*/
/** only globals that common to node and browsers are allowed */
// eslint-disable-next-line node/no-unsupported-features/es-builtins, no-undef
export var _globalThis = typeof globalThis === 'object' ? globalThis :
typeof self === 'object' ? self :
typeof window === 'object' ? window :
typeof global === 'object' ? global :
{};
export var _globalThis = typeof globalThis === 'object' ? globalThis : window;
//# sourceMappingURL=globalThis.js.map

@@ -1,10 +0,10 @@

import { Attributes, AttributeValue } from '../common/Attributes';
export interface SpanAttributes {
[attributeKey: string]: SpanAttributeValue | undefined;
}
/**
* @deprecated please use {@link Attributes}
* Attribute values may be any non-nullish primitive value except an object.
*
* null or undefined attribute values are invalid and will result in undefined behavior.
*/
export declare type SpanAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type SpanAttributeValue = AttributeValue;
export declare type SpanAttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
//# sourceMappingURL=attributes.d.ts.map

@@ -11,6 +11,2 @@ import { Context } from '../context/types';

/**
* Gets the span from the current context, if one exists.
*/
export declare function getActiveSpan(): Span | undefined;
/**
* Set the span on a context

@@ -17,0 +13,0 @@ *

@@ -18,3 +18,2 @@ /*

import { NonRecordingSpan } from './NonRecordingSpan';
import { ContextAPI } from '../api/context';
/**

@@ -33,8 +32,2 @@ * span key

/**
* Gets the span from the current context, if one exists.
*/
export function getActiveSpan() {
return getSpan(ContextAPI.getInstance().active());
}
/**
* Set the span on a context

@@ -41,0 +34,0 @@ *

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

*/
import { INVALID_SPAN_CONTEXT } from './invalid-span-constants';
import { INVALID_SPAN_CONTEXT } from './spancontext-utils';
/**

@@ -19,0 +19,0 @@ * The NonRecordingSpan is the default {@link Span} that is used when no Span

@@ -16,7 +16,6 @@ /*

*/
import { ContextAPI } from '../api/context';
import { context } from '../';
import { getSpanContext, setSpan } from '../trace/context-utils';
import { NonRecordingSpan } from './NonRecordingSpan';
import { isSpanContextValid } from './spancontext-utils';
var context = ContextAPI.getInstance();
/**

@@ -23,0 +22,0 @@ * No-op implementations of {@link Tracer}.

import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
import { TracerProvider } from './tracer_provider';

@@ -11,4 +10,4 @@ /**

export declare class NoopTracerProvider implements TracerProvider {
getTracer(_name?: string, _version?: string, _options?: TracerOptions): Tracer;
getTracer(_name?: string, _version?: string): Tracer;
}
//# sourceMappingURL=NoopTracerProvider.d.ts.map

@@ -26,3 +26,3 @@ /*

}
NoopTracerProvider.prototype.getTracer = function (_name, _version, _options) {
NoopTracerProvider.prototype.getTracer = function (_name, _version) {
return new NoopTracer();

@@ -29,0 +29,0 @@ };

import { Context } from '../context/types';
import { ProxyTracerProvider } from './ProxyTracerProvider';
import { Span } from './span';
import { SpanOptions } from './SpanOptions';
import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
/**

@@ -13,5 +13,4 @@ * Proxy tracer provided by the proxy tracer provider

readonly version?: string | undefined;
readonly options?: TracerOptions | undefined;
private _delegate?;
constructor(_provider: TracerDelegator, name: string, version?: string | undefined, options?: TracerOptions | undefined);
constructor(_provider: ProxyTracerProvider, name: string, version?: string | undefined);
startSpan(name: string, options?: SpanOptions, context?: Context): Span;

@@ -25,5 +24,2 @@ startActiveSpan<F extends (span: Span) => unknown>(_name: string, _options: F | SpanOptions, _context?: F | Context, _fn?: F): ReturnType<F>;

}
export interface TracerDelegator {
getDelegateTracer(name: string, version?: string, options?: TracerOptions): Tracer | undefined;
}
//# sourceMappingURL=ProxyTracer.d.ts.map

@@ -22,7 +22,6 @@ /*

var ProxyTracer = /** @class */ (function () {
function ProxyTracer(_provider, name, version, options) {
function ProxyTracer(_provider, name, version) {
this._provider = _provider;
this.name = name;
this.version = version;
this.options = options;
}

@@ -44,3 +43,3 @@ ProxyTracer.prototype.startSpan = function (name, options, context) {

}
var tracer = this._provider.getDelegateTracer(this.name, this.version, this.options);
var tracer = this._provider.getDelegateTracer(this.name, this.version);
if (!tracer) {

@@ -47,0 +46,0 @@ return NOOP_TRACER;

import { Tracer } from './tracer';
import { TracerProvider } from './tracer_provider';
import { TracerOptions } from './tracer_options';
/**

@@ -17,3 +16,3 @@ * Tracer provider which provides {@link ProxyTracer}s.

*/
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
getTracer(name: string, version?: string): Tracer;
getDelegate(): TracerProvider;

@@ -24,4 +23,4 @@ /**

setDelegate(delegate: TracerProvider): void;
getDelegateTracer(name: string, version?: string, options?: TracerOptions): Tracer | undefined;
getDelegateTracer(name: string, version?: string): Tracer | undefined;
}
//# sourceMappingURL=ProxyTracerProvider.d.ts.map

@@ -33,5 +33,5 @@ /*

*/
ProxyTracerProvider.prototype.getTracer = function (name, version, options) {
ProxyTracerProvider.prototype.getTracer = function (name, version) {
var _a;
return ((_a = this.getDelegateTracer(name, version, options)) !== null && _a !== void 0 ? _a : new ProxyTracer(this, name, version, options));
return ((_a = this.getDelegateTracer(name, version)) !== null && _a !== void 0 ? _a : new ProxyTracer(this, name, version));
};

@@ -48,5 +48,5 @@ ProxyTracerProvider.prototype.getDelegate = function () {

};
ProxyTracerProvider.prototype.getDelegateTracer = function (name, version, options) {
ProxyTracerProvider.prototype.getDelegateTracer = function (name, version) {
var _a;
return (_a = this._delegate) === null || _a === void 0 ? void 0 : _a.getTracer(name, version, options);
return (_a = this._delegate) === null || _a === void 0 ? void 0 : _a.getTracer(name, version);
};

@@ -53,0 +53,0 @@ return ProxyTracerProvider;

@@ -7,3 +7,2 @@ import { Context } from '../context/types';

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* This interface represent a sampler. Sampling is a mechanism to control the

@@ -10,0 +9,0 @@ * noise and overhead introduced by OpenTelemetry by reducing the number of

import { SpanAttributes } from './attributes';
/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling decision that determines how a {@link Span} will be recorded

@@ -25,3 +24,2 @@ * and collected.

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling result contains a decision for a {@link Span} and additional

@@ -28,0 +26,0 @@ * attributes the sampler would like to added to the Span.

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

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling decision that determines how a {@link Span} will be recorded

@@ -20,0 +19,0 @@ * and collected.

import { Span } from './span';
import { SpanContext } from './span_context';
export declare const INVALID_SPANID = "0000000000000000";
export declare const INVALID_TRACEID = "00000000000000000000000000000000";
export declare const INVALID_SPAN_CONTEXT: SpanContext;
export declare function isValidTraceId(traceId: string): boolean;

@@ -4,0 +7,0 @@ export declare function isValidSpanId(spanId: string): boolean;

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

*/
import { INVALID_SPANID, INVALID_TRACEID } from './invalid-span-constants';
import { NonRecordingSpan } from './NonRecordingSpan';
import { TraceFlags } from './trace_flags';
var VALID_TRACEID_REGEX = /^([0-9a-f]{32})$/i;
var VALID_SPANID_REGEX = /^[0-9a-f]{16}$/i;
export var INVALID_SPANID = '0000000000000000';
export var INVALID_TRACEID = '00000000000000000000000000000000';
export var INVALID_SPAN_CONTEXT = {
traceId: INVALID_TRACEID,
spanId: INVALID_SPANID,
traceFlags: TraceFlags.NONE,
};
export function isValidTraceId(traceId) {

@@ -22,0 +29,0 @@ return VALID_TRACEID_REGEX.test(traceId) && traceId !== INVALID_TRACEID;

import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
/**

@@ -16,7 +15,6 @@ * A registry for creating named {@link Tracer}s.

* @param version The version of the tracer or instrumentation library.
* @param options The options of the tracer or instrumentation library.
* @returns Tracer A Tracer with the given name and version
*/
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
getTracer(name: string, version?: string): Tracer;
}
//# sourceMappingURL=tracer_provider.d.ts.map

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

export declare const VERSION = "1.2.0";
export declare const VERSION = "1.0.2";
//# sourceMappingURL=version.d.ts.map

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

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

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

return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var logger = global_utils_1.getGlobal('diag');

@@ -45,3 +41,6 @@ // shortcut if logger not set

return;
return logger[funcName].apply(logger, args);
return logger[funcName].apply(logger,
// work around Function.prototype.apply types
// eslint-disable-next-line @typescript-eslint/no-explicit-any
arguments);
};

@@ -48,0 +47,0 @@ }

import { isSpanContextValid, wrapSpanContext } from '../trace/spancontext-utils';
import { Tracer } from '../trace/tracer';
import { TracerProvider } from '../trace/tracer_provider';
import { deleteSpan, getActiveSpan, getSpan, getSpanContext, setSpan, setSpanContext } from '../trace/context-utils';
import { deleteSpan, getSpan, getSpanContext, setSpan, setSpanContext } from '../trace/context-utils';
/**

@@ -35,3 +35,2 @@ * Singleton object which represents the entry point to the OpenTelemetry Tracing API

getSpan: typeof getSpan;
getActiveSpan: typeof getActiveSpan;
getSpanContext: typeof getSpanContext;

@@ -38,0 +37,0 @@ setSpan: typeof setSpan;

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

this.getSpan = context_utils_1.getSpan;
this.getActiveSpan = context_utils_1.getActiveSpan;
this.getSpanContext = context_utils_1.getSpanContext;

@@ -39,0 +38,0 @@ this.setSpan = context_utils_1.setSpan;

@@ -19,6 +19,5 @@ "use strict";

exports.baggageEntryMetadataFromString = exports.createBaggage = void 0;
var diag_1 = require("../api/diag");
var __1 = require("..");
var baggage_impl_1 = require("./internal/baggage-impl");
var symbol_1 = require("./internal/symbol");
var diag = diag_1.DiagAPI.instance();
/**

@@ -42,3 +41,3 @@ * Create a new Baggage with optional entries

if (typeof str !== 'string') {
diag.error("Cannot create baggage metadata from unknown type: " + typeof str);
__1.diag.error("Cannot create baggage metadata from unknown type: " + typeof str);
str = '';

@@ -45,0 +44,0 @@ }

@@ -1,13 +0,1 @@

/**
* Defines High-Resolution Time.
*
* The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.
* The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.
* For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.
* The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:
* HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.
* The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
* This is represented in HrTime format as [1609504210, 150000000].
*/
export declare type HrTime = [number, number];

@@ -14,0 +2,0 @@ /**

@@ -35,13 +35,8 @@ "use strict";

return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var orgArguments = arguments;
if (console) {
// Some environments only expose the console when the F12 developer console is open
// eslint-disable-next-line no-console
var theFunc = console[funcName];
if (typeof theFunc !== 'function') {
// Not all environments support all functions
// eslint-disable-next-line no-console
theFunc = console.log;

@@ -51,3 +46,3 @@ }

if (typeof theFunc === 'function') {
return theFunc.apply(console, args);
return theFunc.apply(console, orgArguments);
}

@@ -54,0 +49,0 @@ }

@@ -5,3 +5,2 @@ export * from './baggage/types';

export * from './common/Time';
export * from './common/Attributes';
export * from './diag';

@@ -22,8 +21,5 @@ export * from './propagation/TextMapPropagator';

export * from './trace/trace_state';
export { createTraceState } from './trace/internal/utils';
export * from './trace/tracer_provider';
export * from './trace/tracer';
export * from './trace/tracer_options';
export { isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';
export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, } from './trace/invalid-span-constants';
export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';
export * from './context/context';

@@ -30,0 +26,0 @@ export * from './context/types';

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.diag = exports.propagation = exports.trace = exports.context = exports.INVALID_SPAN_CONTEXT = exports.INVALID_TRACEID = exports.INVALID_SPANID = exports.isValidSpanId = exports.isValidTraceId = exports.isSpanContextValid = exports.createTraceState = exports.baggageEntryMetadataFromString = void 0;
exports.diag = exports.propagation = exports.trace = exports.context = exports.isValidSpanId = exports.isValidTraceId = exports.isSpanContextValid = exports.INVALID_SPAN_CONTEXT = exports.INVALID_TRACEID = exports.INVALID_SPANID = exports.baggageEntryMetadataFromString = void 0;
__exportStar(require("./baggage/types"), exports);

@@ -35,3 +35,2 @@ var utils_1 = require("./baggage/utils");

__exportStar(require("./common/Time"), exports);
__exportStar(require("./common/Attributes"), exports);
__exportStar(require("./diag"), exports);

@@ -52,15 +51,11 @@ __exportStar(require("./propagation/TextMapPropagator"), exports);

__exportStar(require("./trace/trace_state"), exports);
var utils_2 = require("./trace/internal/utils");
Object.defineProperty(exports, "createTraceState", { enumerable: true, get: function () { return utils_2.createTraceState; } });
__exportStar(require("./trace/tracer_provider"), exports);
__exportStar(require("./trace/tracer"), exports);
__exportStar(require("./trace/tracer_options"), exports);
var spancontext_utils_1 = require("./trace/spancontext-utils");
Object.defineProperty(exports, "INVALID_SPANID", { enumerable: true, get: function () { return spancontext_utils_1.INVALID_SPANID; } });
Object.defineProperty(exports, "INVALID_TRACEID", { enumerable: true, get: function () { return spancontext_utils_1.INVALID_TRACEID; } });
Object.defineProperty(exports, "INVALID_SPAN_CONTEXT", { enumerable: true, get: function () { return spancontext_utils_1.INVALID_SPAN_CONTEXT; } });
Object.defineProperty(exports, "isSpanContextValid", { enumerable: true, get: function () { return spancontext_utils_1.isSpanContextValid; } });
Object.defineProperty(exports, "isValidTraceId", { enumerable: true, get: function () { return spancontext_utils_1.isValidTraceId; } });
Object.defineProperty(exports, "isValidSpanId", { enumerable: true, get: function () { return spancontext_utils_1.isValidSpanId; } });
var invalid_span_constants_1 = require("./trace/invalid-span-constants");
Object.defineProperty(exports, "INVALID_SPANID", { enumerable: true, get: function () { return invalid_span_constants_1.INVALID_SPANID; } });
Object.defineProperty(exports, "INVALID_TRACEID", { enumerable: true, get: function () { return invalid_span_constants_1.INVALID_TRACEID; } });
Object.defineProperty(exports, "INVALID_SPAN_CONTEXT", { enumerable: true, get: function () { return invalid_span_constants_1.INVALID_SPAN_CONTEXT; } });
__exportStar(require("./context/context"), exports);

@@ -67,0 +62,0 @@ __exportStar(require("./context/types"), exports);

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

import type { DiagAPI } from '../api/diag';
import { ContextManager } from '../context/types';

@@ -5,5 +6,5 @@ import { DiagLogger } from '../diag';

import type { TracerProvider } from '../trace/tracer_provider';
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean;
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagAPI, allowOverride?: boolean): boolean;
export declare function getGlobal<Type extends keyof OTelGlobalAPI>(type: Type): OTelGlobalAPI[Type] | undefined;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagAPI): void;
declare type OTelGlobalAPI = {

@@ -10,0 +11,0 @@ version: string;

@@ -1,10 +0,3 @@

/**
* - globalThis (New standard)
* - self (Will return the current window instance for supported browsers)
* - window (fallback for older browser implementations)
* - global (NodeJS implementation)
* - <object> (When all else fails)
*/
/** only globals that common to node and browsers are allowed */
export declare const _globalThis: typeof globalThis;
//# sourceMappingURL=globalThis.d.ts.map

@@ -19,18 +19,5 @@ "use strict";

exports._globalThis = void 0;
// Updates to this file should also be replicated to @opentelemetry/api-metrics and
// @opentelemetry/core too.
/**
* - globalThis (New standard)
* - self (Will return the current window instance for supported browsers)
* - window (fallback for older browser implementations)
* - global (NodeJS implementation)
* - <object> (When all else fails)
*/
/** only globals that common to node and browsers are allowed */
// eslint-disable-next-line node/no-unsupported-features/es-builtins, no-undef
exports._globalThis = typeof globalThis === 'object' ? globalThis :
typeof self === 'object' ? self :
typeof window === 'object' ? window :
typeof global === 'object' ? global :
{};
exports._globalThis = typeof globalThis === 'object' ? globalThis : window;
//# sourceMappingURL=globalThis.js.map

@@ -1,10 +0,10 @@

import { Attributes, AttributeValue } from '../common/Attributes';
export interface SpanAttributes {
[attributeKey: string]: SpanAttributeValue | undefined;
}
/**
* @deprecated please use {@link Attributes}
* Attribute values may be any non-nullish primitive value except an object.
*
* null or undefined attribute values are invalid and will result in undefined behavior.
*/
export declare type SpanAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type SpanAttributeValue = AttributeValue;
export declare type SpanAttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
//# sourceMappingURL=attributes.d.ts.map

@@ -11,6 +11,2 @@ import { Context } from '../context/types';

/**
* Gets the span from the current context, if one exists.
*/
export declare function getActiveSpan(): Span | undefined;
/**
* Set the span on a context

@@ -17,0 +13,0 @@ *

@@ -18,6 +18,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getSpanContext = exports.setSpanContext = exports.deleteSpan = exports.setSpan = exports.getActiveSpan = exports.getSpan = void 0;
exports.getSpanContext = exports.setSpanContext = exports.deleteSpan = exports.setSpan = exports.getSpan = void 0;
var context_1 = require("../context/context");
var NonRecordingSpan_1 = require("./NonRecordingSpan");
var context_2 = require("../api/context");
/**

@@ -37,9 +36,2 @@ * span key

/**
* Gets the span from the current context, if one exists.
*/
function getActiveSpan() {
return getSpan(context_2.ContextAPI.getInstance().active());
}
exports.getActiveSpan = getActiveSpan;
/**
* Set the span on a context

@@ -46,0 +38,0 @@ *

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

exports.NonRecordingSpan = void 0;
var invalid_span_constants_1 = require("./invalid-span-constants");
var spancontext_utils_1 = require("./spancontext-utils");
/**

@@ -28,3 +28,3 @@ * The NonRecordingSpan is the default {@link Span} that is used when no Span

function NonRecordingSpan(_spanContext) {
if (_spanContext === void 0) { _spanContext = invalid_span_constants_1.INVALID_SPAN_CONTEXT; }
if (_spanContext === void 0) { _spanContext = spancontext_utils_1.INVALID_SPAN_CONTEXT; }
this._spanContext = _spanContext;

@@ -31,0 +31,0 @@ }

@@ -19,7 +19,6 @@ "use strict";

exports.NoopTracer = void 0;
var context_1 = require("../api/context");
var __1 = require("../");
var context_utils_1 = require("../trace/context-utils");
var NonRecordingSpan_1 = require("./NonRecordingSpan");
var spancontext_utils_1 = require("./spancontext-utils");
var context = context_1.ContextAPI.getInstance();
/**

@@ -65,6 +64,6 @@ * No-op implementations of {@link Tracer}.

}
var parentContext = ctx !== null && ctx !== void 0 ? ctx : context.active();
var parentContext = ctx !== null && ctx !== void 0 ? ctx : __1.context.active();
var span = this.startSpan(name, opts, parentContext);
var contextWithSpanSet = context_utils_1.setSpan(parentContext, span);
return context.with(contextWithSpanSet, fn, undefined, span);
return __1.context.with(contextWithSpanSet, fn, undefined, span);
};

@@ -71,0 +70,0 @@ return NoopTracer;

import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
import { TracerProvider } from './tracer_provider';

@@ -11,4 +10,4 @@ /**

export declare class NoopTracerProvider implements TracerProvider {
getTracer(_name?: string, _version?: string, _options?: TracerOptions): Tracer;
getTracer(_name?: string, _version?: string): Tracer;
}
//# sourceMappingURL=NoopTracerProvider.d.ts.map

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

}
NoopTracerProvider.prototype.getTracer = function (_name, _version, _options) {
NoopTracerProvider.prototype.getTracer = function (_name, _version) {
return new NoopTracer_1.NoopTracer();

@@ -32,0 +32,0 @@ };

import { Context } from '../context/types';
import { ProxyTracerProvider } from './ProxyTracerProvider';
import { Span } from './span';
import { SpanOptions } from './SpanOptions';
import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
/**

@@ -13,5 +13,4 @@ * Proxy tracer provided by the proxy tracer provider

readonly version?: string | undefined;
readonly options?: TracerOptions | undefined;
private _delegate?;
constructor(_provider: TracerDelegator, name: string, version?: string | undefined, options?: TracerOptions | undefined);
constructor(_provider: ProxyTracerProvider, name: string, version?: string | undefined);
startSpan(name: string, options?: SpanOptions, context?: Context): Span;

@@ -25,5 +24,2 @@ startActiveSpan<F extends (span: Span) => unknown>(_name: string, _options: F | SpanOptions, _context?: F | Context, _fn?: F): ReturnType<F>;

}
export interface TracerDelegator {
getDelegateTracer(name: string, version?: string, options?: TracerOptions): Tracer | undefined;
}
//# sourceMappingURL=ProxyTracer.d.ts.map

@@ -25,7 +25,6 @@ "use strict";

var ProxyTracer = /** @class */ (function () {
function ProxyTracer(_provider, name, version, options) {
function ProxyTracer(_provider, name, version) {
this._provider = _provider;
this.name = name;
this.version = version;
this.options = options;
}

@@ -47,3 +46,3 @@ ProxyTracer.prototype.startSpan = function (name, options, context) {

}
var tracer = this._provider.getDelegateTracer(this.name, this.version, this.options);
var tracer = this._provider.getDelegateTracer(this.name, this.version);
if (!tracer) {

@@ -50,0 +49,0 @@ return NOOP_TRACER;

import { Tracer } from './tracer';
import { TracerProvider } from './tracer_provider';
import { TracerOptions } from './tracer_options';
/**

@@ -17,3 +16,3 @@ * Tracer provider which provides {@link ProxyTracer}s.

*/
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
getTracer(name: string, version?: string): Tracer;
getDelegate(): TracerProvider;

@@ -24,4 +23,4 @@ /**

setDelegate(delegate: TracerProvider): void;
getDelegateTracer(name: string, version?: string, options?: TracerOptions): Tracer | undefined;
getDelegateTracer(name: string, version?: string): Tracer | undefined;
}
//# sourceMappingURL=ProxyTracerProvider.d.ts.map

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

*/
ProxyTracerProvider.prototype.getTracer = function (name, version, options) {
ProxyTracerProvider.prototype.getTracer = function (name, version) {
var _a;
return ((_a = this.getDelegateTracer(name, version, options)) !== null && _a !== void 0 ? _a : new ProxyTracer_1.ProxyTracer(this, name, version, options));
return ((_a = this.getDelegateTracer(name, version)) !== null && _a !== void 0 ? _a : new ProxyTracer_1.ProxyTracer(this, name, version));
};

@@ -51,5 +51,5 @@ ProxyTracerProvider.prototype.getDelegate = function () {

};
ProxyTracerProvider.prototype.getDelegateTracer = function (name, version, options) {
ProxyTracerProvider.prototype.getDelegateTracer = function (name, version) {
var _a;
return (_a = this._delegate) === null || _a === void 0 ? void 0 : _a.getTracer(name, version, options);
return (_a = this._delegate) === null || _a === void 0 ? void 0 : _a.getTracer(name, version);
};

@@ -56,0 +56,0 @@ return ProxyTracerProvider;

@@ -7,3 +7,2 @@ import { Context } from '../context/types';

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* This interface represent a sampler. Sampling is a mechanism to control the

@@ -10,0 +9,0 @@ * noise and overhead introduced by OpenTelemetry by reducing the number of

import { SpanAttributes } from './attributes';
/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling decision that determines how a {@link Span} will be recorded

@@ -25,3 +24,2 @@ * and collected.

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling result contains a decision for a {@link Span} and additional

@@ -28,0 +26,0 @@ * attributes the sampler would like to added to the Span.

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

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling decision that determines how a {@link Span} will be recorded

@@ -23,0 +22,0 @@ * and collected.

import { Span } from './span';
import { SpanContext } from './span_context';
export declare const INVALID_SPANID = "0000000000000000";
export declare const INVALID_TRACEID = "00000000000000000000000000000000";
export declare const INVALID_SPAN_CONTEXT: SpanContext;
export declare function isValidTraceId(traceId: string): boolean;

@@ -4,0 +7,0 @@ export declare function isValidSpanId(spanId: string): boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapSpanContext = exports.isSpanContextValid = exports.isValidSpanId = exports.isValidTraceId = void 0;
exports.wrapSpanContext = exports.isSpanContextValid = exports.isValidSpanId = exports.isValidTraceId = exports.INVALID_SPAN_CONTEXT = exports.INVALID_TRACEID = exports.INVALID_SPANID = void 0;
/*

@@ -19,12 +19,19 @@ * Copyright The OpenTelemetry Authors

*/
var invalid_span_constants_1 = require("./invalid-span-constants");
var NonRecordingSpan_1 = require("./NonRecordingSpan");
var trace_flags_1 = require("./trace_flags");
var VALID_TRACEID_REGEX = /^([0-9a-f]{32})$/i;
var VALID_SPANID_REGEX = /^[0-9a-f]{16}$/i;
exports.INVALID_SPANID = '0000000000000000';
exports.INVALID_TRACEID = '00000000000000000000000000000000';
exports.INVALID_SPAN_CONTEXT = {
traceId: exports.INVALID_TRACEID,
spanId: exports.INVALID_SPANID,
traceFlags: trace_flags_1.TraceFlags.NONE,
};
function isValidTraceId(traceId) {
return VALID_TRACEID_REGEX.test(traceId) && traceId !== invalid_span_constants_1.INVALID_TRACEID;
return VALID_TRACEID_REGEX.test(traceId) && traceId !== exports.INVALID_TRACEID;
}
exports.isValidTraceId = isValidTraceId;
function isValidSpanId(spanId) {
return VALID_SPANID_REGEX.test(spanId) && spanId !== invalid_span_constants_1.INVALID_SPANID;
return VALID_SPANID_REGEX.test(spanId) && spanId !== exports.INVALID_SPANID;
}

@@ -31,0 +38,0 @@ exports.isValidSpanId = isValidSpanId;

import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
/**

@@ -16,7 +15,6 @@ * A registry for creating named {@link Tracer}s.

* @param version The version of the tracer or instrumentation library.
* @param options The options of the tracer or instrumentation library.
* @returns Tracer A Tracer with the given name and version
*/
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
getTracer(name: string, version?: string): Tracer;
}
//# sourceMappingURL=tracer_provider.d.ts.map

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

export declare const VERSION = "1.2.0";
export declare const VERSION = "1.0.2";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '1.2.0';
exports.VERSION = '1.0.2';
//# sourceMappingURL=version.js.map

@@ -5,38 +5,2 @@ # CHANGELOG

## [1.2.0](https://www.github.com/open-telemetry/opentelemetry-js-api/compare/v1.1.0...v1.2.0) (2022-08-09)
### Features
* Add getActiveSpan to trace API ([#163](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/163)) ([17ccb3a](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/17ccb3a4e385bc5769ded6fc742c9782a93244a5))
* deprecate Sampler ([#166](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/166)) ([313b2e2](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/313b2e2225f246a6a9518ec4da6942f7d61babce))
## [1.1.0](https://www.github.com/open-telemetry/opentelemetry-js-api/compare/v1.0.4...v1.1.0) (2022-01-25)
### Features
* add tracestate implementation to api ([#147](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/147)) ([82842c7](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/82842c7097614e6ece99e73838ac5e94ff5460b7))
* define common attributes type ([#142](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/142)) ([ae9bead](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/ae9bead17750d35dec4b63cfae098087666abc85))
* **trace:** add optional schema url to TracerProvider.getTracer ([#129](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/129)) ([aa65fc6](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/aa65fc66809d45090d6e4951c265386d17ccc6f6))
### Bug Fixes
* export tracer options ([#154](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/154)) ([b125324](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/b125324438fb2f24eb80c7c6673afc8cfc99575e))
### [1.0.4](https://www.github.com/open-telemetry/opentelemetry-js-api/compare/v1.0.3...v1.0.4) (2021-12-18)
### Bug Fixes
* align globalThis fallbacks with otel-core ([#126](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/126)) ([3507de7](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/3507de7c3b95396696657c021953b0b24a63a029))
### [1.0.3](https://www.github.com/open-telemetry/opentelemetry-js-api/compare/v1.0.2...v1.0.3) (2021-08-30)
### Bug Fixes
* remove all circular dependencies ([#119](https://www.github.com/open-telemetry/opentelemetry-js-api/issues/119)) ([a8083e8](https://www.github.com/open-telemetry/opentelemetry-js-api/commit/a8083e84b23227828745da80fd5fe512357dd34b))
## 1.0.2

@@ -43,0 +7,0 @@

{
"name": "@opentelemetry/api",
"version": "1.2.0",
"version": "1.0.2",
"description": "Public API for OpenTelemetry",

@@ -15,10 +15,10 @@ "main": "build/src/index.js",

"scripts": {
"build": "npm run compile",
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json",
"codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p .",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p .",
"precompile": "npm run version",
"compile": "tsc --build tsconfig.json tsconfig.esm.json",
"docs": "typedoc",
"docs:deploy": "gh-pages --dist docs/out",
"docs:test": "linkinator docs/out --silent && linkinator docs/*.md *.md --markdown --silent",
"docs:test": "linkinator docs/out --silent --skip david-dm.org",
"lint:fix": "eslint src test --ext .ts --fix",

@@ -28,5 +28,3 @@ "lint": "eslint src test --ext .ts",

"test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts",
"cycle-check": "dpdm --exit-code circular:1 src/index.ts",
"version": "node scripts/version-update.js",
"prewatch": "npm run version",
"watch": "tsc --build --watch"

@@ -66,10 +64,10 @@ },

"@types/webpack-env": "1.16.0",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"@typescript-eslint/eslint-plugin": "4.28.1",
"@typescript-eslint/parser": "4.28.1",
"codecov": "3.8.2",
"dpdm": "3.7.1",
"eslint": "7.32.0",
"eslint": "7.30.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-import": "2.23.4",
"gh-pages": "3.2.0",
"gts": "3.1.0",
"istanbul-instrumenter-loader": "3.0.1",

@@ -76,0 +74,0 @@ "karma": "5.2.3",

@@ -35,2 +35,4 @@

[![NPM Published Version][npm-img]][npm-url]
[![dependencies][dependencies-image]][dependencies-url]
[![devDependencies][devDependencies-image]][devDependencies-url]

@@ -56,3 +58,3 @@ This package provides everything needed to interact with the OpenTelemetry API, including all TypeScript interfaces, enums, and no-op implementations. It is intended for use both on the server and in the browser.

```sh
npm install @opentelemetry/api @opentelemetry/sdk-trace-base
npm install @opentelemetry/api @opentelemetry/tracing
```

@@ -68,3 +70,3 @@

const { trace } = require("@opentelemetry/api");
const { BasicTracerProvider, ConsoleSpanExporter, SimpleSpanProcessor } = require("@opentelemetry/sdk-trace-base");
const { BasicTracerProvider, ConsoleSpanExporter, SimpleSpanProcessor } = require("@opentelemetry/tracing");

@@ -140,2 +142,6 @@ // Create and register an SDK

[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat
[dependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js-api.svg
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-api
[devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js-api.svg?type=dev
[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-api?type=dev
[npm-url]: https://www.npmjs.com/package/@opentelemetry/api

@@ -142,0 +148,0 @@ [npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fapi.svg

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

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

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

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

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

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

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

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