Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation

Package Overview
Dependencies
Maintainers
0
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation - npm Package Compare versions

Comparing version 0.52.0 to 0.52.1

8

build/esm/platform/node/instrumentation.js

@@ -48,5 +48,5 @@ /*

import { RequireInTheMiddleSingleton, } from './RequireInTheMiddleSingleton';
import * as ImportInTheMiddle from 'import-in-the-middle';
import { Hook as HookImport } from 'import-in-the-middle';
import { diag } from '@opentelemetry/api';
import { Hook } from 'require-in-the-middle';
import { Hook as HookRequire } from 'require-in-the-middle';
import { readFileSync } from 'fs';

@@ -287,6 +287,6 @@ import { isWrapped } from '../../utils';

var hook = path.isAbsolute(module_2.name)
? new Hook([module_2.name], { internals: true }, onRequire)
? new HookRequire([module_2.name], { internals: true }, onRequire)
: this_1._requireInTheMiddleSingleton.register(module_2.name, onRequire);
this_1._hooks.push(hook);
var esmHook = new ImportInTheMiddle.Hook([module_2.name], { internals: false }, hookFn);
var esmHook = new HookImport([module_2.name], { internals: false }, hookFn);
this_1._hooks.push(esmHook);

@@ -293,0 +293,0 @@ };

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

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

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

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

@@ -22,5 +22,5 @@ /*

import { RequireInTheMiddleSingleton, } from './RequireInTheMiddleSingleton';
import * as ImportInTheMiddle from 'import-in-the-middle';
import { Hook as HookImport } from 'import-in-the-middle';
import { diag } from '@opentelemetry/api';
import { Hook } from 'require-in-the-middle';
import { Hook as HookRequire } from 'require-in-the-middle';
import { readFileSync } from 'fs';

@@ -233,6 +233,6 @@ import { isWrapped } from '../../utils';

const hook = path.isAbsolute(module.name)
? new Hook([module.name], { internals: true }, onRequire)
? new HookRequire([module.name], { internals: true }, onRequire)
: this._requireInTheMiddleSingleton.register(module.name, onRequire);
this._hooks.push(hook);
const esmHook = new ImportInTheMiddle.Hook([module.name], { internals: false }, hookFn);
const esmHook = new HookImport([module.name], { internals: false }, hookFn);
this._hooks.push(esmHook);

@@ -239,0 +239,0 @@ }

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

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

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

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

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

const RequireInTheMiddleSingleton_1 = require("./RequireInTheMiddleSingleton");
const ImportInTheMiddle = require("import-in-the-middle");
const import_in_the_middle_1 = require("import-in-the-middle");
const api_1 = require("@opentelemetry/api");

@@ -239,3 +239,3 @@ const require_in_the_middle_1 = require("require-in-the-middle");

this._hooks.push(hook);
const esmHook = new ImportInTheMiddle.Hook([module.name], { internals: false }, hookFn);
const esmHook = new import_in_the_middle_1.Hook([module.name], { internals: false }, hookFn);
this._hooks.push(esmHook);

@@ -242,0 +242,0 @@ }

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

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

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.52.0';
exports.VERSION = '0.52.1';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation",
"version": "0.52.0",
"version": "0.52.1",
"description": "Base class for node which OpenTelemetry instrumentation modules extend",

@@ -75,5 +75,5 @@ "author": "OpenTelemetry Authors",

"dependencies": {
"@opentelemetry/api-logs": "0.52.0",
"@opentelemetry/api-logs": "0.52.1",
"@types/shimmer": "^1.0.2",
"import-in-the-middle": "1.8.0",
"import-in-the-middle": "^1.8.1",
"require-in-the-middle": "^7.1.1",

@@ -87,6 +87,6 @@ "semver": "^7.5.2",

"devDependencies": {
"@babel/core": "7.24.6",
"@babel/preset-env": "7.24.6",
"@babel/core": "7.24.7",
"@babel/preset-env": "7.24.7",
"@opentelemetry/api": "1.9.0",
"@opentelemetry/sdk-metrics": "1.25.0",
"@opentelemetry/sdk-metrics": "1.25.1",
"@types/mocha": "10.0.6",

@@ -123,3 +123,3 @@ "@types/node": "18.6.5",

"sideEffects": false,
"gitHead": "c4d3351b6b3f5593c8d7cbfec97b45cea9fe1511"
"gitHead": "0608f405573901e54db01e44c533009cf28be262"
}

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