Skip to content

Commit c605cb0

Browse files
committed
fix: remove invalid characters from JSON files
1 parent d2c9a21 commit c605cb0

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"maintainers": [
1717
{
18-
"name": "nirholas",​‌‌​‌‌‌​​‌‌​‌​​‌​‌‌​​​‌‌​‌‌​‌​​​
18+
"name": "nirholas",
1919
"url": "https://github.com/nirholas"
2020
}
2121
],
@@ -80,7 +80,7 @@
8080
"globals": "^17.0.0",
8181
"jsdom": "^27.4.0",
8282
"postcss": "^8.5.6",
83-
"tailwindcss": "^3.4.17",​‌‌​‌‌‌​​‌‌​‌​​‌​‌‌​​​‌‌​‌‌​‌​​​
83+
"tailwindcss": "^3.4.17",
8484
"typescript": "^5.9.3",
8585
"typescript-eslint": "^8.53.0",
8686
"vite": "^7.3.1",
@@ -109,5 +109,5 @@
109109
"diff": "^8.0.3",
110110
"path-to-regexp": "^8.0.0",
111111
"undici": "^7.0.0"
112-
},
112+
}
113113
}

public/openapi.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
}
5757
},
5858
"responses": {
59-
"200": {​‌‌​‌‌‌​​‌‌​‌​​‌​‌‌​​​‌‌​‌‌​‌​​​
59+
"200": {
6060
"description": "Compilation result",
6161
"content": {
6262
"application/json": {
@@ -231,7 +231,7 @@
231231
"type": "array",
232232
"items": {
233233
"type": "object",
234-
"properties": {​‌‌​‌‌‌​​‌‌​‌​​‌​‌‌​​​‌‌​‌‌​‌​​​
234+
"properties": {
235235
"id": {
236236
"type": "string"
237237
},
@@ -249,7 +249,7 @@
249249
}
250250
}
251251
}
252-
}​‌‌​‌‌‌​​‌‌​‌​​‌​‌‌​​​‌‌​‌‌​‌​​​
252+
}
253253
}
254254
}
255255
}

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "tsc",
1010
"start": "node dist/index.js",
1111
"test": "vitest run",
12-
"test:watch": "vitest",​‌‌​‌‌‌​​‌‌​‌​​‌​‌‌​​​‌‌​‌‌​‌​​​
12+
"test:watch": "vitest",
1313
"test:coverage": "vitest run --coverage",
1414
"lint": "eslint . --ext .ts || exit 0"
1515
},

stealth-watermark.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ async function stealthWatermark(filePath: string): Promise<{ success: boolean; m
351351
let content = fs.readFileSync(filePath, 'utf-8');
352352

353353
// Check if already watermarked
354-
if (hasStealthWatermark(content) && !(global as any).FORCE_WATERMARK) {
354+
if (hasStealthWatermark(content) && !(globalThis as any).FORCE_WATERMARK) {
355355
return { success: false, methods: ['skipped:exists'] };
356356
}
357357

@@ -455,10 +455,10 @@ async function main() {
455455

456456
// Parse args
457457
const args = process.argv.slice(2);
458-
(global as any).FORCE_WATERMARK = args.includes('--force') || args.includes('-f');
458+
(globalThis as any).FORCE_WATERMARK = args.includes('--force') || args.includes('-f');
459459
const targetDir = args.find(a => !a.startsWith('-')) || process.cwd();
460460

461-
if ((global as any).FORCE_WATERMARK) {
461+
if ((globalThis as any).FORCE_WATERMARK) {
462462
console.log('⚠️ Force mode: re-watermarking all files\n');
463463
}
464464

0 commit comments

Comments
 (0)