File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1515 ],
1616 "maintainers" : [
1717 {
18- "name" : " nirholas" ,
18+ "name" : " nirholas" ,
1919 "url" : " https://github.com/nirholas"
2020 }
2121 ],
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" ,
109109 "diff" : " ^8.0.3" ,
110110 "path-to-regexp" : " ^8.0.0" ,
111111 "undici" : " ^7.0.0"
112- },
112+ }
113113}
Original file line number Diff line number Diff line change 5656 }
5757 },
5858 "responses" : {
59- "200" : {
59+ "200" : {
6060 "description" : " Compilation result" ,
6161 "content" : {
6262 "application/json" : {
231231 "type" : " array" ,
232232 "items" : {
233233 "type" : " object" ,
234- "properties" : {
234+ "properties" : {
235235 "id" : {
236236 "type" : " string"
237237 },
249249 }
250250 }
251251 }
252- }
252+ }
253253 }
254254 }
255255 }
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments