Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .deps/EXCLUDED/prod.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| `@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 |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions src/bitbucket-server/bitbucket-server-module.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
8 changes: 4 additions & 4 deletions src/bitbucket/bitbucket-module.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
8 changes: 4 additions & 4 deletions src/devfile-schema/devfile-schema-module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
10 changes: 5 additions & 5 deletions src/devfile/devfile-module.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
8 changes: 4 additions & 4 deletions src/editor/editor-module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
8 changes: 4 additions & 4 deletions src/fetch/fetch-module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
8 changes: 4 additions & 4 deletions src/github/github-module.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
8 changes: 4 additions & 4 deletions src/resolve/resolve-module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**********************************************************************
* 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* 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 };
58 changes: 38 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -1947,13 +1964,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"
Expand Down