File tree Expand file tree Collapse file tree 11 files changed +78
-55
lines changed
Expand file tree Collapse file tree 11 files changed +78
-55
lines changed Original file line number Diff line number Diff line change 4343 "@devfile/api" : " 2.3.0-1741179368" ,
4444 "axios" : " ^1.8.3" ,
4545 "fs-extra" : " ^11.2.0" ,
46- "inversify" : " ^6.0.2 " ,
46+ "inversify" : " ^7.1.0 " ,
4747 "lodash" : " ^4.17.21" ,
4848 "js-yaml" : " ^4.0.0" ,
4949 "jsonc-parser" : " ^3.0.0" ,
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { BitbucketServerResolver } from './bitbucket-server-resolver' ;
1313import { TYPES } from '../types' ;
1414
1515const { Resolver } = TYPES ;
1616
17- const bitbucketServerModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
18- bind ( Resolver ) . to ( BitbucketServerResolver ) . inSingletonScope ( ) ;
17+ const bitbucketServerModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
18+ options . bind ( Resolver ) . to ( BitbucketServerResolver ) . inSingletonScope ( ) ;
1919} ) ;
2020
2121export { bitbucketServerModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { BitbucketResolver } from './bitbucket-resolver' ;
1313import { TYPES } from '../types' ;
1414
1515const { Resolver } = TYPES ;
1616
17- const bitbucketModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
18- bind ( Resolver ) . to ( BitbucketResolver ) . inSingletonScope ( ) ;
17+ const bitbucketModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
18+ options . bind ( Resolver ) . to ( BitbucketResolver ) . inSingletonScope ( ) ;
1919} ) ;
2020
2121export { bitbucketModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { DevfileSchemaValidator } from './devfile-schema-validator' ;
1313
14- const devfileSchemaModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
15- bind ( DevfileSchemaValidator ) . toSelf ( ) . inSingletonScope ( ) ;
14+ const devfileSchemaModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
15+ options . bind ( DevfileSchemaValidator ) . toSelf ( ) . inSingletonScope ( ) ;
1616} ) ;
1717
1818export { devfileSchemaModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { DevContainerComponentFinder } from './dev-container-component-finder' ;
1313import { DevContainerComponentInserter } from './dev-container-component-inserter' ;
1414
15- const devfileModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
16- bind ( DevContainerComponentFinder ) . toSelf ( ) . inSingletonScope ( ) ;
17- bind ( DevContainerComponentInserter ) . toSelf ( ) . inSingletonScope ( ) ;
15+ const devfileModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
16+ options . bind ( DevContainerComponentFinder ) . toSelf ( ) . inSingletonScope ( ) ;
17+ options . bind ( DevContainerComponentInserter ) . toSelf ( ) . inSingletonScope ( ) ;
1818} ) ;
1919
2020export { devfileModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { EditorResolver } from './editor-resolver' ;
1313
14- const editorModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
15- bind ( EditorResolver ) . toSelf ( ) . inSingletonScope ( ) ;
14+ const editorModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
15+ options . bind ( EditorResolver ) . toSelf ( ) . inSingletonScope ( ) ;
1616} ) ;
1717
1818export { editorModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { UrlFetcher } from './url-fetcher' ;
1313
14- const fetchModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
15- bind ( UrlFetcher ) . toSelf ( ) . inSingletonScope ( ) ;
14+ const fetchModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
15+ options . bind ( UrlFetcher ) . toSelf ( ) . inSingletonScope ( ) ;
1616} ) ;
1717
1818export { fetchModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { GithubResolver } from './github-resolver' ;
1313import { TYPES } from '../types' ;
1414
1515const { Resolver } = TYPES ;
1616
17- const githubModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
18- bind ( Resolver ) . to ( GithubResolver ) . inSingletonScope ( ) ;
17+ const githubModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
18+ options . bind ( Resolver ) . to ( GithubResolver ) . inSingletonScope ( ) ;
1919} ) ;
2020
2121export { githubModule } ;
Original file line number Diff line number Diff line change 11/**********************************************************************
2- * Copyright (c) 2022-2024
2+ * Copyright (c) 2022-2025
33 *
44 * This program and the accompanying materials are made
55 * available under the terms of the Eclipse Public License 2.0
66 * which is available at https://www.eclipse.org/legal/epl-2.0/
77 *
88 * SPDX-License-Identifier: EPL-2.0
99 ***********************************************************************/
10- import { ContainerModule , interfaces } from 'inversify' ;
10+ import { ContainerModule , ContainerModuleLoadOptions } from 'inversify' ;
1111
1212import { GitUrlResolver } from './git-url-resolver' ;
1313
14- const resolveModule = new ContainerModule ( ( bind : interfaces . Bind ) => {
15- bind ( GitUrlResolver ) . toSelf ( ) . inSingletonScope ( ) ;
14+ const resolveModule = new ContainerModule ( ( options : ContainerModuleLoadOptions ) => {
15+ options . bind ( GitUrlResolver ) . toSelf ( ) . inSingletonScope ( ) ;
1616} ) ;
1717
1818export { resolveModule } ;
You can’t perform that action at this time.
0 commit comments