Socket
Socket
Sign inDemoInstall

@opentelemetry/plugin-ioredis

Package Overview
Dependencies
5
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.0 to 0.12.0

2

build/src/types.d.ts
/// <reference types="node" />
import type * as ioredisTypes from 'ioredis';
import { PluginConfig } from '@opentelemetry/api';
import { PluginConfig } from '@opentelemetry/core';
export interface IoredisCommand {

@@ -5,0 +5,0 @@ reject: (err: Error) => void;

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

span.setStatus({
code: api_1.CanonicalCode.UNKNOWN,
code: api_1.StatusCode.ERROR,
message: err.message,
});
}
else {
span.setStatus({ code: api_1.CanonicalCode.OK });
}
span.end();

@@ -46,3 +43,3 @@ };

span.setAttributes({
[semantic_conventions_1.GeneralAttribute.NET_PEER_HOSTNAME]: host,
[semantic_conventions_1.GeneralAttribute.NET_PEER_NAME]: host,
[semantic_conventions_1.GeneralAttribute.NET_PEER_PORT]: port,

@@ -84,3 +81,3 @@ [semantic_conventions_1.GeneralAttribute.NET_PEER_ADDRESS]: `redis://${host}:${port}`,

span.setAttributes({
[semantic_conventions_1.GeneralAttribute.NET_PEER_HOSTNAME]: host,
[semantic_conventions_1.GeneralAttribute.NET_PEER_NAME]: host,
[semantic_conventions_1.GeneralAttribute.NET_PEER_PORT]: port,

@@ -87,0 +84,0 @@ [semantic_conventions_1.GeneralAttribute.NET_PEER_ADDRESS]: `redis://${host}:${port}`,

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

export declare const VERSION = "0.11.0";
export declare const VERSION = "0.12.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.11.0';
exports.VERSION = '0.12.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/plugin-ioredis",
"version": "0.11.0",
"version": "0.12.0",
"description": "OpenTelemetry ioredis automatic instrumentation package.",

@@ -47,7 +47,7 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/context-async-hooks": "0.12.0",
"@opentelemetry/node": "0.12.0",
"@opentelemetry/semantic-conventions": "0.12.0",
"@opentelemetry/test-utils": "^0.11.0",
"@opentelemetry/tracing": "0.12.0",
"@opentelemetry/context-async-hooks": "^0.14.0",
"@opentelemetry/node": "^0.14.0",
"@opentelemetry/semantic-conventions": "^0.14.0",
"@opentelemetry/test-utils": "^0.12.0",
"@opentelemetry/tracing": "^0.14.0",
"@types/ioredis": "4.17.3",

@@ -64,3 +64,3 @@ "@types/mocha": "7.0.2",

"rimraf": "3.0.2",
"ts-mocha": "7.0.0",
"ts-mocha": "8.0.0",
"ts-node": "9.0.0",

@@ -72,7 +72,7 @@ "tslint-consistent-codestyle": "1.16.0",

"dependencies": {
"@opentelemetry/api": "^0.12.0",
"@opentelemetry/core": "^0.12.0",
"@opentelemetry/api": "^0.14.0",
"@opentelemetry/core": "^0.14.0",
"shimmer": "^1.2.1"
},
"gitHead": "f4d1a7120a96476102efeb0ba7aed85ecbfc3a0a"
"gitHead": "4b7291e4cd8c56a699ffde2c68b4598ef9602b02"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc