@danhachuel/jobfinder 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/server/storage/jsonStore.mjs +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ All notable changes to JobFinder are documented in this file.
|
|
|
6
6
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
8
8
|
|
|
9
|
+
## [0.1.01] — 2026-11-12
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Porta padrão `3030` → `4040`**: `config.json` (default + `officialRedirectUri`), fallback do servidor e do launcher, proxy do Vite em dev, textos de ajuda e documentação.
|
|
14
|
+
- **`jsonStore` tolerante a BOM**: arquivos JSON editados por ferramentas externas (ex.: `Set-Content` do PowerShell grava BOM) não são mais tratados como corrompidos — o store remove o BOM antes do parse.
|
|
15
|
+
- **Compatibilidade publicada no npm**: `@danhachuel/jobfinder@0.1.0` (visual `0.1.00`) publicada via workflow (`latest` + `next`), instalável via `npx`.
|
|
16
|
+
|
|
9
17
|
## [0.1.00] — 2026-11-12
|
|
10
18
|
|
|
11
19
|
First functional release of JobFinder (deliverables of PRD §12):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danhachuel/jobfinder",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.01",
|
|
4
4
|
"description": "JobFinder — local-first LinkedIn automation (posts, connections/DMs, job matching) with a React + Vite UI. Single-user, JSON storage, no external database.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"linkedin",
|
|
@@ -39,7 +39,10 @@ export class JsonStore {
|
|
|
39
39
|
return fallback;
|
|
40
40
|
}
|
|
41
41
|
try {
|
|
42
|
-
|
|
42
|
+
// Some editors (e.g. Windows PowerShell Set-Content) write a BOM —
|
|
43
|
+
// strip it before parsing so external edits never look "corrupt".
|
|
44
|
+
const raw = fs.readFileSync(file, 'utf8').replace(/^\uFEFF/, '');
|
|
45
|
+
const data = JSON.parse(raw);
|
|
43
46
|
this.cache.set(name, data);
|
|
44
47
|
return data;
|
|
45
48
|
} catch (err) {
|