| Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
| 1 | Zip·file·size:·4731 | 1 | Zip·file·size:·4731766·bytes,·number·of·entries:·3 |
| 2 | -rw-r--r--··4.5·unx·······30·bx·stor·26-Apr-25·19:21·metadata.json | 2 | -rw-r--r--··4.5·unx·······30·bx·stor·26-Apr-25·19:21·metadata.json |
| 3 | -rw-r--r--··4.5·unx··4637 | 3 | -rw-r--r--··4.5·unx··4637594·bx·stor·26-Apr-25·19:21·pkg-commitlint-20.5.2-hfa286de_0.tar.zst |
| 4 | -rw-r--r--··4.5·unx····935 | 4 | -rw-r--r--··4.5·unx····93584·bx·stor·26-Apr-25·19:21·info-commitlint-20.5.2-hfa286de_0.tar.zst |
| 5 | 3·files,·47312 | 5 | 3·files,·4731208·bytes·uncompressed,·4731208·bytes·compressed:··0.0% |
| Offset 19, 125 lines modified | Offset 19, 125 lines modified | ||
| 19 | 00005D·LOCAL·HEADER·#2·······04034B50 | 19 | 00005D·LOCAL·HEADER·#2·······04034B50 |
| 20 | 000061·Extract·Zip·Spec······2D·'4.5' | 20 | 000061·Extract·Zip·Spec······2D·'4.5' |
| 21 | 000062·Extract·OS············00·'MS-DOS' | 21 | 000062·Extract·OS············00·'MS-DOS' |
| 22 | 000063·General·Purpose·Flag··0000 | 22 | 000063·General·Purpose·Flag··0000 |
| 23 | 000065·Compression·Method····0000·'Stored' | 23 | 000065·Compression·Method····0000·'Stored' |
| 24 | 000067·Last·Mod·Time·········5C999AB4·'Sat·Apr·25·19:21:40·2026' | 24 | 000067·Last·Mod·Time·········5C999AB4·'Sat·Apr·25·19:21:40·2026' |
| 25 | 00006B·CRC··················· | 25 | 00006B·CRC···················8A1BA584 |
| 26 | 00006F·Compressed·Length·····FFFFFFFF | 26 | 00006F·Compressed·Length·····FFFFFFFF |
| 27 | 000073·Uncompressed·Length···FFFFFFFF | 27 | 000073·Uncompressed·Length···FFFFFFFF |
| 28 | 000077·Filename·Length·······0028 | 28 | 000077·Filename·Length·······0028 |
| 29 | 000079·Extra·Length··········0014 | 29 | 000079·Extra·Length··········0014 |
| 30 | 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | 30 | 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| 31 | ·····························X' | 31 | ·····························X' |
| 32 | 0000A3·Extra·ID·#0001········0001·'ZIP64' | 32 | 0000A3·Extra·ID·#0001········0001·'ZIP64' |
| 33 | 0000A5···Length··············0010 | 33 | 0000A5···Length··············0010 |
| 34 | 0000A7···Uncompressed·Size···000000000046C3 | 34 | 0000A7···Uncompressed·Size···000000000046C39A |
| 35 | 0000AF···Compressed·Size·····000000000046C3 | 35 | 0000AF···Compressed·Size·····000000000046C39A |
| 36 | 0000B7·PAYLOAD | 36 | 0000B7·PAYLOAD |
| 37 | 46C4 | 37 | 46C451·LOCAL·HEADER·#3·······04034B50 |
| 38 | 46C4 | 38 | 46C455·Extract·Zip·Spec······2D·'4.5' |
| 39 | 46C4 | 39 | 46C456·Extract·OS············00·'MS-DOS' |
| 40 | 46C4 | 40 | 46C457·General·Purpose·Flag··0000 |
| 41 | 46C4 | 41 | 46C459·Compression·Method····0000·'Stored' |
| 42 | 46C4 | 42 | 46C45B·Last·Mod·Time·········5C999AB4·'Sat·Apr·25·19:21:40·2026' |
| 43 | 46C4 | 43 | 46C45F·CRC···················CC3A0A2D |
| 44 | 46C4 | 44 | 46C463·Compressed·Length·····FFFFFFFF |
| 45 | 46C4 | 45 | 46C467·Uncompressed·Length···FFFFFFFF |
| 46 | 46C4 | 46 | 46C46B·Filename·Length·······0029 |
| 47 | 46C4 | 47 | 46C46D·Extra·Length··········0014 |
| 48 | 46C4 | 48 | 46C46F·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| 49 | ·····························XX' | 49 | ·····························XX' |
| 50 | 46C4 | 50 | 46C498·Extra·ID·#0001········0001·'ZIP64' |
| 51 | 46C4 | 51 | 46C49A···Length··············0010 |
| 52 | 46C4 | 52 | 46C49C···Uncompressed·Size···0000000000016D90 |
| 53 | 46C4 | 53 | 46C4A4···Compressed·Size·····0000000000016D90 |
| 54 | 46C4 | 54 | 46C4AC·PAYLOAD |
| 55 | 4832 | 55 | 48323C·CENTRAL·HEADER·#1·····02014B50 |
| 56 | 4832 | 56 | 483240·Created·Zip·Spec······2D·'4.5' |
| 57 | 4832 | 57 | 483241·Created·OS············03·'Unix' |
| 58 | 4832 | 58 | 483242·Extract·Zip·Spec······2D·'4.5' |
| 59 | 4832 | 59 | 483243·Extract·OS············00·'MS-DOS' |
| 60 | 4832 | 60 | 483244·General·Purpose·Flag··0000 |
| 61 | 4832 | 61 | 483246·Compression·Method····0000·'Stored' |
| 62 | 4832 | 62 | 483248·Last·Mod·Time·········5C999AB4·'Sat·Apr·25·19:21:40·2026' |
| 63 | 4832 | 63 | 48324C·CRC···················2E6500CB |
| 64 | 4832 | 64 | 483250·Compressed·Length·····FFFFFFFF |
| 65 | 4832 | 65 | 483254·Uncompressed·Length···FFFFFFFF |
| 66 | 4832 | 66 | 483258·Filename·Length·······000D |
| 67 | 4832 | 67 | 48325A·Extra·Length··········0014 |
| 68 | 4832 | 68 | 48325C·Comment·Length········0000 |
| 69 | 4832 | 69 | 48325E·Disk·Start············0000 |
| 70 | 4832 | 70 | 483260·Int·File·Attributes···0000 |
| 71 | ·······[Bit·0]···············0·'Binary·Data' | 71 | ·······[Bit·0]···············0·'Binary·Data' |
| 72 | 4832 | 72 | 483262·Ext·File·Attributes···81A40000 |
| 73 | 4832 | 73 | 483266·Local·Header·Offset···00000000 |
| 74 | 4832 | 74 | 48326A·Filename··············'XXXXXXXXXXXXX' |
| 75 | 4832 | 75 | 483277·Extra·ID·#0001········0001·'ZIP64' |
| 76 | 4832 | 76 | 483279···Length··············0010 |
| 77 | 4832 | 77 | 48327B···Uncompressed·Size···000000000000001E |
| 78 | 4832 | 78 | 483283···Compressed·Size·····000000000000001E |
| 79 | 4832 | 79 | 48328B·CENTRAL·HEADER·#2·····02014B50 |
| 80 | 4832 | 80 | 48328F·Created·Zip·Spec······2D·'4.5' |
| 81 | 4832 | 81 | 483290·Created·OS············03·'Unix' |
| 82 | 4832 | 82 | 483291·Extract·Zip·Spec······2D·'4.5' |
| 83 | 4832 | 83 | 483292·Extract·OS············00·'MS-DOS' |
| 84 | 4832 | 84 | 483293·General·Purpose·Flag··0000 |
| 85 | 4832 | 85 | 483295·Compression·Method····0000·'Stored' |
| 86 | 4832 | 86 | 483297·Last·Mod·Time·········5C999AB4·'Sat·Apr·25·19:21:40·2026' |
| 87 | 4832 | 87 | 48329B·CRC···················8A1BA584 |
| 88 | 4832 | 88 | 48329F·Compressed·Length·····FFFFFFFF |
| 89 | 4832 | 89 | 4832A3·Uncompressed·Length···FFFFFFFF |
| 90 | 4832 | 90 | 4832A7·Filename·Length·······0028 |
| 91 | 4832 | 91 | 4832A9·Extra·Length··········0014 |
| 92 | 4832 | 92 | 4832AB·Comment·Length········0000 |
| 93 | 4832 | 93 | 4832AD·Disk·Start············0000 |
| 94 | 4832 | 94 | 4832AF·Int·File·Attributes···0000 |
| 95 | ·······[Bit·0]···············0·'Binary·Data' | 95 | ·······[Bit·0]···············0·'Binary·Data' |
| 96 | 4832 | 96 | 4832B1·Ext·File·Attributes···81A40000 |
| 97 | 4832 | 97 | 4832B5·Local·Header·Offset···0000005D |
| 98 | 4832 | 98 | 4832B9·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| 99 | ·····························X' | 99 | ·····························X' |
| 100 | 483 | 100 | 4832E1·Extra·ID·#0001········0001·'ZIP64' |
| 101 | 483 | 101 | 4832E3···Length··············0010 |
| 102 | 483 | 102 | 4832E5···Uncompressed·Size···000000000046C39A |
| 103 | 483 | 103 | 4832ED···Compressed·Size·····000000000046C39A |
| 104 | 483 | 104 | 4832F5·CENTRAL·HEADER·#3·····02014B50 |
| 105 | 483 | 105 | 4832F9·Created·Zip·Spec······2D·'4.5' |
| 106 | 483 | 106 | 4832FA·Created·OS············03·'Unix' |
| 107 | 483 | 107 | 4832FB·Extract·Zip·Spec······2D·'4.5' |
| 108 | 483 | 108 | 4832FC·Extract·OS············00·'MS-DOS' |
| 109 | 483 | 109 | 4832FD·General·Purpose·Flag··0000 |
| 110 | 483 | 110 | 4832FF·Compression·Method····0000·'Stored' |
| 111 | 4833 | 111 | 483301·Last·Mod·Time·········5C999AB4·'Sat·Apr·25·19:21:40·2026' |
| 112 | 4833 | 112 | 483305·CRC···················CC3A0A2D |
| Max diff block lines reached; 1270/8862 bytes (14.33%) of diff not shown. | |||
| Offset 1481, 19 lines modified | Offset 1481, 19 lines modified | ||
| 1481 | -rw-r--r--···0········0········0·····1396·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/string-width/readme.md | 1481 | -rw-r--r--···0········0········0·····1396·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/string-width/readme.md |
| 1482 | -rw-r--r--···0········0········0······369·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/index.d.ts | 1482 | -rw-r--r--···0········0········0······369·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/index.d.ts |
| 1483 | -rw-r--r--···0········0········0······154·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/index.js | 1483 | -rw-r--r--···0········0········0······154·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/index.js |
| 1484 | -rw-r--r--···0········0········0·····1109·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/license | 1484 | -rw-r--r--···0········0········0·····1109·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/license |
| 1485 | -rw-r--r--···0········0········0······798·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/package.json | 1485 | -rw-r--r--···0········0········0······798·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/package.json |
| 1486 | -rw-r--r--···0········0········0·····1599·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/readme.md | 1486 | -rw-r--r--···0········0········0·····1599·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/strip-ansi/readme.md |
| 1487 | -rw-r--r--···0········0········0·····1065·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/LICENSE | 1487 | -rw-r--r--···0········0········0·····1065·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/LICENSE |
| 1488 | -rw-r--r--···0········0········0·····72 | 1488 | -rw-r--r--···0········0········0·····7250·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/README.md |
| 1489 | -rw-r--r--···0········0········0·····6090·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/LICENSES.txt | 1489 | -rw-r--r--···0········0········0·····6090·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/LICENSES.txt |
| 1490 | -rw-r--r--···0········0········0·····3 | 1490 | -rw-r--r--···0········0········0·····3253·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/main.d.mts |
| 1491 | -rw-r--r--···0········0········0····16 | 1491 | -rw-r--r--···0········0········0····16147·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/main.mjs |
| 1492 | -rw-r--r--···0········0········0·····152 | 1492 | -rw-r--r--···0········0········0·····1526·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/tinyexec/package.json |
| 1493 | -rw-r--r--···0········0········0·····9197·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/LICENSE.txt | 1493 | -rw-r--r--···0········0········0·····9197·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/LICENSE.txt |
| 1494 | -rw-r--r--···0········0········0·····2842·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/README.md | 1494 | -rw-r--r--···0········0········0·····2842·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/README.md |
| 1495 | -rw-r--r--···0········0········0·····2577·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/SECURITY.md | 1495 | -rw-r--r--···0········0········0·····2577·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/SECURITY.md |
| 1496 | -rw-r--r--···0········0········0····37824·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/ThirdPartyNoticeText.txt | 1496 | -rw-r--r--···0········0········0····37824·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/ThirdPartyNoticeText.txt |
| 1497 | -rwxr-xr-x···0········0········0·······45·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/bin/tsc | 1497 | -rwxr-xr-x···0········0········0·······45·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/bin/tsc |
| 1498 | -rwxr-xr-x···0········0········0·······50·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/bin/tsserver | 1498 | -rwxr-xr-x···0········0········0·······50·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/bin/tsserver |
| 1499 | -rw-r--r--···0········0········0··6239091·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/lib/_tsc.js | 1499 | -rw-r--r--···0········0········0··6239091·2026-04-25·19:21:41.000000·lib/node_modules/@commitlint/cli/node_modules/typescript/lib/_tsc.js |
| Offset 62, 15 lines modified | Offset 62, 15 lines modified | ||
| 62 | -·`persist`·-·if·`true`,·the·process·will·continue·after·the·host·exits | 62 | -·`persist`·-·if·`true`,·the·process·will·continue·after·the·host·exits |
| 63 | -·`stdin`·-·`string`·or·another·`Result`·that·will·be·used·as·the·input·to·the·process | 63 | -·`stdin`·-·`string`·or·another·`Result`·that·will·be·used·as·the·input·to·the·process |
| 64 | -·`nodeOptions`·-·any·valid·options·to·node's·underlying·`spawn`·function | 64 | -·`nodeOptions`·-·any·valid·options·to·node's·underlying·`spawn`·function |
| 65 | -·`throwOnError`·-·if·true,·non-zero·exit·codes·will·throw·an·error | 65 | -·`throwOnError`·-·if·true,·non-zero·exit·codes·will·throw·an·error |
| 66 | ###·Passing·a·string·to·stdin | 66 | ###·Passing·a·string·to·stdin |
| 67 | You·can·pass·a·string·to·`stdin`,·which·is·useful·for·whitespace-sensitive·values·and·for·secrets· | 67 | You·can·pass·a·string·to·`stdin`,·which·is·useful·for·whitespace-sensitive·values·and·for·secrets·that·shouldn’t·be·exposed·in·shell·history: |
| 68 | ```ts | 68 | ```ts |
| 69 | const·result·=·await·x('gh',·['auth',·'login',·'--with-token'],·{ | 69 | const·result·=·await·x('gh',·['auth',·'login',·'--with-token'],·{ |
| 70 | ··stdin:·process.env.GITHUB_TOKEN | 70 | ··stdin:·process.env.GITHUB_TOKEN |
| 71 | }); | 71 | }); |
| 72 | console.log(result.exitCode); | 72 | console.log(result.exitCode); |
| Offset 21, 15 lines modified | Offset 21, 15 lines modified | ||
| 21 | ··get·pid():·number·|·undefined; | 21 | ··get·pid():·number·|·undefined; |
| 22 | ··get·killed():·boolean; | 22 | ··get·killed():·boolean; |
| 23 | ··get·exitCode():·number·|·undefined; | 23 | ··get·exitCode():·number·|·undefined; |
| 24 | } | 24 | } |
| 25 | interface·OutputApi·extends·AsyncIterable<string>,·CommonOutputApi·{ | 25 | interface·OutputApi·extends·AsyncIterable<string>,·CommonOutputApi·{ |
| 26 | ··process:·ChildProcess·|·undefined; | 26 | ··process:·ChildProcess·|·undefined; |
| 27 | ··get·aborted():·boolean; | 27 | ··get·aborted():·boolean; |
| 28 | ··pipe(command:·string,·args?:·string[],·options?:·Partial<PipeOptions>):·Result; | 28 | ··pipe(command:·string,·args?:·readonly·string[],·options?:·Partial<PipeOptions>):·Result; |
| 29 | ··kill(signal?:·KillSignal):·boolean; | 29 | ··kill(signal?:·KillSignal):·boolean; |
| 30 | } | 30 | } |
| 31 | interface·OutputApiSync·extends·Iterable<string>,·CommonOutputApi·{} | 31 | interface·OutputApiSync·extends·Iterable<string>,·CommonOutputApi·{} |
| 32 | type·Result·=·PromiseLike<Output>·&·OutputApi; | 32 | type·Result·=·PromiseLike<Output>·&·OutputApi; |
| 33 | type·SyncResult·=·Output·&·OutputApiSync; | 33 | type·SyncResult·=·Output·&·OutputApiSync; |
| 34 | interface·CommonOptions·{ | 34 | interface·CommonOptions·{ |
| 35 | ··timeout:·number; | 35 | ··timeout:·number; |
| Offset 41, 42 lines modified | Offset 41, 42 lines modified | ||
| 41 | ··persist:·boolean; | 41 | ··persist:·boolean; |
| 42 | ··stdin:·Result·|·ExecProcess·|·string; | 42 | ··stdin:·Result·|·ExecProcess·|·string; |
| 43 | } | 43 | } |
| 44 | interface·SyncOptions·extends·CommonOptions·{ | 44 | interface·SyncOptions·extends·CommonOptions·{ |
| 45 | ··nodeOptions:·SpawnSyncOptions; | 45 | ··nodeOptions:·SpawnSyncOptions; |
| 46 | } | 46 | } |
| 47 | interface·TinyExec·{ | 47 | interface·TinyExec·{ |
| 48 | ··(command:·string,·args?:·string[],·options?:·Partial<Options>):·Result; | 48 | ··(command:·string,·args?:·readonly·string[],·options?:·Partial<Options>):·Result; |
| 49 | } | 49 | } |
| 50 | declare·class·ExecProcess·implements·Result·{ | 50 | declare·class·ExecProcess·implements·Result·{ |
| 51 | ··protected·_process?:·ChildProcess; | 51 | ··protected·_process?:·ChildProcess; |
| 52 | ··protected·_aborted:·boolean; | 52 | ··protected·_aborted:·boolean; |
| 53 | ··protected·_options:·Partial<Options>; | 53 | ··protected·_options:·Partial<Options>; |
| 54 | ··protected·_command:·string; | 54 | ··protected·_command:·string; |
| 55 | ··protected·_args:·string[]; | 55 | ··protected·_args:·readonly·string[]; |
| 56 | ··protected·_resolveClose?:·()·=>·void; | 56 | ··protected·_resolveClose?:·()·=>·void; |
| 57 | ··protected·_processClosed:·Promise<void>; | 57 | ··protected·_processClosed:·Promise<void>; |
| 58 | ··protected·_thrownError?:·Error; | 58 | ··protected·_thrownError?:·Error; |
| 59 | ··get·process():·ChildProcess·|·undefined; | 59 | ··get·process():·ChildProcess·|·undefined; |
| 60 | ··get·pid():·number·|·undefined; | 60 | ··get·pid():·number·|·undefined; |
| 61 | ··get·exitCode():·number·|·undefined; | 61 | ··get·exitCode():·number·|·undefined; |
| 62 | ··constructor(command:·string,·args?:·string[],·options?:·Partial<Options>); | 62 | ··constructor(command:·string,·args?:·readonly·string[],·options?:·Partial<Options>); |
| 63 | ··kill(signal?:·KillSignal):·boolean; | 63 | ··kill(signal?:·KillSignal):·boolean; |
| 64 | ··get·aborted():·boolean; | 64 | ··get·aborted():·boolean; |
| 65 | ··get·killed():·boolean; | 65 | ··get·killed():·boolean; |
| 66 | ··pipe(command:·string,·args?:·string[],·options?:·Partial<PipeOptions>):·Result; | 66 | ··pipe(command:·string,·args?:·readonly·string[],·options?:·Partial<PipeOptions>):·Result; |
| 67 | ··[Symbol.asyncIterator]():·AsyncIterator<string>; | 67 | ··[Symbol.asyncIterator]():·AsyncIterator<string>; |
| 68 | ··protected·_waitForOutput():·Promise<Output>; | 68 | ··protected·_waitForOutput():·Promise<Output>; |
| 69 | ··then<TResult1·=·Output,·TResult2·=·never>(onfulfilled?:·((value:·Output)·=>·TResult1·|·PromiseLike<TResult1>)·|·null,·onrejected?:·((reason:·unknown)·=>·TResult2·|·PromiseLike<TResult2>)·|·null):·Promise<TResult1·|·TResult2>; | 69 | ··then<TResult1·=·Output,·TResult2·=·never>(onfulfilled?:·((value:·Output)·=>·TResult1·|·PromiseLike<TResult1>)·|·null,·onrejected?:·((reason:·unknown)·=>·TResult2·|·PromiseLike<TResult2>)·|·null):·Promise<TResult1·|·TResult2>; |
| 70 | ··protected·_streamOut?:·Readable; | 70 | ··protected·_streamOut?:·Readable; |
| 71 | ··protected·_streamErr?:·Readable; | 71 | ··protected·_streamErr?:·Readable; |
| 72 | ··spawn():·void; | 72 | ··spawn():·void; |
| 73 | ··protected·_resetState():·void; | 73 | ··protected·_resetState():·void; |
| 74 | ··protected·_onError:·(err:·Error)·=>·void; | 74 | ··protected·_onError:·(err:·Error)·=>·void; |
| 75 | ··protected·_onClose:·()·=>·void; | 75 | ··protected·_onClose:·()·=>·void; |
| 76 | } | 76 | } |
| 77 | declare·function·xSync(command:·string,·args?:·string[],·options?:·Partial<SyncOptions>):·SyncResult; | 77 | declare·function·xSync(command:·string,·args?:·readonly·string[],·options?:·Partial<SyncOptions>):·SyncResult; |
| 78 | declare·const·x:·TinyExec; | 78 | declare·const·x:·TinyExec; |
| 79 | declare·const·exec:·TinyExec; | 79 | declare·const·exec:·TinyExec; |
| 80 | declare·const·execSync:·typeof·xSync; | 80 | declare·const·execSync:·typeof·xSync; |
| 81 | //#endregion | 81 | //#endregion |
| 82 | export·{·CommonOptions,·CommonOutputApi,·ExecProcess,·KillSignal,·NonZeroExitError,·Options,·Output,·OutputApi,·OutputApiSync,·PipeOptions,·Result,·SyncOptions,·SyncResult,·TinyExec,·exec,·execSync,·x,·xSync·}; | 82 | export·{·CommonOptions,·CommonOutputApi,·ExecProcess,·KillSignal,·NonZeroExitError,·Options,·Output,·OutputApi,·OutputApiSync,·PipeOptions,·Result,·SyncOptions,·SyncResult,·TinyExec,·exec,·execSync,·x,·xSync·}; |
| Offset 1, 79 lines modified | Offset 1, 79 lines modified | ||
| 1 | import·{·createRequire·as·e·}·from·"node:module"; | 1 | import·{·createRequire·as·e·}·from·"node:module"; |
| 2 | import·{·spawn·as·t,·spawnSync·as·n·}·from·"node:child_process"; | 2 | import·{·spawn·as·t,·spawnSync·as·n·}·from·"node:child_process"; |
| 3 | import·{·delimiter·as·r,·dirname·as·i,·normalize·as·a,·resolve·as·o·}·from·"node:path"; | ||
| 4 | import·{·cwd·as· | 3 | import·{·cwd·as·r·}·from·"node:process"; |
| 4 | import·{·delimiter·as·i,·dirname·as·a,·resolve·as·o·}·from·"node:path"; | ||
| 5 | import·{·pipeline·as· | 5 | import·{·pipeline·as·s·}·from·"node:stream/promises"; |
| 6 | import·{·PassThrough·as· | 6 | import·{·PassThrough·as·c·}·from·"node:stream"; |
| 7 | import· | 7 | import·l·from·"node:readline"; |
| 8 | //#region·\0rolldown/runtime.js | 8 | //#region·\0rolldown/runtime.js |
| 9 | var· | 9 | var·u·=·(e,·t)·=>·()·=>·(t·||·(e((t·=·{·exports:·{}·}).exports,·t),·e·=·null),·t.exports); |
| 10 | var· | 10 | var·d·=·/*·@__PURE__·*/·e(import.meta.url); |
| 11 | //#endregion | 11 | //#endregion |
| 12 | //#region·src/env.ts | 12 | //#region·src/env.ts |
| 13 | const· | 13 | const·f·=·/^path$/i; |
| 14 | const· | 14 | const·p·=·{ |
| 15 | » key:·"PATH", | 15 | » key:·"PATH", |
| 16 | » value:·"" | 16 | » value:·"" |
| 17 | }; | 17 | }; |
| 18 | function· | 18 | function·m(e)·{ |
| 19 | » for·(const·t·in·e)·{ | 19 | » for·(const·t·in·e)·{ |
| 20 | » » if·(!Object.prototype.hasOwnProperty.call(e,·t)·||·! | 20 | » » if·(!Object.prototype.hasOwnProperty.call(e,·t)·||·!f.test(t))·continue; |
| 21 | » » const·n·=·e[t]; | 21 | » » const·n·=·e[t]; |
| 22 | » » if·(!n)·return· | 22 | » » if·(!n)·return·p; |
| 23 | » » return·{ | 23 | » » return·{ |
| 24 | » » » key:·t, | 24 | » » » key:·t, |
| 25 | » » » value:·n | 25 | » » » value:·n |
| 26 | » » }; | 26 | » » }; |
| 27 | » } | 27 | » } |
| 28 | » return· | 28 | » return·p; |
| 29 | } | 29 | } |
| 30 | function· | 30 | function·h(e,·t)·{ |
| 31 | » const·n·=·t.value.split( | 31 | » const·n·=·t.value.split(i); |
| 32 | » const· | 32 | » const·r·=·[]; |
| 33 | » let·s·=·e; | 33 | » let·s·=·e; |
| 34 | » let·c; | 34 | » let·c; |
| 35 | » do·{ | 35 | » do·{ |
| 36 | » » | 36 | » » r.push(o(s,·"node_modules",·".bin")); |
| 37 | » » c·=·s; | 37 | » » c·=·s; |
| 38 | » » s·=· | 38 | » » s·=·a(s); |
| 39 | » }·while·(s·!==·c); | 39 | » }·while·(s·!==·c); |
| 40 | » | 40 | » r.push(a(process.execPath)); |
| 41 | » const·l·=· | 41 | » const·l·=·r.concat(n).join(i); |
| 42 | » return·{ | 42 | » return·{ |
| 43 | » » key:·t.key, | 43 | » » key:·t.key, |
| 44 | » » value:·l | 44 | » » value:·l |
| 45 | » }; | 45 | » }; |
| 46 | } | 46 | } |
| 47 | function· | 47 | function·g(e,·t)·{ |
| 48 | » const·n·=·{ | 48 | » const·n·=·{ |
| 49 | » » ...process.env, | 49 | » » ...process.env, |
| 50 | » » ...t | 50 | » » ...t |
| 51 | » }; | 51 | » }; |
| 52 | » const·r·=· | 52 | » const·r·=·h(e,·m(n)); |
| 53 | » n[r.key]·=·r.value; | 53 | » n[r.key]·=·r.value; |
| 54 | » return·n; | 54 | » return·n; |
| 55 | } | 55 | } |
| 56 | //#endregion | 56 | //#endregion |
| 57 | //#region·src/stream.ts | 57 | //#region·src/stream.ts |
| 58 | const· | 58 | const·_·=·(e)·=>·{ |
| 59 | » let·t·=·e.length; | 59 | » let·t·=·e.length; |
| 60 | » const·n·=·new· | 60 | » const·n·=·new·c(); |
| 61 | » const·r·=·()·=>·{ | 61 | » const·r·=·()·=>·{ |
| 62 | » » if·(--t·===·0)·n.end(); | 62 | » » if·(--t·===·0)·n.end(); |
| 63 | » }; | 63 | » }; |
| 64 | » for·(const·t·of·e)· | 64 | » for·(const·t·of·e)·s(t,·n,·{·end:·false·}).then(r).catch(r); |
| 65 | » return·n; | 65 | » return·n; |
| 66 | }; | 66 | }; |
| 67 | //#endregion | 67 | //#endregion |
| 68 | //#region·node_modules/isexe/windows.js | 68 | //#region·node_modules/isexe/windows.js |
| 69 | var· | 69 | var·v·=·/*·@__PURE__·*/·u(((e,·t)·=>·{ |
| 70 | » t.exports·=·a; | 70 | » t.exports·=·a; |
| 71 | » a.sync·=·o; | 71 | » a.sync·=·o; |
| 72 | » var·n·=· | 72 | » var·n·=·d("fs"); |
| 73 | » function·r(e,·t)·{ | 73 | » function·r(e,·t)·{ |
| 74 | » » var·n·=·t.pathExt·!==·void·0·?·t.pathExt·:·process.env.PATHEXT; | 74 | » » var·n·=·t.pathExt·!==·void·0·?·t.pathExt·:·process.env.PATHEXT; |
| 75 | » » if·(!n)·return·true; | 75 | » » if·(!n)·return·true; |
| 76 | » » n·=·n.split(";"); | 76 | » » n·=·n.split(";"); |
| 77 | » » if·(n.indexOf("")·!==·-1)·return·true; | 77 | » » if·(n.indexOf("")·!==·-1)·return·true; |
| 78 | » » for·(var·r·=·0;·r·<·n.length;·r++)·{ | 78 | » » for·(var·r·=·0;·r·<·n.length;·r++)·{ |
| 79 | » » » var·i·=·n[r].toLowerCase(); | 79 | » » » var·i·=·n[r].toLowerCase(); |
| Offset 92, 18 lines modified | Offset 92, 18 lines modified | ||
| 92 | » } | 92 | » } |
| 93 | » function·o(e,·t)·{ | 93 | » function·o(e,·t)·{ |
| 94 | » » return·i(n.statSync(e),·e,·t); | 94 | » » return·i(n.statSync(e),·e,·t); |
| 95 | » } | 95 | » } |
| 96 | })); | 96 | })); |
| 97 | //#endregion | 97 | //#endregion |
| 98 | //#region·node_modules/isexe/mode.js | 98 | //#region·node_modules/isexe/mode.js |
| 99 | var· | 99 | var·y·=·/*·@__PURE__·*/·u(((e,·t)·=>·{ |
| 100 | » t.exports·=·r; | 100 | » t.exports·=·r; |
| 101 | » r.sync·=·i; | 101 | » r.sync·=·i; |
| 102 | » var·n·=· | 102 | » var·n·=·d("fs"); |
| 103 | » function·r(e,·t,·r)·{ | 103 | » function·r(e,·t,·r)·{ |
| 104 | » » n.stat(e,·function(e,·n)·{ | 104 | » » n.stat(e,·function(e,·n)·{ |
| 105 | » » » r(e,·e·?·false·:·a(n,·t)); | 105 | » » » r(e,·e·?·false·:·a(n,·t)); |
| 106 | » » }); | 106 | » » }); |
| 107 | » } | 107 | » } |
| 108 | » function·i(e,·t)·{ | 108 | » function·i(e,·t)·{ |
| 109 | » » return·a(n.statSync(e),·t); | 109 | » » return·a(n.statSync(e),·t); |
| Max diff block lines reached; 13411/16731 bytes (80.16%) of diff not shown. | |||
| Offset 3, 24 lines modified | Offset 3, 24 lines modified | ||
| 3 | ····"bugs":·{ | 3 | ····"bugs":·{ |
| 4 | ········"url":·"https://github.com/tinylibs/tinyexec/issues" | 4 | ········"url":·"https://github.com/tinylibs/tinyexec/issues" |
| 5 | ····}, | 5 | ····}, |
| 6 | ····"description":·"A·minimal·library·for·executing·processes·in·Node", | 6 | ····"description":·"A·minimal·library·for·executing·processes·in·Node", |
| 7 | ····"devDependencies":·{ | 7 | ····"devDependencies":·{ |
| 8 | ········"@eslint/js":·"^10.0.1", | 8 | ········"@eslint/js":·"^10.0.1", |
| 9 | ········"@types/cross-spawn":·"^6.0.6", | 9 | ········"@types/cross-spawn":·"^6.0.6", |
| 10 | ········"@types/node":·"^25. | 10 | ········"@types/node":·"^25.6.0", |
| 11 | ········"@vitest/coverage-v8":·"^4.1. | 11 | ········"@vitest/coverage-v8":·"^4.1.5", |
| 12 | ········"cross-spawn":·"^7.0.6", | 12 | ········"cross-spawn":·"^7.0.6", |
| 13 | ········"eslint":·"^10.2. | 13 | ········"eslint":·"^10.2.1", |
| 14 | ········"prettier":·"^3.8. | 14 | ········"prettier":·"^3.8.3", |
| 15 | ········"publint":·"^0.3.18", | 15 | ········"publint":·"^0.3.18", |
| 16 | ········"rollup-plugin-license":·"^3.7. | 16 | ········"rollup-plugin-license":·"^3.7.1", |
| 17 | ········"tsdown":·"^0.21. | 17 | ········"tsdown":·"^0.21.10", |
| 18 | ········"typescript":·"^6.0. | 18 | ········"typescript":·"^6.0.3", |
| 19 | ········"typescript-eslint":·"^8.5 | 19 | ········"typescript-eslint":·"^8.59.1", |
| 20 | ········"vitest":·"^4.0.7" | 20 | ········"vitest":·"^4.0.7" |
| 21 | ····}, | 21 | ····}, |
| 22 | ····"engines":·{ | 22 | ····"engines":·{ |
| 23 | ········"node":·">=18" | 23 | ········"node":·">=18" |
| 24 | ····}, | 24 | ····}, |
| 25 | ····"exports":·{ | 25 | ····"exports":·{ |
| 26 | ········".":·{ | 26 | ········".":·{ |
| Offset 55, 9 lines modified | Offset 55, 9 lines modified | ||
| 55 | ········"format:check":·"prettier·--check·src", | 55 | ········"format:check":·"prettier·--check·src", |
| 56 | ········"lint":·"eslint·src·&&·publint", | 56 | ········"lint":·"eslint·src·&&·publint", |
| 57 | ········"prepare":·"npm·run·build", | 57 | ········"prepare":·"npm·run·build", |
| 58 | ········"test":·"npm·run·build·&&·vitest·run" | 58 | ········"test":·"npm·run·build·&&·vitest·run" |
| 59 | ····}, | 59 | ····}, |
| 60 | ····"type":·"module", | 60 | ····"type":·"module", |
| 61 | ····"types":·"./dist/main.d.mts", | 61 | ····"types":·"./dist/main.d.mts", |
| 62 | ····"version":·"1.1. | 62 | ····"version":·"1.1.2" |
| 63 | } | 63 | } |
| Offset 1811, 15 lines modified | Offset 1811, 15 lines modified | ||
| 1811 | The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all·copies·or·substantial·portions·of·the·Software. | 1811 | The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all·copies·or·substantial·portions·of·the·Software. |
| 1812 | THE·SOFTWARE·IS·PROVIDED·"AS·IS",·WITHOUT·WARRANTY·OF·ANY·KIND,·EXPRESS·OR·IMPLIED,·INCLUDING·BUT·NOT·LIMITED·TO·THE·WARRANTIES·OF·MERCHANTABILITY,·FITNESS·FOR·A·PARTICULAR·PURPOSE·AND·NONINFRINGEMENT.·IN·NO·EVENT·SHALL·THE·AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER·LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE·SOFTWARE. | 1812 | THE·SOFTWARE·IS·PROVIDED·"AS·IS",·WITHOUT·WARRANTY·OF·ANY·KIND,·EXPRESS·OR·IMPLIED,·INCLUDING·BUT·NOT·LIMITED·TO·THE·WARRANTIES·OF·MERCHANTABILITY,·FITNESS·FOR·A·PARTICULAR·PURPOSE·AND·NONINFRINGEMENT.·IN·NO·EVENT·SHALL·THE·AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER·LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE·SOFTWARE. |
| 1813 | --- | 1813 | --- |
| 1814 | The·following·software·may·be·included·in·this·product:·tinyexec·(1.1. | 1814 | The·following·software·may·be·included·in·this·product:·tinyexec·(1.1.2) |
| 1815 | This·software·contains·the·following·license·and·notice·below: | 1815 | This·software·contains·the·following·license·and·notice·below: |
| 1816 | MIT·License | 1816 | MIT·License |
| 1817 | Copyright·(c)·2024·Tinylibs | 1817 | Copyright·(c)·2024·Tinylibs |
| 1818 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy | 1818 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy |
| Offset 8921, 40 lines modified | Offset 8921, 40 lines modified | ||
| 8921 | ············"path_type":·"hardlink", | 8921 | ············"path_type":·"hardlink", |
| 8922 | ············"sha256":·"f95f668fe64081ddb4153b322e34fdd719b991285ed08177d5ad7133b7988d92", | 8922 | ············"sha256":·"f95f668fe64081ddb4153b322e34fdd719b991285ed08177d5ad7133b7988d92", |
| 8923 | ············"size_in_bytes":·1065 | 8923 | ············"size_in_bytes":·1065 |
| 8924 | ········}, | 8924 | ········}, |
| 8925 | ········{ | 8925 | ········{ |
| 8926 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/README.md", | 8926 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/README.md", |
| 8927 | ············"path_type":·"hardlink", | 8927 | ············"path_type":·"hardlink", |
| 8928 | ············"sha256":·" | 8928 | ············"sha256":·"4e0695c850bf3aad43ec2212f7e9aad25f7b977fa17975917cd32c94fc6392b9", |
| 8929 | ············"size_in_bytes":·72 | 8929 | ············"size_in_bytes":·7250 |
| 8930 | ········}, | 8930 | ········}, |
| 8931 | ········{ | 8931 | ········{ |
| 8932 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/LICENSES.txt", | 8932 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/LICENSES.txt", |
| 8933 | ············"path_type":·"hardlink", | 8933 | ············"path_type":·"hardlink", |
| 8934 | ············"sha256":·"538cf6250ba4f1ecf9986515e6db7885fd8f28892ab593f4f3dfb78a5deb6159", | 8934 | ············"sha256":·"538cf6250ba4f1ecf9986515e6db7885fd8f28892ab593f4f3dfb78a5deb6159", |
| 8935 | ············"size_in_bytes":·6090 | 8935 | ············"size_in_bytes":·6090 |
| 8936 | ········}, | 8936 | ········}, |
| 8937 | ········{ | 8937 | ········{ |
| 8938 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/main.d.mts", | 8938 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/main.d.mts", |
| 8939 | ············"path_type":·"hardlink", | 8939 | ············"path_type":·"hardlink", |
| 8940 | ············"sha256":·" | 8940 | ············"sha256":·"6b0145c5e45d1abf49cb2aee94c4a52f299638eee36040e117d302198a1e1e4d", |
| 8941 | ············"size_in_bytes":·3 | 8941 | ············"size_in_bytes":·3253 |
| 8942 | ········}, | 8942 | ········}, |
| 8943 | ········{ | 8943 | ········{ |
| 8944 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/main.mjs", | 8944 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/dist/main.mjs", |
| 8945 | ············"path_type":·"hardlink", | 8945 | ············"path_type":·"hardlink", |
| 8946 | ············"sha256":·"3 | 8946 | ············"sha256":·"f8326a7d1114018b49a5b0af4a1922fc354d28b6ddeb763e626b56d2c870615c", |
| 8947 | ············"size_in_bytes":·16 | 8947 | ············"size_in_bytes":·16147 |
| 8948 | ········}, | 8948 | ········}, |
| 8949 | ········{ | 8949 | ········{ |
| 8950 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/package.json", | 8950 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/tinyexec/package.json", |
| 8951 | ············"path_type":·"hardlink", | 8951 | ············"path_type":·"hardlink", |
| 8952 | ············"sha256":·" | 8952 | ············"sha256":·"5c7d4da6c86492835b938e1810bac8391f5417cde787d8c6fead9eb5903b668a", |
| 8953 | ············"size_in_bytes":·152 | 8953 | ············"size_in_bytes":·1526 |
| 8954 | ········}, | 8954 | ········}, |
| 8955 | ········{ | 8955 | ········{ |
| 8956 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/typescript/LICENSE.txt", | 8956 | ············"_path":·"lib/node_modules/@commitlint/cli/node_modules/typescript/LICENSE.txt", |
| 8957 | ············"path_type":·"hardlink", | 8957 | ············"path_type":·"hardlink", |
| 8958 | ············"sha256":·"a7d00bfd54525bc694b6e32f64c7ebcf5e6b7ae3657be5cc12767bce74654a47", | 8958 | ············"sha256":·"a7d00bfd54525bc694b6e32f64c7ebcf5e6b7ae3657be5cc12767bce74654a47", |
| 8959 | ············"size_in_bytes":·9197 | 8959 | ············"size_in_bytes":·9197 |
| 8960 | ········}, | 8960 | ········}, |