fix(dependencies & tests): Update dependency versions and refine test search query

This commit is contained in:
Philipp Kunz 2025-04-05 09:02:32 +00:00
parent 39724b61d6
commit 43c9d3b3b6
5 changed files with 1475 additions and 1358 deletions

View File

@ -1,5 +1,12 @@
# Changelog # Changelog
## 2025-04-05 - 1.4.4 - fix(dependencies & tests)
Update dependency versions and refine test search query
- Bumped versions for several dependencies in package.json, including @git.zone/tsbuild, @git.zone/tsbundle, @git.zone/tstest, @push.rocks/tapbundle, @push.rocks/smartdata, @push.rocks/smartfile, @push.rocks/smartpromise, @push.rocks/smartrequest, and @tsclass/tsclass
- Updated test file to replace the search query 'Volkswagen' with 'LADR'
- Re-enabled the build initial data test by removing tap.skip
## 2025-01-07 - 1.4.3 - fix(test) ## 2025-01-07 - 1.4.3 - fix(test)
Corrected index value in test for fetching specific company data Corrected index value in test for fetching specific company data

View File

@ -14,12 +14,12 @@
"buildDocs": "(tsdoc)" "buildDocs": "(tsdoc)"
}, },
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^2.2.0", "@git.zone/tsbuild": "^2.3.2",
"@git.zone/tsbundle": "^2.1.0", "@git.zone/tsbundle": "^2.2.5",
"@git.zone/tsrun": "^1.3.3", "@git.zone/tsrun": "^1.3.3",
"@git.zone/tstest": "^1.0.90", "@git.zone/tstest": "^1.0.96",
"@push.rocks/tapbundle": "^5.5.4", "@push.rocks/tapbundle": "^5.6.2",
"@types/node": "^22.10.5" "@types/node": "^22.14.0"
}, },
"dependencies": { "dependencies": {
"@push.rocks/lik": "^6.1.0", "@push.rocks/lik": "^6.1.0",
@ -27,16 +27,16 @@
"@push.rocks/smartarchive": "^4.0.39", "@push.rocks/smartarchive": "^4.0.39",
"@push.rocks/smartarray": "^1.1.0", "@push.rocks/smartarray": "^1.1.0",
"@push.rocks/smartbrowser": "^2.0.8", "@push.rocks/smartbrowser": "^2.0.8",
"@push.rocks/smartdata": "^5.2.10", "@push.rocks/smartdata": "^5.2.12",
"@push.rocks/smartdelay": "^3.0.5", "@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartfile": "^11.1.5", "@push.rocks/smartfile": "^11.2.0",
"@push.rocks/smartpath": "^5.0.18", "@push.rocks/smartpath": "^5.0.18",
"@push.rocks/smartpromise": "^4.1.0", "@push.rocks/smartpromise": "^4.2.3",
"@push.rocks/smartrequest": "^2.0.23", "@push.rocks/smartrequest": "^2.1.0",
"@push.rocks/smartstream": "^3.2.5", "@push.rocks/smartstream": "^3.2.5",
"@push.rocks/smartunique": "^3.0.9", "@push.rocks/smartunique": "^3.0.9",
"@push.rocks/smartxml": "^1.1.1", "@push.rocks/smartxml": "^1.1.1",
"@tsclass/tsclass": "^4.2.0" "@tsclass/tsclass": "^8.2.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -76,5 +76,6 @@
"data processing", "data processing",
"data retrieval", "data retrieval",
"data update" "data update"
] ],
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"
} }

2797
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -17,12 +17,12 @@ tap.test('should start the instance', async () => {
await testOpenDataInstance.start(); await testOpenDataInstance.start();
}) })
tap.skip.test('should build initial data', async () => { tap.test('should build initial data', async () => {
await testOpenDataInstance.buildInitialDb(); await testOpenDataInstance.buildInitialDb();
}); });
const resultsSearch = tap.test('should get the data for a company', async () => { const resultsSearch = tap.test('should get the data for a company', async () => {
const result = await testOpenDataInstance.handelsregister.searchCompany('Volkswagen', 20); const result = await testOpenDataInstance.handelsregister.searchCompany('LADR', 20);
console.log(result); console.log(result);
return result; return result;
}); });

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@fin.cx/opendata', name: '@fin.cx/opendata',
version: '1.4.3', version: '1.4.4',
description: 'A TypeScript library for accessing, managing, and updating open business data, focused on German companies and integrating with MongoDB.' description: 'A TypeScript library for accessing, managing, and updating open business data, focused on German companies and integrating with MongoDB.'
} }