Compare commits
No commits in common. "master" and "v1.5.1" have entirely different histories.
12
changelog.md
12
changelog.md
@ -1,17 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 2025-04-09 - 1.5.3 - fix(test)
|
|
||||||
Await file writes in Handelsregister tests to ensure all downloads complete before test end
|
|
||||||
|
|
||||||
- Replaced array.map with await Promise.all to properly await asynchronous file writes in test/test.handelsregister.ts
|
|
||||||
- Improved robustness of asynchronous operations in test suite
|
|
||||||
|
|
||||||
## 2025-04-09 - 1.5.2 - fix(readme)
|
|
||||||
Improve .env configuration code block formatting in documentation
|
|
||||||
|
|
||||||
- Wrap the .env variables block in triple backticks for clarity
|
|
||||||
- Ensure consistency in the Markdown styling of code snippets
|
|
||||||
|
|
||||||
## 2025-04-09 - 1.5.1 - fix(core)
|
## 2025-04-09 - 1.5.1 - fix(core)
|
||||||
No changes detected in project files or documentation. This commit is a placeholder to record that nothing was updated.
|
No changes detected in project files or documentation. This commit is a placeholder to record that nothing was updated.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fin.cx/opendata",
|
"name": "@fin.cx/opendata",
|
||||||
"version": "1.5.3",
|
"version": "1.5.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A comprehensive TypeScript library that manages open business data for German companies by integrating MongoDB, processing JSONL bulk data, and automating browser interactions for Handelsregister data retrieval.",
|
"description": "A comprehensive TypeScript library that manages open business data for German companies by integrating MongoDB, processing JSONL bulk data, and automating browser interactions for Handelsregister data retrieval.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -43,12 +43,12 @@ Before diving into any operations, ensure that your development environment is p
|
|||||||
|
|
||||||
Below is an example .env file for local development:
|
Below is an example .env file for local development:
|
||||||
|
|
||||||
```
|
------------------------------------------------------------
|
||||||
MONGODB_URL=mongodb://localhost:27017
|
MONGODB_URL=mongodb://localhost:27017
|
||||||
MONGODB_NAME=opendataDB
|
MONGODB_NAME=opendataDB
|
||||||
MONGODB_USER=myUser
|
MONGODB_USER=myUser
|
||||||
MONGODB_PASS=myPass
|
MONGODB_PASS=myPass
|
||||||
```
|
------------------------------------------------------------
|
||||||
|
|
||||||
Once these variables are set, the library can fetch them using the integrated qenv tool. The following code snippet demonstrates how to import and initialize the library:
|
Once these variables are set, the library can fetch them using the integrated qenv tool. The following code snippet demonstrates how to import and initialize the library:
|
||||||
|
|
||||||
|
@ -27,9 +27,9 @@ tap.test('should get the data for a specific company', async () => {
|
|||||||
const result = await testOpenDataInstance.handelsregister.getSpecificCompany(testCompany);
|
const result = await testOpenDataInstance.handelsregister.getSpecificCompany(testCompany);
|
||||||
console.log(result);
|
console.log(result);
|
||||||
|
|
||||||
await Promise.all(result.files.map(async (file) => {
|
result.files.map(async (file) => {
|
||||||
await file.writeToDir('./.nogit/testoutput');
|
await file.writeToDir('./.nogit/testoutput');
|
||||||
}));
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@fin.cx/opendata',
|
name: '@fin.cx/opendata',
|
||||||
version: '1.5.3',
|
version: '1.5.1',
|
||||||
description: 'A comprehensive TypeScript library that manages open business data for German companies by integrating MongoDB, processing JSONL bulk data, and automating browser interactions for Handelsregister data retrieval.'
|
description: 'A comprehensive TypeScript library that manages open business data for German companies by integrating MongoDB, processing JSONL bulk data, and automating browser interactions for Handelsregister data retrieval.'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user