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

@opentelemetry/api

Package Overview
Dependencies
Maintainers
3
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.4.1 to 1.5.0

2

build/esm/trace/NonRecordingSpan.d.ts

@@ -23,4 +23,4 @@ import { Exception } from '../common/Exception';

isRecording(): boolean;
recordException(_exception: Exception, _time?: TimeInput): void;
recordException(_exception: Exception, _attributesOrStartTime?: SpanAttributes | TimeInput, _time?: TimeInput): void;
}
//# sourceMappingURL=NonRecordingSpan.d.ts.map

@@ -58,3 +58,3 @@ /*

// By default does nothing
NonRecordingSpan.prototype.recordException = function (_exception, _time) { };
NonRecordingSpan.prototype.recordException = function (_exception, _attributesOrStartTime, _time) { };
return NonRecordingSpan;

@@ -61,0 +61,0 @@ }());

@@ -100,3 +100,11 @@ import { Exception } from '../common/Exception';

recordException(exception: Exception, time?: TimeInput): void;
/**
* Sets exception as a span event
* @param exception the exception the only accepted values are string or Error
* @param [attributes] the attributes that will be added to the error event.
* @param [time] the time to set as Span's event time. If not provided,
* use the current time.
*/
recordException(exception: Exception, attributes?: SpanAttributes, time?: TimeInput): void;
}
//# sourceMappingURL=span.d.ts.map

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

export declare const VERSION = "1.4.1";
export declare const VERSION = "1.5.0";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -23,4 +23,4 @@ import { Exception } from '../common/Exception';

isRecording(): boolean;
recordException(_exception: Exception, _time?: TimeInput): void;
recordException(_exception: Exception, _attributesOrStartTime?: SpanAttributes | TimeInput, _time?: TimeInput): void;
}
//# sourceMappingURL=NonRecordingSpan.d.ts.map

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

// By default does nothing
recordException(_exception, _time) { }
recordException(_exception, _attributesOrStartTime, _time) { }
}
exports.NonRecordingSpan = NonRecordingSpan;
//# sourceMappingURL=NonRecordingSpan.js.map

@@ -100,3 +100,11 @@ import { Exception } from '../common/Exception';

recordException(exception: Exception, time?: TimeInput): void;
/**
* Sets exception as a span event
* @param exception the exception the only accepted values are string or Error
* @param [attributes] the attributes that will be added to the error event.
* @param [time] the time to set as Span's event time. If not provided,
* use the current time.
*/
recordException(exception: Exception, attributes?: SpanAttributes, time?: TimeInput): void;
}
//# sourceMappingURL=span.d.ts.map

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

export declare const VERSION = "1.4.1";
export declare const VERSION = "1.5.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
"precompile": "lerna run version --scope $(npm pkg get name) --include-dependencies",
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
"compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",

@@ -27,5 +27,6 @@ "docs": "typedoc",

"lint": "eslint . --ext .ts",
"test:browser": "nyc karma start --single-run",
"test:browser": "karma start --single-run",
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
"test:webworker": "nyc karma start karma.worker.js --single-run",
"test:eol": "ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
"test:webworker": "karma start karma.worker.js --single-run",
"cycle-check": "dpdm --exit-code circular:1 src/index.ts",

@@ -65,25 +66,27 @@ "version": "node ../scripts/version-update.js",

"devDependencies": {
"@types/mocha": "10.0.0",
"@types/mocha": "10.0.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"@types/webpack": "4.41.26",
"@types/sinon": "10.0.16",
"@types/webpack": "4.41.33",
"@types/webpack-env": "1.16.3",
"babel-plugin-istanbul": "6.1.1",
"codecov": "3.8.3",
"dpdm": "3.10.0",
"istanbul-instrumenter-loader": "3.0.1",
"karma": "6.3.16",
"cross-var": "1.1.0",
"dpdm": "3.13.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-mocha-webworker": "1.3.0",
"karma-spec-reporter": "0.0.32",
"karma-spec-reporter": "0.0.36",
"karma-webpack": "4.0.2",
"memfs": "3.4.9",
"mocha": "10.0.0",
"lerna": "7.1.5",
"memfs": "3.5.3",
"mocha": "10.2.0",
"nyc": "15.1.0",
"sinon": "15.0.0",
"sinon": "15.1.2",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"unionfs": "4.4.0",
"unionfs": "4.5.1",
"webpack": "4.46.0"

@@ -93,3 +96,3 @@ },

"sideEffects": false,
"gitHead": "56e6b1bb890f844b8963a146780d0b9cfa8abd0d"
"gitHead": "5fcd8cf136e2235903dde3df9ba03ced594f0e95"
}

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