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

@opentelemetry/api-logs

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/api-logs - npm Package Compare versions

Comparing version 0.52.1 to 0.53.0

14

build/esm/index.d.ts

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

export * from './types/Logger';
export * from './types/LoggerProvider';
export * from './types/LogRecord';
export * from './types/LoggerOptions';
export * from './types/AnyValue';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
export { Logger } from './types/Logger';
export { LoggerProvider } from './types/LoggerProvider';
export { LogAttributes, LogBody, LogRecord, SeverityNumber, } from './types/LogRecord';
export { LoggerOptions } from './types/LoggerOptions';
export { AnyValue, AnyValueMap } from './types/AnyValue';
export { NOOP_LOGGER, NoopLogger } from './NoopLogger';
export { NOOP_LOGGER_PROVIDER, NoopLoggerProvider } from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export declare const logs: LogsAPI;
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './types/Logger';
export * from './types/LoggerProvider';
export * from './types/LogRecord';
export * from './types/LoggerOptions';
export * from './types/AnyValue';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
export { SeverityNumber, } from './types/LogRecord';
export { NOOP_LOGGER, NoopLogger } from './NoopLogger';
export { NOOP_LOGGER_PROVIDER, NoopLoggerProvider } from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export var logs = LogsAPI.getInstance();
//# sourceMappingURL=index.js.map

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

export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.js.map

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

export * from './node';
export { _globalThis } from './node';
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './node';
export { _globalThis } from './node';
//# sourceMappingURL=index.js.map

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

export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.js.map

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

import { AttributeValue } from '@opentelemetry/api';
export declare type AnyValueScalar = string | number | boolean;
export declare type AnyValueArray = Array<AnyValue>;
/**

@@ -6,8 +7,13 @@ * AnyValueMap is a map from string to AnyValue (attribute value or a nested map)

export interface AnyValueMap {
[attributeKey: string]: AnyValue | undefined;
[attributeKey: string]: AnyValue;
}
/**
* AnyValue is a either an attribute value or a map of AnyValue(s)
* AnyValue can be one of the following:
* - a scalar value
* - a byte array
* - array of any value
* - map from string to any value
* - empty value
*/
export declare type AnyValue = AttributeValue | AnyValueMap;
export declare type AnyValue = AnyValueScalar | Uint8Array | AnyValueArray | AnyValueMap | null | undefined;
//# sourceMappingURL=AnyValue.d.ts.map

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

export declare const VERSION = "0.52.1";
export declare const VERSION = "0.53.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

export * from './types/Logger';
export * from './types/LoggerProvider';
export * from './types/LogRecord';
export * from './types/LoggerOptions';
export * from './types/AnyValue';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
export { Logger } from './types/Logger';
export { LoggerProvider } from './types/LoggerProvider';
export { LogAttributes, LogBody, LogRecord, SeverityNumber, } from './types/LogRecord';
export { LoggerOptions } from './types/LoggerOptions';
export { AnyValue, AnyValueMap } from './types/AnyValue';
export { NOOP_LOGGER, NoopLogger } from './NoopLogger';
export { NOOP_LOGGER_PROVIDER, NoopLoggerProvider } from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export declare const logs: LogsAPI;
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './types/Logger';
export * from './types/LoggerProvider';
export * from './types/LogRecord';
export * from './types/LoggerOptions';
export * from './types/AnyValue';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
export { SeverityNumber, } from './types/LogRecord';
export { NOOP_LOGGER, NoopLogger } from './NoopLogger';
export { NOOP_LOGGER_PROVIDER, NoopLoggerProvider } from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export const logs = LogsAPI.getInstance();
//# sourceMappingURL=index.js.map

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

export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.js.map

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

export * from './node';
export { _globalThis } from './node';
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './node';
export { _globalThis } from './node';
//# sourceMappingURL=index.js.map

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

export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.d.ts.map

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

*/
export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.js.map

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

import { AttributeValue } from '@opentelemetry/api';
export declare type AnyValueScalar = string | number | boolean;
export declare type AnyValueArray = Array<AnyValue>;
/**

@@ -6,8 +7,13 @@ * AnyValueMap is a map from string to AnyValue (attribute value or a nested map)

export interface AnyValueMap {
[attributeKey: string]: AnyValue | undefined;
[attributeKey: string]: AnyValue;
}
/**
* AnyValue is a either an attribute value or a map of AnyValue(s)
* AnyValue can be one of the following:
* - a scalar value
* - a byte array
* - array of any value
* - map from string to any value
* - empty value
*/
export declare type AnyValue = AttributeValue | AnyValueMap;
export declare type AnyValue = AnyValueScalar | Uint8Array | AnyValueArray | AnyValueMap | null | undefined;
//# sourceMappingURL=AnyValue.d.ts.map

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

export declare const VERSION = "0.52.1";
export declare const VERSION = "0.53.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

export * from './types/Logger';
export * from './types/LoggerProvider';
export * from './types/LogRecord';
export * from './types/LoggerOptions';
export * from './types/AnyValue';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
export { Logger } from './types/Logger';
export { LoggerProvider } from './types/LoggerProvider';
export { LogAttributes, LogBody, LogRecord, SeverityNumber, } from './types/LogRecord';
export { LoggerOptions } from './types/LoggerOptions';
export { AnyValue, AnyValueMap } from './types/AnyValue';
export { NOOP_LOGGER, NoopLogger } from './NoopLogger';
export { NOOP_LOGGER_PROVIDER, NoopLoggerProvider } from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export declare const logs: LogsAPI;
//# sourceMappingURL=index.d.ts.map

@@ -17,23 +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 });
exports.logs = void 0;
__exportStar(require("./types/Logger"), exports);
__exportStar(require("./types/LoggerProvider"), exports);
__exportStar(require("./types/LogRecord"), exports);
__exportStar(require("./types/LoggerOptions"), exports);
__exportStar(require("./types/AnyValue"), exports);
__exportStar(require("./NoopLogger"), exports);
__exportStar(require("./NoopLoggerProvider"), exports);
exports.logs = exports.NoopLoggerProvider = exports.NOOP_LOGGER_PROVIDER = exports.NoopLogger = exports.NOOP_LOGGER = exports.SeverityNumber = void 0;
var LogRecord_1 = require("./types/LogRecord");
Object.defineProperty(exports, "SeverityNumber", { enumerable: true, get: function () { return LogRecord_1.SeverityNumber; } });
var NoopLogger_1 = require("./NoopLogger");
Object.defineProperty(exports, "NOOP_LOGGER", { enumerable: true, get: function () { return NoopLogger_1.NOOP_LOGGER; } });
Object.defineProperty(exports, "NoopLogger", { enumerable: true, get: function () { return NoopLogger_1.NoopLogger; } });
var NoopLoggerProvider_1 = require("./NoopLoggerProvider");
Object.defineProperty(exports, "NOOP_LOGGER_PROVIDER", { enumerable: true, get: function () { return NoopLoggerProvider_1.NOOP_LOGGER_PROVIDER; } });
Object.defineProperty(exports, "NoopLoggerProvider", { enumerable: true, get: function () { return NoopLoggerProvider_1.NoopLoggerProvider; } });
const logs_1 = require("./api/logs");
exports.logs = logs_1.LogsAPI.getInstance();
//# sourceMappingURL=index.js.map

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

export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.d.ts.map

@@ -17,14 +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("./globalThis"), exports);
exports._globalThis = void 0;
var globalThis_1 = require("./globalThis");
Object.defineProperty(exports, "_globalThis", { enumerable: true, get: function () { return globalThis_1._globalThis; } });
//# sourceMappingURL=index.js.map

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

export * from './node';
export { _globalThis } from './node';
//# sourceMappingURL=index.d.ts.map

@@ -17,14 +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("./node"), exports);
exports._globalThis = void 0;
var node_1 = require("./node");
Object.defineProperty(exports, "_globalThis", { enumerable: true, get: function () { return node_1._globalThis; } });
//# sourceMappingURL=index.js.map

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

export * from './globalThis';
export { _globalThis } from './globalThis';
//# sourceMappingURL=index.d.ts.map

@@ -17,14 +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("./globalThis"), exports);
exports._globalThis = void 0;
var globalThis_1 = require("./globalThis");
Object.defineProperty(exports, "_globalThis", { enumerable: true, get: function () { return globalThis_1._globalThis; } });
//# sourceMappingURL=index.js.map

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

import { AttributeValue } from '@opentelemetry/api';
export declare type AnyValueScalar = string | number | boolean;
export declare type AnyValueArray = Array<AnyValue>;
/**

@@ -6,8 +7,13 @@ * AnyValueMap is a map from string to AnyValue (attribute value or a nested map)

export interface AnyValueMap {
[attributeKey: string]: AnyValue | undefined;
[attributeKey: string]: AnyValue;
}
/**
* AnyValue is a either an attribute value or a map of AnyValue(s)
* AnyValue can be one of the following:
* - a scalar value
* - a byte array
* - array of any value
* - map from string to any value
* - empty value
*/
export declare type AnyValue = AttributeValue | AnyValueMap;
export declare type AnyValue = AnyValueScalar | Uint8Array | AnyValueArray | AnyValueMap | null | undefined;
//# sourceMappingURL=AnyValue.d.ts.map

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

export declare const VERSION = "0.52.1";
export declare const VERSION = "0.53.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.52.1';
exports.VERSION = '0.53.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/api-logs",
"version": "0.52.1",
"version": "0.53.0",
"description": "Public logs API for OpenTelemetry",

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

"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts",
"test": "nyc mocha test/**/*.test.ts",
"test:browser": "karma start --single-run",

@@ -69,9 +69,9 @@ "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../",

"devDependencies": {
"@types/mocha": "10.0.6",
"@types/mocha": "10.0.7",
"@types/node": "18.6.5",
"@types/webpack-env": "1.16.3",
"babel-plugin-istanbul": "6.1.1",
"babel-plugin-istanbul": "7.0.0",
"codecov": "3.8.3",
"cross-var": "1.1.0",
"karma": "6.4.3",
"karma": "6.4.4",
"karma-chrome-launcher": "3.1.0",

@@ -83,6 +83,5 @@ "karma-coverage": "2.2.1",

"lerna": "6.6.2",
"mocha": "10.2.0",
"mocha": "10.7.3",
"nyc": "15.1.0",
"ts-loader": "9.5.1",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",

@@ -93,3 +92,3 @@ "webpack": "5.89.0"

"sideEffects": false,
"gitHead": "0608f405573901e54db01e44c533009cf28be262"
"gitHead": "720bc8c70d47029cb6b41a34ffdc3d25cbaa2f80"
}

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