@opentelemetry/instrumentation-long-task
Advanced tools
Comparing version 0.38.0 to 0.39.0
@@ -34,3 +34,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { InstrumentationBase } from '@opentelemetry/instrumentation'; | ||
import { VERSION } from './version'; | ||
import { PACKAGE_NAME, PACKAGE_VERSION } from './version'; | ||
var LONGTASK_PERFORMANCE_TYPE = 'longtask'; | ||
@@ -45,4 +45,4 @@ var LongTaskInstrumentation = /** @class */ (function (_super) { | ||
if (config === void 0) { config = {}; } | ||
var _this = _super.call(this, '@opentelemetry/instrumentation-long-task', VERSION, config) || this; | ||
_this.version = VERSION; | ||
var _this = _super.call(this, PACKAGE_NAME, PACKAGE_VERSION, config) || this; | ||
_this.version = PACKAGE_VERSION; | ||
return _this; | ||
@@ -49,0 +49,0 @@ } |
@@ -1,2 +0,3 @@ | ||
export declare const VERSION = "0.38.0"; | ||
export declare const PACKAGE_VERSION = "0.39.0"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-long-task"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,4 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.38.0'; | ||
export var PACKAGE_VERSION = '0.39.0'; | ||
export var PACKAGE_NAME = '@opentelemetry/instrumentation-long-task'; | ||
//# sourceMappingURL=version.js.map |
@@ -19,3 +19,3 @@ /* | ||
import { InstrumentationBase } from '@opentelemetry/instrumentation'; | ||
import { VERSION } from './version'; | ||
import { PACKAGE_NAME, PACKAGE_VERSION } from './version'; | ||
const LONGTASK_PERFORMANCE_TYPE = 'longtask'; | ||
@@ -28,4 +28,4 @@ export class LongTaskInstrumentation extends InstrumentationBase { | ||
constructor(config = {}) { | ||
super('@opentelemetry/instrumentation-long-task', VERSION, config); | ||
this.version = VERSION; | ||
super(PACKAGE_NAME, PACKAGE_VERSION, config); | ||
this.version = PACKAGE_VERSION; | ||
} | ||
@@ -32,0 +32,0 @@ init() { } |
@@ -1,2 +0,3 @@ | ||
export declare const VERSION = "0.38.0"; | ||
export declare const PACKAGE_VERSION = "0.39.0"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-long-task"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,4 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.38.0'; | ||
export const PACKAGE_VERSION = '0.39.0'; | ||
export const PACKAGE_NAME = '@opentelemetry/instrumentation-long-task'; | ||
//# sourceMappingURL=version.js.map |
@@ -30,4 +30,4 @@ "use strict"; | ||
constructor(config = {}) { | ||
super('@opentelemetry/instrumentation-long-task', version_1.VERSION, config); | ||
this.version = version_1.VERSION; | ||
super(version_1.PACKAGE_NAME, version_1.PACKAGE_VERSION, config); | ||
this.version = version_1.PACKAGE_VERSION; | ||
} | ||
@@ -34,0 +34,0 @@ init() { } |
@@ -1,2 +0,3 @@ | ||
export declare const VERSION = "0.38.0"; | ||
export declare const PACKAGE_VERSION = "0.39.0"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-long-task"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -18,5 +18,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.38.0'; | ||
exports.PACKAGE_VERSION = '0.39.0'; | ||
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-long-task'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-long-task", | ||
"version": "0.38.0", | ||
"description": "OpenTelemetry long task API automatic instrumentation package.", | ||
"version": "0.39.0", | ||
"description": "OpenTelemetry instrumentation for long task Web API", | ||
"main": "build/src/index.js", | ||
@@ -17,3 +17,3 @@ "module": "build/esm/index.js", | ||
"version:update": "node ../../../scripts/version-update.js", | ||
"compile": "npm run version:update && tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", | ||
"compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", | ||
"prepublishOnly": "npm run compile", | ||
@@ -83,3 +83,3 @@ "tdd": "karma start", | ||
"@opentelemetry/core": "^1.8.0", | ||
"@opentelemetry/instrumentation": "^0.51.0", | ||
"@opentelemetry/instrumentation": "^0.52.0", | ||
"@opentelemetry/sdk-trace-web": "^1.8.0" | ||
@@ -92,3 +92,3 @@ }, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-long-task#readme", | ||
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973" | ||
"gitHead": "0af1b70f7c3c9763c85ac51fa5e334c1e1512020" | ||
} |
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
76610
559
+ Added@opentelemetry/api-logs@0.52.1(transitive)
+ Added@opentelemetry/instrumentation@0.52.1(transitive)
+ Addedimport-in-the-middle@1.12.0(transitive)
- Removed@opentelemetry/api-logs@0.51.1(transitive)
- Removed@opentelemetry/instrumentation@0.51.1(transitive)
- Removedimport-in-the-middle@1.7.4(transitive)