Skip to content

chore(deps): various minor and patch version updates #597

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41,945 changes: 17,303 additions & 24,642 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 18 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,30 @@
},
"private": true,
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@jscutlery/semver": "^5.5.1",
"@nx/eslint-plugin": "^20.2.2",
"@nx/js": "^20.2.2",
"@nx/linter": "^19.8.4",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.25.1",
"@jscutlery/semver": "^5.6.0",
"@nx/eslint-plugin": "^20.8.0",
"@nx/js": "^20.8.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^12.1.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.31.0",
"@typescript-eslint/parser": "^8.31.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.17.0",
"eslint": "^9.25.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.13.0",
"eslint-plugin-prettier": "^5.2.6",
"globals": "^15.15.0",
"husky": "^9.1.7",
"lerna": "^8.1.9",
"nx": "^20.2.2",
"prettier": "^3.4.2",
"rollup": "^4.28.1",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.7.2"
"lerna": "^8.2.2",
"nx": "^20.8.0",
"prettier": "^3.5.3",
"rollup": "^4.40.0",
"rollup-plugin-dts": "^6.2.1",
"typescript": "^5.8.3"
},
"workspaces": [
"packages/*"
Expand Down
10 changes: 5 additions & 5 deletions packages/instrumentation-anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@
"access": "public"
},
"dependencies": {
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@opentelemetry/core": "^1.30.1",
"@opentelemetry/instrumentation": "^0.200.0",
"@opentelemetry/semantic-conventions": "^1.32.0",
"@traceloop/ai-semantic-conventions": "^0.13.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@anthropic-ai/sdk": "^0.32.1",
"@anthropic-ai/sdk": "^0.39.0",
"@pollyjs/adapter-node-http": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"@types/mocha": "^10.0.10",
"ts-mocha": "^10.0.0"
"ts-mocha": "^10.1.0"
},
"homepage": "https://github.com/traceloop/openllmetry-js/tree/main/packages/instrumentation-anthropic"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test Anthropic instrumentation", async function () {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: AnthropicInstrumentation;
let contextManager: AsyncHooksContextManager;
let anthropic: AnthropicModule.Anthropic;
Expand All @@ -57,7 +59,6 @@ describe("Test Anthropic instrumentation", async function () {
if (process.env.RECORD_MODE !== "NEW") {
process.env.ANTHROPIC_API_KEY = "test-key";
}
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new AnthropicInstrumentation();
instrumentation.setTracerProvider(provider);

Expand Down
8 changes: 4 additions & 4 deletions packages/instrumentation-azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"access": "public"
},
"dependencies": {
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@opentelemetry/core": "^1.30.1",
"@opentelemetry/instrumentation": "^0.200.0",
"@opentelemetry/semantic-conventions": "^1.32.0",
"@traceloop/ai-semantic-conventions": "^0.13.0",
"tslib": "^2.8.1"
},
Expand All @@ -50,7 +50,7 @@
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"@types/mocha": "^10.0.10",
"ts-mocha": "^10.0.0"
"ts-mocha": "^10.1.0"
},
"homepage": "https://github.com/traceloop/openllmetry-js/tree/main/packages/instrumentation-azure"
}
5 changes: 3 additions & 2 deletions packages/instrumentation-azure/test/instrumentation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test OpenAI instrumentation", async function () {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: AzureOpenAIInstrumentation;
let contextManager: AsyncHooksContextManager;
let azureOpenAi: AzureOpenAIModule.OpenAIClient;
Expand All @@ -60,7 +62,6 @@ describe("Test OpenAI instrumentation", async function () {
process.env.AZURE_API_KEY = "test-key";
process.env.AZURE_DEPLOYMENT_ID = "openllmetry-testing";
}
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new AzureOpenAIInstrumentation();
instrumentation.setTracerProvider(provider);

Expand Down
8 changes: 4 additions & 4 deletions packages/instrumentation-bedrock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"access": "public"
},
"dependencies": {
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@opentelemetry/core": "^1.30.1",
"@opentelemetry/instrumentation": "^0.200.0",
"@opentelemetry/semantic-conventions": "^1.32.0",
"@traceloop/ai-semantic-conventions": "^0.13.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.709.0",
"@aws-sdk/client-bedrock-runtime": "^3.787.0",
"@pollyjs/adapter-node-http": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6"
Expand Down
5 changes: 3 additions & 2 deletions packages/instrumentation-bedrock/tests/ai21.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test Ai21 with AWS Bedrock Instrumentation", () => {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: BedrockInstrumentation;
let contextManager: AsyncHooksContextManager;
let bedrock: typeof bedrockModule;
Expand All @@ -50,7 +52,6 @@ describe("Test Ai21 with AWS Bedrock Instrumentation", () => {
});

before(async () => {
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new BedrockInstrumentation();
instrumentation.setTracerProvider(provider);
bedrock = await import("@aws-sdk/client-bedrock-runtime");
Expand Down
5 changes: 3 additions & 2 deletions packages/instrumentation-bedrock/tests/amazon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test Amazon Titan with AWS Bedrock Instrumentation", () => {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: BedrockInstrumentation;
let contextManager: AsyncHooksContextManager;
let bedrock: typeof bedrockModule;
Expand All @@ -50,7 +52,6 @@ describe("Test Amazon Titan with AWS Bedrock Instrumentation", () => {
});

before(async () => {
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new BedrockInstrumentation();
instrumentation.setTracerProvider(provider);
bedrock = await import("@aws-sdk/client-bedrock-runtime");
Expand Down
5 changes: 3 additions & 2 deletions packages/instrumentation-bedrock/tests/anthropic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test Anthropic with AWS Bedrock Instrumentation", () => {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: BedrockInstrumentation;
let contextManager: AsyncHooksContextManager;
let bedrock: typeof bedrockModule;
Expand All @@ -50,7 +52,6 @@ describe("Test Anthropic with AWS Bedrock Instrumentation", () => {
});

before(async () => {
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new BedrockInstrumentation();
instrumentation.setTracerProvider(provider);
bedrock = await import("@aws-sdk/client-bedrock-runtime");
Expand Down
5 changes: 3 additions & 2 deletions packages/instrumentation-bedrock/tests/cohere.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test Cohere with AWS Bedrock Instrumentation", () => {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: BedrockInstrumentation;
let contextManager: AsyncHooksContextManager;
let bedrock: typeof bedrockModule;
Expand All @@ -50,7 +52,6 @@ describe("Test Cohere with AWS Bedrock Instrumentation", () => {
});

before(async () => {
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new BedrockInstrumentation();
instrumentation.setTracerProvider(provider);
bedrock = await import("@aws-sdk/client-bedrock-runtime");
Expand Down
10 changes: 6 additions & 4 deletions packages/instrumentation-bedrock/tests/meta.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

describe("Test Meta with AWS Bedrock Instrumentation", () => {
const provider = new BasicTracerProvider();
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: BedrockInstrumentation;
let contextManager: AsyncHooksContextManager;
let bedrock: typeof bedrockModule;
Expand All @@ -50,9 +52,6 @@ describe("Test Meta with AWS Bedrock Instrumentation", () => {
});

before(async () => {
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
instrumentation = new BedrockInstrumentation();
instrumentation.setTracerProvider(provider);
bedrock = await import("@aws-sdk/client-bedrock-runtime");

bedrockRuntimeClient = new bedrock.BedrockRuntimeClient(
Expand All @@ -63,6 +62,9 @@ describe("Test Meta with AWS Bedrock Instrumentation", () => {
}
: {},
);

instrumentation = new BedrockInstrumentation();
instrumentation.setTracerProvider(provider);
});

after(() => {
Expand Down
8 changes: 4 additions & 4 deletions packages/instrumentation-chromadb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
"access": "public"
},
"dependencies": {
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@opentelemetry/core": "^1.30.1",
"@opentelemetry/instrumentation": "^0.200.0",
"@opentelemetry/semantic-conventions": "^1.32.0",
"@traceloop/ai-semantic-conventions": "^0.13.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pollyjs/adapter-node-http": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"chromadb": "^1.9.4"
"chromadb": "^1.10.5"
},
"homepage": "https://github.com/traceloop/openllmetry-js/tree/main/packages/instrumentation-chromadb",
"gitHead": "ef1e70d6037f7b5c061056ef2be16e3f55f02ed5"
Expand Down
8 changes: 4 additions & 4 deletions packages/instrumentation-cohere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
"access": "public"
},
"dependencies": {
"@opentelemetry/core": "^1.29.0",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@opentelemetry/core": "^1.30.1",
"@opentelemetry/instrumentation": "^0.200.0",
"@opentelemetry/semantic-conventions": "^1.32.0",
"@traceloop/ai-semantic-conventions": "^0.13.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@pollyjs/adapter-node-http": "^6.0.6",
"@pollyjs/core": "^6.0.6",
"@pollyjs/persister-fs": "^6.0.6",
"cohere-ai": "^7.15.0"
"cohere-ai": "^7.17.1"
},
"homepage": "https://github.com/traceloop/openllmetry-js/tree/main/packages/instrumentation-openai",
"gitHead": "ef1e70d6037f7b5c061056ef2be16e3f55f02ed5"
Expand Down
32 changes: 17 additions & 15 deletions packages/instrumentation-cohere/tests/chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,33 @@ const memoryExporter = new InMemorySpanExporter();
Polly.register(FetchAdapter);
Polly.register(FSPersister);

describe.skip("Test Chat with Cohere Instrumentation", () => {
const provider = new BasicTracerProvider();
describe("Test Cohere chat instrumentation", async function () {
const provider = new BasicTracerProvider({
spanProcessors: [new SimpleSpanProcessor(memoryExporter)],
});
let instrumentation: CohereInstrumentation;
let contextManager: AsyncHooksContextManager;
let cohere: typeof cohereModule;
let cohereClient: cohereModule.CohereClient;
let cohere: any;

setupPolly({
adapters: [FetchAdapter],
adapters: ["node-http"],
persister: "fs",
recordIfMissing: process.env.RECORD_MODE === "NEW",
matchRequestsBy: { headers: false },
matchRequestsBy: {
headers: false,
},
});

before(async () => {
provider.addSpanProcessor(new SimpleSpanProcessor(memoryExporter));
if (process.env.RECORD_MODE !== "NEW") {
process.env.COHERE_API_KEY = "dummy_key";
}
instrumentation = new CohereInstrumentation();
instrumentation.setTracerProvider(provider);
cohere = await import("cohere-ai");

cohereClient = new cohere.CohereClient({
token:
process.env.RECORD_MODE === "NEW"
? "test"
: process.env.COHERE_API_KEY!,
const cohereModule = await import("cohere-ai");
cohere = new cohereModule.CohereClient({
token: process.env.COHERE_API_KEY as string,
});
});

Expand Down Expand Up @@ -94,7 +96,7 @@ describe.skip("Test Chat with Cohere Instrumentation", () => {
// perform web search before answering the question. You can also use your own custom connector.
connectors: [{ id: "web-search" }],
};
const response = await cohereClient.chat(params);
const response = await cohere.chat(params);

const spans = memoryExporter.getFinishedSpans();

Expand Down Expand Up @@ -191,7 +193,7 @@ describe.skip("Test Chat with Cohere Instrumentation", () => {
// perform web search before answering the question. You can also use your own custom connector.
connectors: [{ id: "web-search" }],
};
const streamedResponse = await cohereClient.chatStream(params);
const streamedResponse = await cohere.chatStream(params);

const spans = memoryExporter.getFinishedSpans();

Expand Down
Loading
Loading