Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ioredis plugin] fix: change supportedVersions to >1 <5 #671

Merged
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-ioredis/src/ioredis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { VERSION } from './version';
export class IORedisPlugin extends BasePlugin<typeof ioredisTypes> {
static readonly COMPONENT = 'ioredis';
static readonly DB_TYPE = 'redis';
readonly supportedVersions = ['^2.0.0'];
readonly supportedVersions = ['>1 <5'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we support version 1.x.x? This version string will match that I believe? I think you're looking for '>=2 <5'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to https://semver.npmjs.com/ it's fine 🤷‍♂


constructor(readonly moduleName: string) {
super('@opentelemetry/plugin-ioredis', VERSION);
Expand Down