Skip to content

Commit 38e97a8

Browse files
dependabot[bot]basti1302
authored andcommitted
chore(deps-dev): bump the development-dependencies group across 1 directory with 12 updates
Bumps the development-dependencies group with 12 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.6.0` | `9.8.0` | | [@grpc/grpc-js](https://github.com/grpc/grpc-node) | `1.10.10` | `1.11.1` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.14.10` | `22.0.3` | | [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) | `10.4.3` | `10.5.0` | | [mocha](https://github.com/mochajs/mocha) | `10.6.0` | `10.7.0` | | [prettier](https://github.com/prettier/prettier) | `3.3.2` | `3.3.3` | | [rimraf](https://github.com/isaacs/rimraf) | `6.0.0` | `6.0.1` | | [semver](https://github.com/npm/node-semver) | `7.6.2` | `7.6.3` | | [ts-proto](https://github.com/stephenh/ts-proto) | `1.181.0` | `1.181.1` | | [type-fest](https://github.com/sindresorhus/type-fest) | `4.21.0` | `4.23.0` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.5.3` | `5.5.4` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `7.16.0` | `8.0.0` | Updates `@eslint/js` from 9.6.0 to 9.8.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.8.0/packages/js) Updates `@grpc/grpc-js` from 1.10.10 to 1.11.1 - [Release notes](https://github.com/grpc/grpc-node/releases) - [Commits](https://github.com/grpc/grpc-node/compare/@grpc/[email protected]...@grpc/[email protected]) Updates `@types/node` from 20.14.10 to 22.0.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-mocha` from 10.4.3 to 10.5.0 - [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases) - [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/10.5.0/CHANGELOG.md) - [Commits](lo1tuma/eslint-plugin-mocha@10.4.3...10.5.0) Updates `mocha` from 10.6.0 to 10.7.0 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v10.6.0...v10.7.0) Updates `prettier` from 3.3.2 to 3.3.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.2...3.3.3) Updates `rimraf` from 6.0.0 to 6.0.1 - [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md) - [Commits](isaacs/rimraf@v6.0.0...v6.0.1) Updates `semver` from 7.6.2 to 7.6.3 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.6.2...v7.6.3) Updates `ts-proto` from 1.181.0 to 1.181.1 - [Release notes](https://github.com/stephenh/ts-proto/releases) - [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md) - [Commits](stephenh/ts-proto@v1.181.0...v1.181.1) Updates `type-fest` from 4.21.0 to 4.23.0 - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](sindresorhus/type-fest@v4.21.0...v4.23.0) Updates `typescript` from 5.5.3 to 5.5.4 - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.5.3...v5.5.4) Updates `typescript-eslint` from 7.16.0 to 8.0.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@grpc/grpc-js" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies - dependency-name: eslint-plugin-mocha dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: rimraf dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: semver dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: ts-proto dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: type-fest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 5a7f891 commit 38e97a8

File tree

9 files changed

+288
-52
lines changed

9 files changed

+288
-52
lines changed

eslint.config.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
/* global module, require */
5-
/* eslint-disable @typescript-eslint/no-var-requires */
5+
/* eslint-disable @typescript-eslint/no-require-imports */
66

77
'use strict';
88

@@ -50,4 +50,16 @@ module.exports = tsEsLint.config(
5050
'unusedImports/no-unused-imports': 'error',
5151
},
5252
},
53+
{
54+
files: ['src/**/*_test.*', 'test/**/*'],
55+
rules: {
56+
'@typescript-eslint/no-unused-expressions': 'off',
57+
},
58+
},
59+
{
60+
files: ['**/.mocharc.*'],
61+
rules: {
62+
'@typescript-eslint/no-require-imports': 'off',
63+
},
64+
},
5365
);

package-lock.json

Lines changed: 261 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@types/chai": "^4.3.16",
7474
"@types/is-ci": "^3.0.4",
7575
"@types/mocha": "^10.0.7",
76-
"@types/node": "^20.14.9",
76+
"@types/node": "^22.0.3",
7777
"@types/semver": "^7.5.8",
7878
"@types/sinon": "^17.0.3",
7979
"chai": "^4.4.1",
@@ -95,6 +95,6 @@
9595
"ts-proto": "^1.181.0",
9696
"type-fest": "^4.20.1",
9797
"typescript": "^5.5.3",
98-
"typescript-eslint": "^7.15.0"
98+
"typescript-eslint": "^8.0.0"
9999
}
100100
}

src/detectors/node/opentelemetry-resource-detector-kubernetes-pod/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export default class PodUidDetector implements DetectorSync {
9595
let etcHosts: string;
9696
try {
9797
etcHosts = String(await readFile(etcHostsFileName, { encoding: 'utf8' }));
98+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
9899
} catch (e) {
99100
return false;
100101
}
@@ -112,6 +113,7 @@ export default class PodUidDetector implements DetectorSync {
112113
let content;
113114
try {
114115
content = await readFile(filename, { encoding: 'utf8' });
116+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
115117
} catch (e) {
116118
return [];
117119
}

src/detectors/node/opentelemetry-resource-detector-service-name-fallback/packageJsonUtil.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ async function findAndParsePackageJsonFromEntrypoint(): Promise<PackageJson | nu
6666
let entrypointStat;
6767
try {
6868
entrypointStat = await stat(entrypoint);
69+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6970
} catch (e) {
7071
return null;
7172
}
@@ -140,6 +141,7 @@ async function readAndParse(directory: string, packageJsonPath: string): Promise
140141
let packageJsonContent;
141142
try {
142143
packageJsonContent = await readFile(packageJsonPath, { encoding: 'utf8' });
144+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
143145
} catch (e) {
144146
// package.json candidate may not be readable (no permissions)
145147
return traverseToParent(directory);
@@ -150,6 +152,7 @@ async function readAndParse(directory: string, packageJsonPath: string): Promise
150152
async function parse(directory: string, packageJsonContent: string): Promise<PackageJson | null> {
151153
try {
152154
return JSON.parse(packageJsonContent);
155+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
153156
} catch (e) {
154157
return traverseToParent(directory);
155158
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function init() {
3030
);
3131
}
3232

33+
// eslint-disable-next-line @typescript-eslint/no-require-imports
3334
require('./init');
3435
} catch (e) {
3536
logProhibitiveError(`Initialization failed: ${e}`);

src/init.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,18 @@ let version: string;
2828
try {
2929
// In the published package, the transpiled JS files are in dist/src/init.js, therefore the relative path to
3030
// package.json is two levels above the directory of init.js.
31+
// eslint-disable-next-line @typescript-eslint/no-require-imports
3132
packageJson = require('../../package.json');
3233
} catch (e1) {
3334
try {
3435
// In development, the directory is just src, therefore the relative path to package.json is only one level above.
36+
// eslint-disable-next-line @typescript-eslint/no-require-imports
3537
packageJson = require('../package.json');
3638
} catch (e2) {
3739
printDebugStderr(
3840
'Unable to find our own package.json file, will not transmit telemetry.distro.version. This warning can be safely ignored.',
3941
e1,
40-
e1,
42+
e2,
4143
);
4244
}
4345
}

src/util/FileSpanExporter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export class FileSpanExporter implements SpanExporter {
6969
let fileHandle;
7070
try {
7171
fileHandle = await this.file;
72+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7273
} catch (e) {
7374
if (done) {
7475
done({ code: ExportResultCode.FAILED });

test/integration/test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ describe('attach', () => {
339339
try {
340340
await unlink(spanFilename);
341341
// await unlink(metricsFilename);
342+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
342343
} catch (e) {
343344
// ignore
344345
}
@@ -358,6 +359,7 @@ describe('attach', () => {
358359
for await (const line of spanFile.readLines()) {
359360
try {
360361
spans.push(JSON.parse(line));
362+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
361363
} catch (error) {
362364
// ignore malformed lines
363365
}

0 commit comments

Comments
 (0)