This is an automated email from the ASF dual-hosted git repository.
mgubaidullin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 5af0eb89 Upgrade karavan-core dependencies
5af0eb89 is described below
commit 5af0eb89a47b7d227d303de45783293e153fefc7
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Tue Aug 18 09:56:33 2026 -0400
Upgrade karavan-core dependencies
---
karavan-core/package.json | 27 +++++++++++++++------------
karavan-core/test/addStep.spec.ts | 2 +-
karavan-core/test/tsconfig.testing.json | 20 +++++++++-----------
karavan-core/tsconfig.json | 13 +++++++------
4 files changed, 32 insertions(+), 30 deletions(-)
diff --git a/karavan-core/package.json b/karavan-core/package.json
index 9e0dac26..f7073c8e 100644
--- a/karavan-core/package.json
+++ b/karavan-core/package.json
@@ -37,21 +37,24 @@
"homepage": "https://github.com/apache/camel-karavan#readme",
"dependencies": {
"@types/js-yaml": "^4.0.9",
- "@types/uuid": "^10.0.0",
+ "@types/uuid": "^11.0.0",
"tsconfig-paths": "^4.2.0",
- "uuid": "10.0.0"
+ "uuid": "14.0.1"
},
"devDependencies": {
- "@types/chai": "^4.3.16",
- "@types/dagre": "^0.7.52",
- "@types/mocha": "^10.0.7",
- "@types/node": "20.14.9",
- "typescript": "4.9.5",
- "chai": "^5.1.1",
- "cross-env": "^7.0.3",
- "fs": "^0.0.1-security",
- "mocha": "^10.5.2",
+ "@types/chai": "^5.2.3",
+ "@types/dagre": "^0.7.54",
+ "@types/mocha": "^10.0.10",
+ "@types/node": "^26.2.0",
+ "chai": "^6.2.2",
+ "cross-env": "^10.1.0",
+ "mocha": "^11.8.0",
"ts-node": "^10.9.2",
- "tsc-alias": "^1.8.10"
+ "tsc-alias": "^1.9.2",
+ "typescript": "6.0.3"
+ },
+ "overrides": {
+ "diff": "^9.0.0",
+ "serialize-javascript": "^7.1.0"
}
}
diff --git a/karavan-core/test/addStep.spec.ts
b/karavan-core/test/addStep.spec.ts
index 6f6928bb..4ab65f50 100644
--- a/karavan-core/test/addStep.spec.ts
+++ b/karavan-core/test/addStep.spec.ts
@@ -29,8 +29,8 @@ import {CamelDefinitionApiExt} from
"../src/core/api/CamelDefinitionApiExt";
import {CamelDefinitionYaml} from "../src/core/api/CamelDefinitionYaml";
import {SimpleExpression} from "../src/core/model/CamelDefinition";
import {Integration} from "../src/core/model/IntegrationDefinition";
-import * as fs from 'fs';
import { OnWhenDefinition } from '../lib/model/CamelDefinition';
+import * as fs from 'node:fs';
describe('Add Step', () => {
diff --git a/karavan-core/test/tsconfig.testing.json
b/karavan-core/test/tsconfig.testing.json
index fa574d25..b03d4f6b 100644
--- a/karavan-core/test/tsconfig.testing.json
+++ b/karavan-core/test/tsconfig.testing.json
@@ -1,14 +1,12 @@
{
+ "extends": "../tsconfig.json",
"compilerOptions": {
- "module": "ES2022",
- "target": "ES2022",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext",
- "ES2021",
- "ES2021.String"
- ]
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "types": ["node", "mocha", "chai"]
},
- "include": ["**/*.spec.ts"]
-}
+ "include": [
+ "../src/**/*.ts",
+ "**/*.ts"
+ ]
+}
\ No newline at end of file
diff --git a/karavan-core/tsconfig.json b/karavan-core/tsconfig.json
index 95d03a81..d39b5d09 100644
--- a/karavan-core/tsconfig.json
+++ b/karavan-core/tsconfig.json
@@ -5,9 +5,11 @@
},
"compilerOptions": {
"target": "ES2022",
- "module": "es2022",
+ "module": "ESNext",
+ "moduleResolution": "bundler",
"declaration": true,
"outDir": "./lib",
+ "rootDir": "./src",
"strict": true,
"lib": [
"dom",
@@ -16,9 +18,9 @@
"ES2021",
"ES2021.String"
],
- "moduleResolution": "node",
"resolveJsonModule": true,
- "isolatedModules": true
+ "isolatedModules": true,
+ "types": ["node", "mocha", "chai"]
},
"tsc-alias": {
"resolveFullPaths": true,
@@ -28,7 +30,6 @@
"src"
],
"exclude": [
- "node_modules",
- "**/test/*"
+ "node_modules"
]
-}
+}
\ No newline at end of file