From ca26f63a73b8eb93cd83dfadf7972247da7a016f Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 29 Aug 2025 05:52:26 -0700 Subject: [PATCH 1/3] chore: lint .js and .mjs files (in addition to the existing .ts file linting) (#2940) --- eslint.config.js | 6 ++ .../package.json | 4 +- .../package.json | 4 +- .../auto-instrumentations-node/package.json | 4 +- .../test/test-app/app.js | 2 +- .../auto-instrumentations-web/karma.conf.js | 16 ++--- .../auto-instrumentations-web/package.json | 4 +- .../baggage-log-record-processor/.eslintrc.js | 27 +++++++-- .../baggage-log-record-processor/package.json | 4 +- packages/baggage-span-processor/.eslintrc.js | 27 +++++++-- packages/baggage-span-processor/package.json | 4 +- packages/contrib-test-utils/.eslintrc.js | 27 +++++++-- packages/contrib-test-utils/package.json | 4 +- packages/host-metrics/.eslintrc.js | 27 +++++++-- packages/host-metrics/package.json | 4 +- packages/id-generator-aws-xray/.eslintrc.js | 31 +++++++--- packages/id-generator-aws-xray/karma.conf.js | 4 +- packages/id-generator-aws-xray/package.json | 4 +- packages/instrumentation-amqplib/.eslintrc.js | 27 +++++++-- packages/instrumentation-amqplib/package.json | 4 +- .../instrumentation-aws-lambda/.eslintrc.js | 27 +++++++-- .../instrumentation-aws-lambda/package.json | 4 +- .../test/lambda-test/async.js | 10 ++-- .../test/lambda-test/sync.js | 8 +-- packages/instrumentation-aws-sdk/.eslintrc.js | 27 +++++++-- packages/instrumentation-aws-sdk/package.json | 4 +- packages/instrumentation-bunyan/.eslintrc.js | 27 +++++++-- packages/instrumentation-bunyan/package.json | 4 +- .../.eslintrc.js | 27 +++++++-- .../package.json | 4 +- packages/instrumentation-connect/.eslintrc.js | 27 +++++++-- packages/instrumentation-connect/package.json | 4 +- .../instrumentation-cucumber/.eslintrc.js | 27 +++++++-- .../instrumentation-cucumber/package.json | 4 +- .../instrumentation-dataloader/.eslintrc.js | 27 +++++++-- .../instrumentation-dataloader/package.json | 4 +- .../use-dataloader-default-import.mjs | 10 ++-- packages/instrumentation-dns/.eslintrc.js | 27 +++++++-- packages/instrumentation-dns/package.json | 4 +- .../.eslintrc.js | 31 +++++++--- .../package.json | 4 +- .../web-test-runner.config.mjs | 4 +- packages/instrumentation-express/.eslintrc.js | 27 +++++++-- packages/instrumentation-express/package.json | 4 +- .../fixtures/use-express-nested-router.mjs | 10 +--- .../test/fixtures/use-express-regex.mjs | 15 ++--- .../test/fixtures/use-express-router.mjs | 12 ++-- .../test/fixtures/use-express.mjs | 11 ++-- packages/instrumentation-fastify/.eslintrc.js | 27 +++++++-- packages/instrumentation-fastify/package.json | 4 +- .../test/fixtures/use-fastify.mjs | 14 ++--- packages/instrumentation-fs/.eslintrc.js | 27 +++++++-- packages/instrumentation-fs/package.json | 4 +- .../instrumentation-generic-pool/.eslintrc.js | 27 +++++++-- .../instrumentation-generic-pool/package.json | 4 +- packages/instrumentation-graphql/.eslintrc.js | 27 +++++++-- packages/instrumentation-graphql/package.json | 4 +- packages/instrumentation-hapi/.eslintrc.js | 27 +++++++-- packages/instrumentation-hapi/package.json | 4 +- .../test/fixtures/use-hapi.js | 28 ++++----- .../test/fixtures/use-hapi.mjs | 15 ++--- packages/instrumentation-ioredis/.eslintrc.js | 27 +++++++-- packages/instrumentation-ioredis/package.json | 4 +- .../test/fixtures/use-ioredis.mjs | 8 +-- packages/instrumentation-kafkajs/.eslintrc.js | 27 +++++++-- packages/instrumentation-kafkajs/package.json | 4 +- packages/instrumentation-knex/.eslintrc.js | 27 +++++++-- packages/instrumentation-knex/package.json | 4 +- packages/instrumentation-koa/.eslintrc.js | 27 +++++++-- packages/instrumentation-koa/package.json | 4 +- .../test/fixtures/use-koa.mjs | 11 ++-- .../instrumentation-long-task/.eslintrc.js | 31 +++++++--- .../instrumentation-long-task/karma.conf.js | 16 ++--- .../instrumentation-long-task/package.json | 4 +- .../instrumentation-lru-memoizer/.eslintrc.js | 27 +++++++-- .../instrumentation-lru-memoizer/package.json | 4 +- .../instrumentation-memcached/.eslintrc.js | 27 +++++++-- .../instrumentation-memcached/package.json | 4 +- packages/instrumentation-mongodb/.eslintrc.js | 27 +++++++-- packages/instrumentation-mongodb/package.json | 4 +- .../instrumentation-mongoose/.eslintrc.js | 27 +++++++-- .../instrumentation-mongoose/package.json | 4 +- packages/instrumentation-mysql/.eslintrc.js | 27 +++++++-- packages/instrumentation-mysql/package.json | 4 +- packages/instrumentation-mysql2/.eslintrc.js | 27 +++++++-- packages/instrumentation-mysql2/package.json | 4 +- .../instrumentation-nestjs-core/.eslintrc.js | 25 ++++++-- .../instrumentation-nestjs-core/package.json | 4 +- packages/instrumentation-net/.eslintrc.js | 27 +++++++-- packages/instrumentation-net/package.json | 4 +- packages/instrumentation-openai/.eslintrc.js | 27 +++++++-- packages/instrumentation-openai/package.json | 4 +- .../instrumentation-oracledb/.eslintrc.js | 59 +++++++++++++------ .../instrumentation-oracledb/package.json | 4 +- packages/instrumentation-pg/.eslintrc.js | 27 +++++++-- packages/instrumentation-pg/package.json | 4 +- packages/instrumentation-pino/.eslintrc.js | 27 +++++++-- packages/instrumentation-pino/package.json | 4 +- .../test/fixtures/use-pino-default-import.mjs | 10 ++-- .../test/fixtures/use-pino-named-import.mjs | 10 ++-- packages/instrumentation-redis/.eslintrc.js | 27 +++++++-- packages/instrumentation-redis/package.json | 4 +- packages/instrumentation-restify/.eslintrc.js | 27 +++++++-- packages/instrumentation-restify/package.json | 4 +- packages/instrumentation-router/.eslintrc.js | 27 +++++++-- packages/instrumentation-router/package.json | 4 +- .../instrumentation-runtime-node/.eslintrc.js | 15 +++++ .../instrumentation-runtime-node/package.json | 4 +- .../instrumentation-socket.io/.eslintrc.js | 27 +++++++-- .../instrumentation-socket.io/package.json | 4 +- packages/instrumentation-tedious/.eslintrc.js | 27 +++++++-- packages/instrumentation-tedious/package.json | 4 +- packages/instrumentation-typeorm/.eslintrc.js | 27 +++++++-- packages/instrumentation-typeorm/package.json | 4 +- packages/instrumentation-undici/.eslintrc.js | 27 +++++++-- packages/instrumentation-undici/package.json | 4 +- .../.eslintrc.js | 37 ++++++++---- .../karma.conf.js | 16 ++--- .../package.json | 4 +- packages/instrumentation-winston/.eslintrc.js | 27 +++++++-- packages/instrumentation-winston/package.json | 4 +- packages/plugin-react-load/.eslintrc.js | 31 +++++++--- packages/plugin-react-load/karma.conf.js | 14 +++-- packages/plugin-react-load/package.json | 4 +- packages/propagation-utils/.eslintrc.js | 27 +++++++-- packages/propagation-utils/package.json | 4 +- .../propagator-aws-xray-lambda/.eslintrc.js | 29 ++++++--- .../propagator-aws-xray-lambda/package.json | 4 +- packages/propagator-aws-xray/.eslintrc.js | 29 ++++++--- packages/propagator-aws-xray/karma.conf.js | 34 ++++++----- packages/propagator-aws-xray/package.json | 4 +- packages/propagator-instana/.eslintrc.js | 27 +++++++-- packages/propagator-instana/karma.conf.js | 34 ++++++----- packages/propagator-instana/package.json | 4 +- packages/propagator-ot-trace/.eslintrc.js | 31 +++++++--- packages/propagator-ot-trace/karma.conf.js | 4 +- packages/propagator-ot-trace/package.json | 4 +- packages/redis-common/.eslintrc.js | 27 +++++++-- packages/redis-common/package.json | 4 +- .../.eslintrc.js | 25 ++++++-- .../package.json | 4 +- packages/resource-detector-aws/.eslintrc.js | 25 ++++++-- packages/resource-detector-aws/package.json | 4 +- packages/resource-detector-azure/.eslintrc.js | 17 +++++- packages/resource-detector-azure/package.json | 4 +- .../resource-detector-container/.eslintrc.js | 17 +++++- .../resource-detector-container/package.json | 4 +- packages/resource-detector-gcp/.eslintrc.js | 25 ++++++-- packages/resource-detector-gcp/package.json | 4 +- .../resource-detector-github/.eslintrc.js | 25 ++++++-- .../resource-detector-github/package.json | 4 +- .../resource-detector-instana/.eslintrc.js | 25 ++++++-- .../resource-detector-instana/package.json | 4 +- packages/sql-common/.eslintrc.js | 15 +++++ packages/sql-common/package.json | 4 +- packages/winston-transport/.eslintrc.js | 27 +++++++-- packages/winston-transport/package.json | 4 +- 157 files changed, 1645 insertions(+), 687 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 0cde1b40db..a85da46290 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -88,6 +88,12 @@ module.exports = { parserOptions: { sourceType: 'module', } + }, + { + files: ["test/**/*.js", "test/**/*.mjs"], + rules: { + "no-unused-vars": "off", + } } ] }; diff --git a/incubator/opentelemetry-sampler-aws-xray/package.json b/incubator/opentelemetry-sampler-aws-xray/package.json index 70b9409204..9d7d6c06d9 100644 --- a/incubator/opentelemetry-sampler-aws-xray/package.json +++ b/incubator/opentelemetry-sampler-aws-xray/package.json @@ -31,8 +31,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/sampler-aws-xray", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/auto-configuration-propagators/package.json b/packages/auto-configuration-propagators/package.json index 372c6b1f95..7fbf1764fe 100644 --- a/packages/auto-configuration-propagators/package.json +++ b/packages/auto-configuration-propagators/package.json @@ -22,8 +22,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/auto-configuration-propagators", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.ts'", diff --git a/packages/auto-instrumentations-node/package.json b/packages/auto-instrumentations-node/package.json index b9852ddfec..f592495fb4 100644 --- a/packages/auto-instrumentations-node/package.json +++ b/packages/auto-instrumentations-node/package.json @@ -26,8 +26,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/auto-instrumentations-node", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "yarn test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.ts'", diff --git a/packages/auto-instrumentations-node/test/test-app/app.js b/packages/auto-instrumentations-node/test/test-app/app.js index 1057acbce3..7a5ea6bf23 100644 --- a/packages/auto-instrumentations-node/test/test-app/app.js +++ b/packages/auto-instrumentations-node/test/test-app/app.js @@ -21,7 +21,7 @@ const options = { hostname: 'example.com', port: 80, path: '/', - method: 'GET' + method: 'GET', }; const req = http.request(options); diff --git a/packages/auto-instrumentations-web/karma.conf.js b/packages/auto-instrumentations-web/karma.conf.js index edcd9f055f..25e450db5d 100644 --- a/packages/auto-instrumentations-web/karma.conf.js +++ b/packages/auto-instrumentations-web/karma.conf.js @@ -1,11 +1,11 @@ -/*! - * Copyright 2020, OpenTelemetry Authors +/* + * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -17,8 +17,10 @@ const karmaWebpackConfig = require('../../karma.webpack'); const karmaBaseConfig = require('../../karma.base'); -module.exports = (config) => { - config.set(Object.assign({}, karmaBaseConfig, { - webpack: karmaWebpackConfig - })) +module.exports = config => { + config.set( + Object.assign({}, karmaBaseConfig, { + webpack: karmaWebpackConfig, + }) + ); }; diff --git a/packages/auto-instrumentations-web/package.json b/packages/auto-instrumentations-web/package.json index 4d514615c8..05c68ef523 100644 --- a/packages/auto-instrumentations-web/package.json +++ b/packages/auto-instrumentations-web/package.json @@ -24,8 +24,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/auto-instrumentations-web", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test:browser": "nyc karma start --single-run", "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json" diff --git a/packages/baggage-log-record-processor/.eslintrc.js b/packages/baggage-log-record-processor/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/baggage-log-record-processor/.eslintrc.js +++ b/packages/baggage-log-record-processor/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/baggage-log-record-processor/package.json b/packages/baggage-log-record-processor/package.json index 935a02f2b7..2dcf965709 100644 --- a/packages/baggage-log-record-processor/package.json +++ b/packages/baggage-log-record-processor/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/baggage-log-record-processor", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prewatch": "npm run precompile", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/baggage-span-processor/.eslintrc.js b/packages/baggage-span-processor/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/baggage-span-processor/.eslintrc.js +++ b/packages/baggage-span-processor/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/baggage-span-processor/package.json b/packages/baggage-span-processor/package.json index 1185085b76..3e0caa8642 100644 --- a/packages/baggage-span-processor/package.json +++ b/packages/baggage-span-processor/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/baggage-span-processor", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha test/**/*.test.ts", diff --git a/packages/contrib-test-utils/.eslintrc.js b/packages/contrib-test-utils/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/contrib-test-utils/.eslintrc.js +++ b/packages/contrib-test-utils/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/contrib-test-utils/package.json b/packages/contrib-test-utils/package.json index 7bc829bbfe..5956f4c813 100644 --- a/packages/contrib-test-utils/package.json +++ b/packages/contrib-test-utils/package.json @@ -10,8 +10,8 @@ "scripts": { "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/contrib-test-utils", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "watch": "tsc -w" }, diff --git a/packages/host-metrics/.eslintrc.js b/packages/host-metrics/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/host-metrics/.eslintrc.js +++ b/packages/host-metrics/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/host-metrics/package.json b/packages/host-metrics/package.json index b09d9ab39b..93b20b22b9 100644 --- a/packages/host-metrics/package.json +++ b/packages/host-metrics/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/host-metrics", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha test/**/*.test.ts", diff --git a/packages/id-generator-aws-xray/.eslintrc.js b/packages/id-generator-aws-xray/.eslintrc.js index 9dfe62f9b8..dd021c00fb 100644 --- a/packages/id-generator-aws-xray/.eslintrc.js +++ b/packages/id-generator-aws-xray/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "node": true, - "browser": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + commonjs: true, + node: true, + browser: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/id-generator-aws-xray/karma.conf.js b/packages/id-generator-aws-xray/karma.conf.js index f1a1f3a7e8..25e450db5d 100644 --- a/packages/id-generator-aws-xray/karma.conf.js +++ b/packages/id-generator-aws-xray/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/packages/id-generator-aws-xray/package.json b/packages/id-generator-aws-xray/package.json index 2eafe26867..baf1d35696 100644 --- a/packages/id-generator-aws-xray/package.json +++ b/packages/id-generator-aws-xray/package.json @@ -24,8 +24,8 @@ "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/id-generator-aws-xray", "test": "nyc mocha test/**/*.test.ts", "test:browser": "nyc karma start --single-run", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json", "prepublishOnly": "npm run compile" }, diff --git a/packages/instrumentation-amqplib/.eslintrc.js b/packages/instrumentation-amqplib/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-amqplib/.eslintrc.js +++ b/packages/instrumentation-amqplib/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-amqplib/package.json b/packages/instrumentation-amqplib/package.json index 8e041334a4..d199009f8f 100644 --- a/packages/instrumentation-amqplib/package.json +++ b/packages/instrumentation-amqplib/package.json @@ -33,8 +33,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-amqplib", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-aws-lambda/.eslintrc.js b/packages/instrumentation-aws-lambda/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-aws-lambda/.eslintrc.js +++ b/packages/instrumentation-aws-lambda/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-aws-lambda/package.json b/packages/instrumentation-aws-lambda/package.json index 8d12fccb82..b32ea183be 100644 --- a/packages/instrumentation-aws-lambda/package.json +++ b/packages/instrumentation-aws-lambda/package.json @@ -13,8 +13,8 @@ "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-aws-lambda/test/lambda-test/async.js b/packages/instrumentation-aws-lambda/test/lambda-test/async.js index c6c2e529cf..400fa7ed94 100644 --- a/packages/instrumentation-aws-lambda/test/lambda-test/async.js +++ b/packages/instrumentation-aws-lambda/test/lambda-test/async.js @@ -21,17 +21,19 @@ exports.handler = async function (event, context) { exports.error = async function (event, context) { throw new Error('handler error'); -} +}; exports.stringerror = async function (event, context) { throw 'handler error'; -} +}; exports.context = async function (event, context) { return api.trace.getSpan(api.context.active()).spanContext().traceId; }; exports.handler_return_baggage = async function (event, context) { - const [baggageEntryKey, baggageEntryValue] = api.propagation.getBaggage(api.context.active()).getAllEntries()[0]; + const [baggageEntryKey, baggageEntryValue] = api.propagation + .getBaggage(api.context.active()) + .getAllEntries()[0]; return `${baggageEntryKey}=${baggageEntryValue.value}`; -} +}; diff --git a/packages/instrumentation-aws-lambda/test/lambda-test/sync.js b/packages/instrumentation-aws-lambda/test/lambda-test/sync.js index e9f38d8ea7..521c5f6ea4 100644 --- a/packages/instrumentation-aws-lambda/test/lambda-test/sync.js +++ b/packages/instrumentation-aws-lambda/test/lambda-test/sync.js @@ -21,19 +21,19 @@ exports.handler = function (event, context, callback) { exports.error = function (event, context, callback) { throw new Error('handler error'); -} +}; exports.callbackerror = function (event, context, callback) { callback(new Error('handler error')); -} +}; exports.stringerror = function (event, context, callback) { throw 'handler error'; -} +}; exports.callbackstringerror = function (event, context, callback) { callback('handler error'); -} +}; exports.context = function (event, context, callback) { callback(null, api.trace.getSpan(api.context.active()).spanContext().traceId); diff --git a/packages/instrumentation-aws-sdk/.eslintrc.js b/packages/instrumentation-aws-sdk/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-aws-sdk/.eslintrc.js +++ b/packages/instrumentation-aws-sdk/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-aws-sdk/package.json b/packages/instrumentation-aws-sdk/package.json index 1b839c21f9..ef61d4ef95 100644 --- a/packages/instrumentation-aws-sdk/package.json +++ b/packages/instrumentation-aws-sdk/package.json @@ -34,8 +34,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-aws-sdk", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-bunyan/.eslintrc.js b/packages/instrumentation-bunyan/.eslintrc.js index d9630e1c33..912e1cf251 100644 --- a/packages/instrumentation-bunyan/.eslintrc.js +++ b/packages/instrumentation-bunyan/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js'), -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-bunyan/package.json b/packages/instrumentation-bunyan/package.json index 286f536493..bbbe4e1634 100644 --- a/packages/instrumentation-bunyan/package.json +++ b/packages/instrumentation-bunyan/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-bunyan", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-cassandra-driver/.eslintrc.js b/packages/instrumentation-cassandra-driver/.eslintrc.js index d9630e1c33..912e1cf251 100644 --- a/packages/instrumentation-cassandra-driver/.eslintrc.js +++ b/packages/instrumentation-cassandra-driver/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js'), -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-cassandra-driver/package.json b/packages/instrumentation-cassandra-driver/package.json index 38b0325d4f..bcdcaa8f4c 100644 --- a/packages/instrumentation-cassandra-driver/package.json +++ b/packages/instrumentation-cassandra-driver/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-cassandra-driver", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-connect/.eslintrc.js b/packages/instrumentation-connect/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-connect/.eslintrc.js +++ b/packages/instrumentation-connect/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-connect/package.json b/packages/instrumentation-connect/package.json index 5ac4985ac8..ac1840d91a 100644 --- a/packages/instrumentation-connect/package.json +++ b/packages/instrumentation-connect/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-connect", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-cucumber/.eslintrc.js b/packages/instrumentation-cucumber/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-cucumber/.eslintrc.js +++ b/packages/instrumentation-cucumber/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-cucumber/package.json b/packages/instrumentation-cucumber/package.json index 729292882f..1bcf77c710 100644 --- a/packages/instrumentation-cucumber/package.json +++ b/packages/instrumentation-cucumber/package.json @@ -14,8 +14,8 @@ "test-all-versions": "tav", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-dataloader/.eslintrc.js b/packages/instrumentation-dataloader/.eslintrc.js index d9630e1c33..912e1cf251 100644 --- a/packages/instrumentation-dataloader/.eslintrc.js +++ b/packages/instrumentation-dataloader/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js'), -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-dataloader/package.json b/packages/instrumentation-dataloader/package.json index c0e7204157..952b454717 100644 --- a/packages/instrumentation-dataloader/package.json +++ b/packages/instrumentation-dataloader/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-dataloader", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-dataloader/test/fixtures/use-dataloader-default-import.mjs b/packages/instrumentation-dataloader/test/fixtures/use-dataloader-default-import.mjs index 64dc34635a..41ddc71414 100644 --- a/packages/instrumentation-dataloader/test/fixtures/use-dataloader-default-import.mjs +++ b/packages/instrumentation-dataloader/test/fixtures/use-dataloader-default-import.mjs @@ -25,15 +25,13 @@ import { DataloaderInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-dataloader', - instrumentations: [ - new DataloaderInstrumentation() - ] -}) + instrumentations: [new DataloaderInstrumentation()], +}); sdk.start(); import Dataloader from 'dataloader'; -function getMd5HashFromIdx(idx ) { +function getMd5HashFromIdx(idx) { return crypto.createHash('md5').update(String(idx)).digest('hex'); } const dataloader = new Dataloader( @@ -45,7 +43,7 @@ const dataloader = new Dataloader( ); const tracer = trace.getTracer(); -await tracer.startActiveSpan('manual', async (span) => { +await tracer.startActiveSpan('manual', async span => { await dataloader.load(1); span.end(); }); diff --git a/packages/instrumentation-dns/.eslintrc.js b/packages/instrumentation-dns/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-dns/.eslintrc.js +++ b/packages/instrumentation-dns/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-dns/package.json b/packages/instrumentation-dns/package.json index 6d523d5298..ee74b5cb28 100644 --- a/packages/instrumentation-dns/package.json +++ b/packages/instrumentation-dns/package.json @@ -13,8 +13,8 @@ "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", "lint:readme": "node ../../scripts/lint-readme", diff --git a/packages/instrumentation-document-load/.eslintrc.js b/packages/instrumentation-document-load/.eslintrc.js index 01b8d09740..498e35290d 100644 --- a/packages/instrumentation-document-load/.eslintrc.js +++ b/packages/instrumentation-document-load/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "browser": true, - "jquery": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + commonjs: true, + browser: true, + jquery: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-document-load/package.json b/packages/instrumentation-document-load/package.json index 881de34469..47d17c016f 100644 --- a/packages/instrumentation-document-load/package.json +++ b/packages/instrumentation-document-load/package.json @@ -13,8 +13,8 @@ }, "scripts": { "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "version:update": "node ../../scripts/version-update.js", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-document-load", diff --git a/packages/instrumentation-document-load/web-test-runner.config.mjs b/packages/instrumentation-document-load/web-test-runner.config.mjs index 1989a756fd..7130bd21fa 100644 --- a/packages/instrumentation-document-load/web-test-runner.config.mjs +++ b/packages/instrumentation-document-load/web-test-runner.config.mjs @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/packages/instrumentation-express/.eslintrc.js b/packages/instrumentation-express/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-express/.eslintrc.js +++ b/packages/instrumentation-express/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-express/package.json b/packages/instrumentation-express/package.json index 12fa876011..e70cce5799 100644 --- a/packages/instrumentation-express/package.json +++ b/packages/instrumentation-express/package.json @@ -14,8 +14,8 @@ "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "version:update": "node ../../scripts/version-update.js", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-express", diff --git a/packages/instrumentation-express/test/fixtures/use-express-nested-router.mjs b/packages/instrumentation-express/test/fixtures/use-express-nested-router.mjs index 6f86eb18e5..f4624cb8b0 100644 --- a/packages/instrumentation-express/test/fixtures/use-express-nested-router.mjs +++ b/packages/instrumentation-express/test/fixtures/use-express-nested-router.mjs @@ -22,11 +22,8 @@ import { ExpressInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-express-nested', - instrumentations: [ - new HttpInstrumentation(), - new ExpressInstrumentation() - ] -}) + instrumentations: [new HttpInstrumentation(), new ExpressInstrumentation()], +}); sdk.start(); @@ -75,9 +72,8 @@ const server = http.createServer(app); await new Promise(resolve => server.listen(0, resolve)); const port = server.address().port; - await new Promise(resolve => { - http.get(`http://localhost:${port}/api/user/123/posts/321`, (res) => { + http.get(`http://localhost:${port}/api/user/123/posts/321`, res => { res.resume(); res.on('end', data => { resolve(data); diff --git a/packages/instrumentation-express/test/fixtures/use-express-regex.mjs b/packages/instrumentation-express/test/fixtures/use-express-regex.mjs index d674342dd6..c54e3c55c6 100644 --- a/packages/instrumentation-express/test/fixtures/use-express-regex.mjs +++ b/packages/instrumentation-express/test/fixtures/use-express-regex.mjs @@ -70,15 +70,12 @@ await new Promise(resolve => server.listen(0, resolve)); const port = server.address().port; await new Promise(resolve => { - http.get( - `http://localhost:${port}${process.env.TEST_REGEX_ROUTE}`, - res => { - res.resume(); - res.on('end', () => { - resolve(); - }); - } - ); + http.get(`http://localhost:${port}${process.env.TEST_REGEX_ROUTE}`, res => { + res.resume(); + res.on('end', () => { + resolve(); + }); + }); }); await new Promise(resolve => server.close(resolve)); diff --git a/packages/instrumentation-express/test/fixtures/use-express-router.mjs b/packages/instrumentation-express/test/fixtures/use-express-router.mjs index 5846da88ae..d0d0ef3c13 100644 --- a/packages/instrumentation-express/test/fixtures/use-express-router.mjs +++ b/packages/instrumentation-express/test/fixtures/use-express-router.mjs @@ -22,11 +22,8 @@ import { ExpressInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-express-nested', - instrumentations: [ - new HttpInstrumentation(), - new ExpressInstrumentation() - ] -}) + instrumentations: [new HttpInstrumentation(), new ExpressInstrumentation()], +}); sdk.start(); @@ -58,14 +55,13 @@ const server = http.createServer(app); await new Promise(resolve => server.listen(0, resolve)); const port = server.address().port; - await new Promise(resolve => { - http.get(`http://localhost:${port}/api/user/123`, (res) => { + http.get(`http://localhost:${port}/api/user/123`, res => { res.resume(); res.on('end', data => { resolve(data); }); - }) + }); }); await new Promise(resolve => server.close(resolve)); diff --git a/packages/instrumentation-express/test/fixtures/use-express.mjs b/packages/instrumentation-express/test/fixtures/use-express.mjs index 6dd75360f2..c59712671f 100644 --- a/packages/instrumentation-express/test/fixtures/use-express.mjs +++ b/packages/instrumentation-express/test/fixtures/use-express.mjs @@ -25,11 +25,8 @@ import { ExpressInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-express', - instrumentations: [ - new HttpInstrumentation(), - new ExpressInstrumentation() - ] -}) + instrumentations: [new HttpInstrumentation(), new ExpressInstrumentation()], +}); sdk.start(); import express from 'express'; @@ -55,12 +52,12 @@ await new Promise(resolve => server.listen(0, resolve)); const port = server.address().port; await new Promise(resolve => { - http.get(`http://localhost:${port}/post/0`, (res) => { + http.get(`http://localhost:${port}/post/0`, res => { res.resume(); res.on('end', () => { resolve(); }); - }) + }); }); await new Promise(resolve => server.close(resolve)); diff --git a/packages/instrumentation-fastify/.eslintrc.js b/packages/instrumentation-fastify/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-fastify/.eslintrc.js +++ b/packages/instrumentation-fastify/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-fastify/package.json b/packages/instrumentation-fastify/package.json index 15f7cba178..62bd86e4ef 100644 --- a/packages/instrumentation-fastify/package.json +++ b/packages/instrumentation-fastify/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-fastify", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-fastify/test/fixtures/use-fastify.mjs b/packages/instrumentation-fastify/test/fixtures/use-fastify.mjs index 4b234dcb7b..99bd5bffb9 100644 --- a/packages/instrumentation-fastify/test/fixtures/use-fastify.mjs +++ b/packages/instrumentation-fastify/test/fixtures/use-fastify.mjs @@ -23,10 +23,8 @@ import { FastifyInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-fastify', - instrumentations: [ - new FastifyInstrumentation() - ] -}) + instrumentations: [new FastifyInstrumentation()], +}); sdk.start(); import Fastify from 'fastify'; @@ -36,18 +34,18 @@ import http from 'http'; const app = Fastify(); app.get('/a-route', function aRoute(_request, reply) { reply.send({ hello: 'world' }); -}) +}); const addr = await app.listen({ port: 0 }); // Make a single request to it. await new Promise(resolve => { - http.get(addr + '/a-route', (res) => { + http.get(addr + '/a-route', res => { res.resume(); res.on('end', () => { resolve(); }); - }) -}) + }); +}); await app.close(); await sdk.shutdown(); diff --git a/packages/instrumentation-fs/.eslintrc.js b/packages/instrumentation-fs/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-fs/.eslintrc.js +++ b/packages/instrumentation-fs/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-fs/package.json b/packages/instrumentation-fs/package.json index a7bb853e3e..f9aa9c6e78 100644 --- a/packages/instrumentation-fs/package.json +++ b/packages/instrumentation-fs/package.json @@ -13,8 +13,8 @@ "test": "mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-generic-pool/.eslintrc.js b/packages/instrumentation-generic-pool/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-generic-pool/.eslintrc.js +++ b/packages/instrumentation-generic-pool/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-generic-pool/package.json b/packages/instrumentation-generic-pool/package.json index ad5790ec33..4f503cc4ef 100644 --- a/packages/instrumentation-generic-pool/package.json +++ b/packages/instrumentation-generic-pool/package.json @@ -13,8 +13,8 @@ "test": "nyc mocha 'test/**/*.ts'", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "version:update": "node ../../scripts/version-update.js", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-generic-pool", diff --git a/packages/instrumentation-graphql/.eslintrc.js b/packages/instrumentation-graphql/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-graphql/.eslintrc.js +++ b/packages/instrumentation-graphql/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-graphql/package.json b/packages/instrumentation-graphql/package.json index ac801514ef..8798d9c0b1 100644 --- a/packages/instrumentation-graphql/package.json +++ b/packages/instrumentation-graphql/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-graphql", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-hapi/.eslintrc.js b/packages/instrumentation-hapi/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-hapi/.eslintrc.js +++ b/packages/instrumentation-hapi/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-hapi/package.json b/packages/instrumentation-hapi/package.json index 6552191482..bb57f4fb4f 100644 --- a/packages/instrumentation-hapi/package.json +++ b/packages/instrumentation-hapi/package.json @@ -14,8 +14,8 @@ "test-all-versions": "tav", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "version:update": "node ../../scripts/version-update.js", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-hapi", diff --git a/packages/instrumentation-hapi/test/fixtures/use-hapi.js b/packages/instrumentation-hapi/test/fixtures/use-hapi.js index a898bbd181..a4428fe709 100644 --- a/packages/instrumentation-hapi/test/fixtures/use-hapi.js +++ b/packages/instrumentation-hapi/test/fixtures/use-hapi.js @@ -21,11 +21,8 @@ const { HapiInstrumentation } = require('../../build/src/index.js'); const sdk = createTestNodeSdk({ serviceName: 'use-hapi', - instrumentations: [ - new HttpInstrumentation(), - new HapiInstrumentation() - ] -}) + instrumentations: [new HttpInstrumentation(), new HapiInstrumentation()], +}); sdk.start(); const Hapi = require('@hapi/hapi'); @@ -35,27 +32,30 @@ async function main() { // Start a Hapi server. const server = new Hapi.Server({ port: 0, - host: 'localhost' + host: 'localhost', }); server.route({ method: 'GET', path: '/route/{param}', - handler: function() { + handler: function () { return { hello: 'world' }; - } + }, }); await server.start(); // Make a single request to it. await new Promise(resolve => { - http.get(`http://${server.info.host}:${server.info.port}/route/test`, (res) => { - res.resume(); - res.on('end', () => { - resolve(); - }); - }); + http.get( + `http://${server.info.host}:${server.info.port}/route/test`, + res => { + res.resume(); + res.on('end', () => { + resolve(); + }); + } + ); }); await server.stop(); diff --git a/packages/instrumentation-hapi/test/fixtures/use-hapi.mjs b/packages/instrumentation-hapi/test/fixtures/use-hapi.mjs index 665998fdfe..e09c3a4a28 100644 --- a/packages/instrumentation-hapi/test/fixtures/use-hapi.mjs +++ b/packages/instrumentation-hapi/test/fixtures/use-hapi.mjs @@ -24,11 +24,8 @@ import { HapiInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-hapi', - instrumentations: [ - new HttpInstrumentation(), - new HapiInstrumentation() - ] -}) + instrumentations: [new HttpInstrumentation(), new HapiInstrumentation()], +}); sdk.start(); import Hapi from '@hapi/hapi'; @@ -37,22 +34,22 @@ import http from 'http'; // Start a Hapi server. const server = new Hapi.Server({ port: 0, - host: 'localhost' + host: 'localhost', }); server.route({ method: 'GET', path: '/route/{param}', - handler: function() { + handler: function () { return { hello: 'world' }; - } + }, }); await server.start(); // Make a single request to it. await new Promise(resolve => { - http.get(`http://${server.info.host}:${server.info.port}/route/test`, (res) => { + http.get(`http://${server.info.host}:${server.info.port}/route/test`, res => { res.resume(); res.on('end', () => { resolve(); diff --git a/packages/instrumentation-ioredis/.eslintrc.js b/packages/instrumentation-ioredis/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-ioredis/.eslintrc.js +++ b/packages/instrumentation-ioredis/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-ioredis/package.json b/packages/instrumentation-ioredis/package.json index 0cfe63e1eb..8b65725cd0 100644 --- a/packages/instrumentation-ioredis/package.json +++ b/packages/instrumentation-ioredis/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-ioredis", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-ioredis/test/fixtures/use-ioredis.mjs b/packages/instrumentation-ioredis/test/fixtures/use-ioredis.mjs index 8f3d98940d..89b88c3605 100644 --- a/packages/instrumentation-ioredis/test/fixtures/use-ioredis.mjs +++ b/packages/instrumentation-ioredis/test/fixtures/use-ioredis.mjs @@ -24,10 +24,8 @@ import { IORedisInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-ioredis', - instrumentations: [ - new IORedisInstrumentation() - ] -}) + instrumentations: [new IORedisInstrumentation()], +}); sdk.start(); import assert from 'assert'; @@ -41,7 +39,7 @@ const randomId = ((Math.random() * 2 ** 32) >>> 0).toString(16); const testKeyName = `test-${randomId}`; const tracer = trace.getTracer(); -await tracer.startActiveSpan('manual', async (span) => { +await tracer.startActiveSpan('manual', async span => { redis.set(testKeyName, 'bar'); let val = await redis.get(testKeyName); assert(val === 'bar'); diff --git a/packages/instrumentation-kafkajs/.eslintrc.js b/packages/instrumentation-kafkajs/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-kafkajs/.eslintrc.js +++ b/packages/instrumentation-kafkajs/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-kafkajs/package.json b/packages/instrumentation-kafkajs/package.json index 420b7f6390..195eaff5fe 100644 --- a/packages/instrumentation-kafkajs/package.json +++ b/packages/instrumentation-kafkajs/package.json @@ -14,8 +14,8 @@ "test-all-versions": "tav", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-knex/.eslintrc.js b/packages/instrumentation-knex/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-knex/.eslintrc.js +++ b/packages/instrumentation-knex/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-knex/package.json b/packages/instrumentation-knex/package.json index dc5ac86954..2702a00e96 100644 --- a/packages/instrumentation-knex/package.json +++ b/packages/instrumentation-knex/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-knex", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-koa/.eslintrc.js b/packages/instrumentation-koa/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-koa/.eslintrc.js +++ b/packages/instrumentation-koa/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-koa/package.json b/packages/instrumentation-koa/package.json index c160c42c5b..96addbc1c1 100644 --- a/packages/instrumentation-koa/package.json +++ b/packages/instrumentation-koa/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-koa", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-koa/test/fixtures/use-koa.mjs b/packages/instrumentation-koa/test/fixtures/use-koa.mjs index 967e76375b..1e5a00841c 100644 --- a/packages/instrumentation-koa/test/fixtures/use-koa.mjs +++ b/packages/instrumentation-koa/test/fixtures/use-koa.mjs @@ -25,11 +25,8 @@ import { KoaInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-koa', - instrumentations: [ - new KoaInstrumentation(), - new HttpInstrumentation() - ] -}) + instrumentations: [new KoaInstrumentation(), new HttpInstrumentation()], +}); sdk.start(); import Koa from 'koa'; @@ -59,12 +56,12 @@ await new Promise(resolve => server.listen(0, resolve)); const port = server.address().port; await new Promise(resolve => { - http.get(`http://localhost:${port}/post/0`, (res) => { + http.get(`http://localhost:${port}/post/0`, res => { res.resume(); res.on('end', () => { resolve(); }); - }) + }); }); await new Promise(resolve => server.close(resolve)); diff --git a/packages/instrumentation-long-task/.eslintrc.js b/packages/instrumentation-long-task/.eslintrc.js index 01b8d09740..498e35290d 100644 --- a/packages/instrumentation-long-task/.eslintrc.js +++ b/packages/instrumentation-long-task/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "browser": true, - "jquery": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + commonjs: true, + browser: true, + jquery: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-long-task/karma.conf.js b/packages/instrumentation-long-task/karma.conf.js index 4bc502c46f..5f899152bd 100644 --- a/packages/instrumentation-long-task/karma.conf.js +++ b/packages/instrumentation-long-task/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -17,9 +17,11 @@ const karmaWebpackConfig = require('../../karma.webpack'); const karmaBaseConfig = require('../../karma.base'); -module.exports = (config) => { - config.set(Object.assign({}, karmaBaseConfig, { - frameworks: karmaBaseConfig.frameworks.concat(['jquery-1.8.3']), - webpack: karmaWebpackConfig, - })) +module.exports = config => { + config.set( + Object.assign({}, karmaBaseConfig, { + frameworks: karmaBaseConfig.frameworks.concat(['jquery-1.8.3']), + webpack: karmaWebpackConfig, + }) + ); }; diff --git a/packages/instrumentation-long-task/package.json b/packages/instrumentation-long-task/package.json index e3c0304218..ca95655893 100644 --- a/packages/instrumentation-long-task/package.json +++ b/packages/instrumentation-long-task/package.json @@ -15,8 +15,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-long-task", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "karma start", diff --git a/packages/instrumentation-lru-memoizer/.eslintrc.js b/packages/instrumentation-lru-memoizer/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-lru-memoizer/.eslintrc.js +++ b/packages/instrumentation-lru-memoizer/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-lru-memoizer/package.json b/packages/instrumentation-lru-memoizer/package.json index d2a81ca88f..d7e118a91b 100644 --- a/packages/instrumentation-lru-memoizer/package.json +++ b/packages/instrumentation-lru-memoizer/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-lru-memoizer", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-memcached/.eslintrc.js b/packages/instrumentation-memcached/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-memcached/.eslintrc.js +++ b/packages/instrumentation-memcached/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-memcached/package.json b/packages/instrumentation-memcached/package.json index ed631d6dc5..75915d73bf 100644 --- a/packages/instrumentation-memcached/package.json +++ b/packages/instrumentation-memcached/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-memcached", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-mongodb/.eslintrc.js b/packages/instrumentation-mongodb/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-mongodb/.eslintrc.js +++ b/packages/instrumentation-mongodb/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-mongodb/package.json b/packages/instrumentation-mongodb/package.json index 9882833a1d..d5af29644f 100644 --- a/packages/instrumentation-mongodb/package.json +++ b/packages/instrumentation-mongodb/package.json @@ -11,8 +11,8 @@ }, "scripts": { "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "version:update": "node ../../scripts/version-update.js", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-mongodb", diff --git a/packages/instrumentation-mongoose/.eslintrc.js b/packages/instrumentation-mongoose/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-mongoose/.eslintrc.js +++ b/packages/instrumentation-mongoose/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-mongoose/package.json b/packages/instrumentation-mongoose/package.json index 5e4608dfab..f7fae2afb9 100644 --- a/packages/instrumentation-mongoose/package.json +++ b/packages/instrumentation-mongoose/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-mongoose", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-mysql/.eslintrc.js b/packages/instrumentation-mysql/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-mysql/.eslintrc.js +++ b/packages/instrumentation-mysql/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-mysql/package.json b/packages/instrumentation-mysql/package.json index cf50683cb2..0e6f4688b7 100644 --- a/packages/instrumentation-mysql/package.json +++ b/packages/instrumentation-mysql/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-mysql", - "lint:fix": "eslint . --ext .ts --fix", - "lint": "eslint . --ext .ts", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", + "lint": "eslint . --ext=ts,js,mjs", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-mysql2/.eslintrc.js b/packages/instrumentation-mysql2/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-mysql2/.eslintrc.js +++ b/packages/instrumentation-mysql2/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-mysql2/package.json b/packages/instrumentation-mysql2/package.json index 43e75ed108..349f7af582 100644 --- a/packages/instrumentation-mysql2/package.json +++ b/packages/instrumentation-mysql2/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-mysql2", - "lint:fix": "eslint . --ext .ts --fix", - "lint": "eslint . --ext .ts", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", + "lint": "eslint . --ext=ts,js,mjs", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-nestjs-core/.eslintrc.js b/packages/instrumentation-nestjs-core/.eslintrc.js index 224df6c2dc..912e1cf251 100644 --- a/packages/instrumentation-nestjs-core/.eslintrc.js +++ b/packages/instrumentation-nestjs-core/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - env: { - mocha: true, - node: true - }, - ...require('../../eslint.config.js') + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), }; diff --git a/packages/instrumentation-nestjs-core/package.json b/packages/instrumentation-nestjs-core/package.json index 05c9cb36a5..a7803021cb 100644 --- a/packages/instrumentation-nestjs-core/package.json +++ b/packages/instrumentation-nestjs-core/package.json @@ -14,8 +14,8 @@ "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-nestjs-core", "compile": "tsc -p .", "compile:watch": "tsc -w", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "npm run test-required-node-version && nyc mocha --timeout 5000 'test/**/*.test.ts' || echo 'Node version is not supported for testing'", diff --git a/packages/instrumentation-net/.eslintrc.js b/packages/instrumentation-net/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-net/.eslintrc.js +++ b/packages/instrumentation-net/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-net/package.json b/packages/instrumentation-net/package.json index 8012941ad5..5a319b6516 100644 --- a/packages/instrumentation-net/package.json +++ b/packages/instrumentation-net/package.json @@ -13,8 +13,8 @@ "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-openai/.eslintrc.js b/packages/instrumentation-openai/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-openai/.eslintrc.js +++ b/packages/instrumentation-openai/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-openai/package.json b/packages/instrumentation-openai/package.json index 05a42df71c..df919a8bcc 100644 --- a/packages/instrumentation-openai/package.json +++ b/packages/instrumentation-openai/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "setup:dev": "nx run-many -t compile -p @opentelemetry/instrumentation-openai", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-oracledb/.eslintrc.js b/packages/instrumentation-oracledb/.eslintrc.js index af8a1ac3ee..a84ad1caf5 100644 --- a/packages/instrumentation-oracledb/.eslintrc.js +++ b/packages/instrumentation-oracledb/.eslintrc.js @@ -1,19 +1,41 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Copyright (c) 2025, Oracle and/or its affiliates. + * */ const parentConfig = require('../../eslint.config.js'); module.exports = { - extends: '../../eslint.config.js', // Extends the top-level config - ignorePatterns: [ - ...(parentConfig.ignorePatterns || []), // Retain parent's ignorePatterns array - 'src/version.ts', // ignore this file - ], - env: { - mocha: true, - node: true - }, - rules: { - "header/header": ["error", "block", [{ - pattern: /\* Copyright The OpenTelemetry Authors(?:, [^,\r\n]*)?[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* {6}https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an "AS IS" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\.[\r\n]+ \*[\r\n]+ \* Copyright \(c\) 2025, Oracle and\/or its affiliates\.[\r\n]+ \*/gm, - template: ` + extends: '../../eslint.config.js', // Extends the top-level config + ignorePatterns: [ + ...(parentConfig.ignorePatterns || []), // Retain parent's ignorePatterns array + 'src/version.ts', // ignore this file + ], + env: { + mocha: true, + node: true, + }, + rules: { + 'header/header': [ + 'error', + 'block', + [ + { + pattern: + /\* Copyright The OpenTelemetry Authors(?:, [^,\r\n]*)?[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* {6}https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an "AS IS" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\.[\r\n]+ \*[\r\n]+ \* Copyright \(c\) 2025, Oracle and\/or its affiliates\.[\r\n]+ \*/gm, + template: ` * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,8 +51,9 @@ module.exports = { * limitations under the License. * * Copyright (c) 2025, Oracle and/or its affiliates. - * ` - }]] - } -} - + * `, + }, + ], + ], + }, +}; diff --git a/packages/instrumentation-oracledb/package.json b/packages/instrumentation-oracledb/package.json index 4576a38720..242feeddf1 100644 --- a/packages/instrumentation-oracledb/package.json +++ b/packages/instrumentation-oracledb/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-oracledb", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prewatch": "npm run precompile", "prepublishOnly": "npm run compile", diff --git a/packages/instrumentation-pg/.eslintrc.js b/packages/instrumentation-pg/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-pg/.eslintrc.js +++ b/packages/instrumentation-pg/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-pg/package.json b/packages/instrumentation-pg/package.json index 6e5fd49183..63065b7dd5 100644 --- a/packages/instrumentation-pg/package.json +++ b/packages/instrumentation-pg/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-pg", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-pino/.eslintrc.js b/packages/instrumentation-pino/.eslintrc.js index d9630e1c33..912e1cf251 100644 --- a/packages/instrumentation-pino/.eslintrc.js +++ b/packages/instrumentation-pino/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js'), -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-pino/package.json b/packages/instrumentation-pino/package.json index 1957b9c28e..b46cfa128f 100644 --- a/packages/instrumentation-pino/package.json +++ b/packages/instrumentation-pino/package.json @@ -14,8 +14,8 @@ "test-all-versions": "tav", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-pino/test/fixtures/use-pino-default-import.mjs b/packages/instrumentation-pino/test/fixtures/use-pino-default-import.mjs index 2bde519df7..a8748b6c1e 100644 --- a/packages/instrumentation-pino/test/fixtures/use-pino-default-import.mjs +++ b/packages/instrumentation-pino/test/fixtures/use-pino-default-import.mjs @@ -24,18 +24,16 @@ import { PinoInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-pino', - instrumentations: [ - new PinoInstrumentation() - ] -}) + instrumentations: [new PinoInstrumentation()], +}); sdk.start(); import pino from 'pino'; const logger = pino(); const tracer = trace.getTracer(); -await tracer.startActiveSpan('manual', async (span) => { - logger.info('hi from logger') +await tracer.startActiveSpan('manual', async span => { + logger.info('hi from logger'); span.end(); }); diff --git a/packages/instrumentation-pino/test/fixtures/use-pino-named-import.mjs b/packages/instrumentation-pino/test/fixtures/use-pino-named-import.mjs index 543cf84826..0a165a2ffd 100644 --- a/packages/instrumentation-pino/test/fixtures/use-pino-named-import.mjs +++ b/packages/instrumentation-pino/test/fixtures/use-pino-named-import.mjs @@ -24,18 +24,16 @@ import { PinoInstrumentation } from '../../build/src/index.js'; const sdk = createTestNodeSdk({ serviceName: 'use-pino', - instrumentations: [ - new PinoInstrumentation() - ] -}) + instrumentations: [new PinoInstrumentation()], +}); sdk.start(); import { pino } from 'pino'; // named import, supported with pino >=6.8.0 const logger = pino(); const tracer = trace.getTracer(); -await tracer.startActiveSpan('manual', async (span) => { - logger.info('hi from logger') +await tracer.startActiveSpan('manual', async span => { + logger.info('hi from logger'); span.end(); }); diff --git a/packages/instrumentation-redis/.eslintrc.js b/packages/instrumentation-redis/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-redis/.eslintrc.js +++ b/packages/instrumentation-redis/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-redis/package.json b/packages/instrumentation-redis/package.json index 0ebfa3d4d5..b108a5d5f1 100644 --- a/packages/instrumentation-redis/package.json +++ b/packages/instrumentation-redis/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-redis", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-restify/.eslintrc.js b/packages/instrumentation-restify/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-restify/.eslintrc.js +++ b/packages/instrumentation-restify/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-restify/package.json b/packages/instrumentation-restify/package.json index 8306de4012..6502267611 100644 --- a/packages/instrumentation-restify/package.json +++ b/packages/instrumentation-restify/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-restify", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "yarn test -- --watch-extensions ts --watch", diff --git a/packages/instrumentation-router/.eslintrc.js b/packages/instrumentation-router/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-router/.eslintrc.js +++ b/packages/instrumentation-router/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-router/package.json b/packages/instrumentation-router/package.json index 71200635f7..beb4da05b8 100644 --- a/packages/instrumentation-router/package.json +++ b/packages/instrumentation-router/package.json @@ -13,8 +13,8 @@ "test": "nyc mocha 'test/**/*.ts'", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "version:update": "node ../../scripts/version-update.js", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-router", diff --git a/packages/instrumentation-runtime-node/.eslintrc.js b/packages/instrumentation-runtime-node/.eslintrc.js index 15096b6658..912e1cf251 100644 --- a/packages/instrumentation-runtime-node/.eslintrc.js +++ b/packages/instrumentation-runtime-node/.eslintrc.js @@ -1,3 +1,18 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { env: { mocha: true, diff --git a/packages/instrumentation-runtime-node/package.json b/packages/instrumentation-runtime-node/package.json index 0f6d2af4fe..b20d580bb5 100644 --- a/packages/instrumentation-runtime-node/package.json +++ b/packages/instrumentation-runtime-node/package.json @@ -14,8 +14,8 @@ "clean": "rimraf build/*", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-runtime-node", "compile": "tsc -p .", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "version:update": "node ../../scripts/version-update.js" diff --git a/packages/instrumentation-socket.io/.eslintrc.js b/packages/instrumentation-socket.io/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-socket.io/.eslintrc.js +++ b/packages/instrumentation-socket.io/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-socket.io/package.json b/packages/instrumentation-socket.io/package.json index a9eaf9fe67..afe1bad61b 100644 --- a/packages/instrumentation-socket.io/package.json +++ b/packages/instrumentation-socket.io/package.json @@ -14,8 +14,8 @@ "test-all-versions": "tav", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "version:update": "node ../../scripts/version-update.js", diff --git a/packages/instrumentation-tedious/.eslintrc.js b/packages/instrumentation-tedious/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-tedious/.eslintrc.js +++ b/packages/instrumentation-tedious/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-tedious/package.json b/packages/instrumentation-tedious/package.json index 500ab8e30b..1340595c1f 100644 --- a/packages/instrumentation-tedious/package.json +++ b/packages/instrumentation-tedious/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-tedious", - "lint:fix": "eslint . --ext .ts --fix", - "lint": "eslint . --ext .ts", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", + "lint": "eslint . --ext=ts,js,mjs", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/instrumentation-typeorm/.eslintrc.js b/packages/instrumentation-typeorm/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-typeorm/.eslintrc.js +++ b/packages/instrumentation-typeorm/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-typeorm/package.json b/packages/instrumentation-typeorm/package.json index 68cc669b1c..09341553c2 100644 --- a/packages/instrumentation-typeorm/package.json +++ b/packages/instrumentation-typeorm/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-typeorm", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prewatch": "npm run precompile", "prepublishOnly": "npm run compile", diff --git a/packages/instrumentation-undici/.eslintrc.js b/packages/instrumentation-undici/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/instrumentation-undici/.eslintrc.js +++ b/packages/instrumentation-undici/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-undici/package.json b/packages/instrumentation-undici/package.json index fa219a7f0f..700057b092 100644 --- a/packages/instrumentation-undici/package.json +++ b/packages/instrumentation-undici/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-undici", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha test/**/*.test.ts", diff --git a/packages/instrumentation-user-interaction/.eslintrc.js b/packages/instrumentation-user-interaction/.eslintrc.js index 0587e2b9e4..b20afe4255 100644 --- a/packages/instrumentation-user-interaction/.eslintrc.js +++ b/packages/instrumentation-user-interaction/.eslintrc.js @@ -1,12 +1,27 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "browser": true, - "jquery": true - }, - "globals": { - "Zone": "readonly" - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + commonjs: true, + browser: true, + jquery: true, + }, + globals: { + Zone: 'readonly', + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-user-interaction/karma.conf.js b/packages/instrumentation-user-interaction/karma.conf.js index 4bc502c46f..5f899152bd 100644 --- a/packages/instrumentation-user-interaction/karma.conf.js +++ b/packages/instrumentation-user-interaction/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -17,9 +17,11 @@ const karmaWebpackConfig = require('../../karma.webpack'); const karmaBaseConfig = require('../../karma.base'); -module.exports = (config) => { - config.set(Object.assign({}, karmaBaseConfig, { - frameworks: karmaBaseConfig.frameworks.concat(['jquery-1.8.3']), - webpack: karmaWebpackConfig, - })) +module.exports = config => { + config.set( + Object.assign({}, karmaBaseConfig, { + frameworks: karmaBaseConfig.frameworks.concat(['jquery-1.8.3']), + webpack: karmaWebpackConfig, + }) + ); }; diff --git a/packages/instrumentation-user-interaction/package.json b/packages/instrumentation-user-interaction/package.json index 60e0a35fdb..c37c0791ac 100644 --- a/packages/instrumentation-user-interaction/package.json +++ b/packages/instrumentation-user-interaction/package.json @@ -15,8 +15,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-user-interaction", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "karma start", diff --git a/packages/instrumentation-winston/.eslintrc.js b/packages/instrumentation-winston/.eslintrc.js index d9630e1c33..912e1cf251 100644 --- a/packages/instrumentation-winston/.eslintrc.js +++ b/packages/instrumentation-winston/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js'), -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/instrumentation-winston/package.json b/packages/instrumentation-winston/package.json index daa94125e5..d69b046c5a 100644 --- a/packages/instrumentation-winston/package.json +++ b/packages/instrumentation-winston/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-winston", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/plugin-react-load/.eslintrc.js b/packages/plugin-react-load/.eslintrc.js index 01b8d09740..498e35290d 100644 --- a/packages/plugin-react-load/.eslintrc.js +++ b/packages/plugin-react-load/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "browser": true, - "jquery": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + commonjs: true, + browser: true, + jquery: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/plugin-react-load/karma.conf.js b/packages/plugin-react-load/karma.conf.js index 3019564a15..25e450db5d 100644 --- a/packages/plugin-react-load/karma.conf.js +++ b/packages/plugin-react-load/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -17,8 +17,10 @@ const karmaWebpackConfig = require('../../karma.webpack'); const karmaBaseConfig = require('../../karma.base'); -module.exports = (config) => { - config.set(Object.assign({}, karmaBaseConfig, { - webpack: karmaWebpackConfig - })) +module.exports = config => { + config.set( + Object.assign({}, karmaBaseConfig, { + webpack: karmaWebpackConfig, + }) + ); }; diff --git a/packages/plugin-react-load/package.json b/packages/plugin-react-load/package.json index 48d90d0dcf..1e714b81e4 100644 --- a/packages/plugin-react-load/package.json +++ b/packages/plugin-react-load/package.json @@ -15,8 +15,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/plugin-react-load", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "lint:readme": "node ../../scripts/lint-readme.js", "prepublishOnly": "npm run compile", "tdd": "karma start", diff --git a/packages/propagation-utils/.eslintrc.js b/packages/propagation-utils/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/propagation-utils/.eslintrc.js +++ b/packages/propagation-utils/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/propagation-utils/package.json b/packages/propagation-utils/package.json index 42ca81e8a2..2c6212037e 100644 --- a/packages/propagation-utils/package.json +++ b/packages/propagation-utils/package.json @@ -11,8 +11,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/propagation-utils", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", diff --git a/packages/propagator-aws-xray-lambda/.eslintrc.js b/packages/propagator-aws-xray-lambda/.eslintrc.js index 56b0964fe6..dd021c00fb 100644 --- a/packages/propagator-aws-xray-lambda/.eslintrc.js +++ b/packages/propagator-aws-xray-lambda/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "node": true, - "browser": true + env: { + mocha: true, + commonjs: true, + node: true, + browser: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/propagator-aws-xray-lambda/package.json b/packages/propagator-aws-xray-lambda/package.json index c08e3bf1fa..5da9782f52 100644 --- a/packages/propagator-aws-xray-lambda/package.json +++ b/packages/propagator-aws-xray-lambda/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/propagator-aws-xray-lambda", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha test/**/*.test.ts", "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json" diff --git a/packages/propagator-aws-xray/.eslintrc.js b/packages/propagator-aws-xray/.eslintrc.js index 56b0964fe6..dd021c00fb 100644 --- a/packages/propagator-aws-xray/.eslintrc.js +++ b/packages/propagator-aws-xray/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "node": true, - "browser": true + env: { + mocha: true, + commonjs: true, + node: true, + browser: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/propagator-aws-xray/karma.conf.js b/packages/propagator-aws-xray/karma.conf.js index 133e22df63..d4e4a9e2fd 100644 --- a/packages/propagator-aws-xray/karma.conf.js +++ b/packages/propagator-aws-xray/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -19,25 +19,27 @@ const webpack = require('webpack'); const karmaWebpackConfig = require('../../karma.webpack'); const karmaBaseConfig = require('../../karma.base'); -module.exports = (config) => { +module.exports = config => { { - const plugins = karmaWebpackConfig.plugins = []; - plugins.push(new webpack.ProvidePlugin({ - process: 'process/browser', - })); + const plugins = (karmaWebpackConfig.plugins = []); + plugins.push( + new webpack.ProvidePlugin({ + process: 'process/browser', + }) + ); } { - const plugins = karmaBaseConfig.plugins = []; + const plugins = (karmaBaseConfig.plugins = []); const toAdd = Object.keys(require('./package.json').devDependencies) - .filter((packageName) => packageName.startsWith('karma-')) - .map((packageName) => require(packageName)); - plugins.push( - ...toAdd - ); + .filter(packageName => packageName.startsWith('karma-')) + .map(packageName => require(packageName)); + plugins.push(...toAdd); } - config.set(Object.assign({}, karmaBaseConfig, { - webpack: karmaWebpackConfig - })) + config.set( + Object.assign({}, karmaBaseConfig, { + webpack: karmaWebpackConfig, + }) + ); }; diff --git a/packages/propagator-aws-xray/package.json b/packages/propagator-aws-xray/package.json index 385f21ca18..8288f90126 100644 --- a/packages/propagator-aws-xray/package.json +++ b/packages/propagator-aws-xray/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/propagator-aws-xray", "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha test/**/*.test.ts", "test:browser": "nyc karma start --single-run", diff --git a/packages/propagator-instana/.eslintrc.js b/packages/propagator-instana/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/propagator-instana/.eslintrc.js +++ b/packages/propagator-instana/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/propagator-instana/karma.conf.js b/packages/propagator-instana/karma.conf.js index 133e22df63..d4e4a9e2fd 100644 --- a/packages/propagator-instana/karma.conf.js +++ b/packages/propagator-instana/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -19,25 +19,27 @@ const webpack = require('webpack'); const karmaWebpackConfig = require('../../karma.webpack'); const karmaBaseConfig = require('../../karma.base'); -module.exports = (config) => { +module.exports = config => { { - const plugins = karmaWebpackConfig.plugins = []; - plugins.push(new webpack.ProvidePlugin({ - process: 'process/browser', - })); + const plugins = (karmaWebpackConfig.plugins = []); + plugins.push( + new webpack.ProvidePlugin({ + process: 'process/browser', + }) + ); } { - const plugins = karmaBaseConfig.plugins = []; + const plugins = (karmaBaseConfig.plugins = []); const toAdd = Object.keys(require('./package.json').devDependencies) - .filter((packageName) => packageName.startsWith('karma-')) - .map((packageName) => require(packageName)); - plugins.push( - ...toAdd - ); + .filter(packageName => packageName.startsWith('karma-')) + .map(packageName => require(packageName)); + plugins.push(...toAdd); } - config.set(Object.assign({}, karmaBaseConfig, { - webpack: karmaWebpackConfig - })) + config.set( + Object.assign({}, karmaBaseConfig, { + webpack: karmaWebpackConfig, + }) + ); }; diff --git a/packages/propagator-instana/package.json b/packages/propagator-instana/package.json index cf0f5c271d..e5e608f5dc 100644 --- a/packages/propagator-instana/package.json +++ b/packages/propagator-instana/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/propagator-instana", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha test/**/*.test.ts", "test:browser": "nyc karma start --single-run", diff --git a/packages/propagator-ot-trace/.eslintrc.js b/packages/propagator-ot-trace/.eslintrc.js index 9dfe62f9b8..dd021c00fb 100644 --- a/packages/propagator-ot-trace/.eslintrc.js +++ b/packages/propagator-ot-trace/.eslintrc.js @@ -1,9 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "commonjs": true, - "node": true, - "browser": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + commonjs: true, + node: true, + browser: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/propagator-ot-trace/karma.conf.js b/packages/propagator-ot-trace/karma.conf.js index f1a1f3a7e8..25e450db5d 100644 --- a/packages/propagator-ot-trace/karma.conf.js +++ b/packages/propagator-ot-trace/karma.conf.js @@ -1,11 +1,11 @@ -/*! +/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/packages/propagator-ot-trace/package.json b/packages/propagator-ot-trace/package.json index 30f4b7806c..d89f015d6e 100644 --- a/packages/propagator-ot-trace/package.json +++ b/packages/propagator-ot-trace/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/propagator-ot-trace", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha test/**/*.test.ts", "test:browser": "nyc karma start --single-run", diff --git a/packages/redis-common/.eslintrc.js b/packages/redis-common/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/redis-common/.eslintrc.js +++ b/packages/redis-common/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/redis-common/package.json b/packages/redis-common/package.json index 687a6d34c0..16b87f56bc 100644 --- a/packages/redis-common/package.json +++ b/packages/redis-common/package.json @@ -10,8 +10,8 @@ "scripts": { "compile": "tsc --build tsconfig.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/redis-common", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "watch": "tsc -w" diff --git a/packages/resource-detector-alibaba-cloud/.eslintrc.js b/packages/resource-detector-alibaba-cloud/.eslintrc.js index 7927fa0c36..912e1cf251 100644 --- a/packages/resource-detector-alibaba-cloud/.eslintrc.js +++ b/packages/resource-detector-alibaba-cloud/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true + env: { + mocha: true, + node: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/resource-detector-alibaba-cloud/package.json b/packages/resource-detector-alibaba-cloud/package.json index 04260f5ac2..eea82ec3ed 100644 --- a/packages/resource-detector-alibaba-cloud/package.json +++ b/packages/resource-detector-alibaba-cloud/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-alibaba-cloud", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/resource-detector-aws/.eslintrc.js b/packages/resource-detector-aws/.eslintrc.js index 7927fa0c36..912e1cf251 100644 --- a/packages/resource-detector-aws/.eslintrc.js +++ b/packages/resource-detector-aws/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true + env: { + mocha: true, + node: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/resource-detector-aws/package.json b/packages/resource-detector-aws/package.json index fe61013519..8e751cbb8c 100644 --- a/packages/resource-detector-aws/package.json +++ b/packages/resource-detector-aws/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-aws", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/resource-detector-azure/.eslintrc.js b/packages/resource-detector-azure/.eslintrc.js index 6201ba71c1..912e1cf251 100644 --- a/packages/resource-detector-azure/.eslintrc.js +++ b/packages/resource-detector-azure/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { env: { mocha: true, node: true, }, - ...require("../../eslint.config.js"), + ...require('../../eslint.config.js'), }; diff --git a/packages/resource-detector-azure/package.json b/packages/resource-detector-azure/package.json index d36b32579f..53354ea860 100644 --- a/packages/resource-detector-azure/package.json +++ b/packages/resource-detector-azure/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-azure", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/resource-detector-container/.eslintrc.js b/packages/resource-detector-container/.eslintrc.js index 6201ba71c1..912e1cf251 100644 --- a/packages/resource-detector-container/.eslintrc.js +++ b/packages/resource-detector-container/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { env: { mocha: true, node: true, }, - ...require("../../eslint.config.js"), + ...require('../../eslint.config.js'), }; diff --git a/packages/resource-detector-container/package.json b/packages/resource-detector-container/package.json index 58e8077ea5..3ef8f29c66 100644 --- a/packages/resource-detector-container/package.json +++ b/packages/resource-detector-container/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-container", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/resource-detector-gcp/.eslintrc.js b/packages/resource-detector-gcp/.eslintrc.js index 7927fa0c36..912e1cf251 100644 --- a/packages/resource-detector-gcp/.eslintrc.js +++ b/packages/resource-detector-gcp/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true + env: { + mocha: true, + node: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/resource-detector-gcp/package.json b/packages/resource-detector-gcp/package.json index fa58ce221e..25311d4271 100644 --- a/packages/resource-detector-gcp/package.json +++ b/packages/resource-detector-gcp/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-gcp", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/resource-detector-github/.eslintrc.js b/packages/resource-detector-github/.eslintrc.js index 7927fa0c36..912e1cf251 100644 --- a/packages/resource-detector-github/.eslintrc.js +++ b/packages/resource-detector-github/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true + env: { + mocha: true, + node: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/resource-detector-github/package.json b/packages/resource-detector-github/package.json index e34e89ea5b..19f1618ad6 100644 --- a/packages/resource-detector-github/package.json +++ b/packages/resource-detector-github/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-github", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/resource-detector-instana/.eslintrc.js b/packages/resource-detector-instana/.eslintrc.js index 7927fa0c36..912e1cf251 100644 --- a/packages/resource-detector-instana/.eslintrc.js +++ b/packages/resource-detector-instana/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true + env: { + mocha: true, + node: true, }, - ...require('../../eslint.config.js') -} + ...require('../../eslint.config.js'), +}; diff --git a/packages/resource-detector-instana/package.json b/packages/resource-detector-instana/package.json index 72eae077f7..d5386f3631 100644 --- a/packages/resource-detector-instana/package.json +++ b/packages/resource-detector-instana/package.json @@ -14,8 +14,8 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/resource-detector-instana", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "tdd": "npm run test -- --watch-extensions ts --watch", diff --git a/packages/sql-common/.eslintrc.js b/packages/sql-common/.eslintrc.js index 15096b6658..912e1cf251 100644 --- a/packages/sql-common/.eslintrc.js +++ b/packages/sql-common/.eslintrc.js @@ -1,3 +1,18 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { env: { mocha: true, diff --git a/packages/sql-common/package.json b/packages/sql-common/package.json index 43f53d1a37..d4492c66ec 100644 --- a/packages/sql-common/package.json +++ b/packages/sql-common/package.json @@ -10,8 +10,8 @@ "scripts": { "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/sql-common", "compile": "tsc --build tsconfig.json", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "test": "nyc mocha 'test/**/*.test.ts'", "watch": "tsc -w" diff --git a/packages/winston-transport/.eslintrc.js b/packages/winston-transport/.eslintrc.js index f726f3becb..912e1cf251 100644 --- a/packages/winston-transport/.eslintrc.js +++ b/packages/winston-transport/.eslintrc.js @@ -1,7 +1,22 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ module.exports = { - "env": { - "mocha": true, - "node": true - }, - ...require('../../eslint.config.js') -} + env: { + mocha: true, + node: true, + }, + ...require('../../eslint.config.js'), +}; diff --git a/packages/winston-transport/package.json b/packages/winston-transport/package.json index 36f5f03814..ed32ab8431 100644 --- a/packages/winston-transport/package.json +++ b/packages/winston-transport/package.json @@ -13,8 +13,8 @@ "clean": "rimraf build/*", "compile": "tsc -p .", "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/winston-transport", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint . --ext=ts,js,mjs", + "lint:fix": "eslint . --ext=ts,js,mjs --fix", "prepublishOnly": "npm run compile", "tdd": "npm run test -- --watch-extensions ts --watch", "test": "nyc mocha 'test/**/*.test.ts'", From 3a1dc571ba29f8fa3c73015b2a64be9dc364093d Mon Sep 17 00:00:00 2001 From: Jared Freeze Date: Mon, 1 Sep 2025 03:35:45 -0500 Subject: [PATCH 2/3] chore(package): rename repo and scripts packages (#2997) --- package-lock.json | 91 ++++++++++++++++++++++++++++++++++++++------ package.json | 4 +- scripts/package.json | 5 +-- 3 files changed, 82 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index e3306faea4..f456b32be2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "opentelemetry-contrib", + "name": "opentelemetry-js-contrib", "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "opentelemetry-contrib", + "name": "opentelemetry-js-contrib", "version": "0.1.0", "license": "Apache-2.0", "workspaces": [ @@ -6355,6 +6355,7 @@ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.4.3" }, @@ -6382,6 +6383,7 @@ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", "integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -6404,13 +6406,15 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -6421,6 +6425,7 @@ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -6433,6 +6438,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -7158,6 +7164,7 @@ "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", "deprecated": "Use @eslint/config-array instead", "dev": true, + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -7172,6 +7179,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -7182,6 +7190,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -7194,7 +7203,8 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "deprecated": "Use @eslint/object-schema instead", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", @@ -11803,7 +11813,8 @@ "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/keygrip": { "version": "1.0.6", @@ -12181,6 +12192,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.4.0", "@typescript-eslint/scope-manager": "5.62.0", @@ -12318,6 +12330,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/scope-manager": "5.62.0", "@typescript-eslint/types": "5.62.0", @@ -12345,6 +12358,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.62.0", "@typescript-eslint/visitor-keys": "5.62.0" @@ -12362,6 +12376,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "5.62.0", "@typescript-eslint/utils": "5.62.0", @@ -12389,6 +12404,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -12402,6 +12418,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "5.62.0", "@typescript-eslint/visitor-keys": "5.62.0", @@ -12429,6 +12446,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", @@ -12455,6 +12473,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" @@ -13171,6 +13190,7 @@ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } @@ -13617,6 +13637,7 @@ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz", "integrity": "sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.4", @@ -13648,6 +13669,7 @@ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz", "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.8", "define-properties": "^1.2.1", @@ -13666,6 +13688,7 @@ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.8", "define-properties": "^1.2.1", @@ -16299,6 +16322,7 @@ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -16888,6 +16912,7 @@ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz", "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==", "dev": true, + "license": "MIT", "dependencies": { "hasown": "^2.0.2" }, @@ -17043,6 +17068,7 @@ "integrity": "sha512-ifHYzkBGrzS2iDU7KjhCAVMGCvF6M3Xfs8X8b37cgrUlDt6bWRTpRh6T/gtSXv1HJ/BUGgmjvNvOEGu85Iif7w==", "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, + "license": "MIT", "dependencies": { "@eslint/eslintrc": "^1.0.5", "@humanwhocodes/config-array": "^0.9.2", @@ -17095,6 +17121,7 @@ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -17107,6 +17134,7 @@ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.13.0", @@ -17118,6 +17146,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -17127,6 +17156,7 @@ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.1.tgz", "integrity": "sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -17144,6 +17174,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -17205,6 +17236,7 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", "dev": true, + "license": "MIT", "dependencies": { "array-includes": "^3.1.6", "array.prototype.flat": "^1.3.1", @@ -17234,6 +17266,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -17244,6 +17277,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -17253,6 +17287,7 @@ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -17265,6 +17300,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -17277,6 +17313,7 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -17361,6 +17398,7 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.5.tgz", "integrity": "sha512-9Ni+xgemM2IWLq6aXEpP2+V/V30GeA/46Ar629vcMqVPodFFWC9skHu/D1phvuqtS8bJCFnNf01/qcmqYEwNfg==", "dev": true, + "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0" }, @@ -17395,6 +17433,7 @@ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^2.0.0" }, @@ -17413,6 +17452,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10" } @@ -17422,6 +17462,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -17433,7 +17474,8 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.12", @@ -17450,6 +17492,7 @@ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -17466,6 +17509,7 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -17475,6 +17519,7 @@ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -17508,6 +17553,7 @@ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -18209,6 +18255,7 @@ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -18400,6 +18447,7 @@ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.3", @@ -18414,6 +18462,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -18425,6 +18474,7 @@ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -18445,6 +18495,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -18458,6 +18509,7 @@ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -18714,7 +18766,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/functions-have-names": { "version": "1.2.3", @@ -19201,6 +19254,7 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -19216,6 +19270,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -19350,6 +19405,7 @@ "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4.0" } @@ -21294,7 +21350,8 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-parse-better-errors": { "version": "1.0.2", @@ -22073,6 +22130,7 @@ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dev": true, + "license": "MIT", "dependencies": { "json-buffer": "3.0.1" } @@ -25085,7 +25143,8 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ncp": { "version": "2.0.0", @@ -26025,6 +26084,7 @@ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz", "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", @@ -30884,7 +30944,8 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/thenify": { "version": "3.3.1", @@ -31212,6 +31273,7 @@ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", "dev": true, + "license": "MIT", "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", @@ -31224,6 +31286,7 @@ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.0" }, @@ -31236,6 +31299,7 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -31260,6 +31324,7 @@ "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, + "license": "MIT", "dependencies": { "tslib": "^1.8.1" }, @@ -31274,7 +31339,8 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "dev": true, + "license": "0BSD" }, "node_modules/tuf-js": { "version": "2.2.1", @@ -32003,7 +32069,8 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz", "integrity": "sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", diff --git a/package.json b/package.json index 68263dbeb5..08fdf516d9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "opentelemetry-contrib", + "name": "opentelemetry-js-contrib", "version": "0.1.0", "description": "This is a repository for OpenTelemetry JavaScript contributions.", "repository": { @@ -9,8 +9,6 @@ "publishConfig": { "access": "public" }, - "main": "build/src/index.js", - "types": "build/src/index.d.ts", "scripts": { "clean": "nx run-many -t clean", "version:update": "nx run-many -t version:update", diff --git a/scripts/package.json b/scripts/package.json index e5b70704cb..2c5fa01f0b 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -1,7 +1,6 @@ { - "name": "opentelemetry-contrib-scripts", + "name": "opentelemetry-js-contrib-scripts", "private": true, "license": "Apache-2.0", - "dependencies": { - } + "dependencies": {} } From 90faba09441df1e0970437b54e5754c6964dd2fa Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 1 Sep 2025 04:39:02 -0400 Subject: [PATCH 3/3] chore: release main --- .release-please-manifest.json | 36 +++++------ package-lock.json | 62 +++++++++---------- .../CHANGELOG.md | 11 ++++ .../package.json | 8 +-- .../auto-instrumentations-node/CHANGELOG.md | 14 +++++ .../auto-instrumentations-node/package.json | 14 ++--- .../auto-instrumentations-web/CHANGELOG.md | 14 +++++ .../auto-instrumentations-web/package.json | 4 +- packages/id-generator-aws-xray/CHANGELOG.md | 7 +++ packages/id-generator-aws-xray/package.json | 2 +- .../instrumentation-aws-lambda/CHANGELOG.md | 15 +++++ .../instrumentation-aws-lambda/package.json | 6 +- packages/instrumentation-aws-sdk/CHANGELOG.md | 18 ++++++ packages/instrumentation-aws-sdk/package.json | 2 +- .../instrumentation-cucumber/CHANGELOG.md | 7 +++ .../instrumentation-cucumber/package.json | 2 +- .../instrumentation-long-task/CHANGELOG.md | 7 +++ .../instrumentation-long-task/package.json | 2 +- packages/instrumentation-openai/CHANGELOG.md | 8 +++ packages/instrumentation-openai/package.json | 2 +- packages/instrumentation-pg/CHANGELOG.md | 7 +++ packages/instrumentation-pg/package.json | 2 +- packages/instrumentation-pino/CHANGELOG.md | 7 +++ packages/instrumentation-pino/package.json | 2 +- packages/instrumentation-redis/CHANGELOG.md | 7 +++ packages/instrumentation-redis/package.json | 2 +- .../CHANGELOG.md | 7 +++ .../package.json | 2 +- packages/plugin-react-load/CHANGELOG.md | 7 +++ packages/plugin-react-load/package.json | 2 +- .../propagator-aws-xray-lambda/CHANGELOG.md | 14 +++++ .../propagator-aws-xray-lambda/package.json | 4 +- packages/propagator-aws-xray/CHANGELOG.md | 7 +++ packages/propagator-aws-xray/package.json | 2 +- packages/propagator-instana/CHANGELOG.md | 7 +++ packages/propagator-instana/package.json | 2 +- packages/propagator-ot-trace/CHANGELOG.md | 7 +++ packages/propagator-ot-trace/package.json | 2 +- 38 files changed, 251 insertions(+), 80 deletions(-) create mode 100644 packages/instrumentation-openai/CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 64982fd4ec..31e821fef2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -6,20 +6,20 @@ "packages/resource-detector-gcp": "0.37.0", "packages/resource-detector-github": "0.31.0", "packages/resource-detector-instana": "0.22.0", - "packages/auto-configuration-propagators": "0.4.1", - "packages/auto-instrumentations-node": "0.62.1", - "packages/auto-instrumentations-web": "0.49.0", + "packages/auto-configuration-propagators": "0.4.2", + "packages/auto-instrumentations-node": "0.62.2", + "packages/auto-instrumentations-web": "0.49.1", "packages/baggage-span-processor": "0.4.0", "packages/baggage-log-record-processor": "0.4.0", "packages/host-metrics": "0.36.0", - "packages/id-generator-aws-xray": "2.0.0", + "packages/id-generator-aws-xray": "2.0.1", "packages/propagation-utils": "0.31.3", "packages/redis-common": "0.38.0", "packages/sql-common": "0.41.0", "packages/contrib-test-utils": "0.49.0", "packages/winston-transport": "0.14.1", "packages/instrumentation-amqplib": "0.50.0", - "packages/instrumentation-cucumber": "0.18.1", + "packages/instrumentation-cucumber": "0.19.0", "packages/instrumentation-dataloader": "0.21.1", "packages/instrumentation-fs": "0.23.0", "packages/instrumentation-kafkajs": "0.13.0", @@ -30,8 +30,8 @@ "packages/instrumentation-tedious": "0.22.0", "packages/instrumentation-typeorm": "0.4.0", "packages/instrumentation-undici": "0.14.0", - "packages/instrumentation-aws-lambda": "0.54.0", - "packages/instrumentation-aws-sdk": "0.57.0", + "packages/instrumentation-aws-lambda": "0.54.1", + "packages/instrumentation-aws-sdk": "0.58.0", "packages/instrumentation-bunyan": "0.49.0", "packages/instrumentation-cassandra-driver": "0.49.0", "packages/instrumentation-connect": "0.47.0", @@ -50,20 +50,20 @@ "packages/instrumentation-mysql2": "0.50.0", "packages/instrumentation-nestjs-core": "0.49.0", "packages/instrumentation-net": "0.47.0", - "packages/instrumentation-openai": "0.0.1", + "packages/instrumentation-openai": "0.1.0", "packages/instrumentation-oracledb": "0.29.0", - "packages/instrumentation-pg": "0.56.0", - "packages/instrumentation-pino": "0.50.0", - "packages/instrumentation-redis": "0.51.0", + "packages/instrumentation-pg": "0.56.1", + "packages/instrumentation-pino": "0.50.1", + "packages/instrumentation-redis": "0.52.0", "packages/instrumentation-restify": "0.49.0", "packages/instrumentation-router": "0.48.0", "packages/instrumentation-winston": "0.48.1", "packages/instrumentation-document-load": "0.48.0", - "packages/instrumentation-long-task": "0.48.0", - "packages/instrumentation-user-interaction": "0.48.0", - "packages/plugin-react-load": "0.35.0", - "packages/propagator-instana": "0.4.0", - "packages/propagator-ot-trace": "0.28.0", - "packages/propagator-aws-xray": "2.1.0", - "packages/propagator-aws-xray-lambda": "0.55.0" + "packages/instrumentation-long-task": "0.48.1", + "packages/instrumentation-user-interaction": "0.48.1", + "packages/plugin-react-load": "0.35.1", + "packages/propagator-instana": "0.4.1", + "packages/propagator-ot-trace": "0.28.1", + "packages/propagator-aws-xray": "2.1.1", + "packages/propagator-aws-xray-lambda": "0.55.1" } diff --git a/package-lock.json b/package-lock.json index f456b32be2..550b1b51f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33070,15 +33070,15 @@ }, "packages/auto-configuration-propagators": { "name": "@opentelemetry/auto-configuration-propagators", - "version": "0.4.1", + "version": "0.4.2", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^2.0.0", - "@opentelemetry/propagator-aws-xray": "^2.1.0", - "@opentelemetry/propagator-aws-xray-lambda": "^0.55.0", + "@opentelemetry/propagator-aws-xray": "^2.1.1", + "@opentelemetry/propagator-aws-xray-lambda": "^0.55.1", "@opentelemetry/propagator-b3": "^2.0.0", "@opentelemetry/propagator-jaeger": "^2.0.0", - "@opentelemetry/propagator-ot-trace": "^0.28.0" + "@opentelemetry/propagator-ot-trace": "^0.28.1" }, "devDependencies": { "@opentelemetry/api": "^1.4.1", @@ -33114,17 +33114,17 @@ }, "packages/auto-instrumentations-node": { "name": "@opentelemetry/auto-instrumentations-node", - "version": "0.62.1", + "version": "0.62.2", "license": "Apache-2.0", "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", "@opentelemetry/instrumentation-amqplib": "^0.50.0", - "@opentelemetry/instrumentation-aws-lambda": "^0.54.0", - "@opentelemetry/instrumentation-aws-sdk": "^0.57.0", + "@opentelemetry/instrumentation-aws-lambda": "^0.54.1", + "@opentelemetry/instrumentation-aws-sdk": "^0.58.0", "@opentelemetry/instrumentation-bunyan": "^0.49.0", "@opentelemetry/instrumentation-cassandra-driver": "^0.49.0", "@opentelemetry/instrumentation-connect": "^0.47.0", - "@opentelemetry/instrumentation-cucumber": "^0.18.1", + "@opentelemetry/instrumentation-cucumber": "^0.19.0", "@opentelemetry/instrumentation-dataloader": "^0.21.1", "@opentelemetry/instrumentation-dns": "^0.47.0", "@opentelemetry/instrumentation-express": "^0.52.0", @@ -33148,9 +33148,9 @@ "@opentelemetry/instrumentation-nestjs-core": "^0.49.0", "@opentelemetry/instrumentation-net": "^0.47.0", "@opentelemetry/instrumentation-oracledb": "^0.29.0", - "@opentelemetry/instrumentation-pg": "^0.56.0", - "@opentelemetry/instrumentation-pino": "^0.50.0", - "@opentelemetry/instrumentation-redis": "^0.51.0", + "@opentelemetry/instrumentation-pg": "^0.56.1", + "@opentelemetry/instrumentation-pino": "^0.50.1", + "@opentelemetry/instrumentation-redis": "^0.52.0", "@opentelemetry/instrumentation-restify": "^0.49.0", "@opentelemetry/instrumentation-router": "^0.48.0", "@opentelemetry/instrumentation-runtime-node": "^0.17.1", @@ -33202,13 +33202,13 @@ }, "packages/auto-instrumentations-web": { "name": "@opentelemetry/auto-instrumentations-web", - "version": "0.49.0", + "version": "0.49.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", "@opentelemetry/instrumentation-document-load": "^0.48.0", "@opentelemetry/instrumentation-fetch": "^0.203.0", - "@opentelemetry/instrumentation-user-interaction": "^0.48.0", + "@opentelemetry/instrumentation-user-interaction": "^0.48.1", "@opentelemetry/instrumentation-xml-http-request": "^0.203.0" }, "devDependencies": { @@ -33451,7 +33451,7 @@ }, "packages/id-generator-aws-xray": { "name": "@opentelemetry/id-generator-aws-xray", - "version": "2.0.0", + "version": "2.0.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/sdk-trace-base": "^2.0.0" @@ -33585,7 +33585,7 @@ }, "packages/instrumentation-aws-lambda": { "name": "@opentelemetry/instrumentation-aws-lambda", - "version": "0.54.0", + "version": "0.54.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", @@ -33595,8 +33595,8 @@ "devDependencies": { "@opentelemetry/api": "^1.3.0", "@opentelemetry/core": "^2.0.0", - "@opentelemetry/propagator-aws-xray": "^2.1.0", - "@opentelemetry/propagator-aws-xray-lambda": "^0.55.0", + "@opentelemetry/propagator-aws-xray": "^2.1.1", + "@opentelemetry/propagator-aws-xray-lambda": "^0.55.1", "@opentelemetry/sdk-metrics": "^2.0.0", "@opentelemetry/sdk-trace-base": "^2.0.0", "@opentelemetry/sdk-trace-node": "^2.0.0", @@ -33630,7 +33630,7 @@ }, "packages/instrumentation-aws-sdk": { "name": "@opentelemetry/instrumentation-aws-sdk", - "version": "0.57.0", + "version": "0.58.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^2.0.0", @@ -33827,7 +33827,7 @@ }, "packages/instrumentation-cucumber": { "name": "@opentelemetry/instrumentation-cucumber", - "version": "0.18.1", + "version": "0.19.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", @@ -34544,7 +34544,7 @@ }, "packages/instrumentation-long-task": { "name": "@opentelemetry/instrumentation-long-task", - "version": "0.48.0", + "version": "0.48.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^2.0.0", @@ -35001,7 +35001,7 @@ }, "packages/instrumentation-openai": { "name": "@opentelemetry/instrumentation-openai", - "version": "0.0.1", + "version": "0.1.0", "dependencies": { "@opentelemetry/api-logs": "^0.203.0", "@opentelemetry/instrumentation": "^0.203.0", @@ -35326,7 +35326,7 @@ }, "packages/instrumentation-pg": { "name": "@opentelemetry/instrumentation-pg", - "version": "0.56.0", + "version": "0.56.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^2.0.0", @@ -35379,7 +35379,7 @@ }, "packages/instrumentation-pino": { "name": "@opentelemetry/instrumentation-pino", - "version": "0.50.0", + "version": "0.50.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api-logs": "^0.203.0", @@ -35428,7 +35428,7 @@ }, "packages/instrumentation-redis": { "name": "@opentelemetry/instrumentation-redis", - "version": "0.51.0", + "version": "0.52.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", @@ -36235,7 +36235,7 @@ }, "packages/instrumentation-user-interaction": { "name": "@opentelemetry/instrumentation-user-interaction", - "version": "0.48.0", + "version": "0.48.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^2.0.0", @@ -36377,7 +36377,7 @@ }, "packages/plugin-react-load": { "name": "@opentelemetry/plugin-react-load", - "version": "0.35.0", + "version": "0.35.1", "license": "Apache-2.0", "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", @@ -36511,7 +36511,7 @@ }, "packages/propagator-aws-xray": { "name": "@opentelemetry/propagator-aws-xray", - "version": "2.1.0", + "version": "2.1.1", "license": "Apache-2.0", "devDependencies": { "@opentelemetry/api": ">=1.0.0 <1.10.0", @@ -36544,10 +36544,10 @@ }, "packages/propagator-aws-xray-lambda": { "name": "@opentelemetry/propagator-aws-xray-lambda", - "version": "0.55.0", + "version": "0.55.1", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/propagator-aws-xray": "^2.1.0" + "@opentelemetry/propagator-aws-xray": "^2.1.1" }, "devDependencies": { "@babel/core": "^7.21.8", @@ -36703,7 +36703,7 @@ }, "packages/propagator-instana": { "name": "@opentelemetry/propagator-instana", - "version": "0.4.0", + "version": "0.4.1", "license": "Apache-2.0", "devDependencies": { "@babel/core": "7.24.6", @@ -36754,7 +36754,7 @@ }, "packages/propagator-ot-trace": { "name": "@opentelemetry/propagator-ot-trace", - "version": "0.28.0", + "version": "0.28.1", "license": "Apache-2.0", "devDependencies": { "@babel/core": "7.24.6", diff --git a/packages/auto-configuration-propagators/CHANGELOG.md b/packages/auto-configuration-propagators/CHANGELOG.md index 2707e343ad..7ad6e16d81 100644 --- a/packages/auto-configuration-propagators/CHANGELOG.md +++ b/packages/auto-configuration-propagators/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.4.2](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-configuration-propagators-v0.4.1...auto-configuration-propagators-v0.4.2) (2025-09-01) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @opentelemetry/propagator-aws-xray bumped from ^2.1.0 to ^2.1.1 + * @opentelemetry/propagator-aws-xray-lambda bumped from ^0.55.0 to ^0.55.1 + * @opentelemetry/propagator-ot-trace bumped from ^0.28.0 to ^0.28.1 + ## [0.4.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-configuration-propagators-v0.4.0...auto-configuration-propagators-v0.4.1) (2025-05-02) diff --git a/packages/auto-configuration-propagators/package.json b/packages/auto-configuration-propagators/package.json index 7fbf1764fe..2e24cdbdeb 100644 --- a/packages/auto-configuration-propagators/package.json +++ b/packages/auto-configuration-propagators/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/auto-configuration-propagators", - "version": "0.4.1", + "version": "0.4.2", "description": "Metapackage which bundles known propagators for configuration via an env variable.", "author": "OpenTelemetry Authors", "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/auto-configuration-propagators#readme", @@ -47,11 +47,11 @@ }, "dependencies": { "@opentelemetry/core": "^2.0.0", - "@opentelemetry/propagator-aws-xray": "^2.1.0", - "@opentelemetry/propagator-aws-xray-lambda": "^0.55.0", + "@opentelemetry/propagator-aws-xray": "^2.1.1", + "@opentelemetry/propagator-aws-xray-lambda": "^0.55.1", "@opentelemetry/propagator-b3": "^2.0.0", "@opentelemetry/propagator-jaeger": "^2.0.0", - "@opentelemetry/propagator-ot-trace": "^0.28.0" + "@opentelemetry/propagator-ot-trace": "^0.28.1" }, "files": [ "build/src/**/*.js", diff --git a/packages/auto-instrumentations-node/CHANGELOG.md b/packages/auto-instrumentations-node/CHANGELOG.md index d005a39c83..d546848a48 100644 --- a/packages/auto-instrumentations-node/CHANGELOG.md +++ b/packages/auto-instrumentations-node/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [0.62.2](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.62.1...auto-instrumentations-node-v0.62.2) (2025-09-01) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @opentelemetry/instrumentation-aws-lambda bumped from ^0.54.0 to ^0.54.1 + * @opentelemetry/instrumentation-aws-sdk bumped from ^0.57.0 to ^0.58.0 + * @opentelemetry/instrumentation-cucumber bumped from ^0.18.1 to ^0.19.0 + * @opentelemetry/instrumentation-pg bumped from ^0.56.0 to ^0.56.1 + * @opentelemetry/instrumentation-pino bumped from ^0.50.0 to ^0.50.1 + * @opentelemetry/instrumentation-redis bumped from ^0.51.0 to ^0.52.0 + ## [0.62.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.62.0...auto-instrumentations-node-v0.62.1) (2025-08-13) diff --git a/packages/auto-instrumentations-node/package.json b/packages/auto-instrumentations-node/package.json index f592495fb4..5884a76fda 100644 --- a/packages/auto-instrumentations-node/package.json +++ b/packages/auto-instrumentations-node/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/auto-instrumentations-node", - "version": "0.62.1", + "version": "0.62.2", "description": "Metapackage which bundles opentelemetry node core and contrib instrumentations", "author": "OpenTelemetry Authors", "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/auto-instrumentations-node#readme", @@ -54,12 +54,12 @@ "dependencies": { "@opentelemetry/instrumentation": "^0.203.0", "@opentelemetry/instrumentation-amqplib": "^0.50.0", - "@opentelemetry/instrumentation-aws-lambda": "^0.54.0", - "@opentelemetry/instrumentation-aws-sdk": "^0.57.0", + "@opentelemetry/instrumentation-aws-lambda": "^0.54.1", + "@opentelemetry/instrumentation-aws-sdk": "^0.58.0", "@opentelemetry/instrumentation-bunyan": "^0.49.0", "@opentelemetry/instrumentation-cassandra-driver": "^0.49.0", "@opentelemetry/instrumentation-connect": "^0.47.0", - "@opentelemetry/instrumentation-cucumber": "^0.18.1", + "@opentelemetry/instrumentation-cucumber": "^0.19.0", "@opentelemetry/instrumentation-dataloader": "^0.21.1", "@opentelemetry/instrumentation-dns": "^0.47.0", "@opentelemetry/instrumentation-express": "^0.52.0", @@ -83,9 +83,9 @@ "@opentelemetry/instrumentation-nestjs-core": "^0.49.0", "@opentelemetry/instrumentation-net": "^0.47.0", "@opentelemetry/instrumentation-oracledb": "^0.29.0", - "@opentelemetry/instrumentation-pg": "^0.56.0", - "@opentelemetry/instrumentation-pino": "^0.50.0", - "@opentelemetry/instrumentation-redis": "^0.51.0", + "@opentelemetry/instrumentation-pg": "^0.56.1", + "@opentelemetry/instrumentation-pino": "^0.50.1", + "@opentelemetry/instrumentation-redis": "^0.52.0", "@opentelemetry/instrumentation-restify": "^0.49.0", "@opentelemetry/instrumentation-router": "^0.48.0", "@opentelemetry/instrumentation-runtime-node": "^0.17.1", diff --git a/packages/auto-instrumentations-web/CHANGELOG.md b/packages/auto-instrumentations-web/CHANGELOG.md index 958f864e3a..f3e916d8e7 100644 --- a/packages/auto-instrumentations-web/CHANGELOG.md +++ b/packages/auto-instrumentations-web/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [0.49.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-web-v0.49.0...auto-instrumentations-web-v0.49.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @opentelemetry/instrumentation-user-interaction bumped from ^0.48.0 to ^0.48.1 + ## [0.49.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-web-v0.48.1...auto-instrumentations-web-v0.49.0) (2025-07-09) diff --git a/packages/auto-instrumentations-web/package.json b/packages/auto-instrumentations-web/package.json index 05c68ef523..7ea18ce81d 100644 --- a/packages/auto-instrumentations-web/package.json +++ b/packages/auto-instrumentations-web/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/auto-instrumentations-web", - "version": "0.49.0", + "version": "0.49.1", "description": "Metapackage which bundles opentelemetry node core and contrib instrumentations", "author": "OpenTelemetry Authors", "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/auto-instrumentations-web#readme", @@ -67,7 +67,7 @@ "@opentelemetry/instrumentation": "^0.203.0", "@opentelemetry/instrumentation-document-load": "^0.48.0", "@opentelemetry/instrumentation-fetch": "^0.203.0", - "@opentelemetry/instrumentation-user-interaction": "^0.48.0", + "@opentelemetry/instrumentation-user-interaction": "^0.48.1", "@opentelemetry/instrumentation-xml-http-request": "^0.203.0" }, "files": [ diff --git a/packages/id-generator-aws-xray/CHANGELOG.md b/packages/id-generator-aws-xray/CHANGELOG.md index f81fc1a14f..f2e3874096 100644 --- a/packages/id-generator-aws-xray/CHANGELOG.md +++ b/packages/id-generator-aws-xray/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.0.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/id-generator-aws-xray-v2.0.0...id-generator-aws-xray-v2.0.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [2.0.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/id-generator-aws-xray-v1.2.3...id-generator-aws-xray-v2.0.0) (2025-03-18) diff --git a/packages/id-generator-aws-xray/package.json b/packages/id-generator-aws-xray/package.json index baf1d35696..6e53d4f281 100644 --- a/packages/id-generator-aws-xray/package.json +++ b/packages/id-generator-aws-xray/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/id-generator-aws-xray", - "version": "2.0.0", + "version": "2.0.1", "description": "AWS X-Ray ID generator for OpenTelemetry", "main": "build/src/index.js", "publishConfig": { diff --git a/packages/instrumentation-aws-lambda/CHANGELOG.md b/packages/instrumentation-aws-lambda/CHANGELOG.md index 0f2a739572..fa3bdb5596 100644 --- a/packages/instrumentation-aws-lambda/CHANGELOG.md +++ b/packages/instrumentation-aws-lambda/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.54.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-aws-lambda-v0.54.0...instrumentation-aws-lambda-v0.54.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + + +### Dependencies + +* The following workspace dependencies were updated + * devDependencies + * @opentelemetry/propagator-aws-xray bumped from ^2.1.0 to ^2.1.1 + * @opentelemetry/propagator-aws-xray-lambda bumped from ^0.55.0 to ^0.55.1 + ## [0.54.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-aws-lambda-v0.53.1...instrumentation-aws-lambda-v0.54.0) (2025-07-09) diff --git a/packages/instrumentation-aws-lambda/package.json b/packages/instrumentation-aws-lambda/package.json index b32ea183be..bc0a24487c 100644 --- a/packages/instrumentation-aws-lambda/package.json +++ b/packages/instrumentation-aws-lambda/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-aws-lambda", - "version": "0.54.0", + "version": "0.54.1", "description": "OpenTelemetry instrumentation for AWS Lambda function invocations", "main": "build/src/index.js", "types": "build/src/index.d.ts", @@ -48,8 +48,8 @@ "devDependencies": { "@opentelemetry/api": "^1.3.0", "@opentelemetry/core": "^2.0.0", - "@opentelemetry/propagator-aws-xray": "^2.1.0", - "@opentelemetry/propagator-aws-xray-lambda": "^0.55.0", + "@opentelemetry/propagator-aws-xray": "^2.1.1", + "@opentelemetry/propagator-aws-xray-lambda": "^0.55.1", "@opentelemetry/sdk-metrics": "^2.0.0", "@opentelemetry/sdk-trace-base": "^2.0.0", "@opentelemetry/sdk-trace-node": "^2.0.0", diff --git a/packages/instrumentation-aws-sdk/CHANGELOG.md b/packages/instrumentation-aws-sdk/CHANGELOG.md index aff33f5705..a09539ca40 100644 --- a/packages/instrumentation-aws-sdk/CHANGELOG.md +++ b/packages/instrumentation-aws-sdk/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [0.58.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-aws-sdk-v0.57.0...instrumentation-aws-sdk-v0.58.0) (2025-09-01) + + +### ⚠ BREAKING CHANGES + +* **aws-sdk:** SQS receive: use span links instead of processing spans ([#2345](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2345)) + +### Features + +* **aws-sdk:** SQS receive: use span links instead of processing spans ([#2345](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2345)) ([bd9e782](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/bd9e782e06b17f471b12f8ad54c18cf5b27e35a9)) +* **instrumentation-aws-sdk:** Add Semantic Convention Support for Amazon Secrets Manager Attributes ([#2971](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2971)) ([0c59990](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/0c5999052e01d3b14d797e22361d495d7e4eeff1)) +* **instrumentation-aws-sdk:** Add semconv attributes for AWS Step Functions ([#2977](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2977)) ([c7a91fc](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/c7a91fc64d0ac819e8df7c096a25af60fd7c2f7e)) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.57.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-aws-sdk-v0.56.0...instrumentation-aws-sdk-v0.57.0) (2025-08-13) diff --git a/packages/instrumentation-aws-sdk/package.json b/packages/instrumentation-aws-sdk/package.json index ef61d4ef95..4fb923c096 100644 --- a/packages/instrumentation-aws-sdk/package.json +++ b/packages/instrumentation-aws-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-aws-sdk", - "version": "0.57.0", + "version": "0.58.0", "description": "OpenTelemetry instrumentation for `aws-sdk` and `@aws-sdk/client-*` clients for various AWS services", "keywords": [ "aws", diff --git a/packages/instrumentation-cucumber/CHANGELOG.md b/packages/instrumentation-cucumber/CHANGELOG.md index bcfb471571..bbae28147d 100644 --- a/packages/instrumentation-cucumber/CHANGELOG.md +++ b/packages/instrumentation-cucumber/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.19.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-cucumber-v0.18.1...instrumentation-cucumber-v0.19.0) (2025-09-01) + + +### Features + +* **instrumentation-cucumber:** include @cucumber/cucumber@12 ([#2958](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2958)) ([8a93515](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/8a93515ad7000b3dbdd05d9a98ba51ac979f62f1)) + ## [0.18.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-cucumber-v0.18.0...instrumentation-cucumber-v0.18.1) (2025-08-13) diff --git a/packages/instrumentation-cucumber/package.json b/packages/instrumentation-cucumber/package.json index 1bcf77c710..dff0e1cc7a 100644 --- a/packages/instrumentation-cucumber/package.json +++ b/packages/instrumentation-cucumber/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-cucumber", - "version": "0.18.1", + "version": "0.19.0", "description": "OpenTelemetry instrumentation for `@cucumber/cucumber` automated tests runner", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/instrumentation-long-task/CHANGELOG.md b/packages/instrumentation-long-task/CHANGELOG.md index fde4676a1d..c4d72b75b6 100644 --- a/packages/instrumentation-long-task/CHANGELOG.md +++ b/packages/instrumentation-long-task/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.48.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-long-task-v0.48.0...instrumentation-long-task-v0.48.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.48.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-long-task-v0.47.0...instrumentation-long-task-v0.48.0) (2025-07-09) diff --git a/packages/instrumentation-long-task/package.json b/packages/instrumentation-long-task/package.json index ca95655893..3563318178 100644 --- a/packages/instrumentation-long-task/package.json +++ b/packages/instrumentation-long-task/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-long-task", - "version": "0.48.0", + "version": "0.48.1", "description": "OpenTelemetry instrumentation for long task Web API", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/instrumentation-openai/CHANGELOG.md b/packages/instrumentation-openai/CHANGELOG.md new file mode 100644 index 0000000000..a9f5517327 --- /dev/null +++ b/packages/instrumentation-openai/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog + +## [0.1.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-openai-v0.0.1...instrumentation-openai-v0.1.0) (2025-09-01) + + +### Features + +* **instrumentation-openai:** add instrumentation of openai SDK ([#2941](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2941)) ([3e575ba](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/3e575ba431963545938e3a6627d26a33b251c15f)) diff --git a/packages/instrumentation-openai/package.json b/packages/instrumentation-openai/package.json index df919a8bcc..3ebd0a150d 100644 --- a/packages/instrumentation-openai/package.json +++ b/packages/instrumentation-openai/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-openai", - "version": "0.0.1", + "version": "0.1.0", "description": "OpenTelemetry instrumentation for the `openai` OpenAI client library", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/instrumentation-pg/CHANGELOG.md b/packages/instrumentation-pg/CHANGELOG.md index 3ecd15f551..df76b74e33 100644 --- a/packages/instrumentation-pg/CHANGELOG.md +++ b/packages/instrumentation-pg/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.56.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-pg-v0.56.0...instrumentation-pg-v0.56.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.56.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-pg-v0.55.0...instrumentation-pg-v0.56.0) (2025-08-13) diff --git a/packages/instrumentation-pg/package.json b/packages/instrumentation-pg/package.json index 63065b7dd5..edf131cae7 100644 --- a/packages/instrumentation-pg/package.json +++ b/packages/instrumentation-pg/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-pg", - "version": "0.56.0", + "version": "0.56.1", "description": "OpenTelemetry instrumentation for `pg` and `pg-pool` database client for PostgreSQL", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/instrumentation-pino/CHANGELOG.md b/packages/instrumentation-pino/CHANGELOG.md index b3c057539f..824b306086 100644 --- a/packages/instrumentation-pino/CHANGELOG.md +++ b/packages/instrumentation-pino/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.50.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-pino-v0.50.0...instrumentation-pino-v0.50.1) (2025-09-01) + + +### Bug Fixes + +* **instrumentation-pino:** Propagate all args to `mixin` ([#2983](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2983)) ([3263936](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/326393626768a6d498c8d91a5cd142f76a1ca5dd)) + ## [0.50.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-pino-v0.49.1...instrumentation-pino-v0.50.0) (2025-07-09) diff --git a/packages/instrumentation-pino/package.json b/packages/instrumentation-pino/package.json index b46cfa128f..64b63a919a 100644 --- a/packages/instrumentation-pino/package.json +++ b/packages/instrumentation-pino/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-pino", - "version": "0.50.0", + "version": "0.50.1", "description": "OpenTelemetry instrumentation for `pino` logger", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/instrumentation-redis/CHANGELOG.md b/packages/instrumentation-redis/CHANGELOG.md index 5f2460be8e..c4ca9b4cc6 100644 --- a/packages/instrumentation-redis/CHANGELOG.md +++ b/packages/instrumentation-redis/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.52.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-redis-v0.51.0...instrumentation-redis-v0.52.0) (2025-09-01) + + +### Features + +* **redis:** add support for redis v5 ([#2950](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2950)) ([8b09de9](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/8b09de916959cfc765b51aeab8b585b8c8e42a45)) + ## [0.51.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-redis-v0.50.0...instrumentation-redis-v0.51.0) (2025-07-09) diff --git a/packages/instrumentation-redis/package.json b/packages/instrumentation-redis/package.json index b108a5d5f1..7b2ceb349a 100644 --- a/packages/instrumentation-redis/package.json +++ b/packages/instrumentation-redis/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-redis", - "version": "0.51.0", + "version": "0.52.0", "description": "OpenTelemetry instrumentation for `redis` database client for Redis", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/packages/instrumentation-user-interaction/CHANGELOG.md b/packages/instrumentation-user-interaction/CHANGELOG.md index e0a2d31e51..73fac45945 100644 --- a/packages/instrumentation-user-interaction/CHANGELOG.md +++ b/packages/instrumentation-user-interaction/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.48.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-user-interaction-v0.48.0...instrumentation-user-interaction-v0.48.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.48.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-user-interaction-v0.47.0...instrumentation-user-interaction-v0.48.0) (2025-07-09) diff --git a/packages/instrumentation-user-interaction/package.json b/packages/instrumentation-user-interaction/package.json index c37c0791ac..e0264fa578 100644 --- a/packages/instrumentation-user-interaction/package.json +++ b/packages/instrumentation-user-interaction/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/instrumentation-user-interaction", - "version": "0.48.0", + "version": "0.48.1", "description": "OpenTelemetry instrumentation for user interactions as click events in a web application", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/plugin-react-load/CHANGELOG.md b/packages/plugin-react-load/CHANGELOG.md index 0ab4b5e286..08be8717d3 100644 --- a/packages/plugin-react-load/CHANGELOG.md +++ b/packages/plugin-react-load/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.35.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/plugin-react-load-v0.35.0...plugin-react-load-v0.35.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.35.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/plugin-react-load-v0.34.1...plugin-react-load-v0.35.0) (2025-07-09) diff --git a/packages/plugin-react-load/package.json b/packages/plugin-react-load/package.json index 1e714b81e4..6cbf320f94 100644 --- a/packages/plugin-react-load/package.json +++ b/packages/plugin-react-load/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/plugin-react-load", - "version": "0.35.0", + "version": "0.35.1", "description": "OpenTelemetry instrumentation for React class component lifecycle methods", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/propagator-aws-xray-lambda/CHANGELOG.md b/packages/propagator-aws-xray-lambda/CHANGELOG.md index b9d2bbc90b..80b56f5ebd 100644 --- a/packages/propagator-aws-xray-lambda/CHANGELOG.md +++ b/packages/propagator-aws-xray-lambda/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [0.55.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-aws-xray-lambda-v0.55.0...propagator-aws-xray-lambda-v0.55.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @opentelemetry/propagator-aws-xray bumped from ^2.1.0 to ^2.1.1 + ## [0.55.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-aws-xray-lambda-v0.54.0...propagator-aws-xray-lambda-v0.55.0) (2025-05-02) diff --git a/packages/propagator-aws-xray-lambda/package.json b/packages/propagator-aws-xray-lambda/package.json index 5da9782f52..a7eea7b202 100644 --- a/packages/propagator-aws-xray-lambda/package.json +++ b/packages/propagator-aws-xray-lambda/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-aws-xray-lambda", - "version": "0.55.0", + "version": "0.55.1", "description": "OpenTelemetry AWS Xray propagator provides context propagation for systems that are using AWS X-Ray format.", "main": "build/src/index.js", "module": "build/esm/index.js", @@ -60,7 +60,7 @@ "typescript": "5.0.4" }, "dependencies": { - "@opentelemetry/propagator-aws-xray": "^2.1.0" + "@opentelemetry/propagator-aws-xray": "^2.1.1" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/propagator-aws-xray-lambda#readme" } diff --git a/packages/propagator-aws-xray/CHANGELOG.md b/packages/propagator-aws-xray/CHANGELOG.md index 4da683855d..58bdea4e84 100644 --- a/packages/propagator-aws-xray/CHANGELOG.md +++ b/packages/propagator-aws-xray/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.1.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-aws-xray-v2.1.0...propagator-aws-xray-v2.1.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [2.1.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-aws-xray-v2.0.0...propagator-aws-xray-v2.1.0) (2025-05-02) diff --git a/packages/propagator-aws-xray/package.json b/packages/propagator-aws-xray/package.json index 8288f90126..b808d9efc0 100644 --- a/packages/propagator-aws-xray/package.json +++ b/packages/propagator-aws-xray/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-aws-xray", - "version": "2.1.0", + "version": "2.1.1", "description": "OpenTelemetry AWS Xray propagator provides context propagation for systems that are using AWS X-Ray format.", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/propagator-instana/CHANGELOG.md b/packages/propagator-instana/CHANGELOG.md index e538783687..f1cb0872df 100644 --- a/packages/propagator-instana/CHANGELOG.md +++ b/packages/propagator-instana/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.4.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-instana-v0.4.0...propagator-instana-v0.4.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.4.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-instana-v0.3.3...propagator-instana-v0.4.0) (2025-03-18) diff --git a/packages/propagator-instana/package.json b/packages/propagator-instana/package.json index e5e608f5dc..8f9b11a8e1 100644 --- a/packages/propagator-instana/package.json +++ b/packages/propagator-instana/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-instana", - "version": "0.4.0", + "version": "0.4.1", "description": "The OpenTelemetry Instana Propagator implements the propagation format used by IBM Observability by Instana", "main": "build/src/index.js", "module": "build/esm/index.js", diff --git a/packages/propagator-ot-trace/CHANGELOG.md b/packages/propagator-ot-trace/CHANGELOG.md index f97d02adc2..f2f3847e57 100644 --- a/packages/propagator-ot-trace/CHANGELOG.md +++ b/packages/propagator-ot-trace/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.28.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-ot-trace-v0.28.0...propagator-ot-trace-v0.28.1) (2025-09-01) + + +### Bug Fixes + +* **deps:** update all patch versions ([#2948](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2948)) ([5836d7a](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5836d7ab3244adef62b715ef22a26b54dba6719b)) + ## [0.28.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/propagator-ot-trace-v0.27.3...propagator-ot-trace-v0.28.0) (2025-03-18) diff --git a/packages/propagator-ot-trace/package.json b/packages/propagator-ot-trace/package.json index d89f015d6e..efd9553148 100644 --- a/packages/propagator-ot-trace/package.json +++ b/packages/propagator-ot-trace/package.json @@ -1,6 +1,6 @@ { "name": "@opentelemetry/propagator-ot-trace", - "version": "0.28.0", + "version": "0.28.1", "description": "The OpenTelemetry OTTracepropagator implements the propagation format used by the \"basic tracer\" implementations from the OpenTracing project", "main": "build/src/index.js", "module": "build/esm/index.js",