From da2a769d7c0c2ace99c5d7a096d7e9ff48880610 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Mar 2025 10:03:15 +0000 Subject: [PATCH 1/3] chore(deps): Bump inversify from 6.2.2 to 7.1.0 Bumps [inversify](https://github.com/inversify/InversifyJS) from 6.2.2 to 7.1.0. - [Release notes](https://github.com/inversify/InversifyJS/releases) - [Changelog](https://github.com/inversify/InversifyJS/blob/master/CHANGELOG.md) - [Commits](https://github.com/inversify/InversifyJS/compare/v6.2.2...v7.1.0) --- updated-dependencies: - dependency-name: inversify dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 58 ++++++++++++++++++++++++++++++++++------------------ 2 files changed, 39 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index c1f9976..7ca33e6 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@devfile/api": "2.3.0-1741179368", "axios": "^1.8.3", "fs-extra": "^11.2.0", - "inversify": "^6.0.2", + "inversify": "^7.1.0", "lodash": "^4.17.21", "js-yaml": "^4.0.0", "jsonc-parser": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 4db5740..c410c00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -536,23 +536,40 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.4.2.tgz#1860473de7dfa1546767448f333db80cb0ff2161" integrity sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ== -"@inversifyjs/common@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@inversifyjs/common/-/common-1.4.0.tgz#4df42e8cb012a1630ebf2f3c65bb76ac5b0f3e4c" - integrity sha512-qfRJ/3iOlCL/VfJq8+4o5X4oA14cZSBbpAmHsYj8EsIit1xDndoOl0xKOyglKtQD4u4gdNVxMHx4RWARk/I4QA== +"@inversifyjs/common@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@inversifyjs/common/-/common-1.5.0.tgz#542cdb0cfc02e36cca5a19208af726ecf904d400" + integrity sha512-Qj5BELk11AfI2rgZEAaLPmOftmQRLLmoCXgAjmaF0IngQN5vHomVT5ML7DZ3+CA5fgGcEVMcGbUDAun+Rz+oNg== + +"@inversifyjs/container@1.5.4": + version "1.5.4" + resolved "https://registry.yarnpkg.com/@inversifyjs/container/-/container-1.5.4.tgz#1ec2d798e5b348053ca4ff1344d9eeb009f6c754" + integrity sha512-mHAaWjAQb8m6TJksm5EJXW/kPcZFVEc1UKkWv5OnLbwbU0QvxM2UbEsuXzusGVHcrNY4TQp9Uh2wkRY6TN2WJg== + dependencies: + "@inversifyjs/common" "1.5.0" + "@inversifyjs/core" "5.0.0" + "@inversifyjs/reflect-metadata-utils" "1.1.0" + +"@inversifyjs/core@5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@inversifyjs/core/-/core-5.0.0.tgz#cb3ff2329d04a4287263c9ad1599b44a6073ffde" + integrity sha512-axOl+VZFGVA3nAMbs6RuHhQ8HvgO6/tKjlWJk4Nt0rUqed+1ksak4p5yZNtown1Kdm0GV2Oc57qLqqWd943hgA== + dependencies: + "@inversifyjs/common" "1.5.0" + "@inversifyjs/prototype-utils" "0.1.0" + "@inversifyjs/reflect-metadata-utils" "1.1.0" -"@inversifyjs/core@1.3.5": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@inversifyjs/core/-/core-1.3.5.tgz#c02ee3ed036aae40189302794f16a9f4e0ed4557" - integrity sha512-B4MFXabhNTAmrfgB+yeD6wd/GIvmvWC6IQ8Rh/j2C3Ix69kmqwz9pr8Jt3E+Nho9aEHOQCZaGmrALgtqRd+oEQ== +"@inversifyjs/prototype-utils@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@inversifyjs/prototype-utils/-/prototype-utils-0.1.0.tgz#1378596f3d708244f390e9b233599b862aba450d" + integrity sha512-lNz1yyajMRDXBHLvJsYYX81FcmeD15e5Qz1zAZ/3zeYTl+u7ZF/GxNRKJzNOloeMPMtuR8BnvzHA1SZxjR+J9w== dependencies: - "@inversifyjs/common" "1.4.0" - "@inversifyjs/reflect-metadata-utils" "0.2.4" + "@inversifyjs/common" "1.5.0" -"@inversifyjs/reflect-metadata-utils@0.2.4": - version "0.2.4" - resolved "https://registry.yarnpkg.com/@inversifyjs/reflect-metadata-utils/-/reflect-metadata-utils-0.2.4.tgz#c65172283db9516c4a27e8d673ca7a31a07d528b" - integrity sha512-u95rV3lKfG+NT2Uy/5vNzoDujos8vN8O18SSA5UyhxsGYd4GLQn/eUsGXfOsfa7m34eKrDelTKRUX1m/BcNX5w== +"@inversifyjs/reflect-metadata-utils@1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@inversifyjs/reflect-metadata-utils/-/reflect-metadata-utils-1.1.0.tgz#193ab71b92d47a8073e65e5bab640762bc435dcb" + integrity sha512-jmuAuC3eL1GnFAYfJGJOMKRDL9q1mgzOyrban6zxfM8Yg1FUHsj25h27bW2G7p8X1Amvhg3MLkaOuogszkrofA== "@isaacs/cliui@^8.0.2": version "8.0.2" @@ -1942,13 +1959,14 @@ inherits@2: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -inversify@^6.0.2: - version "6.2.2" - resolved "https://registry.yarnpkg.com/inversify/-/inversify-6.2.2.tgz#53b164d0c5753a47477a0d68be56f8e8bc3bafeb" - integrity sha512-KB836KHbZ9WrUnB8ax5MtadOwnqQYa+ZJO3KWbPFgcr4RIEnHM621VaqFZzOZd9+U7ln6upt9n0wJei7x2BNqw== +inversify@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/inversify/-/inversify-7.1.0.tgz#cabece2627f764ca33f2af0d05f5cfb7ecbca756" + integrity sha512-f8SlUTgecMZGr/rsFK36PD84/mH0+sp0/P/TuiGo3CcJywmF5kgoXeE2RW5IjaIt1SlqS5c5V9RuQc1+B8mw4Q== dependencies: - "@inversifyjs/common" "1.4.0" - "@inversifyjs/core" "1.3.5" + "@inversifyjs/common" "1.5.0" + "@inversifyjs/container" "1.5.4" + "@inversifyjs/core" "5.0.0" is-arrayish@^0.2.1: version "0.2.1" From 224f20d859c2d3de2e72804b49c97ced203e1302 Mon Sep 17 00:00:00 2001 From: Valeriy Svydenko Date: Thu, 20 Mar 2025 16:54:46 +0200 Subject: [PATCH 2/3] fix errors after upgrading inversify to 7.1.0 Signed-off-by: Valeriy Svydenko --- src/bitbucket-server/bitbucket-server-module.ts | 8 ++++---- src/bitbucket/bitbucket-module.ts | 8 ++++---- src/devfile-schema/devfile-schema-module.ts | 8 ++++---- src/devfile/devfile-module.ts | 10 +++++----- src/editor/editor-module.ts | 8 ++++---- src/fetch/fetch-module.ts | 8 ++++---- src/github/github-module.ts | 8 ++++---- src/resolve/resolve-module.ts | 8 ++++---- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/bitbucket-server/bitbucket-server-module.ts b/src/bitbucket-server/bitbucket-server-module.ts index 9b83538..425f28e 100644 --- a/src/bitbucket-server/bitbucket-server-module.ts +++ b/src/bitbucket-server/bitbucket-server-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,15 +7,15 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { BitbucketServerResolver } from './bitbucket-server-resolver'; import { TYPES } from '../types'; const { Resolver } = TYPES; -const bitbucketServerModule = new ContainerModule((bind: interfaces.Bind) => { - bind(Resolver).to(BitbucketServerResolver).inSingletonScope(); +const bitbucketServerModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(Resolver).to(BitbucketServerResolver).inSingletonScope(); }); export { bitbucketServerModule }; diff --git a/src/bitbucket/bitbucket-module.ts b/src/bitbucket/bitbucket-module.ts index e6ee74f..c952b52 100644 --- a/src/bitbucket/bitbucket-module.ts +++ b/src/bitbucket/bitbucket-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,15 +7,15 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { BitbucketResolver } from './bitbucket-resolver'; import { TYPES } from '../types'; const { Resolver } = TYPES; -const bitbucketModule = new ContainerModule((bind: interfaces.Bind) => { - bind(Resolver).to(BitbucketResolver).inSingletonScope(); +const bitbucketModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(Resolver).to(BitbucketResolver).inSingletonScope(); }); export { bitbucketModule }; diff --git a/src/devfile-schema/devfile-schema-module.ts b/src/devfile-schema/devfile-schema-module.ts index 580469e..f0ca20d 100644 --- a/src/devfile-schema/devfile-schema-module.ts +++ b/src/devfile-schema/devfile-schema-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,12 +7,12 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { DevfileSchemaValidator } from './devfile-schema-validator'; -const devfileSchemaModule = new ContainerModule((bind: interfaces.Bind) => { - bind(DevfileSchemaValidator).toSelf().inSingletonScope(); +const devfileSchemaModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(DevfileSchemaValidator).toSelf().inSingletonScope(); }); export { devfileSchemaModule }; diff --git a/src/devfile/devfile-module.ts b/src/devfile/devfile-module.ts index c2accb9..0a4502a 100644 --- a/src/devfile/devfile-module.ts +++ b/src/devfile/devfile-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,14 +7,14 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { DevContainerComponentFinder } from './dev-container-component-finder'; import { DevContainerComponentInserter } from './dev-container-component-inserter'; -const devfileModule = new ContainerModule((bind: interfaces.Bind) => { - bind(DevContainerComponentFinder).toSelf().inSingletonScope(); - bind(DevContainerComponentInserter).toSelf().inSingletonScope(); +const devfileModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(DevContainerComponentFinder).toSelf().inSingletonScope(); + options.bind(DevContainerComponentInserter).toSelf().inSingletonScope(); }); export { devfileModule }; diff --git a/src/editor/editor-module.ts b/src/editor/editor-module.ts index 432a68f..09a52e1 100644 --- a/src/editor/editor-module.ts +++ b/src/editor/editor-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,12 +7,12 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { EditorResolver } from './editor-resolver'; -const editorModule = new ContainerModule((bind: interfaces.Bind) => { - bind(EditorResolver).toSelf().inSingletonScope(); +const editorModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(EditorResolver).toSelf().inSingletonScope(); }); export { editorModule }; diff --git a/src/fetch/fetch-module.ts b/src/fetch/fetch-module.ts index c9928f6..2bca11f 100644 --- a/src/fetch/fetch-module.ts +++ b/src/fetch/fetch-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,12 +7,12 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { UrlFetcher } from './url-fetcher'; -const fetchModule = new ContainerModule((bind: interfaces.Bind) => { - bind(UrlFetcher).toSelf().inSingletonScope(); +const fetchModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(UrlFetcher).toSelf().inSingletonScope(); }); export { fetchModule }; diff --git a/src/github/github-module.ts b/src/github/github-module.ts index 282b9d1..39b9c59 100644 --- a/src/github/github-module.ts +++ b/src/github/github-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,15 +7,15 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { GithubResolver } from './github-resolver'; import { TYPES } from '../types'; const { Resolver } = TYPES; -const githubModule = new ContainerModule((bind: interfaces.Bind) => { - bind(Resolver).to(GithubResolver).inSingletonScope(); +const githubModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(Resolver).to(GithubResolver).inSingletonScope(); }); export { githubModule }; diff --git a/src/resolve/resolve-module.ts b/src/resolve/resolve-module.ts index d5cc787..a3e7c3f 100644 --- a/src/resolve/resolve-module.ts +++ b/src/resolve/resolve-module.ts @@ -1,5 +1,5 @@ /********************************************************************** - * Copyright (c) 2022-2024 + * Copyright (c) 2022-2025 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -7,12 +7,12 @@ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ -import { ContainerModule, interfaces } from 'inversify'; +import { ContainerModule, ContainerModuleLoadOptions } from 'inversify'; import { GitUrlResolver } from './git-url-resolver'; -const resolveModule = new ContainerModule((bind: interfaces.Bind) => { - bind(GitUrlResolver).toSelf().inSingletonScope(); +const resolveModule = new ContainerModule((options: ContainerModuleLoadOptions) => { + options.bind(GitUrlResolver).toSelf().inSingletonScope(); }); export { resolveModule }; From a4329b99bc4550b2e6674dfbb3d0c29b6ddc40f3 Mon Sep 17 00:00:00 2001 From: Valeriy Svydenko Date: Mon, 7 Apr 2025 12:20:47 +0300 Subject: [PATCH 3/3] fix: exlude transitive deps from lixense checker Signed-off-by: Valeriy Svydenko --- .deps/EXCLUDED/prod.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.deps/EXCLUDED/prod.md b/.deps/EXCLUDED/prod.md index 53501d8..0340a0b 100644 --- a/.deps/EXCLUDED/prod.md +++ b/.deps/EXCLUDED/prod.md @@ -2,4 +2,9 @@ This file lists dependencies that do not need CQs or auto-detection does not wor | Packages | Resolved CQs | | --- | --- | -| `@devfile/api@2.3.0-1741179368` | N/A | \ No newline at end of file +| `@devfile/api@2.3.0-1741179368` | N/A | +| `@inversifyjs/common@1.5.0` | transitive dependency | +| `@inversifyjs/container@1.5.4` | transitive dependency | +| `@inversifyjs/core@5.0.0` | transitive dependency | +| `@inversifyjs/prototype-utils@0.1.0` | transitive dependency | +| `@inversifyjs/reflect-metadata-utils@1.1.0` | transitive dependency |