2.13 MB
/tmp/tmp1tb6a6qn/downloads/tshy-3.2.0-hfa286de_0.conda vs.
/tmp/tmp1tb6a6qn/rebuild/tshy/tshy-3.2.0-hfa286de_0-rebuilt-20260216-035551.conda
702 B
zipinfo {}
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 Zip·file·size:·3872335·bytes,·number·of·entries:·31 Zip·file·size:·3955899·bytes,·number·of·entries:·3
2 -rw-r--r--··4.5·unx·······30·bx·stor·26-Feb-09·13:37·metadata.json2 -rw-r--r--··4.5·unx·······30·bx·stor·26-Feb-09·13:37·metadata.json
3 -rw-r--r--··4.5·unx··3816148·bx·stor·26-Feb-09·13:37·pkg-tshy-3.2.0-hfa286de_0.tar.zst3 -rw-r--r--··4.5·unx··3896158·bx·stor·26-Feb-09·13:37·pkg-tshy-3.2.0-hfa286de_0.tar.zst
4 -rw-r--r--··4.5·unx····55627·bx·stor·26-Feb-09·13:37·info-tshy-3.2.0-hfa286de_0.tar.zst4 -rw-r--r--··4.5·unx····59181·bx·stor·26-Feb-09·13:37·info-tshy-3.2.0-hfa286de_0.tar.zst
5 3·files,·3871805·bytes·uncompressed,·3871805·bytes·compressed:··0.0%5 3·files,·3955369·bytes·uncompressed,·3955369·bytes·compressed:··0.0%
8.55 KB
zipdetails --redact --utc {}
    
Offset 19, 121 lines modifiedOffset 19, 121 lines modified
  
19 00005D·LOCAL·HEADER·#2·······04034B5019 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··000022 000063·General·Purpose·Flag··0000
23 000065·Compression·Method····0000·'Stored'23 000065·Compression·Method····0000·'Stored'
24 000067·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'24 000067·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'
25 00006B·CRC···················DF6C463525 00006B·CRC···················14F2BAF9
26 00006F·Compressed·Length·····FFFFFFFF26 00006F·Compressed·Length·····FFFFFFFF
27 000073·Uncompressed·Length···FFFFFFFF27 000073·Uncompressed·Length···FFFFFFFF
28 000077·Filename·Length·······002128 000077·Filename·Length·······0021
29 000079·Extra·Length··········001429 000079·Extra·Length··········0014
30 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'30 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
31 00009C·Extra·ID·#0001········0001·'ZIP64'31 00009C·Extra·ID·#0001········0001·'ZIP64'
32 00009E···Length··············001032 00009E···Length··············0010
33 0000A0···Uncompressed·Size···00000000003A3AD433 0000A0···Uncompressed·Size···00000000003B735E
34 0000A8···Compressed·Size·····00000000003A3AD434 0000A8···Compressed·Size·····00000000003B735E
35 0000B0·PAYLOAD35 0000B0·PAYLOAD
  
36 3A3B84·LOCAL·HEADER·#3·······04034B5036 3B740E·LOCAL·HEADER·#3·······04034B50
37 3A3B88·Extract·Zip·Spec······2D·'4.5'37 3B7412·Extract·Zip·Spec······2D·'4.5'
38 3A3B89·Extract·OS············00·'MS-DOS'38 3B7413·Extract·OS············00·'MS-DOS'
39 3A3B8A·General·Purpose·Flag··000039 3B7414·General·Purpose·Flag··0000
40 3A3B8C·Compression·Method····0000·'Stored'40 3B7416·Compression·Method····0000·'Stored'
41 3A3B8E·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'41 3B7418·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'
42 3A3B92·CRC···················8D05E2A542 3B741C·CRC···················630A456D
43 3A3B96·Compressed·Length·····FFFFFFFF43 3B7420·Compressed·Length·····FFFFFFFF
44 3A3B9A·Uncompressed·Length···FFFFFFFF44 3B7424·Uncompressed·Length···FFFFFFFF
45 3A3B9E·Filename·Length·······002245 3B7428·Filename·Length·······0022
46 3A3BA0·Extra·Length··········001446 3B742A·Extra·Length··········0014
47 3A3BA2·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'47 3B742C·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
48 3A3BC4·Extra·ID·#0001········0001·'ZIP64'48 3B744E·Extra·ID·#0001········0001·'ZIP64'
49 3A3BC6···Length··············001049 3B7450···Length··············0010
50 3A3BC8···Uncompressed·Size···000000000000D94B50 3B7452···Uncompressed·Size···000000000000E72D
51 3A3BD0···Compressed·Size·····000000000000D94B51 3B745A···Compressed·Size·····000000000000E72D
52 3A3BD8·PAYLOAD52 3B7462·PAYLOAD
  
53 3B1523·CENTRAL·HEADER·#1·····02014B5053 3C5B8F·CENTRAL·HEADER·#1·····02014B50
54 3B1527·Created·Zip·Spec······2D·'4.5'54 3C5B93·Created·Zip·Spec······2D·'4.5'
55 3B1528·Created·OS············03·'Unix'55 3C5B94·Created·OS············03·'Unix'
56 3B1529·Extract·Zip·Spec······2D·'4.5'56 3C5B95·Extract·Zip·Spec······2D·'4.5'
57 3B152A·Extract·OS············00·'MS-DOS'57 3C5B96·Extract·OS············00·'MS-DOS'
58 3B152B·General·Purpose·Flag··000058 3C5B97·General·Purpose·Flag··0000
59 3B152D·Compression·Method····0000·'Stored'59 3C5B99·Compression·Method····0000·'Stored'
60 3B152F·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'60 3C5B9B·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'
61 3B1533·CRC···················2E6500CB61 3C5B9F·CRC···················2E6500CB
62 3B1537·Compressed·Length·····FFFFFFFF62 3C5BA3·Compressed·Length·····FFFFFFFF
63 3B153B·Uncompressed·Length···FFFFFFFF63 3C5BA7·Uncompressed·Length···FFFFFFFF
64 3B153F·Filename·Length·······000D64 3C5BAB·Filename·Length·······000D
65 3B1541·Extra·Length··········001465 3C5BAD·Extra·Length··········0014
66 3B1543·Comment·Length········000066 3C5BAF·Comment·Length········0000
67 3B1545·Disk·Start············000067 3C5BB1·Disk·Start············0000
68 3B1547·Int·File·Attributes···000068 3C5BB3·Int·File·Attributes···0000
69 ·······[Bit·0]···············0·'Binary·Data'69 ·······[Bit·0]···············0·'Binary·Data'
70 3B1549·Ext·File·Attributes···81A4000070 3C5BB5·Ext·File·Attributes···81A40000
71 3B154D·Local·Header·Offset···0000000071 3C5BB9·Local·Header·Offset···00000000
72 3B1551·Filename··············'XXXXXXXXXXXXX'72 3C5BBD·Filename··············'XXXXXXXXXXXXX'
73 3B155E·Extra·ID·#0001········0001·'ZIP64'73 3C5BCA·Extra·ID·#0001········0001·'ZIP64'
74 3B1560···Length··············001074 3C5BCC···Length··············0010
75 3B1562···Uncompressed·Size···000000000000001E75 3C5BCE···Uncompressed·Size···000000000000001E
76 3B156A···Compressed·Size·····000000000000001E76 3C5BD6···Compressed·Size·····000000000000001E
  
77 3B1572·CENTRAL·HEADER·#2·····02014B5077 3C5BDE·CENTRAL·HEADER·#2·····02014B50
78 3B1576·Created·Zip·Spec······2D·'4.5'78 3C5BE2·Created·Zip·Spec······2D·'4.5'
79 3B1577·Created·OS············03·'Unix'79 3C5BE3·Created·OS············03·'Unix'
80 3B1578·Extract·Zip·Spec······2D·'4.5'80 3C5BE4·Extract·Zip·Spec······2D·'4.5'
81 3B1579·Extract·OS············00·'MS-DOS'81 3C5BE5·Extract·OS············00·'MS-DOS'
82 3B157A·General·Purpose·Flag··000082 3C5BE6·General·Purpose·Flag··0000
83 3B157C·Compression·Method····0000·'Stored'83 3C5BE8·Compression·Method····0000·'Stored'
84 3B157E·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'84 3C5BEA·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'
85 3B1582·CRC···················DF6C463585 3C5BEE·CRC···················14F2BAF9
86 3B1586·Compressed·Length·····FFFFFFFF86 3C5BF2·Compressed·Length·····FFFFFFFF
87 3B158A·Uncompressed·Length···FFFFFFFF87 3C5BF6·Uncompressed·Length···FFFFFFFF
88 3B158E·Filename·Length·······002188 3C5BFA·Filename·Length·······0021
89 3B1590·Extra·Length··········001489 3C5BFC·Extra·Length··········0014
90 3B1592·Comment·Length········000090 3C5BFE·Comment·Length········0000
91 3B1594·Disk·Start············000091 3C5C00·Disk·Start············0000
92 3B1596·Int·File·Attributes···000092 3C5C02·Int·File·Attributes···0000
93 ·······[Bit·0]···············0·'Binary·Data'93 ·······[Bit·0]···············0·'Binary·Data'
94 3B1598·Ext·File·Attributes···81A4000094 3C5C04·Ext·File·Attributes···81A40000
95 3B159C·Local·Header·Offset···0000005D95 3C5C08·Local·Header·Offset···0000005D
96 3B15A0·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'96 3C5C0C·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
97 3B15C1·Extra·ID·#0001········0001·'ZIP64'97 3C5C2D·Extra·ID·#0001········0001·'ZIP64'
98 3B15C3···Length··············001098 3C5C2F···Length··············0010
99 3B15C5···Uncompressed·Size···00000000003A3AD499 3C5C31···Uncompressed·Size···00000000003B735E
100 3B15CD···Compressed·Size·····00000000003A3AD4100 3C5C39···Compressed·Size·····00000000003B735E
  
101 3B15D5·CENTRAL·HEADER·#3·····02014B50101 3C5C41·CENTRAL·HEADER·#3·····02014B50
102 3B15D9·Created·Zip·Spec······2D·'4.5'102 3C5C45·Created·Zip·Spec······2D·'4.5'
103 3B15DA·Created·OS············03·'Unix'103 3C5C46·Created·OS············03·'Unix'
104 3B15DB·Extract·Zip·Spec······2D·'4.5'104 3C5C47·Extract·Zip·Spec······2D·'4.5'
105 3B15DC·Extract·OS············00·'MS-DOS'105 3C5C48·Extract·OS············00·'MS-DOS'
106 3B15DD·General·Purpose·Flag··0000106 3C5C49·General·Purpose·Flag··0000
107 3B15DF·Compression·Method····0000·'Stored'107 3C5C4B·Compression·Method····0000·'Stored'
108 3B15E1·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'108 3C5C4D·Last·Mod·Time·········5C496CA6·'Mon·Feb··9·13:37:12·2026'
109 3B15E5·CRC···················8D05E2A5109 3C5C51·CRC···················630A456D
110 3B15E9·Compressed·Length·····FFFFFFFF110 3C5C55·Compressed·Length·····FFFFFFFF
111 3B15ED·Uncompressed·Length···FFFFFFFF111 3C5C59·Uncompressed·Length···FFFFFFFF
112 3B15F1·Filename·Length·······0022112 3C5C5D·Filename·Length·······0022
Max diff block lines reached; 1228/8697 bytes (14.12%) of diff not shown.
2.01 MB
pkg-tshy-3.2.0-hfa286de_0.tar.zst
2.01 MB
pkg-tshy-3.2.0-hfa286de_0.tar
66.8 KB
file list
    
Offset 158, 40 lines modifiedOffset 158, 113 lines modified
158 -rw-r--r--···0········0········0······127·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/which-tsc.d.ts.map158 -rw-r--r--···0········0········0······127·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/which-tsc.d.ts.map
159 -rw-r--r--···0········0········0······705·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/which-tsc.js159 -rw-r--r--···0········0········0······705·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/which-tsc.js
160 -rw-r--r--···0········0········0·····1255·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/which-tsc.js.map160 -rw-r--r--···0········0········0·····1255·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/which-tsc.js.map
161 -rw-r--r--···0········0········0······104·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.d.ts161 -rw-r--r--···0········0········0······104·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.d.ts
162 -rw-r--r--···0········0········0······135·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.d.ts.map162 -rw-r--r--···0········0········0······135·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.d.ts.map
163 -rw-r--r--···0········0········0······218·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.js163 -rw-r--r--···0········0········0······218·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.js
164 -rw-r--r--···0········0········0······509·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.js.map164 -rw-r--r--···0········0········0······509·2026-02-09·13:37:12.000000·lib/node_modules/tshy/dist/esm/write-package.js.map
 165 -rw-r--r--···0········0········0·····1779·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/LICENSE.md
 166 -rw-r--r--···0········0········0·····3218·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/README.md
 167 -rw-r--r--···0········0········0······137·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts
 168 -rw-r--r--···0········0········0······163·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map
 169 -rw-r--r--···0········0········0······827·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js
 170 -rw-r--r--···0········0········0·····1263·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map
 171 -rw-r--r--···0········0········0·····1183·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts
 172 -rw-r--r--···0········0········0······592·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map
 173 -rw-r--r--···0········0········0·····5412·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js
 174 -rw-r--r--···0········0········0····11510·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map
 175 -rw-r--r--···0········0········0······411·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts
 176 -rw-r--r--···0········0········0······388·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map
 177 -rw-r--r--···0········0········0····12773·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js
 178 -rw-r--r--···0········0········0····23233·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map
 179 -rw-r--r--···0········0········0·······82·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts
 180 -rw-r--r--···0········0········0······153·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map
 181 -rw-r--r--···0········0········0····15872·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js
 182 -rw-r--r--···0········0········0····18320·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js.map
 183 -rw-r--r--···0········0········0·····1194·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts
 184 -rw-r--r--···0········0········0·····1376·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/index.d.ts.map
 185 -rw-r--r--···0········0········0····11010·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/index.js
 186 -rw-r--r--···0········0········0····21592·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/index.js.map
 187 -rw-r--r--···0········0········0····29382·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/index.min.js
 188 -rw-r--r--···0········0········0····75170·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/index.min.js.map
 189 -rw-r--r--···0········0········0·······25·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/package.json
 190 -rw-r--r--···0········0········0······172·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts
 191 -rw-r--r--···0········0········0······255·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.d.ts.map
 192 -rw-r--r--···0········0········0·····1513·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js
 193 -rw-r--r--···0········0········0·····2653·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js.map
 194 -rw-r--r--···0········0········0·······92·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts
 195 -rw-r--r--···0········0········0······166·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.d.ts.map
 196 -rw-r--r--···0········0········0······317·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js
 197 -rw-r--r--···0········0········0······462·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js.map
 198 -rw-r--r--···0········0········0······213·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts
 199 -rw-r--r--···0········0········0······323·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.d.ts.map
 200 -rw-r--r--···0········0········0·····6886·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js
 201 -rw-r--r--···0········0········0····13953·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js.map
 202 -rw-r--r--···0········0········0······137·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts
 203 -rw-r--r--···0········0········0······163·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.d.ts.map
 204 -rw-r--r--···0········0········0······698·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js
 205 -rw-r--r--···0········0········0·····1249·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js.map
 206 -rw-r--r--···0········0········0·····1183·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts
 207 -rw-r--r--···0········0········0······592·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.d.ts.map
 208 -rw-r--r--···0········0········0·····5181·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js
 209 -rw-r--r--···0········0········0····11568·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js.map
 210 -rw-r--r--···0········0········0······411·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts
 211 -rw-r--r--···0········0········0······388·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.d.ts.map
 212 -rw-r--r--···0········0········0····12366·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js
 213 -rw-r--r--···0········0········0····23134·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js.map
 214 -rw-r--r--···0········0········0·······82·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts
 215 -rw-r--r--···0········0········0······153·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.d.ts.map
 216 -rw-r--r--···0········0········0····15740·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js
 217 -rw-r--r--···0········0········0····18303·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js.map
 218 -rw-r--r--···0········0········0·····1194·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/index.d.ts
 219 -rw-r--r--···0········0········0·····1376·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/index.d.ts.map
 220 -rw-r--r--···0········0········0····10669·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/index.js
 221 -rw-r--r--···0········0········0····21591·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/index.js.map
 222 -rw-r--r--···0········0········0····27224·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/index.min.js
 223 -rw-r--r--···0········0········0····73770·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/index.min.js.map
 224 -rw-r--r--···0········0········0·······23·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/package.json
 225 -rw-r--r--···0········0········0······172·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts
 226 -rw-r--r--···0········0········0······255·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/string-width/index.d.ts.map
 227 -rw-r--r--···0········0········0·····1360·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/string-width/index.js
 228 -rw-r--r--···0········0········0·····2714·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/string-width/index.js.map
 229 -rw-r--r--···0········0········0·······92·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts
 230 -rw-r--r--···0········0········0······166·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.d.ts.map
 231 -rw-r--r--···0········0········0······170·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js
 232 -rw-r--r--···0········0········0······471·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js.map
 233 -rw-r--r--···0········0········0······213·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts
 234 -rw-r--r--···0········0········0······323·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.d.ts.map
 235 -rw-r--r--···0········0········0·····6662·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js
 236 -rw-r--r--···0········0········0····13993·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js.map
 237 -rw-r--r--···0········0········0·····4589·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/cliui/package.json
165 -rw-r--r--···0········0········0·····1155·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/LICENSE.md238 -rw-r--r--···0········0········0·····1155·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/LICENSE.md
166 -rw-r--r--···0········0········0·····2112·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/README.md239 -rw-r--r--···0········0········0·····1740·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/README.md
167 -rw-r--r--···0········0········0······334·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/commonjs/index.d.ts240 -rw-r--r--···0········0········0······334·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/commonjs/index.d.ts
168 -rw-r--r--···0········0········0······323·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/commonjs/index.d.ts.map241 -rw-r--r--···0········0········0······323·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/commonjs/index.d.ts.map
169 -rw-r--r--···0········0········0·····1779·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/commonjs/index.js242 -rw-r--r--···0········0········0·····1779·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/commonjs/index.js
170 -rw-r--r--···0········0········0·····4189·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/commonjs/index.js.map243 -rw-r--r--···0········0········0·····4189·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/commonjs/index.js.map
171 -rw-r--r--···0········0········0·······25·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/commonjs/package.json244 -rw-r--r--···0········0········0·······25·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/commonjs/package.json
172 -rw-r--r--···0········0········0······334·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/esm/index.d.ts245 -rw-r--r--···0········0········0······334·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/esm/index.d.ts
173 -rw-r--r--···0········0········0······323·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/esm/index.d.ts.map246 -rw-r--r--···0········0········0······323·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/esm/index.d.ts.map
174 -rw-r--r--···0········0········0·····1608·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/esm/index.js247 -rw-r--r--···0········0········0·····1608·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/esm/index.js
175 -rw-r--r--···0········0········0·····4155·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/esm/index.js.map248 -rw-r--r--···0········0········0·····4155·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/esm/index.js.map
176 -rw-r--r--···0········0········0·······23·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/dist/esm/package.json249 -rw-r--r--···0········0········0·······23·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/dist/esm/package.json
177 -rw-r--r--···0········0········0·····1844·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/balanced-match/package.json250 -rw-r--r--···0········0········0·····1641·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/balanced-match/package.json
178 -rw-r--r--···0········0········0·····1144·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/brace-expansion/LICENSE251 -rw-r--r--···0········0········0·····1144·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/brace-expansion/LICENSE
179 -rw-r--r--···0········0········0·····2525·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/brace-expansion/README.md252 -rw-r--r--···0········0········0·····2422·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/brace-expansion/README.md
180 -rw-r--r--···0········0········0······227·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/brace-expansion/dist/commonjs/index.d.ts253 -rw-r--r--···0········0········0······227·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/brace-expansion/dist/commonjs/index.d.ts
181 -rw-r--r--···0········0········0······273·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/brace-expansion/dist/commonjs/index.d.ts.map254 -rw-r--r--···0········0········0······273·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/brace-expansion/dist/commonjs/index.d.ts.map
182 -rw-r--r--···0········0········0·····6850·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/brace-expansion/dist/commonjs/index.js255 -rw-r--r--···0········0········0·····6842·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/brace-expansion/dist/commonjs/index.js
183 -rw-r--r--···0········0········0····13788·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/@isaacs/brace-expansion/dist/commonjs/index.js.map256 -rw-r--r--···0········0········0····13780·2026-02-09·13:37:12.000000·lib/node_modules/tshy/node_modules/brace-expansion/dist/commonjs/index.js.map
Max diff block lines reached; 48784/68366 bytes (71.36%) of diff not shown.
3.52 KB
lib/node_modules/tshy/node_modules/glob/package.json
3.42 KB
Pretty-printed
    
Offset 1, 62 lines modifiedOffset 1, 73 lines modified
1 {1 {
2 ····"author":·"Isaac·Z.·Schlueter·<[email protected]>·(https://blog.izs.me/)",2 ····"author":·"Isaac·Z.·Schlueter·<[email protected]>·(https://blog.izs.me/)",
3 ····"dependencies":·{3 ····"dependencies":·{
4 ········"minimatch":·"^10.1.2",4 ········"minimatch":·"^10.2.0",
5 ········"minipass":·"^7.1.2",5 ········"minipass":·"^7.1.2",
6 ········"path-scurry":·"^2.0.0"6 ········"path-scurry":·"^2.0.0"
7 ····},7 ····},
8 ····"description":·"the·most·correct·and·second·fastest·glob·implementation·in·JavaScript",8 ····"description":·"the·most·correct·and·second·fastest·glob·implementation·in·JavaScript",
9 ····"devDependencies":·{9 ····"devDependencies":·{
10 ········"@types/node":·"^24.10.0",10 ········"@types/node":·"^25.2.3",
 11 ········"esbuild":·"^0.27.3",
11 ········"memfs":·"^4.50.0",12 ········"memfs":·"^4.50.0",
12 ········"mkdirp":·"^3.0.1",13 ········"mkdirp":·"^3.0.1",
13 ········"prettier":·"^3.6.2",14 ········"prettier":·"^3.6.2",
14 ········"rimraf":·"^6.1.0",15 ········"rimraf":·"^6.1.0",
15 ········"tap":·"^21.1.3",16 ········"tap":·"^21.1.3",
16 ········"tshy":·"^3.0.3",17 ········"tshy":·"^3.0.3",
17 ········"typedoc":·"^0.28.14"18 ········"typedoc":·"^0.28.14"
18 ····},19 ····},
19 ····"engines":·{20 ····"engines":·{
20 ········"node":·"20·||·>=22"21 ········"node":·"20·||·>=22"
21 ····},22 ····},
22 ····"exports":·{23 ····"exports":·{
23 ········".":·{24 ········".":·{
24 ············"import":·{25 ············"import":·{
 26 ················"default":·"./dist/esm/index.min.js",
 27 ················"types":·"./dist/esm/index.d.ts"
 28 ············},
 29 ············"require":·{
 30 ················"default":·"./dist/commonjs/index.min.js",
 31 ················"types":·"./dist/commonjs/index.d.ts"
 32 ············}
 33 ········},
 34 ········"./package.json":·"./package.json",
 35 ········"./raw":·{
 36 ············"import":·{
25 ················"default":·"./dist/esm/index.js",37 ················"default":·"./dist/esm/index.js",
26 ················"types":·"./dist/esm/index.d.ts"38 ················"types":·"./dist/esm/index.d.ts"
27 ············},39 ············},
28 ············"require":·{40 ············"require":·{
29 ················"default":·"./dist/commonjs/index.js",41 ················"default":·"./dist/commonjs/index.js",
30 ················"types":·"./dist/commonjs/index.d.ts"42 ················"types":·"./dist/commonjs/index.d.ts"
31 ············}43 ············}
32 ········},44 ········}
33 ········"./package.json":·"./package.json" 
34 ····},45 ····},
35 ····"files":·[46 ····"files":·[
36 ········"dist"47 ········"dist"
37 ····],48 ····],
38 ····"funding":·{49 ····"funding":·{
39 ········"url":·"https://github.com/sponsors/isaacs"50 ········"url":·"https://github.com/sponsors/isaacs"
40 ····},51 ····},
41 ····"license":·"BlueOak-1.0.0",52 ····"license":·"BlueOak-1.0.0",
42 ····"main":·"./dist/commonjs/index.js",53 ····"main":·"./dist/commonjs/index.min.js",
43 ····"module":·"./dist/esm/index.js",54 ····"module":·"./dist/esm/index.min.js",
44 ····"name":·"glob",55 ····"name":·"glob",
45 ····"repository":·{56 ····"repository":·{
46 ········"type":·"git",57 ········"type":·"git",
47 ········"url":·"[email protected]:isaacs/node-glob.git"58 ········"url":·"[email protected]:isaacs/node-glob.git"
48 ····},59 ····},
49 ····"scripts":·{60 ····"scripts":·{
50 ········"bench":·"bash·benchmark.sh",61 ········"bench":·"bash·benchmark.sh",
51 ········"benchclean":·"node·benchclean.cjs",62 ········"benchclean":·"node·benchclean.cjs",
52 ········"format":·"prettier·--write·.·--log-level·warn",63 ········"format":·"prettier·--write·.·--log-level·warn",
53 ········"postversion":·"npm·publish",64 ········"postversion":·"npm·publish",
54 ········"prebench":·"npm·run·prepare",65 ········"prebench":·"npm·run·prepare",
55 ········"prepare":·"tshy",66 ········"prepare":·"tshy·&&·bash·scripts/build.sh",
56 ········"preprof":·"npm·run·prepare",67 ········"preprof":·"npm·run·prepare",
57 ········"prepublishOnly":·"npm·run·benchclean;·git·push·origin·--follow-tags",68 ········"prepublishOnly":·"npm·run·benchclean;·git·push·origin·--follow-tags",
58 ········"presnap":·"npm·run·prepare",69 ········"presnap":·"npm·run·prepare",
59 ········"pretest":·"npm·run·prepare",70 ········"pretest":·"npm·run·prepare",
60 ········"preversion":·"npm·test",71 ········"preversion":·"npm·test",
61 ········"prof":·"bash·prof.sh",72 ········"prof":·"bash·prof.sh",
62 ········"profclean":·"rm·-f·v8.log·profile.txt",73 ········"profclean":·"rm·-f·v8.log·profile.txt",
Offset 66, 16 lines modifiedOffset 77, 25 lines modified
66 ········"typedoc":·"typedoc"77 ········"typedoc":·"typedoc"
67 ····},78 ····},
68 ····"tap":·{79 ····"tap":·{
69 ········"before":·"test/00-setup.ts"80 ········"before":·"test/00-setup.ts"
70 ····},81 ····},
71 ····"tshy":·{82 ····"tshy":·{
72 ········"exports":·{83 ········"exports":·{
73 ············".":·"./src/index.ts",84 ············".":·{
 85 ················"import":·{
 86 ····················"default":·"./dist/esm/index.min.js",
 87 ····················"types":·"./dist/esm/index.d.ts"
 88 ················},
 89 ················"require":·{
 90 ····················"default":·"./dist/commonjs/index.min.js",
 91 ····················"types":·"./dist/commonjs/index.d.ts"
 92 ················}
 93 ············},
74 ············"./package.json":·"./package.json"94 ············"./package.json":·"./package.json",
 95 ············"./raw":·"./src/index.ts"
75 ········},96 ········}
76 ········"main":·true 
77 ····},97 ····},
78 ····"type":·"module",98 ····"type":·"module",
79 ····"types":·"./dist/commonjs/index.d.ts",99 ····"types":·"./dist/commonjs/index.d.ts",
Max diff block lines reached; 0/3475 bytes (0.00%) of diff not shown.
2.38 KB
lib/node_modules/tshy/node_modules/lru-cache/package.json
2.26 KB
Pretty-printed
    
Offset 14, 44 lines modifiedOffset 14, 44 lines modified
14 ····},14 ····},
15 ····"engines":·{15 ····"engines":·{
16 ········"node":·"20·||·>=22"16 ········"node":·"20·||·>=22"
17 ····},17 ····},
18 ····"exports":·{18 ····"exports":·{
19 ········".":·{19 ········".":·{
20 ············"import":·{20 ············"import":·{
21 ················"default":·"./dist/esm/index.js",21 ················"default":·"./dist/esm/index.min.js",
22 ················"types":·"./dist/esm/index.d.ts"22 ················"types":·"./dist/esm/index.d.ts"
23 ············},23 ············},
24 ············"require":·{24 ············"require":·{
25 ················"default":·"./dist/commonjs/index.js",25 ················"default":·"./dist/commonjs/index.min.js",
26 ················"types":·"./dist/commonjs/index.d.ts"26 ················"types":·"./dist/commonjs/index.d.ts"
27 ············}27 ············}
28 ········},28 ········},
29 ········"./min":·{29 ········"./raw":·{
30 ············"import":·{30 ············"import":·{
31 ················"default":·"./dist/esm/index.min.js",31 ················"default":·"./dist/esm/index.js",
32 ················"types":·"./dist/esm/index.d.ts"32 ················"types":·"./dist/esm/index.d.ts"
33 ············},33 ············},
34 ············"require":·{34 ············"require":·{
35 ················"default":·"./dist/commonjs/index.min.js",35 ················"default":·"./dist/commonjs/index.js",
36 ················"types":·"./dist/commonjs/index.d.ts"36 ················"types":·"./dist/commonjs/index.d.ts"
37 ············}37 ············}
38 ········}38 ········}
39 ····},39 ····},
40 ····"files":·[40 ····"files":·[
41 ········"dist"41 ········"dist"
42 ····],42 ····],
43 ····"keywords":·[43 ····"keywords":·[
44 ········"mru",44 ········"mru",
45 ········"lru",45 ········"lru",
46 ········"cache"46 ········"cache"
47 ····],47 ····],
48 ····"license":·"BlueOak-1.0.0",48 ····"license":·"BlueOak-1.0.0",
49 ····"main":·"./dist/commonjs/index.js",49 ····"main":·"./dist/commonjs/index.min.js",
50 ····"module":·"./dist/esm/index.js",50 ····"module":·"./dist/esm/index.min.js",
51 ····"name":·"lru-cache",51 ····"name":·"lru-cache",
52 ····"repository":·{52 ····"repository":·{
53 ········"type":·"git",53 ········"type":·"git",
54 ········"url":·"git+ssh://[email protected]/isaacs/node-lru-cache.git"54 ········"url":·"git+ssh://[email protected]/isaacs/node-lru-cache.git"
55 ····},55 ····},
56 ····"scripts":·{56 ····"scripts":·{
57 ········"benchmark":·"make·-C·benchmark",57 ········"benchmark":·"make·-C·benchmark",
Offset 78, 24 lines modifiedOffset 78, 24 lines modified
78 ········],78 ········],
79 ········"plugin":·[79 ········"plugin":·[
80 ············"@tapjs/clock"80 ············"@tapjs/clock"
81 ········]81 ········]
82 ····},82 ····},
83 ····"tshy":·{83 ····"tshy":·{
84 ········"exports":·{84 ········"exports":·{
85 ············".":·"./src/index.ts", 
86 ············"./min":·{85 ············".":·{
87 ················"import":·{86 ················"import":·{
88 ····················"default":·"./dist/esm/index.min.js",87 ····················"default":·"./dist/esm/index.min.js",
89 ····················"types":·"./dist/esm/index.d.ts"88 ····················"types":·"./dist/esm/index.d.ts"
90 ················},89 ················},
91 ················"require":·{90 ················"require":·{
92 ····················"default":·"./dist/commonjs/index.min.js",91 ····················"default":·"./dist/commonjs/index.min.js",
93 ····················"types":·"./dist/commonjs/index.d.ts"92 ····················"types":·"./dist/commonjs/index.d.ts"
94 ················}93 ················}
95 ············}94 ············},
 95 ············"./raw":·"./src/index.ts"
96 ········}96 ········}
97 ····},97 ····},
98 ····"type":·"module",98 ····"type":·"module",
99 ····"types":·"./dist/commonjs/index.d.ts",99 ····"types":·"./dist/commonjs/index.d.ts",
100 ····"version":·"11.2.5"100 ····"version":·"11.2.6"
101 }101 }
618 B
lib/node_modules/tshy/node_modules/minimatch/README.md
    
Offset 153, 15 lines modifiedOffset 153, 17 lines modified
  
153 ###·minimatch.filter(pattern,·options)153 ###·minimatch.filter(pattern,·options)
  
154 Returns·a·function·that·tests·its154 Returns·a·function·that·tests·its
155 supplied·argument,·suitable·for·use·with·`Array.filter`.·Example:155 supplied·argument,·suitable·for·use·with·`Array.filter`.·Example:
  
156 ```javascript156 ```javascript
157 var·javascripts·=·fileList.filter(minimatch.filter('*.js',·{·matchBase:·true·}))157 var·javascripts·=·fileList.filter(
 158 ··minimatch.filter('*.js',·{·matchBase:·true·}),
 159 )
158 ```160 ```
  
159 ###·minimatch.escape(pattern,·options·=·{})161 ###·minimatch.escape(pattern,·options·=·{})
  
160 Escape·all·magic·characters·in·a·glob·pattern,·so·that·it·will162 Escape·all·magic·characters·in·a·glob·pattern,·so·that·it·will
161 only·ever·match·literal·strings.163 only·ever·match·literal·strings.
  
1.86 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/ast.d.ts.map
1.72 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"ast.d.ts",2 ····"file":·"ast.d.ts",
3 ····"mappings":·"AAGA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAwCvD,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;AAkCrD,qBAAa,GAAG;;IACd,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;gBAiBtB,IAAI,EAAE,WAAW,GAAG,IAAI,EACxB,MAAM,CAAC,EAAE,GAAG,EACZ,OAAO,GAAE,gBAAqB;IAahC,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAUlC;IAGD,QAAQ,IAAI,MAAM;IA+ClB,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE;IAY/B,MAAM;IAgBN,OAAO,IAAI,OAAO;IAgBlB,KAAK,IAAI,OAAO;IAYhB,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM;IAKzB,KAAK,CAAC,MAAM,EAAE,GAAG;IAsIjB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB;IAQ/D,WAAW,IAAI,QAAQ,GAAG,MAAM;IA2BhC,IAAI,OAAO,qBAEV;IAuED,cAAc,CAC[·...·truncated·by·diffoscope;·len:·116,·SHA:·2ef11ead35b430fc13e7740c5e22c7e5aedf20b59e4cffacca9d18a13fb506c0·...·]MjE",3 ····"mappings":·"AAGA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAwCvD,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;AAkCrD,qBAAa,GAAG;;IACd,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;gBAiBtB,IAAI,EAAE,WAAW,GAAG,IAAI,EACxB,MAAM,CAAC,EAAE,GAAG,EACZ,OAAO,GAAE,gBAAqB;IAahC,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAUlC;IAGD,QAAQ,IAAI,MAAM;IA+ClB,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE;IAe/B,MAAM;IAkBN,OAAO,IAAI,OAAO;IAgBlB,KAAK,IAAI,OAAO;IAYhB,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM;IAKzB,KAAK,CAAC,MAAM,EAAE,GAAG;IAsIjB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB;IAQ/D,WAAW,IAAI,QAAQ,GAAG,MAAM;IA2BhC,IAAI,OAAO,qBAEV;IAuED,cAAc,CAC[·...·truncated·by·diffoscope;·len:·116,·SHA:·1be9f8a865a47f89b138b0b855df117125cb337d6ddb4d254a439f33e8bcfb74·...·]MjE",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/ast.ts"7 ········"../../src/ast.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
154 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/ast.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 285, 1144 lines modifiedOffset 285, 1145 lines modified
000011c0:·2020·2069·6620·2870·203d·3d3d·2027·2729·····if·(p·===·'')000011c0:·2020·2069·6620·2870·203d·3d3d·2027·2729·····if·(p·===·'')
000011d0:·0a20·2020·2020·2020·2020·2020·2020·2020··.···············000011d0:·0a20·2020·2020·2020·2020·2020·2020·2020··.···············
000011e0:·2063·6f6e·7469·6e75·653b·0a20·2020·2020···continue;.·····000011e0:·2063·6f6e·7469·6e75·653b·0a20·2020·2020···continue;.·····
000011f0:·2020·2020·2020·202f·2a20·6338·2069·676e·········/*·c8·ign000011f0:·2020·2020·2020·202f·2a20·6338·2069·676e·········/*·c8·ign
00001200:·6f72·6520·7374·6172·7420·2a2f·0a20·2020··ore·start·*/.···00001200:·6f72·6520·7374·6172·7420·2a2f·0a20·2020··ore·start·*/.···
00001210:·2020·2020·2020·2020·2069·6620·2874·7970···········if·(typ00001210:·2020·2020·2020·2020·2069·6620·2874·7970···········if·(typ
00001220:·656f·6620·7020·213d·3d20·2773·7472·696e··eof·p·!==·'strin00001220:·656f·6620·7020·213d·3d20·2773·7472·696e··eof·p·!==·'strin
 00001230:·6727·2026·260a·2020·2020·2020·2020·2020··g'·&&.··········
00001230:·6727·2026·2620·2128·7020·696e·7374·616e··g'·&&·!(p·instan00001240:·2020·2020·2020·2128·7020·696e·7374·616e········!(p·instan
00001240:·6365·6f66·2041·5354·2026·2620·702e·2370··ceof·AST·&&·p.#p00001250:·6365·6f66·2041·5354·2026·2620·702e·2370··ceof·AST·&&·p.#p
00001250:·6172·656e·7420·3d3d·3d20·7468·6973·2929··arent·===·this))00001260:·6172·656e·7420·3d3d·3d20·7468·6973·2929··arent·===·this))
00001260:·207b·0a20·2020·2020·2020·2020·2020·2020···{.·············00001270:·207b·0a20·2020·2020·2020·2020·2020·2020···{.·············
00001270:·2020·2074·6872·6f77·206e·6577·2045·7272·····throw·new·Err00001280:·2020·2074·6872·6f77·206e·6577·2045·7272·····throw·new·Err
00001280:·6f72·2827·696e·7661·6c69·6420·7061·7274··or('invalid·part00001290:·6f72·2827·696e·7661·6c69·6420·7061·7274··or('invalid·part
00001290:·3a20·2720·2b20·7029·3b0a·2020·2020·2020··:·'·+·p);.······000012a0:·3a20·2720·2b20·7029·3b0a·2020·2020·2020··:·'·+·p);.······
000012a0:·2020·2020·2020·7d0a·2020·2020·2020·2020········}.········000012b0:·2020·2020·2020·7d0a·2020·2020·2020·2020········}.········
000012b0:·2020·2020·2f2a·2063·3820·6967·6e6f·7265······/*·c8·ignore000012c0:·2020·2020·2f2a·2063·3820·6967·6e6f·7265······/*·c8·ignore
000012c0:·2073·746f·7020·2a2f·0a20·2020·2020·2020···stop·*/.·······000012d0:·2073·746f·7020·2a2f·0a20·2020·2020·2020···stop·*/.·······
000012d0:·2020·2020·2074·6869·732e·2370·6172·7473·······this.#parts000012e0:·2020·2020·2074·6869·732e·2370·6172·7473·······this.#parts
000012e0:·2e70·7573·6828·7029·3b0a·2020·2020·2020··.push(p);.······000012f0:·2e70·7573·6828·7029·3b0a·2020·2020·2020··.push(p);.······
000012f0:·2020·7d0a·2020·2020·7d0a·2020·2020·746f····}.····}.····to00001300:·2020·7d0a·2020·2020·7d0a·2020·2020·746f····}.····}.····to
00001300:·4a53·4f4e·2829·207b·0a20·2020·2020·2020··JSON()·{.·······00001310:·4a53·4f4e·2829·207b·0a20·2020·2020·2020··JSON()·{.·······
00001310:·2063·6f6e·7374·2072·6574·203d·2074·6869···const·ret·=·thi00001320:·2063·6f6e·7374·2072·6574·203d·2074·6869···const·ret·=·thi
00001320:·732e·7479·7065·203d·3d3d·206e·756c·6c0a··s.type·===·null.00001330:·732e·7479·7065·203d·3d3d·206e·756c·6c20··s.type·===·null·
00001330:·2020·2020·2020·2020·2020·2020·3f20·7468··············?·th00001340:·3f0a·2020·2020·2020·2020·2020·2020·7468··?.············th
 00001350:·6973·2e23·7061·7274·730a·2020·2020·2020··is.#parts.······
 00001360:·2020·2020·2020·2020·2020·2e73·6c69·6365············.slice
00001340:·6973·2e23·7061·7274·732e·736c·6963·6528··is.#parts.slice( 
00001350:·292e·6d61·7028·7020·3d3e·2028·7479·7065··).map(p·=>·(type 
00001360:·6f66·2070·203d·3d3d·2027·7374·7269·6e67··of·p·===·'string 
00001370:·2720·3f20·7020·3a20·702e·746f·4a53·4f4e··'·?·p·:·p.toJSON 
00001380:·2829·2929·0a20·2020·2020·2020·2020·2020··())).···········00001370:·2829·0a20·2020·2020·2020·2020·2020·2020··().·············
 00001380:·2020·202e·6d61·7028·7020·3d3e·2028·7479·····.map(p·=>·(ty
 00001390:·7065·6f66·2070·203d·3d3d·2027·7374·7269··peof·p·===·'stri
 000013a0:·6e67·2720·3f20·7020·3a20·702e·746f·4a53··ng'·?·p·:·p.toJS
 000013b0:·4f4e·2829·2929·0a20·2020·2020·2020·2020··ON())).·········
00001390:·203a·205b·7468·6973·2e74·7970·652c·202e···:·[this.type,·.000013c0:·2020·203a·205b·7468·6973·2e74·7970·652c·····:·[this.type,
000013a0:·2e2e·7468·6973·2e23·7061·7274·732e·6d61··..this.#parts.ma000013d0:·202e·2e2e·7468·6973·2e23·7061·7274·732e···...this.#parts.
000013b0:·7028·7020·3d3e·2070·2e74·6f4a·534f·4e28··p(p·=>·p.toJSON(000013e0:·6d61·7028·7020·3d3e·2070·2e74·6f4a·534f··map(p·=>·p.toJSO
000013c0:·2929·5d3b·0a20·2020·2020·2020·2069·6620··))];.········if·000013f0:·4e28·2929·5d3b·0a20·2020·2020·2020·2069··N())];.········i
000013d0:·2874·6869·732e·6973·5374·6172·7428·2920··(this.isStart()·00001400:·6620·2874·6869·732e·6973·5374·6172·7428··f·(this.isStart(
000013e0:·2626·2021·7468·6973·2e74·7970·6529·0a20··&&·!this.type).·00001410:·2920·2626·2021·7468·6973·2e74·7970·6529··)·&&·!this.type)
000013f0:·2020·2020·2020·2020·2020·2072·6574·2e75·············ret.u00001420:·0a20·2020·2020·2020·2020·2020·2072·6574··.············ret
00001400:·6e73·6869·6674·285b·5d29·3b0a·2020·2020··nshift([]);.····00001430:·2e75·6e73·6869·6674·285b·5d29·3b0a·2020··.unshift([]);.··
00001410:·2020·2020·6966·2028·7468·6973·2e69·7345······if·(this.isE00001440:·2020·2020·2020·6966·2028·7468·6973·2e69········if·(this.i
00001420:·6e64·2829·2026·260a·2020·2020·2020·2020··nd()·&&.········00001450:·7345·6e64·2829·2026·260a·2020·2020·2020··sEnd()·&&.······
00001430:·2020·2020·2874·6869·7320·3d3d·3d20·7468······(this·===·th00001460:·2020·2020·2020·2874·6869·7320·3d3d·3d20········(this·===·
00001440:·6973·2e23·726f·6f74·207c·7c0a·2020·2020··is.#root·||.····00001470:·7468·6973·2e23·726f·6f74·207c·7c0a·2020··this.#root·||.··
00001450:·2020·2020·2020·2020·2020·2020·2874·6869··············(thi00001480:·2020·2020·2020·2020·2020·2020·2020·2874················(t
00001460:·732e·2372·6f6f·742e·2366·696c·6c65·644e··s.#root.#filledN00001490:·6869·732e·2372·6f6f·742e·2366·696c·6c65··his.#root.#fille
00001470:·6567·7320·2626·2074·6869·732e·2370·6172··egs·&&·this.#par000014a0:·644e·6567·7320·2626·2074·6869·732e·2370··dNegs·&&·this.#p
00001480:·656e·743f·2e74·7970·6520·3d3d·3d20·2721··ent?.type·===·'!000014b0:·6172·656e·743f·2e74·7970·6520·3d3d·3d20··arent?.type·===·
00001490:·2729·2929·207b·0a20·2020·2020·2020·2020··')))·{.·········000014c0:·2721·2729·2929·207b·0a20·2020·2020·2020··'!')))·{.·······
000014a0:·2020·2072·6574·2e70·7573·6828·7b7d·293b·····ret.push({});000014d0:·2020·2020·2072·6574·2e70·7573·6828·7b7d·······ret.push({}
000014b0:·0a20·2020·2020·2020·207d·0a20·2020·2020··.········}.·····000014e0:·293b·0a20·2020·2020·2020·207d·0a20·2020··);.········}.···
000014c0:·2020·2072·6574·7572·6e20·7265·743b·0a20·····return·ret;.·000014f0:·2020·2020·2072·6574·7572·6e20·7265·743b·······return·ret;
000014d0:·2020·207d·0a20·2020·2069·7353·7461·7274·····}.····isStart00001500:·0a20·2020·207d·0a20·2020·2069·7353·7461··.····}.····isSta
000014e0:·2829·207b·0a20·2020·2020·2020·2069·6620··()·{.········if·00001510:·7274·2829·207b·0a20·2020·2020·2020·2069··rt()·{.········i
000014f0:·2874·6869·732e·2372·6f6f·7420·3d3d·3d20··(this.#root·===·00001520:·6620·2874·6869·732e·2372·6f6f·7420·3d3d··f·(this.#root·==
00001500:·7468·6973·290a·2020·2020·2020·2020·2020··this).··········00001530:·3d20·7468·6973·290a·2020·2020·2020·2020··=·this).········
00001510:·2020·7265·7475·726e·2074·7275·653b·0a20····return·true;.·00001540:·2020·2020·7265·7475·726e·2074·7275·653b······return·true;
00001520:·2020·2020·2020·202f·2f20·6966·2028·7468·········//·if·(th00001550:·0a20·2020·2020·2020·202f·2f20·6966·2028··.········//·if·(
00001530:·6973·2e74·7970·6529·2072·6574·7572·6e20··is.type)·return·00001560:·7468·6973·2e74·7970·6529·2072·6574·7572··this.type)·retur
00001540:·2121·7468·6973·2e23·7061·7265·6e74·3f2e··!!this.#parent?.00001570:·6e20·2121·7468·6973·2e23·7061·7265·6e74··n·!!this.#parent
00001550:·6973·5374·6172·7428·290a·2020·2020·2020··isStart().······00001580:·3f2e·6973·5374·6172·7428·290a·2020·2020··?.isStart().····
00001560:·2020·6966·2028·2174·6869·732e·2370·6172····if·(!this.#par00001590:·2020·2020·6966·2028·2174·6869·732e·2370······if·(!this.#p
00001570:·656e·743f·2e69·7353·7461·7274·2829·290a··ent?.isStart()).000015a0:·6172·656e·743f·2e69·7353·7461·7274·2829··arent?.isStart()
00001580:·2020·2020·2020·2020·2020·2020·7265·7475··············retu000015b0:·290a·2020·2020·2020·2020·2020·2020·7265··).············re
00001590:·726e·2066·616c·7365·3b0a·2020·2020·2020··rn·false;.······000015c0:·7475·726e·2066·616c·7365·3b0a·2020·2020··turn·false;.····
 000015d0:·2020·2020·6966·2028·7468·6973·2e23·7061······if·(this.#pa
 000015e0:·7265·6e74·496e·6465·7820·3d3d·3d20·3029··rentIndex·===·0)
 000015f0:·0a20·2020·2020·2020·2020·2020·2072·6574··.············ret
 00001600:·7572·6e20·7472·7565·3b0a·2020·2020·2020··urn·true;.······
 00001610:·2020·2f2f·2069·6620·6576·6572·7974·6869····//·if·everythi
 00001620:·6e67·2041·4845·4144·206f·6620·7468·6973··ng·AHEAD·of·this
 00001630:·2069·7320·6120·6e65·6761·7469·6f6e·2c20···is·a·negation,·
 00001640:·7468·656e·2069·7427·7320·7374·696c·6c20··then·it's·still·
 00001650:·7468·6520·2273·7461·7274·220a·2020·2020··the·"start".····
 00001660:·2020·2020·636f·6e73·7420·7020·3d20·7468······const·p·=·th
 00001670:·6973·2e23·7061·7265·6e74·3b0a·2020·2020··is.#parent;.····
 00001680:·2020·2020·666f·7220·286c·6574·2069·203d······for·(let·i·=
 00001690:·2030·3b20·6920·3c20·7468·6973·2e23·7061···0;·i·<·this.#pa
 000016a0:·7265·6e74·496e·6465·783b·2069·2b2b·2920··rentIndex;·i++)·
 000016b0:·7b0a·2020·2020·2020·2020·2020·2020·636f··{.············co
 000016c0:·6e73·7420·7070·203d·2070·2e23·7061·7274··nst·pp·=·p.#part
 000016d0:·735b·695d·3b0a·2020·2020·2020·2020·2020··s[i];.··········
 000016e0:·2020·6966·2028·2128·7070·2069·6e73·7461····if·(!(pp·insta
 000016f0:·6e63·656f·6620·4153·5420·2626·2070·702e··nceof·AST·&&·pp.
 00001700:·7479·7065·203d·3d3d·2027·2127·2929·207b··type·===·'!'))·{
 00001710:·0a20·2020·2020·2020·2020·2020·2020·2020··.···············
 00001720:·2072·6574·7572·6e20·6661·6c73·653b·0a20···return·false;.·
 00001730:·2020·2020·2020·2020·2020·207d·0a20·2020·············}.···
 00001740:·2020·2020·207d·0a20·2020·2020·2020·2072·······}.········r
 00001750:·6574·7572·6e20·7472·7565·3b0a·2020·2020··eturn·true;.····
 00001760:·7d0a·2020·2020·6973·456e·6428·2920·7b0a··}.····isEnd()·{.
 00001770:·2020·2020·2020·2020·6966·2028·7468·6973··········if·(this
 00001780:·2e23·726f·6f74·203d·3d3d·2074·6869·7329··.#root·===·this)
 00001790:·0a20·2020·2020·2020·2020·2020·2072·6574··.············ret
 000017a0:·7572·6e20·7472·7565·3b0a·2020·2020·2020··urn·true;.······
Max diff block lines reached; 143640/157190 bytes (91.38%) of diff not shown.
79.8 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/ast.js.map
79.6 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified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AG,CAAC,CAAC,CAAA;YACvC,CAAC;YACD,oBAAoB;YACpB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QACrB,CAAC;IACH,CAAC;IAED,MA[·...·truncated·by·diffoscope;·len:·14090,·SHA:·ea244ba88e054633e807d6b08393ecf68525be6d326bd8a4c8021087fa3f6b84·...·]lBC",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/ast.ts"7 ········"../../src/ast.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·parse·a·single·path·portion\n\nimport·{·parseClass·}·from·'./brace-expressions.js'\nimport·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'\nimport·{·unescape·}·from·'./unescape.js'\n\n//·classes·[]·are·handled·by·the·parseClass·method\n//·for·positive·extglobs,·we·sub-parse·the·contents,·and·combine,\n//·with·the·appropriate·regexp·close.\n//·for·negative·extglobs,·we·sub-parse·the·contents,·but·then\n//·have·to·include·the·rest·of·the·pattern,·then·the·parent,·etc.,\n//·as·the·thing·that·cannot·be·because·RegExp·negative·lookaheads\n//·are·different·from·globs.\n//\n//·So·for·example:\n//·a@(i|w!(x|y)z|j)b·=>·^a(i|w((!?(x|y)zb).*)z|j)b$\n//···1···2·3···4·5·6······1···2····3···46······5·6\n//\n//·Assembling·the·extglob·requires·not·just·the·negated·patterns·themselves,\n//·but·also·anything·following·the·negative·patterns·up·to·the·boundary\n//·of·the·current·pattern,·plus·anything·following·in·the·parent·pattern.\n//\n//\n//·So,·first,·we·parse·the·string·into·an·AST·of·extglobs,·without·turning\n//·anything·into·regexps·yet.\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y']},·'z'],·['j']]},·'b']\n//\n//·Then,·for·all·the·negative·extglobs,·we·append·whatever·comes·after·in\n//·each·parent·as·their·tail\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y'],·'z',·'b'},·'z'],·['j']]},·'b']\n//\n//·Lastly,·we·turn·each·of·these·pieces·into·a·regexp,·and·join\n//\n//·································v-----·.*·because·there's·more·following,\n//·································v····v··otherwise,·.+·because·it·must·be\n//·································v····v··*something*·there.\n//·['^a',·{@·['i',·'w(?:(!?(?:x|y).*zb$).*)z',·'j'·]},·'b$']\n//···copy·what·follows·into·here--^^^^^\n//·['^a',·'(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)',·'b$']\n//·['^a(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)b$']\n\nexport·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'\nconst·types·=·new·Set<ExtglobType>(['!',·'?',·'+',·'*',·'@'])\nconst·isExtglobType·=·(c:·string):·c·is·ExtglobType·=>\n··types.has(c·as·ExtglobType)\n\n//·Patterns·that·get·prepended·to·bind·to·the·start·of·either·the\n//·entire·string,·or·just·a·single·path·portion,·to·prevent·dots\n//·and/or·traversal·patterns,·when·needed.\n//·Exts·don't·need·the·^·or·/·bit,·because·the·root·binds·that·already.\nconst·startNoTraversal·=·'(?!(?:^|/)\\\\.\\\\.?(?:$|/))'\nconst·startNoDot·=·'(?!\\\\.)'\n\n//·characters·that·indicate·a·start·of·pattern·needs·the·\"no·dots\"·bit,\n//·because·a·dot·*might*·be·matched.·(·is·not·in·the·list,·because·in\n//·the·case·of·a·child·extglob,·it·will·handle·the·prevention·itself.\nconst·addPatternStart·=·new·Set(['[',·'.'])\n//·cases·where·traversal·is·A-OK,·no·dot·prevention·needed\nconst·justDots·=·new·Set(['..',·'.'])\nconst·reSpecials·=·new·Set('().*{}+?[]^$\\\\!')\nconst·regExpEscape·=·(s:·string)·=>\n··s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,·'\\\\$&')\n\n//·any·single·thing·other·than·/\nconst·qmark·=·'[^/]'\n\n//·*·=>·any·number·of·characters\nconst·star·=·qmark·+·'*?'\n//·use·+·when·we·need·to·ensure·that·*something*·matches,·because·the·*·is\n//·the·only·thing·in·the·path·portion.\nconst·starNoEmpty·=·qmark·+·'+?'\n\n//·remove·the·\\·chars·that·we·added·if·we·end·up·doing·a·nonmagic·compare\n//·const·deslash·=·(s:·string)·=>·s.replace(/\\\\(.)/g,·'$1')\n\nexport·class·AST·{\n··type:·ExtglobType·|·null\n··readonly·#root:·AST\n\n··#hasMagic?:·boolean\n··#uflag:·boolean·=·false\n··#parts:·(string·|·AST)[]·=·[]\n··readonly·#parent?:·AST\n··readonly·#parentIndex:·number\n··#negs:·AST[]\n··#filledNegs:·boolean·=·false\n··#options:·MinimatchOptions\n··#toString?:·string\n··//·set·to·true·if·it's·an·extglob·with·no·children\n··//·(which·really·means·one·child·of·'')\n··#emptyExt:·boolean·=·false\n\n··constructor(\n····type:·ExtglobType·|·null,\n····parent?:·AST,\n····options:·MinimatchOptions·=·{},\n··)·{\n····this.type·=·type\n····//·extglobs·are·inherently·magical\n····if·(type)·this.#hasMagic·=·true\n····this.#parent·=·parent\n····this.#root·=·this.#parent·?·this.#parent.#root·:·this\n····this.#options·=·this.#root·===·this·?·options·:·this.#root.#options\n····this.#negs·=·this.#root·===·this·?·[]·:·this.#root.#negs\n····if·(type·===·'!'·&&·!this.#root.#filledNegs)·this.#negs.push(this)\n····this.#parentIndex·=·this.#parent·?·this.#parent.#parts.length·:·0\n··}\n\n··get·hasMagic():·boolean·|·undefined·{\n····/*·c8·ignore·start·*/\n····if·(this.#hasMagic·!==·undefined)·return·this.#hasMagic\n····/*·c8·ignore·stop·*/\n····for·(const·p·of·this.#parts)·{\n······if·(typeof·p·===·'string')·continue\n······if·(p.type·||·p.hasMagic)·return·(this.#hasMagic·=·true)\n····}\n····//·note:·will·be·undefined·until·we·generate·the·regexp·src·and·find·out\n····return·this.#hasMagic\n··}\n\n··//·reconstructs·the·pattern\n··toString():·string·{\n····if·(this.#toString·!==·undefined)·return·this.#toString\n····if·(!this.type)·{\n······return·(this.#toString·=·this.#parts.map(p·=>·String(p)).join(''))\n····}·else·{\n······return·(this.#toString·=\n········this.type·+·'('·+·this.#parts.map(p·=>·String(p)).join('|')·+·')')\n····}\n··}\n\n··#fillNegs()·{\n····/*·c8·ignore·start·*/\n····if·(this·!==·this.#root)·throw·new·Error('should·only·call·on·root')\n····if·(this.#filledNegs)·return·this\n····/*·c8·ignore·stop·*/\n\n····//·call·toString()·once·to·fill·this·out\n····this.toString()\n····this.#filledNegs·=·true\n····let·n:·AST·|·undefined\n····while·((n·=·this.#negs.pop()))·{\n······if·(n.type·!==·'!')·continue\n······//·walk·up·the·tree,·appending·everthing·that·comes·AFTER·parentIndex\n······let·p:·AST·|·undefined·=·n\n······let·pp·=·p.#parent\n······while·(pp)·{\n········for·(\n··········let·i·=·p.#parentIndex·+·1;\n··········!pp.type·&&·i·<·pp.#parts.length;\n··········i++\n········)·{\n··········for·(const·part·of·n.#parts)·{\n············/*·c8·ignore·start·*/\n············if·(typeof·part·===·'string')·{\n··············throw·new·Error('string·part·in·extglob·AST??')\n············}\n············/*·c8·ignore·stop·*/\n············part.copyIn(pp.#parts[i])\n··········}\n········}\n········p·=·pp\n········pp·=·p.#parent\n······}\n····}\n····return·this\n··}\n\n··push(...parts:·(string·|·AST)[])·{\n····for·(const·p·of·parts)·{\n······if·(p·===·'')·continue\n······/*·c8·ignore·start·*/\n······if·(typeof·p·!==·'string'·&&·!(p·instanceof·AST·&&·p.#parent·===·this))·{\n········throw·new·Error('invalid·part:·'·+·p)\n······}\n······/*·c8·ignore·stop·*/\n······this.#parts.push(p)\n····}\n··}\n\n··toJSON()·{\n····const·ret:·any[]·=\n······this.type·===·nu[·...·truncated·by·diffoscope;·len:·13851,·SHA:·e61762108f1a7decad6655bb52ba0836b806c0f15d4ccc03e4e7a1856470844c·...·]········:·`)${this.type}`\n······final·=·start·+·body·+·close\n····}\n····return·[\n······final,\n······unescape(body),\n······(this.#hasMagic·=·!!this.#hasMagic),\n······this.#uflag,\n····]\n··}\n\n··#partsToRegExp(dot:·boolean)·{\n····return·this.#parts\n······.map(p·=>·{\n········//·extglob·ASTs·should·only·contain·parent·ASTs\n········/*·c8·ignore·start·*/\n········if·(typeof·p·===·'string')·{\n··········throw·new·Error('string·type·in·extglob·ast??')\n········}\n········/*·c8·ignore·stop·*/\n········//·can·ignore·hasMagic,·because·extglobs·are·already·always·magic\n········const·[re,·_,·_hasMagic,·uflag]·=·p.toRegExpSource(dot)\n········this.#uflag·=·this.#uflag·||·uflag\n········return·re\n······})\n······.filter(p·=>·!(this.isStart()·&&·this.isEnd())·||·!!p)\n······.join('|')\n··}\n\n··static·#parseGlob(\n····glob:·string,\n····hasMagic:·boolean·|·undefined,\n····noEmpty:·boolean·=·false,\n··):·[re:·string,·body:·string,·hasMagic:·boolean,·uflag:·boolean]·{\n····let·escaping·=·false\n····let·re·=·''\n····let·uflag·=·false\n····for·(let·i·=·0;·i·<·glob.length;·i++)·{\n······const·c·=·glob.charAt(i)\n······if·(escaping)·{\n········escaping·=·false\n········re·+=·(reSpecials.has(c)·?·'\\\\'·:·'')·+·c\n········continue\n······}\n······if·(c·===·'\\\\')·{\n········if·(i·===·glob.length·-·1)·{\n··········re·+=·'\\\\\\\\'\n········}·else·{\n··········escaping·=·true\n········}\n········continue\n······}\n······if·(c·===·'[')·{\n········const·[src,·needUflag,·consumed,·magic]·=·parseClass(glob,·i)\n········if·(consumed)·{\n··········re·+=·src\n··········uflag·=·uflag·||·needUflag\n··········i·+=·consumed·-·1\n··········hasMagic·=·hasMagic·||·magic\n··········continue\n········}\n······}\n······if·(c·===·'*')·{\n········re·+=·noEmpty·&&·glob·===·'*'·?·starNoEmpty·:·star\n········hasMagic·=·true\n········continue\n······}\n······if·(c·===·'?')·{\n········re·+=·qmark\n········hasMagic·=·true\n········continue\n······}\n······re·+=·regExpEscape(c)\n····}\n····return·[re,·unescape(glob),·!!hasMagic,·uflag]\n··}\n}\n"10 ········"//·parse·a·single·path·portion\n\nimport·{·parseClass·}·from·'./brace-expressions.js'\nimport·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'\nimport·{·unescape·}·from·'./unescape.js'\n\n//·classes·[]·are·handled·by·the·parseClass·method\n//·for·positive·extglobs,·we·sub-parse·the·contents,·and·combine,\n//·with·the·appropriate·regexp·close.\n//·for·negative·extglobs,·we·sub-parse·the·contents,·but·then\n//·have·to·include·the·rest·of·the·pattern,·then·the·parent,·etc.,\n//·as·the·thing·that·cannot·be·because·RegExp·negative·lookaheads\n//·are·different·from·globs.\n//\n//·So·for·example:\n//·a@(i|w!(x|y)z|j)b·=>·^a(i|w((!?(x|y)zb).*)z|j)b$\n//···1···2·3···4·5·6······1···2····3···46······5·6\n//\n//·Assembling·the·extglob·requires·not·just·the·negated·patterns·themselves,\n//·but·also·anything·following·the·negative·patterns·up·to·the·boundary\n//·of·the·current·pattern,·plus·anything·following·in·the·parent·pattern.\n//\n//\n//·So,·first,·we·parse·the·string·into·an·AST·of·extglobs,·without·turning\n//·anything·into·regexps·yet.\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y']},·'z'],·['j']]},·'b']\n//\n//·Then,·for·all·the·negative·extglobs,·we·append·whatever·comes·after·in\n//·each·parent·as·their·tail\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y'],·'z',·'b'},·'z'],·['j']]},·'b']\n//\n//·Lastly,·we·turn·each·of·these·pieces·into·a·regexp,·and·join\n//\n//·································v-----·.*·because·there's·more·following,\n//·································v····v··otherwise,·.+·because·it·must·be\n//·································v····v··*something*·there.\n//·['^a',·{@·['i',·'w(?:(!?(?:x|y).*zb$).*)z',·'j'·]},·'b$']\n//···copy·what·follows·into·here--^^^^^\n//·['^a',·'(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)',·'b$']\n//·['^a(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)b$']\n\nexport·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'\nconst·types·=·new·Set<ExtglobType>(['!',·'?',·'+',·'*',·'@'])\nconst·isExtglobType·=·(c:·string):·c·is·ExtglobType·=>\n··types.has(c·as·ExtglobType)\n\n//·Patterns·that·get·prepended·to·bind·to·the·start·of·either·the\n//·entire·string,·or·just·a·single·path·portion,·to·prevent·dots\n//·and/or·traversal·patterns,·when·needed.\n//·Exts·don't·need·the·^·or·/·bit,·because·the·root·binds·that·already.\nconst·startNoTraversal·=·'(?!(?:^|/)\\\\.\\\\.?(?:$|/))'\nconst·startNoDot·=·'(?!\\\\.)'\n\n//·characters·that·indicate·a·start·of·pattern·needs·the·\"no·dots\"·bit,\n//·because·a·dot·*might*·be·matched.·(·is·not·in·the·list,·because·in\n//·the·case·of·a·child·extglob,·it·will·handle·the·prevention·itself.\nconst·addPatternStart·=·new·Set(['[',·'.'])\n//·cases·where·traversal·is·A-OK,·no·dot·prevention·needed\nconst·justDots·=·new·Set(['..',·'.'])\nconst·reSpecials·=·new·Set('().*{}+?[]^$\\\\!')\nconst·regExpEscape·=·(s:·string)·=>\n··s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,·'\\\\$&')\n\n//·any·single·thing·other·than·/\nconst·qmark·=·'[^/]'\n\n//·*·=>·any·number·of·characters\nconst·star·=·qmark·+·'*?'\n//·use·+·when·we·need·to·ensure·that·*something*·matches,·because·the·*·is\n//·the·only·thing·in·the·path·portion.\nconst·starNoEmpty·=·qmark·+·'+?'\n\n//·remove·the·\\·chars·that·we·added·if·we·end·up·doing·a·nonmagic·compare\n//·const·deslash·=·(s:·string)·=>·s.replace(/\\\\(.)/g,·'$1')\n\nexport·class·AST·{\n··type:·ExtglobType·|·null\n··readonly·#root:·AST\n\n··#hasMagic?:·boolean\n··#uflag:·boolean·=·false\n··#parts:·(string·|·AST)[]·=·[]\n··readonly·#parent?:·AST\n··readonly·#parentIndex:·number\n··#negs:·AST[]\n··#filledNegs:·boolean·=·false\n··#options:·MinimatchOptions\n··#toString?:·string\n··//·set·to·true·if·it's·an·extglob·with·no·children\n··//·(which·really·means·one·child·of·'')\n··#emptyExt:·boolean·=·false\n\n··constructor(\n····type:·ExtglobType·|·null,\n····parent?:·AST,\n····options:·MinimatchOptions·=·{},\n··)·{\n····this.type·=·type\n····//·extglobs·are·inherently·magical\n····if·(type)·this.#hasMagic·=·true\n····this.#parent·=·parent\n····this.#root·=·this.#parent·?·this.#parent.#root·:·this\n····this.#options·=·this.#root·===·this·?·options·:·this.#root.#options\n····this.#negs·=·this.#root·===·this·?·[]·:·this.#root.#negs\n····if·(type·===·'!'·&&·!this.#root.#filledNegs)·this.#negs.push(this)\n····this.#parentIndex·=·this.#parent·?·this.#parent.#parts.length·:·0\n··}\n\n··get·hasMagic():·boolean·|·undefined·{\n····/*·c8·ignore·start·*/\n····if·(this.#hasMagic·!==·undefined)·return·this.#hasMagic\n····/*·c8·ignore·stop·*/\n····for·(const·p·of·this.#parts)·{\n······if·(typeof·p·===·'string')·continue\n······if·(p.type·||·p.hasMagic)·return·(this.#hasMagic·=·true)\n····}\n····//·note:·will·be·undefined·until·we·generate·the·regexp·src·and·find·out\n····return·this.#hasMagic\n··}\n\n··//·reconstructs·the·pattern\n··toString():·string·{\n····if·(this.#toString·!==·undefined)·return·this.#toString\n····if·(!this.type)·{\n······return·(this.#toString·=·this.#parts.map(p·=>·String(p)).join(''))\n····}·else·{\n······return·(this.#toString·=\n········this.type·+·'('·+·this.#parts.map(p·=>·String(p)).join('|')·+·')')\n····}\n··}\n\n··#fillNegs()·{\n····/*·c8·ignore·start·*/\n····if·(this·!==·this.#root)·throw·new·Error('should·only·call·on·root')\n····if·(this.#filledNegs)·return·this\n····/*·c8·ignore·stop·*/\n\n····//·call·toString()·once·to·fill·this·out\n····this.toString()\n····this.#filledNegs·=·true\n····let·n:·AST·|·undefined\n····while·((n·=·this.#negs.pop()))·{\n······if·(n.type·!==·'!')·continue\n······//·walk·up·the·tree,·appending·everthing·that·comes·AFTER·parentIndex\n······let·p:·AST·|·undefined·=·n\n······let·pp·=·p.#parent\n······while·(pp)·{\n········for·(\n··········let·i·=·p.#parentIndex·+·1;\n··········!pp.type·&&·i·<·pp.#parts.length;\n··········i++\n········)·{\n··········for·(const·part·of·n.#parts)·{\n············/*·c8·ignore·start·*/\n············if·(typeof·part·===·'string')·{\n··············throw·new·Error('string·part·in·extglob·AST??')\n············}\n············/*·c8·ignore·stop·*/\n············part.copyIn(pp.#parts[i])\n··········}\n········}\n········p·=·pp\n········pp·=·p.#parent\n······}\n····}\n····return·this\n··}\n\n··push(...parts:·(string·|·AST)[])·{\n····for·(const·p·of·parts)·{\n······if·(p·===·'')·continue\n······/*·c8·ignore·start·*/\n······if·(\n········typeof·p·!==·'string'·&&\n········!(p·instanceof·AST·&&·p.#parent·===·this)\n······)·{\n········throw·new·Error('invalid·part:·'·+·p)\n······}\n······/*·c8·ignore·stop·*/\n······this.#parts.push(p)\n····}\n··}\n\n··toJSON()·{\n····const·ret:·any[[·...·truncated·by·diffoscope;·len:·13839,·SHA:·c03f87d94904207bdd65f1429cda15924b156fe87d650492b981186ea82c35d0·...·]········:·`)${this.type}`\n······final·=·start·+·body·+·close\n····}\n····return·[\n······final,\n······unescape(body),\n······(this.#hasMagic·=·!!this.#hasMagic),\n······this.#uflag,\n····]\n··}\n\n··#partsToRegExp(dot:·boolean)·{\n····return·this.#parts\n······.map(p·=>·{\n········//·extglob·ASTs·should·only·contain·parent·ASTs\n········/*·c8·ignore·start·*/\n········if·(typeof·p·===·'string')·{\n··········throw·new·Error('string·type·in·extglob·ast??')\n········}\n········/*·c8·ignore·stop·*/\n········//·can·ignore·hasMagic,·because·extglobs·are·already·always·magic\n········const·[re,·_,·_hasMagic,·uflag]·=·p.toRegExpSource(dot)\n········this.#uflag·=·this.#uflag·||·uflag\n········return·re\n······})\n······.filter(p·=>·!(this.isStart()·&&·this.isEnd())·||·!!p)\n······.join('|')\n··}\n\n··static·#parseGlob(\n····glob:·string,\n····hasMagic:·boolean·|·undefined,\n····noEmpty:·boolean·=·false,\n··):·[re:·string,·body:·string,·hasMagic:·boolean,·uflag:·boolean]·{\n····let·escaping·=·false\n····let·re·=·''\n····let·uflag·=·false\n····for·(let·i·=·0;·i·<·glob.length;·i++)·{\n······const·c·=·glob.charAt(i)\n······if·(escaping)·{\n········escaping·=·false\n········re·+=·(reSpecials.has(c)·?·'\\\\'·:·'')·+·c\n········continue\n······}\n······if·(c·===·'\\\\')·{\n········if·(i·===·glob.length·-·1)·{\n··········re·+=·'\\\\\\\\'\n········}·else·{\n··········escaping·=·true\n········}\n········continue\n······}\n······if·(c·===·'[')·{\n········const·[src,·needUflag,·consumed,·magic]·=·parseClass(glob,·i)\n········if·(consumed)·{\n··········re·+=·src\n··········uflag·=·uflag·||·needUflag\n··········i·+=·consumed·-·1\n··········hasMagic·=·hasMagic·||·magic\n··········continue\n········}\n······}\n······if·(c·===·'*')·{\n········re·+=·noEmpty·&&·glob·===·'*'·?·starNoEmpty·:·star\n········hasMagic·=·true\n········continue\n······}\n······if·(c·===·'?')·{\n········re·+=·qmark\n········hasMagic·=·true\n········continue\n······}\n······re·+=·regExpEscape(c)\n····}\n····return·[re,·unescape(glob),·!!hasMagic,·uflag]\n··}\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
806 B
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map
636 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"brace-expressions.d.ts",2 ····"file":·"brace-expressions.d.ts",
3 ····"mappings":·"AA+BA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,OAAO;CAClB,CAAA;AAQD,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,UAAU,MAAM,KACf,gBA6HF,CAAA",3 ····"mappings":·"AAgCA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,OAAO;CAClB,CAAA;AAQD,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,UAAU,MAAM,KACf,gBA2HF,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/brace-expressions.ts"7 ········"../../src/brace-expressions.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
2.72 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/brace-expressions.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 339, 23 lines modifiedOffset 339, 21 lines modified
00001520:·2063·6f6e·7374·2073·6e65·6773·203d·2027···const·snegs·=·'00001520:·2063·6f6e·7374·2073·6e65·6773·203d·2027···const·snegs·=·'
00001530:·5b27·202b·2028·6e65·6761·7465·203f·2027··['·+·(negate·?·'00001530:·5b27·202b·2028·6e65·6761·7465·203f·2027··['·+·(negate·?·'
00001540:·2720·3a20·275e·2729·202b·2072·616e·6765··'·:·'^')·+·range00001540:·2720·3a20·275e·2729·202b·2072·616e·6765··'·:·'^')·+·range
00001550:·7354·6f53·7472·696e·6728·6e65·6773·2920··sToString(negs)·00001550:·7354·6f53·7472·696e·6728·6e65·6773·2920··sToString(negs)·
00001560:·2b20·275d·273b·0a20·2020·2063·6f6e·7374··+·']';.····const00001560:·2b20·275d·273b·0a20·2020·2063·6f6e·7374··+·']';.····const
00001570:·2063·6f6d·6220·3d20·7261·6e67·6573·2e6c···comb·=·ranges.l00001570:·2063·6f6d·6220·3d20·7261·6e67·6573·2e6c···comb·=·ranges.l
00001580:·656e·6774·6820·2626·206e·6567·732e·6c65··ength·&&·negs.le00001580:·656e·6774·6820·2626·206e·6567·732e·6c65··ength·&&·negs.le
 00001590:·6e67·7468·203f·2027·2827·202b·2073·7261··ngth·?·'('·+·sra
 000015a0:·6e67·6573·202b·2027·7c27·202b·2073·6e65··nges·+·'|'·+·sne
 000015b0:·6773·202b·2027·2927·0a20·2020·2020·2020··gs·+·')'.·······
 000015c0:·203a·2072·616e·6765·732e·6c65·6e67·7468···:·ranges.length
00001590:·6e67·7468·0a20·2020·2020·2020·203f·2027··ngth.········?·' 
000015a0:·2827·202b·2073·7261·6e67·6573·202b·2027··('·+·sranges·+·' 
000015b0:·7c27·202b·2073·6e65·6773·202b·2027·2927··|'·+·snegs·+·')' 
000015c0:·0a20·2020·2020·2020·203a·2072·616e·6765··.········:·range 
000015d0:·732e·6c65·6e67·7468·0a20·2020·2020·2020··s.length.······· 
000015e0:·2020·2020·203f·2073·7261·6e67·6573·0a20·······?·sranges.·000015d0:·203f·2073·7261·6e67·6573·0a20·2020·2020···?·sranges.·····
000015f0:·2020·2020·2020·2020·2020·203a·2073·6e65·············:·sne000015e0:·2020·2020·2020·203a·2073·6e65·6773·3b0a·········:·snegs;.
00001600:·6773·3b0a·2020·2020·7265·7475·726e·205b··gs;.····return·[000015f0:·2020·2020·7265·7475·726e·205b·636f·6d62······return·[comb
00001610:·636f·6d62·2c20·7566·6c61·672c·2065·6e64··comb,·uflag,·end00001600:·2c20·7566·6c61·672c·2065·6e64·506f·7320··,·uflag,·endPos·
00001620:·506f·7320·2d20·706f·732c·2074·7275·655d··Pos·-·pos,·true]00001610:·2d20·706f·732c·2074·7275·655d·3b0a·7d3b··-·pos,·true];.};
00001630:·3b0a·7d3b·0a65·7870·6f72·7473·2e70·6172··;.};.exports.par00001620:·0a65·7870·6f72·7473·2e70·6172·7365·436c··.exports.parseCl
00001640:·7365·436c·6173·7320·3d20·7061·7273·6543··seClass·=·parseC00001630:·6173·7320·3d20·7061·7273·6543·6c61·7373··ass·=·parseClass
00001650:·6c61·7373·3b0a·2f2f·2320·736f·7572·6365··lass;.//#·source00001640:·3b0a·2f2f·2320·736f·7572·6365·4d61·7070··;.//#·sourceMapp
00001660:·4d61·7070·696e·6755·524c·3d62·7261·6365··MappingURL=brace00001650:·696e·6755·524c·3d62·7261·6365·2d65·7870··ingURL=brace-exp
00001670:·2d65·7870·7265·7373·696f·6e73·2e6a·732e··-expressions.js.00001660:·7265·7373·696f·6e73·2e6a·732e·6d61·70····ressions.js.map
00001680:·6d61·70··································map 
20.8 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/brace-expressions.js.map
20.6 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"brace-expressions.js",2 ····"file":·"brace-expressions.js",
3 ····"mappings":·";AAAA,wEAAwE;AACxE,wCAAwC;;;AAExC,8DAA8D;AAC9D,MAAM,YAAY,GAA0D;IAC1E,WAAW,EAAE,CAAC,sBAAsB,EAAE,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,GAAG,QAAQ,GAAG,IAAI,EAAE,KAAK,CAAC;IAC7C,WAAW,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,SAAS[·...·truncated·by·diffoscope;·len:·4617,·SHA:·d0c980610875d861786051bb39b556cd93381457cdc72f4c9e344abfcb0ef481·...·]tB",3 ····"mappings":·";AAAA,wEAAwE;AACxE,wCAAwC;;;AAExC,8DAA8D;AAC9D,MAAM,YAAY,GAChB;IACE,WAAW,EAAE,CAAC,sBAAsB,EAAE,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,GAAG,QAAQ,GAAG,IAAI,EAAE,KAAK,CAAC;IAC7C,WAAW,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,SAAS,[·...·truncated·by·diffoscope;·len:·4616,·SHA:·3a132f0e3fb9adc58663b91a4fff8908cebf663a3707d38b0842715b5c18e670·...·]tB",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/brace-expressions.ts"7 ········"../../src/brace-expressions.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·translate·the·various·posix·character·classes·into·unicode·properties\n//·this·works·across·all·unicode·locales\n\n//·{·<posix·class>:·[<translation>,·/u·flag·required,·negated]\nconst·posixClasses:·{·[k:·string]:·[e:·string,·u:·boolean,·n?:·boolean]·}·=·{\n··'[:alnum:]':·['\\\\p{L}\\\\p{Nl}\\\\p{Nd}',·true],\n··'[:alpha:]':·['\\\\p{L}\\\\p{Nl}',·true],\n··'[:ascii:]':·['\\\\x'·+·'00-\\\\x'·+·'7f',·false],\n··'[:blank:]':·['\\\\p{Zs}\\\\t',·true],\n··'[:cntrl:]':·['\\\\p{Cc}',·true],\n··'[:digit:]':·['\\\[·...·truncated·by·diffoscope;·len:·4898,·SHA:·13a1dfc74d3273d3922499c68d9adc9c371dce365b5f6b03f6a9d6f42d6f20ad·...·]····:·snegs\n\n··return·[comb,·uflag,·endPos·-·pos,·true]\n}\n"10 ········"//·translate·the·various·posix·character·classes·into·unicode·properties\n//·this·works·across·all·unicode·locales\n\n//·{·<posix·class>:·[<translation>,·/u·flag·required,·negated]\nconst·posixClasses:·{·[k:·string]:·[e:·string,·u:·boolean,·n?:·boolean]·}·=\n··{\n····'[:alnum:]':·['\\\\p{L}\\\\p{Nl}\\\\p{Nd}',·true],\n····'[:alpha:]':·['\\\\p{L}\\\\p{Nl}',·true],\n····'[:ascii:]':·['\\\\x'·+·'00-\\\\x'·+·'7f',·false],\n····'[:blank:]':·['\\\\p{Zs}\\\\t',·true],\n····'[:cntrl:]':·['\\\\p{Cc}',·true],\n····'[:[·...·truncated·by·diffoscope;·len:·4909,·SHA:·c54fbd093a03e50b1156577f01ca078c2ac52f0cbcaa02a2ccf5b582d7da406b·...·]····:·snegs\n\n··return·[comb,·uflag,·endPos·-·pos,·true]\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.11 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/escape.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 54, 24 lines modifiedOffset 54, 24 lines modified
00000350:·2020·202f·2f20·6265·6361·7573·6520·5b21·····//·because·[!00000350:·2020·202f·2f20·6265·6361·7573·6520·5b21·····//·because·[!
00000360:·5d5d·2069·7320·6120·7661·6c69·6420·676c··]]·is·a·valid·gl00000360:·5d5d·2069·7320·6120·7661·6c69·6420·676c··]]·is·a·valid·gl
00000370:·6f62·2063·6c61·7373·206d·6561·6e69·6e67··ob·class·meaning00000370:·6f62·2063·6c61·7373·206d·6561·6e69·6e67··ob·class·meaning
00000380:·206e·6f74·2027·5d27·2e0a·2020·2020·6966···not·']'..····if00000380:·206e·6f74·2027·5d27·2e0a·2020·2020·6966···not·']'..····if
00000390:·2028·6d61·6769·6361·6c42·7261·6365·7329···(magicalBraces)00000390:·2028·6d61·6769·6361·6c42·7261·6365·7329···(magicalBraces)
000003a0:·207b·0a20·2020·2020·2020·2072·6574·7572···{.········retur000003a0:·207b·0a20·2020·2020·2020·2072·6574·7572···{.········retur
000003b0:·6e20·7769·6e64·6f77·7350·6174·6873·4e6f··n·windowsPathsNo000003b0:·6e20·7769·6e64·6f77·7350·6174·6873·4e6f··n·windowsPathsNo
000003c0:·4573·6361·7065·0a20·2020·2020·2020·2020··Escape.·········000003c0:·4573·6361·7065·203f·0a20·2020·2020·2020··Escape·?.·······
000003d0:·2020·203f·2073·2e72·6570·6c61·6365·282f·····?·s.replace(/000003d0:·2020·2020·2073·2e72·6570·6c61·6365·282f·······s.replace(/
000003e0:·5b3f·2a28·295b·5c5d·7b7d·5d2f·672c·2027··[?*()[\]{}]/g,·'000003e0:·5b3f·2a28·295b·5c5d·7b7d·5d2f·672c·2027··[?*()[\]{}]/g,·'
000003f0:·5b24·265d·2729·0a20·2020·2020·2020·2020··[$&]').·········000003f0:·5b24·265d·2729·0a20·2020·2020·2020·2020··[$&]').·········
00000400:·2020·203a·2073·2e72·6570·6c61·6365·282f·····:·s.replace(/00000400:·2020·203a·2073·2e72·6570·6c61·6365·282f·····:·s.replace(/
00000410:·5b3f·2a28·295b·5c5d·5c5c·7b7d·5d2f·672c··[?*()[\]\\{}]/g,00000410:·5b3f·2a28·295b·5c5d·5c5c·7b7d·5d2f·672c··[?*()[\]\\{}]/g,
00000420:·2027·5c5c·2426·2729·3b0a·2020·2020·7d0a···'\\$&');.····}.00000420:·2027·5c5c·2426·2729·3b0a·2020·2020·7d0a···'\\$&');.····}.
00000430:·2020·2020·7265·7475·726e·2077·696e·646f······return·windo00000430:·2020·2020·7265·7475·726e·2077·696e·646f······return·windo
00000440:·7773·5061·7468·734e·6f45·7363·6170·650a··wsPathsNoEscape.00000440:·7773·5061·7468·734e·6f45·7363·6170·6520··wsPathsNoEscape·
00000450:·2020·2020·2020·2020·3f20·732e·7265·706c··········?·s.repl00000450:·3f0a·2020·2020·2020·2020·732e·7265·706c··?.········s.repl
00000460:·6163·6528·2f5b·3f2a·2829·5b5c·5d5d·2f67··ace(/[?*()[\]]/g00000460:·6163·6528·2f5b·3f2a·2829·5b5c·5d5d·2f67··ace(/[?*()[\]]/g
00000470:·2c20·275b·2426·5d27·290a·2020·2020·2020··,·'[$&]').······00000470:·2c20·275b·2426·5d27·290a·2020·2020·2020··,·'[$&]').······
00000480:·2020·3a20·732e·7265·706c·6163·6528·2f5b····:·s.replace(/[00000480:·2020·3a20·732e·7265·706c·6163·6528·2f5b····:·s.replace(/[
00000490:·3f2a·2829·5b5c·5d5c·5c5d·2f67·2c20·275c··?*()[\]\\]/g,·'\00000490:·3f2a·2829·5b5c·5d5c·5c5d·2f67·2c20·275c··?*()[\]\\]/g,·'\
000004a0:·5c24·2627·293b·0a7d·3b0a·6578·706f·7274··\$&');.};.export000004a0:·5c24·2627·293b·0a7d·3b0a·6578·706f·7274··\$&');.};.export
000004b0:·732e·6573·6361·7065·203d·2065·7363·6170··s.escape·=·escap000004b0:·732e·6573·6361·7065·203d·2065·7363·6170··s.escape·=·escap
000004c0:·653b·0a2f·2f23·2073·6f75·7263·654d·6170··e;.//#·sourceMap000004c0:·653b·0a2f·2f23·2073·6f75·7263·654d·6170··e;.//#·sourceMap
3.85 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/escape.js.map
3.71 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"escape.js",2 ····"file":·"escape.js",
3 ····"mappings":·";;;AAEA;;;;;;;;;;;GAWG;AACI,MAAM,MAAM,GAAG,CACpB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,KAAK,MAC+C,EAAE,EACxE,EAAE;IACF,wDAAwD;IACxD,4DAA4D;IAC5D,sDAAsD;IACtD,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB;YACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC;YACnC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;IACzC,CAAC;IACD,OAAO,oBAAoB;QACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC;QACjC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;AACvC,CAAC,CAAA;AAlBY,QAAA,MAAM,UAkBlB",3 ····"mappings":·";;;AAEA;;;;;;;;;;;GAWG;AACI,MAAM,MAAM,GAAG,CACpB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,KAAK,MAC+C,EAAE,EACxE,EAAE;IACF,wDAAwD;IACxD,4DAA4D;IAC5D,sDAAsD;IACtD,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB,CAAC,CAAC;YACzB,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC;YACnC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;IACzC,CAAC;IACD,OAAO,oBAAoB,CAAC,CAAC;QACzB,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC;QACjC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;AACvC,CAAC,CAAA;AAlBY,QAAA,MAAM,UAkBlB",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/escape.ts"7 ········"../../src/escape.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Escape·all·magic·characters·in·a·glob·pattern.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}\n·*·option·is·used,·then·characters·are·escaped·by·wrapping·in·`[]`,·because\n·*·a·magic·character·wrapped·in·a·character·class·can·only·be·satisfied·by\n·*·that·exact·character.··In·this·mode,·`\\`·is·_not_·escaped,·because·it·is\n·*·not·interpreted·as·a·magic·character,·but·instead·as·a·path·separator.\n·*\n·*·If·the·{@link·MinimatchOptions.magicalBraces}·option·is·used,\n·*·then·braces·(`{`·and·`}`)·will·be·escaped.\n·*/\nexport·const·escape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·false,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··//·don't·need·to·escape·+@!·because·we·escape·the·parens\n··//·that·make·those·magic,·and·escaping·!·as·[!]·isn't·valid,\n··//·because·[!]]·is·a·valid·glob·class·meaning·not·']'.\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape\n······?·s.replace(/[?*()[\\]{}]/g,·'[$&]')\n······:·s.replace(/[?*()[\\]\\\\{}]/g,·'\\\\$&')\n··}\n··return·windowsPathsNoEscape\n····?·s.replace(/[?*()[\\]]/g,·'[$&]')\n····:·s.replace(/[?*()[\\]\\\\]/g,·'\\\\$&')\n}\n"10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Escape·all·magic·characters·in·a·glob·pattern.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}\n·*·option·is·used,·then·characters·are·escaped·by·wrapping·in·`[]`,·because\n·*·a·magic·character·wrapped·in·a·character·class·can·only·be·satisfied·by\n·*·that·exact·character.··In·this·mode,·`\\`·is·_not_·escaped,·because·it·is\n·*·not·interpreted·as·a·magic·character,·but·instead·as·a·path·separator.\n·*\n·*·If·the·{@link·MinimatchOptions.magicalBraces}·option·is·used,\n·*·then·braces·(`{`·and·`}`)·will·be·escaped.\n·*/\nexport·const·escape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·false,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··//·don't·need·to·escape·+@!·because·we·escape·the·parens\n··//·that·make·those·magic,·and·escaping·!·as·[!]·isn't·valid,\n··//·because·[!]]·is·a·valid·glob·class·meaning·not·']'.\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape·?\n········s.replace(/[?*()[\\]{}]/g,·'[$&]')\n······:·s.replace(/[?*()[\\]\\\\{}]/g,·'\\\\$&')\n··}\n··return·windowsPathsNoEscape·?\n······s.replace(/[?*()[\\]]/g,·'[$&]')\n····:·s.replace(/[?*()[\\]\\\\]/g,·'\\\\$&')\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
3.33 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/index.d.ts
    
Offset 1, 30 lines modifiedOffset 1, 80 lines modified
1 import·{·AST·}·from·'./ast.js';1 import·{·AST·}·from·'./ast.js';
2 export·type·Platform·=·'aix'·|·'android'·|·'darwin'·|·'freebsd'·|·'haiku'·|·'linux'·|·'openbsd'·|·'sunos'·|·'win32'·|·'cygwin'·|·'netbsd';2 export·type·Platform·=·'aix'·|·'android'·|·'darwin'·|·'freebsd'·|·'haiku'·|·'linux'·|·'openbsd'·|·'sunos'·|·'win32'·|·'cygwin'·|·'netbsd';
3 export·interface·MinimatchOptions·{3 export·interface·MinimatchOptions·{
 4 ····/**·do·not·expand·`{x,y}`·style·braces·*/
4 ····nobrace?:·boolean;5 ····nobrace?:·boolean;
 6 ····/**·do·not·treat·patterns·starting·with·`#`·as·a·comment·*/
5 ····nocomment?:·boolean;7 ····nocomment?:·boolean;
 8 ····/**·do·not·treat·patterns·starting·with·`!`·as·a·negation·*/
6 ····nonegate?:·boolean;9 ····nonegate?:·boolean;
 10 ····/**·print·LOTS·of·debugging·output·*/
7 ····debug?:·boolean;11 ····debug?:·boolean;
 12 ····/**·treat·`**`·the·same·as·`*`·*/
8 ····noglobstar?:·boolean;13 ····noglobstar?:·boolean;
 14 ····/**·do·not·expand·extglobs·like·`+(a|b)`·*/
9 ····noext?:·boolean;15 ····noext?:·boolean;
 16 ····/**·return·the·pattern·if·nothing·matches·*/
10 ····nonull?:·boolean;17 ····nonull?:·boolean;
 18 ····/**·treat·`\\`·as·a·path·separator,·not·an·escape·character·*/
11 ····windowsPathsNoEscape?:·boolean;19 ····windowsPathsNoEscape?:·boolean;
 20 ····/**
 21 ·····*·inverse·of·{@link·MinimatchOptions.windowsPathsNoEscape}
 22 ·····*·@deprecated
 23 ·····*/
12 ····allowWindowsEscape?:·boolean;24 ····allowWindowsEscape?:·boolean;
 25 ····/**
 26 ·····*·Compare·a·partial·path·to·a·pattern.·As·long·as·the·parts
 27 ·····*·of·the·path·that·are·present·are·not·contradicted·by·the
 28 ·····*·pattern,·it·will·be·treated·as·a·match.·This·is·useful·in
 29 ·····*·applications·where·you're·walking·through·a·folder·structure,
 30 ·····*·and·don't·yet·have·the·full·path,·but·want·to·ensure·that·you
 31 ·····*·do·not·walk·down·paths·that·can·never·be·a·match.
 32 ·····*/
13 ····partial?:·boolean;33 ····partial?:·boolean;
 34 ····/**·allow·matches·that·start·with·`.`·even·if·the·pattern·does·not·*/
14 ····dot?:·boolean;35 ····dot?:·boolean;
 36 ····/**·ignore·case·*/
15 ····nocase?:·boolean;37 ····nocase?:·boolean;
 38 ····/**·ignore·case·only·in·wildcard·patterns·*/
16 ····nocaseMagicOnly?:·boolean;39 ····nocaseMagicOnly?:·boolean;
 40 ····/**·consider·braces·to·be·"magic"·for·the·purpose·of·`hasMagic`·*/
17 ····magicalBraces?:·boolean;41 ····magicalBraces?:·boolean;
 42 ····/**
 43 ·····*·If·set,·then·patterns·without·slashes·will·be·matched
 44 ·····*·against·the·basename·of·the·path·if·it·contains·slashes.
 45 ·····*·For·example,·`a?b`·would·match·the·path·`/xyz/123/acb`,·but
 46 ·····*·not·`/xyz/acb/123`.
 47 ·····*/
18 ····matchBase?:·boolean;48 ····matchBase?:·boolean;
 49 ····/**·invert·the·results·of·negated·matches·*/
19 ····flipNegate?:·boolean;50 ····flipNegate?:·boolean;
 51 ····/**·do·not·collapse·multiple·`/`·into·a·single·`/`·*/
20 ····preserveMultipleSlashes?:·boolean;52 ····preserveMultipleSlashes?:·boolean;
 53 ····/**
 54 ·····*·A·number·indicating·the·level·of·optimization·that·should·be·done
 55 ·····*·to·the·pattern·prior·to·parsing·and·using·it·for·matches.
 56 ·····*/
21 ····optimizationLevel?:·number;57 ····optimizationLevel?:·number;
 58 ····/**·operating·system·platform·*/
22 ····platform?:·Platform;59 ····platform?:·Platform;
 60 ····/**
 61 ·····*·When·a·pattern·starts·with·a·UNC·path·or·drive·letter,·and·in
 62 ·····*·`nocase:true`·mode,·do·not·convert·the·root·portions·of·the
 63 ·····*·pattern·into·a·case-insensitive·regular·expression,·and·instead
 64 ·····*·leave·them·as·strings.
 65 ·····*
 66 ·····*·This·is·the·default·when·the·platform·is·`win32`·and
 67 ·····*·`nocase:true`·is·set.
 68 ·····*/
23 ····windowsNoMagicRoot?:·boolean;69 ····windowsNoMagicRoot?:·boolean;
 70 ····/**
 71 ·····*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000.
 72 ·····*/
 73 ····braceExpandMax?:·number;
24 }74 }
25 export·declare·const·minimatch:·{75 export·declare·const·minimatch:·{
26 ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean;76 ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean;
27 ····sep:·Sep;77 ····sep:·Sep;
28 ····GLOBSTAR:·typeof·GLOBSTAR;78 ····GLOBSTAR:·typeof·GLOBSTAR;
29 ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean;79 ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean;
30 ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch;80 ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch;
6.86 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/index.d.ts.map
6.72 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"index.d.ts",2 ····"file":·"index.d.ts",
3 ····"mappings":·"AAEA,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAI3C,MAAM,MAAM,QAAQ,GAChB,KAAK,GACL,SAAS,GACT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,CAAA;AAEZ,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,C[·...·truncated·by·diffoscope;·len:·2462,·SHA:·4147bff405dab53d48a13ff5d65d1e281090cb678ec9792beca50965b55a5b1e·...·]GN,UAAU,CAAC,CAAC,EAAE,MAAM;IAepB,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,UAAe;IAiEvC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,gBAAgB;CAGtC;AAED,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA",3 ····"mappings":·"AAEA,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAI3C,MAAM,MAAM,QAAQ,GAChB,KAAK,GACL,SAAS,GACT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,CAAA;AAEZ,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qCAAqC;IACrC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAA[·...·truncated·by·diffoscope;·len:·2771,·SHA:·40d0d2c5dd89ab309d65ffe3372fec6c8701cb0fb1c7065959496b53cc54726d·...·]GN,UAAU,CAAC,CAAC,EAAE,MAAM;IAepB,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,UAAe;IAiEvC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,gBAAgB;CAGtC;AAED,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
345 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/index.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 14, 2561 lines modifiedOffset 14, 2574 lines modified
000000d0:·732e·6465·6661·756c·7473·203d·2065·7870··s.defaults·=·exp000000d0:·732e·6465·6661·756c·7473·203d·2065·7870··s.defaults·=·exp
000000e0:·6f72·7473·2e66·696c·7465·7220·3d20·6578··orts.filter·=·ex000000e0:·6f72·7473·2e66·696c·7465·7220·3d20·6578··orts.filter·=·ex
000000f0:·706f·7274·732e·474c·4f42·5354·4152·203d··ports.GLOBSTAR·=000000f0:·706f·7274·732e·474c·4f42·5354·4152·203d··ports.GLOBSTAR·=
00000100:·2065·7870·6f72·7473·2e73·6570·203d·2065···exports.sep·=·e00000100:·2065·7870·6f72·7473·2e73·6570·203d·2065···exports.sep·=·e
00000110:·7870·6f72·7473·2e6d·696e·696d·6174·6368··xports.minimatch00000110:·7870·6f72·7473·2e6d·696e·696d·6174·6368··xports.minimatch
00000120:·203d·2076·6f69·6420·303b·0a63·6f6e·7374···=·void·0;.const00000120:·203d·2076·6f69·6420·303b·0a63·6f6e·7374···=·void·0;.const
Diff chunk too large, falling back to line-by-line diff (710 lines added, 710 lines removed)
00000130:·2062·7261·6365·5f65·7870·616e·7369·6f6e···brace_expansion00000130:·2062·7261·6365·5f65·7870·616e·7369·6f6e···brace_expansion
00000140:·5f31·203d·2072·6571·7569·7265·2822·4069··_1·=·require("@i00000140:·5f31·203d·2072·6571·7569·7265·2822·6272··_1·=·require("br
00000150:·7361·6163·732f·6272·6163·652d·6578·7061··saacs/brace-expa00000150:·6163·652d·6578·7061·6e73·696f·6e22·293b··ace-expansion");
00000160:·6e73·696f·6e22·293b·0a63·6f6e·7374·2061··nsion");.const·a00000160:·0a63·6f6e·7374·2061·7373·6572·745f·7661··.const·assert_va
00000170:·7373·6572·745f·7661·6c69·645f·7061·7474··ssert_valid_patt00000170:·6c69·645f·7061·7474·6572·6e5f·6a73·5f31··lid_pattern_js_1
00000180:·6572·6e5f·6a73·5f31·203d·2072·6571·7569··ern_js_1·=·requi00000180:·203d·2072·6571·7569·7265·2822·2e2f·6173···=·require("./as
00000190:·7265·2822·2e2f·6173·7365·7274·2d76·616c··re("./assert-val00000190:·7365·7274·2d76·616c·6964·2d70·6174·7465··sert-valid-patte
000001a0:·6964·2d70·6174·7465·726e·2e6a·7322·293b··id-pattern.js");000001a0:·726e·2e6a·7322·293b·0a63·6f6e·7374·2061··rn.js");.const·a
000001b0:·0a63·6f6e·7374·2061·7374·5f6a·735f·3120··.const·ast_js_1·000001b0:·7374·5f6a·735f·3120·3d20·7265·7175·6972··st_js_1·=·requir
000001c0:·3d20·7265·7175·6972·6528·222e·2f61·7374··=·require("./ast000001c0:·6528·222e·2f61·7374·2e6a·7322·293b·0a63··e("./ast.js");.c
000001d0:·2e6a·7322·293b·0a63·6f6e·7374·2065·7363··.js");.const·esc000001d0:·6f6e·7374·2065·7363·6170·655f·6a73·5f31··onst·escape_js_1
000001e0:·6170·655f·6a73·5f31·203d·2072·6571·7569··ape_js_1·=·requi000001e0:·203d·2072·6571·7569·7265·2822·2e2f·6573···=·require("./es
000001f0:·7265·2822·2e2f·6573·6361·7065·2e6a·7322··re("./escape.js"000001f0:·6361·7065·2e6a·7322·293b·0a63·6f6e·7374··cape.js");.const
00000200:·293b·0a63·6f6e·7374·2075·6e65·7363·6170··);.const·unescap00000200:·2075·6e65·7363·6170·655f·6a73·5f31·203d···unescape_js_1·=
00000210:·655f·6a73·5f31·203d·2072·6571·7569·7265··e_js_1·=·require00000210:·2072·6571·7569·7265·2822·2e2f·756e·6573···require("./unes
00000220:·2822·2e2f·756e·6573·6361·7065·2e6a·7322··("./unescape.js"00000220:·6361·7065·2e6a·7322·293b·0a63·6f6e·7374··cape.js");.const
00000230:·293b·0a63·6f6e·7374·206d·696e·696d·6174··);.const·minimat00000230:·206d·696e·696d·6174·6368·203d·2028·702c···minimatch·=·(p,
00000240:·6368·203d·2028·702c·2070·6174·7465·726e··ch·=·(p,·pattern00000240:·2070·6174·7465·726e·2c20·6f70·7469·6f6e···pattern,·option
00000250:·2c20·6f70·7469·6f6e·7320·3d20·7b7d·2920··,·options·=·{})·00000250:·7320·3d20·7b7d·2920·3d3e·207b·0a20·2020··s·=·{})·=>·{.···
00000260:·3d3e·207b·0a20·2020·2028·302c·2061·7373··=>·{.····(0,·ass00000260:·2028·302c·2061·7373·6572·745f·7661·6c69···(0,·assert_vali
00000270:·6572·745f·7661·6c69·645f·7061·7474·6572··ert_valid_patter00000270:·645f·7061·7474·6572·6e5f·6a73·5f31·2e61··d_pattern_js_1.a
00000280:·6e5f·6a73·5f31·2e61·7373·6572·7456·616c··n_js_1.assertVal00000280:·7373·6572·7456·616c·6964·5061·7474·6572··ssertValidPatter
00000290:·6964·5061·7474·6572·6e29·2870·6174·7465··idPattern)(patte00000290:·6e29·2870·6174·7465·726e·293b·0a20·2020··n)(pattern);.···
000002a0:·726e·293b·0a20·2020·202f·2f20·7368·6f72··rn);.····//·shor000002a0:·202f·2f20·7368·6f72·7463·7574·3a20·636f···//·shortcut:·co
000002b0:·7463·7574·3a20·636f·6d6d·656e·7473·206d··tcut:·comments·m000002b0:·6d6d·656e·7473·206d·6174·6368·206e·6f74··mments·match·not
000002c0:·6174·6368·206e·6f74·6869·6e67·2e0a·2020··atch·nothing..··000002c0:·6869·6e67·2e0a·2020·2020·6966·2028·216f··hing..····if·(!o
000002d0:·2020·6966·2028·216f·7074·696f·6e73·2e6e····if·(!options.n000002d0:·7074·696f·6e73·2e6e·6f63·6f6d·6d65·6e74··ptions.nocomment
000002e0:·6f63·6f6d·6d65·6e74·2026·2620·7061·7474··ocomment·&&·patt000002e0:·2026·2620·7061·7474·6572·6e2e·6368·6172···&&·pattern.char
000002f0:·6572·6e2e·6368·6172·4174·2830·2920·3d3d··ern.charAt(0)·==000002f0:·4174·2830·2920·3d3d·3d20·2723·2729·207b··At(0)·===·'#')·{
00000300:·3d20·2723·2729·207b·0a20·2020·2020·2020··=·'#')·{.·······00000300:·0a20·2020·2020·2020·2072·6574·7572·6e20··.········return·
00000310:·2072·6574·7572·6e20·6661·6c73·653b·0a20···return·false;.·00000310:·6661·6c73·653b·0a20·2020·207d·0a20·2020··false;.····}.···
00000320:·2020·207d·0a20·2020·2072·6574·7572·6e20·····}.····return·00000320:·2072·6574·7572·6e20·6e65·7720·4d69·6e69···return·new·Mini
00000330:·6e65·7720·4d69·6e69·6d61·7463·6828·7061··new·Minimatch(pa00000330:·6d61·7463·6828·7061·7474·6572·6e2c·206f··match(pattern,·o
00000340:·7474·6572·6e2c·206f·7074·696f·6e73·292e··ttern,·options).00000340:·7074·696f·6e73·292e·6d61·7463·6828·7029··ptions).match(p)
00000350:·6d61·7463·6828·7029·3b0a·7d3b·0a65·7870··match(p);.};.exp00000350:·3b0a·7d3b·0a65·7870·6f72·7473·2e6d·696e··;.};.exports.min
00000360:·6f72·7473·2e6d·696e·696d·6174·6368·203d··orts.minimatch·=00000360:·696d·6174·6368·203d·206d·696e·696d·6174··imatch·=·minimat
00000370:·206d·696e·696d·6174·6368·3b0a·2f2f·204f···minimatch;.//·O00000370:·6368·3b0a·2f2f·204f·7074·696d·697a·6564··ch;.//·Optimized
00000380:·7074·696d·697a·6564·2063·6865·636b·696e··ptimized·checkin00000380:·2063·6865·636b·696e·6720·666f·7220·7468···checking·for·th
00000390:·6720·666f·7220·7468·6520·6d6f·7374·2063··g·for·the·most·c00000390:·6520·6d6f·7374·2063·6f6d·6d6f·6e20·676c··e·most·common·gl
000003a0:·6f6d·6d6f·6e20·676c·6f62·2070·6174·7465··ommon·glob·patte000003a0:·6f62·2070·6174·7465·726e·732e·0a63·6f6e··ob·patterns..con
000003b0:·726e·732e·0a63·6f6e·7374·2073·7461·7244··rns..const·starD000003b0:·7374·2073·7461·7244·6f74·4578·7452·4520··st·starDotExtRE·
000003c0:·6f74·4578·7452·4520·3d20·2f5e·5c2a·2b28··otExtRE·=·/^\*+(000003c0:·3d20·2f5e·5c2a·2b28·5b5e·2b40·213f·5c2a··=·/^\*+([^+@!?\*
000003d0:·5b5e·2b40·213f·5c2a·5c5b·5c28·5d2a·2924··[^+@!?\*\[\(]*)$000003d0:·5c5b·5c28·5d2a·2924·2f3b·0a63·6f6e·7374··\[\(]*)$/;.const
000003e0:·2f3b·0a63·6f6e·7374·2073·7461·7244·6f74··/;.const·starDot000003e0:·2073·7461·7244·6f74·4578·7454·6573·7420···starDotExtTest·
000003f0:·4578·7454·6573·7420·3d20·2865·7874·2920··ExtTest·=·(ext)·000003f0:·3d20·2865·7874·2920·3d3e·2028·6629·203d··=·(ext)·=>·(f)·=
00000400:·3d3e·2028·6629·203d·3e20·2166·2e73·7461··=>·(f)·=>·!f.sta00000400:·3e20·2166·2e73·7461·7274·7357·6974·6828··>·!f.startsWith(
00000410:·7274·7357·6974·6828·272e·2729·2026·2620··rtsWith('.')·&&·00000410:·272e·2729·2026·2620·662e·656e·6473·5769··'.')·&&·f.endsWi
00000420:·662e·656e·6473·5769·7468·2865·7874·293b··f.endsWith(ext);00000420:·7468·2865·7874·293b·0a63·6f6e·7374·2073··th(ext);.const·s
00000430:·0a63·6f6e·7374·2073·7461·7244·6f74·4578··.const·starDotEx00000430:·7461·7244·6f74·4578·7454·6573·7444·6f74··tarDotExtTestDot
00000440:·7454·6573·7444·6f74·203d·2028·6578·7429··tTestDot·=·(ext)00000440:·203d·2028·6578·7429·203d·3e20·2866·2920···=·(ext)·=>·(f)·
00000450:·203d·3e20·2866·2920·3d3e·2066·2e65·6e64···=>·(f)·=>·f.end00000450:·3d3e·2066·2e65·6e64·7357·6974·6828·6578··=>·f.endsWith(ex
00000460:·7357·6974·6828·6578·7429·3b0a·636f·6e73··sWith(ext);.cons00000460:·7429·3b0a·636f·6e73·7420·7374·6172·446f··t);.const·starDo
00000470:·7420·7374·6172·446f·7445·7874·5465·7374··t·starDotExtTest00000470:·7445·7874·5465·7374·4e6f·6361·7365·203d··tExtTestNocase·=
00000480:·4e6f·6361·7365·203d·2028·6578·7429·203d··Nocase·=·(ext)·=00000480:·2028·6578·7429·203d·3e20·7b0a·2020·2020···(ext)·=>·{.····
00000490:·3e20·7b0a·2020·2020·6578·7420·3d20·6578··>·{.····ext·=·ex00000490:·6578·7420·3d20·6578·742e·746f·4c6f·7765··ext·=·ext.toLowe
000004a0:·742e·746f·4c6f·7765·7243·6173·6528·293b··t.toLowerCase();000004a0:·7243·6173·6528·293b·0a20·2020·2072·6574··rCase();.····ret
000004b0:·0a20·2020·2072·6574·7572·6e20·2866·2920··.····return·(f)·000004b0:·7572·6e20·2866·2920·3d3e·2021·662e·7374··urn·(f)·=>·!f.st
000004c0:·3d3e·2021·662e·7374·6172·7473·5769·7468··=>·!f.startsWith000004c0:·6172·7473·5769·7468·2827·2e27·2920·2626··artsWith('.')·&&
000004d0:·2827·2e27·2920·2626·2066·2e74·6f4c·6f77··('.')·&&·f.toLow000004d0:·2066·2e74·6f4c·6f77·6572·4361·7365·2829···f.toLowerCase()
000004e0:·6572·4361·7365·2829·2e65·6e64·7357·6974··erCase().endsWit000004e0:·2e65·6e64·7357·6974·6828·6578·7429·3b0a··.endsWith(ext);.
000004f0:·6828·6578·7429·3b0a·7d3b·0a63·6f6e·7374··h(ext);.};.const000004f0:·7d3b·0a63·6f6e·7374·2073·7461·7244·6f74··};.const·starDot
00000500:·2073·7461·7244·6f74·4578·7454·6573·744e···starDotExtTestN00000500:·4578·7454·6573·744e·6f63·6173·6544·6f74··ExtTestNocaseDot
00000510:·6f63·6173·6544·6f74·203d·2028·6578·7429··ocaseDot·=·(ext)00000510:·203d·2028·6578·7429·203d·3e20·7b0a·2020···=·(ext)·=>·{.··
00000520:·203d·3e20·7b0a·2020·2020·6578·7420·3d20···=>·{.····ext·=·00000520:·2020·6578·7420·3d20·6578·742e·746f·4c6f····ext·=·ext.toLo
00000530:·6578·742e·746f·4c6f·7765·7243·6173·6528··ext.toLowerCase(00000530:·7765·7243·6173·6528·293b·0a20·2020·2072··werCase();.····r
00000540:·293b·0a20·2020·2072·6574·7572·6e20·2866··);.····return·(f00000540:·6574·7572·6e20·2866·2920·3d3e·2066·2e74··eturn·(f)·=>·f.t
00000550:·2920·3d3e·2066·2e74·6f4c·6f77·6572·4361··)·=>·f.toLowerCa00000550:·6f4c·6f77·6572·4361·7365·2829·2e65·6e64··oLowerCase().end
00000560:·7365·2829·2e65·6e64·7357·6974·6828·6578··se().endsWith(ex00000560:·7357·6974·6828·6578·7429·3b0a·7d3b·0a63··sWith(ext);.};.c
00000570:·7429·3b0a·7d3b·0a63·6f6e·7374·2073·7461··t);.};.const·sta00000570:·6f6e·7374·2073·7461·7244·6f74·5374·6172··onst·starDotStar
00000580:·7244·6f74·5374·6172·5245·203d·202f·5e5c··rDotStarRE·=·/^\00000580:·5245·203d·202f·5e5c·2a2b·5c2e·5c2a·2b24··RE·=·/^\*+\.\*+$
00000590:·2a2b·5c2e·5c2a·2b24·2f3b·0a63·6f6e·7374··*+\.\*+$/;.const00000590:·2f3b·0a63·6f6e·7374·2073·7461·7244·6f74··/;.const·starDot
000005a0:·2073·7461·7244·6f74·5374·6172·5465·7374···starDotStarTest000005a0:·5374·6172·5465·7374·203d·2028·6629·203d··StarTest·=·(f)·=
000005b0:·203d·2028·6629·203d·3e20·2166·2e73·7461···=·(f)·=>·!f.sta000005b0:·3e20·2166·2e73·7461·7274·7357·6974·6828··>·!f.startsWith(
000005c0:·7274·7357·6974·6828·272e·2729·2026·2620··rtsWith('.')·&&·000005c0:·272e·2729·2026·2620·662e·696e·636c·7564··'.')·&&·f.includ
000005d0:·662e·696e·636c·7564·6573·2827·2e27·293b··f.includes('.');000005d0:·6573·2827·2e27·293b·0a63·6f6e·7374·2073··es('.');.const·s
000005e0:·0a63·6f6e·7374·2073·7461·7244·6f74·5374··.const·starDotSt000005e0:·7461·7244·6f74·5374·6172·5465·7374·446f··tarDotStarTestDo
000005f0:·6172·5465·7374·446f·7420·3d20·2866·2920··arTestDot·=·(f)·000005f0:·7420·3d20·2866·2920·3d3e·2066·2021·3d3d··t·=·(f)·=>·f·!==
00000600:·3d3e·2066·2021·3d3d·2027·2e27·2026·2620··=>·f·!==·'.'·&&·00000600:·2027·2e27·2026·2620·6620·213d·3d20·272e···'.'·&&·f·!==·'.
00000610:·6620·213d·3d20·272e·2e27·2026·2620·662e··f·!==·'..'·&&·f.00000610:·2e27·2026·2620·662e·696e·636c·7564·6573··.'·&&·f.includes
00000620:·696e·636c·7564·6573·2827·2e27·293b·0a63··includes('.');.c00000620:·2827·2e27·293b·0a63·6f6e·7374·2064·6f74··('.');.const·dot
00000630:·6f6e·7374·2064·6f74·5374·6172·5245·203d··onst·dotStarRE·=00000630:·5374·6172·5245·203d·202f·5e5c·2e5c·2a2b··StarRE·=·/^\.\*+
00000640:·202f·5e5c·2e5c·2a2b·242f·3b0a·636f·6e73···/^\.\*+$/;.cons00000640:·242f·3b0a·636f·6e73·7420·646f·7453·7461··$/;.const·dotSta
00000650:·7420·646f·7453·7461·7254·6573·7420·3d20··t·dotStarTest·=·00000650:·7254·6573·7420·3d20·2866·2920·3d3e·2066··rTest·=·(f)·=>·f
00000660:·2866·2920·3d3e·2066·2021·3d3d·2027·2e27··(f)·=>·f·!==·'.'00000660:·2021·3d3d·2027·2e27·2026·2620·6620·213d···!==·'.'·&&·f·!=
00000670:·2026·2620·6620·213d·3d20·272e·2e27·2026···&&·f·!==·'..'·&00000670:·3d20·272e·2e27·2026·2620·662e·7374·6172··=·'..'·&&·f.star
00000680:·2620·662e·7374·6172·7473·5769·7468·2827··&·f.startsWith('00000680:·7473·5769·7468·2827·2e27·293b·0a63·6f6e··tsWith('.');.con
00000690:·2e27·293b·0a63·6f6e·7374·2073·7461·7252··.');.const·starR00000690:·7374·2073·7461·7252·4520·3d20·2f5e·5c2a··st·starRE·=·/^\*
000006a0:·4520·3d20·2f5e·5c2a·2b24·2f3b·0a63·6f6e··E·=·/^\*+$/;.con000006a0:·2b24·2f3b·0a63·6f6e·7374·2073·7461·7254··+$/;.const·starT
000006b0:·7374·2073·7461·7254·6573·7420·3d20·2866··st·starTest·=·(f000006b0:·6573·7420·3d20·2866·2920·3d3e·2066·2e6c··est·=·(f)·=>·f.l
000006c0:·2920·3d3e·2066·2e6c·656e·6774·6820·213d··)·=>·f.length·!=000006c0:·656e·6774·6820·213d·3d20·3020·2626·2021··ength·!==·0·&&·!
000006d0:·3d20·3020·2626·2021·662e·7374·6172·7473··=·0·&&·!f.starts000006d0:·662e·7374·6172·7473·5769·7468·2827·2e27··f.startsWith('.'
000006e0:·5769·7468·2827·2e27·293b·0a63·6f6e·7374··With('.');.const000006e0:·293b·0a63·6f6e·7374·2073·7461·7254·6573··);.const·starTes
Max diff block lines reached; 254725/353281 bytes (72.10%) of diff not shown.
148 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/index.js.map
147 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"index.js",2 ····"file":·"index.js",
3 ····"mappings":·";;;AAAA,6DAAgD;AAChD,uEAA8D;AAC9D,qCAA2C;AAC3C,2CAAoC;AACpC,+CAAwC;AAsCjC,MAAM,SAAS,GAAG,CACvB,CAAS,EACT,OAAe,EACf,UAA4B,EAAE,EAC9B,EAAE;IACF,IAAA,4CAAkB,EAAC,OAAO,CAAC,CAAA;IAE3B,oCAAoC;IACpC,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,E[·...·truncated·by·diffoscope;·len:·35140,·SHA:·4b70528772ece1c7e9d823017e84bf1fc185d3c70e5ccda6882e7c2c18f04df2·...·]BC;AACD,qBAAqB;AACrB,mCAA8B;AAArB,6FAAA,GAAG,OAAA;AACZ,yCAAoC;AAA3B,mGAAA,MAAM,OAAA;AACf,6CAAwC;AAA/B,uGAAA,QAAQ,OAAA;AACjB,oBAAoB;AACpB,iBAAS,CAAC,GAAG,GAAG,YAAG,CAAA;AACnB,iBAAS,CAAC,SAAS,GAAG,SAAS,CAAA;AAC/B,iBAAS,CAAC,MAAM,GAAG,kBAAM,CAAA;AACzB,iBAAS,CAAC,QAAQ,GAAG,sBAAQ,CAAA",3 ····"mappings":·";;;AAAA,qDAAwC;AACxC,uEAA8D;AAC9D,qCAA2C;AAC3C,2CAAoC;AACpC,+CAAwC;AAwFjC,MAAM,SAAS,GAAG,CACvB,CAAS,EACT,OAAe,EACf,UAA4B,EAAE,EAC9B,EAAE;IACF,IAAA,4CAAkB,EAAC,OAAO,CAAC,CAAA;IAE3B,oCAAoC;IACpC,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,E[·...·truncated·by·diffoscope;·len:·35272,·SHA:·82dbdcbe4b23c1ad1741fdc01e80ce2b0c8aa46dbc9b58c4feea0d1361a37bc9·...·]BC;AACD,qBAAqB;AACrB,mCAA8B;AAArB,6FAAA,GAAG,OAAA;AACZ,yCAAoC;AAA3B,mGAAA,MAAM,OAAA;AACf,6CAAwC;AAA/B,uGAAA,QAAQ,OAAA;AACjB,oBAAoB;AACpB,iBAAS,CAAC,GAAG,GAAG,YAAG,CAAA;AACnB,iBAAS,CAAC,SAAS,GAAG,SAAS,CAAA;AAC/B,iBAAS,CAAC,MAAM,GAAG,kBAAM,CAAA;AACzB,iBAAS,CAAC,QAAQ,GAAG,sBAAQ,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·expand·}·from·'@isaacs/brace-expansion'\nimport·{·assertValidPattern·}·from·'./assert-valid-pattern.js'\nimport·{·AST,·ExtglobType·}·from·'./ast.js'\nimport·{·escape·}·from·'./escape.js'\nimport·{·unescape·}·from·'./unescape.js'\n\nexport·type·Platform·=\n··|·'aix'\n··|·[·...·truncated·by·diffoscope;·len:·33302,·SHA:·fbe1afcb1dc67843b89cf686da1470b3d1b6cdd1753e8d3bd989e06d87569cfb·...·]\n········})·as·(string·|·typeof·GLOBSTAR)[]\n········pp.forEach((p,·i)·=>·{\n··········const·next·=·pp[i·+·1]\n··········const·prev·=·pp[i·-·1]\n··········if·(p·!==·GLOBSTAR·||·prev·===·GLOBSTAR)·{\n············return\n··········}\n··········if·(prev·===·undefined)·{\n············if·(next·!==·undefined·&&·next·!==·GLOBSTAR)·{\n··············pp[i·+·1]·=·'(?:\\\\/|'·+·twoStar·+·'\\\\/)?'·+·next\n············}·else·{\n··············pp[i]·=·twoStar\n············}\n··········}·else·if·(next·===·undefined)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·')?'\n··········}·else·if·(next·!==·GLOBSTAR)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·'\\\\/)'·+·next\n············pp[i·+·1]·=·GLOBSTAR\n··········}\n········})\n········const·filtered·=·pp.filter(p·=>·p·!==·GLOBSTAR)\n\n········//·For·partial·matches,·we·need·to·make·the·pattern·match\n········//·any·prefix·of·the·full·path.·We·do·this·by·generating\n········//·alternative·patterns·that·match·progressively·longer·prefixes.\n········if·(this.partial·&&·filtered.length·>=·1)·{\n··········const·prefixes:·string[]·=·[]\n··········for·(let·i·=·1;·i·<=·filtered.length;·i++)·{\n············prefixes.push(filtered.slice(0,·i).join('/'))\n··········}\n··········return·'(?:'·+·prefixes.join('|')·+·')'\n········}\n\n········return·filtered.join('/')\n······})\n······.join('|')\n\n····//·need·to·wrap·in·parens·if·we·had·more·than·one·thing·with·|,\n····//·otherwise·only·the·first·will·be·anchored·to·^·and·the·last·to·$\n····const·[open,·close]·=·set.length·>·1·?·['(?:',·')']·:·['',·'']\n····//·must·match·entire·pattern\n····//·ending·in·a·*·or·**·will·make·it·less·strict.\n····re·=·'^'·+·open·+·re·+·close·+·'$'\n\n····//·In·partial·mode,·'/'·should·always·match·as·it's·a·valid·prefix·for·any·pattern\n····if·(this.partial)·{\n······re·=·'^(?:\\\\/|'·+·open·+·re.slice(1,·-1)·+·close·+·')$'\n····}\n\n····//·can·match·anything,·as·long·as·it's·not·this.\n····if·(this.negate)·re·=·'^(?!'·+·re·+·').+$'\n\n····try·{\n······this.regexp·=·new·RegExp(re,·[...flags].join(''))\n······/*·c8·ignore·start·*/\n····}·catch·(ex)·{\n······//·should·be·impossible\n······this.regexp·=·false\n····}\n····/*·c8·ignore·stop·*/\n····return·this.regexp\n··}\n\n··slashSplit(p:·string)·{\n····//·if·p·starts·with·//·on·windows,·we·preserve·that\n····//·so·that·UNC·paths·aren't·broken.··Otherwise,·any·number·of\n····//·/·characters·are·coalesced·into·one,·unless\n····//·preserveMultipleSlashes·is·set·to·true.\n····if·(this.preserveMultipleSlashes)·{\n······return·p.split('/')\n····}·else·if·(this.isWindows·&&·/^\\/\\/[^\\/]+/.test(p))·{\n······//·add·an·extra·''·for·the·one·we·lose\n······return·['',·...p.split(/\\/+/)]\n····}·else·{\n······return·p.split(/\\/+/)\n····}\n··}\n\n··match(f:·string,·partial·=·this.partial)·{\n····this.debug('match',·f,·this.pattern)\n····//·short-circuit·in·the·case·of·busted·things.\n····//·comments,·etc.\n····if·(this.comment)·{\n······return·false\n····}\n····if·(this.empty)·{\n······return·f·===·''\n····}\n\n····if·(f·===·'/'·&&·partial)·{\n······return·true\n····}\n\n····const·options·=·this.options\n\n····//·windows:·need·to·use·/,·not·\\\n····if·(this.isWindows)·{\n······f·=·f.split('\\\\').join('/')\n····}\n\n····//·treat·the·test·path·as·a·set·of·pathparts.\n····const·ff·=·this.slashSplit(f)\n····this.debug(this.pattern,·'split',·ff)\n\n····//·just·ONE·of·the·pattern·sets·in·this.set·needs·to·match\n····//·in·order·for·it·to·be·valid.··If·negating,·then·just·one\n····//·match·means·that·we·have·failed.\n····//·Either·way,·return·on·the·first·hit.\n\n····const·set·=·this.set\n····this.debug(this.pattern,·'set',·set)\n\n····//·Find·the·basename·of·the·path·by·looking·for·the·last·non-empty·segment\n····let·filename:·string·=·ff[ff.length·-·1]\n····if·(!filename)·{\n······for·(let·i·=·ff.length·-·2;·!filename·&&·i·>=·0;·i--)·{\n········filename·=·ff[i]\n······}\n····}\n\n····for·(let·i·=·0;·i·<·set.length;·i++)·{\n······const·pattern·=·set[i]\n······let·file·=·ff\n······if·(options.matchBase·&&·pattern.length·===·1)·{\n········file·=·[filename]\n······}\n······const·hit·=·this.matchOne(file,·pattern,·partial)\n······if·(hit)·{\n········if·(options.flipNegate)·{\n··········return·true\n········}\n········return·!this.negate\n······}\n····}\n\n····//·didn't·get·any·hits.··this·is·success·if·it's·a·negative\n····//·pattern,·failure·otherwise.\n····if·(options.flipNegate)·{\n······return·false\n····}\n····return·this.negate\n··}\n\n··static·defaults(def:·MinimatchOptions)·{\n····return·minimatch.defaults(def).Minimatch\n··}\n}\n/*·c8·ignore·start·*/\nexport·{·AST·}·from·'./ast.js'\nexport·{·escape·}·from·'./escape.js'\nexport·{·unescape·}·from·'./unescape.js'\n/*·c8·ignore·stop·*/\nminimatch.AST·=·AST\nminimatch.Minimatch·=·Minimatch\nminimatch.escape·=·escape\nminimatch.unescape·=·unescape\n"10 ········"import·{·expand·}·from·'brace-expansion'\nimport·{·assertValidPattern·}·from·'./assert-valid-pattern.js'\nimport·{·AST,·ExtglobType·}·from·'./ast.js'\nimport·{·escape·}·from·'./escape.js'\nimport·{·unescape·}·from·'./unescape.js'\n\nexport·type·Platform·=\n··|·'aix'\n··|·'android[·...·truncated·by·diffoscope;·len:·35634,·SHA:·088c0bb0c76a1c9de4d12356f21cd67974d7db533a8bc603782b69bda1d27a3e·...·]\n········})·as·(string·|·typeof·GLOBSTAR)[]\n········pp.forEach((p,·i)·=>·{\n··········const·next·=·pp[i·+·1]\n··········const·prev·=·pp[i·-·1]\n··········if·(p·!==·GLOBSTAR·||·prev·===·GLOBSTAR)·{\n············return\n··········}\n··········if·(prev·===·undefined)·{\n············if·(next·!==·undefined·&&·next·!==·GLOBSTAR)·{\n··············pp[i·+·1]·=·'(?:\\\\/|'·+·twoStar·+·'\\\\/)?'·+·next\n············}·else·{\n··············pp[i]·=·twoStar\n············}\n··········}·else·if·(next·===·undefined)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·')?'\n··········}·else·if·(next·!==·GLOBSTAR)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·'\\\\/)'·+·next\n············pp[i·+·1]·=·GLOBSTAR\n··········}\n········})\n········const·filtered·=·pp.filter(p·=>·p·!==·GLOBSTAR)\n\n········//·For·partial·matches,·we·need·to·make·the·pattern·match\n········//·any·prefix·of·the·full·path.·We·do·this·by·generating\n········//·alternative·patterns·that·match·progressively·longer·prefixes.\n········if·(this.partial·&&·filtered.length·>=·1)·{\n··········const·prefixes:·string[]·=·[]\n··········for·(let·i·=·1;·i·<=·filtered.length;·i++)·{\n············prefixes.push(filtered.slice(0,·i).join('/'))\n··········}\n··········return·'(?:'·+·prefixes.join('|')·+·')'\n········}\n\n········return·filtered.join('/')\n······})\n······.join('|')\n\n····//·need·to·wrap·in·parens·if·we·had·more·than·one·thing·with·|,\n····//·otherwise·only·the·first·will·be·anchored·to·^·and·the·last·to·$\n····const·[open,·close]·=·set.length·>·1·?·['(?:',·')']·:·['',·'']\n····//·must·match·entire·pattern\n····//·ending·in·a·*·or·**·will·make·it·less·strict.\n····re·=·'^'·+·open·+·re·+·close·+·'$'\n\n····//·In·partial·mode,·'/'·should·always·match·as·it's·a·valid·prefix·for·any·pattern\n····if·(this.partial)·{\n······re·=·'^(?:\\\\/|'·+·open·+·re.slice(1,·-1)·+·close·+·')$'\n····}\n\n····//·can·match·anything,·as·long·as·it's·not·this.\n····if·(this.negate)·re·=·'^(?!'·+·re·+·').+$'\n\n····try·{\n······this.regexp·=·new·RegExp(re,·[...flags].join(''))\n······/*·c8·ignore·start·*/\n····}·catch·(ex)·{\n······//·should·be·impossible\n······this.regexp·=·false\n····}\n····/*·c8·ignore·stop·*/\n····return·this.regexp\n··}\n\n··slashSplit(p:·string)·{\n····//·if·p·starts·with·//·on·windows,·we·preserve·that\n····//·so·that·UNC·paths·aren't·broken.··Otherwise,·any·number·of\n····//·/·characters·are·coalesced·into·one,·unless\n····//·preserveMultipleSlashes·is·set·to·true.\n····if·(this.preserveMultipleSlashes)·{\n······return·p.split('/')\n····}·else·if·(this.isWindows·&&·/^\\/\\/[^\\/]+/.test(p))·{\n······//·add·an·extra·''·for·the·one·we·lose\n······return·['',·...p.split(/\\/+/)]\n····}·else·{\n······return·p.split(/\\/+/)\n····}\n··}\n\n··match(f:·string,·partial·=·this.partial)·{\n····this.debug('match',·f,·this.pattern)\n····//·short-circuit·in·the·case·of·busted·things.\n····//·comments,·etc.\n····if·(this.comment)·{\n······return·false\n····}\n····if·(this.empty)·{\n······return·f·===·''\n····}\n\n····if·(f·===·'/'·&&·partial)·{\n······return·true\n····}\n\n····const·options·=·this.options\n\n····//·windows:·need·to·use·/,·not·\\\n····if·(this.isWindows)·{\n······f·=·f.split('\\\\').join('/')\n····}\n\n····//·treat·the·test·path·as·a·set·of·pathparts.\n····const·ff·=·this.slashSplit(f)\n····this.debug(this.pattern,·'split',·ff)\n\n····//·just·ONE·of·the·pattern·sets·in·this.set·needs·to·match\n····//·in·order·for·it·to·be·valid.··If·negating,·then·just·one\n····//·match·means·that·we·have·failed.\n····//·Either·way,·return·on·the·first·hit.\n\n····const·set·=·this.set\n····this.debug(this.pattern,·'set',·set)\n\n····//·Find·the·basename·of·the·path·by·looking·for·the·last·non-empty·segment\n····let·filename:·string·=·ff[ff.length·-·1]\n····if·(!filename)·{\n······for·(let·i·=·ff.length·-·2;·!filename·&&·i·>=·0;·i--)·{\n········filename·=·ff[i]\n······}\n····}\n\n····for·(let·i·=·0;·i·<·set.length;·i++)·{\n······const·pattern·=·set[i]\n······let·file·=·ff\n······if·(options.matchBase·&&·pattern.length·===·1)·{\n········file·=·[filename]\n······}\n······const·hit·=·this.matchOne(file,·pattern,·partial)\n······if·(hit)·{\n········if·(options.flipNegate)·{\n··········return·true\n········}\n········return·!this.negate\n······}\n····}\n\n····//·didn't·get·any·hits.··this·is·success·if·it's·a·negative\n····//·pattern,·failure·otherwise.\n····if·(options.flipNegate)·{\n······return·false\n····}\n····return·this.negate\n··}\n\n··static·defaults(def:·MinimatchOptions)·{\n····return·minimatch.defaults(def).Minimatch\n··}\n}\n/*·c8·ignore·start·*/\nexport·{·AST·}·from·'./ast.js'\nexport·{·escape·}·from·'./escape.js'\nexport·{·unescape·}·from·'./unescape.js'\n/*·c8·ignore·stop·*/\nminimatch.AST·=·AST\nminimatch.Minimatch·=·Minimatch\nminimatch.escape·=·escape\nminimatch.unescape·=·unescape\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.45 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/unescape.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 53, 29 lines modifiedOffset 53, 29 lines modified
00000340:·6e64·6f77·7350·6174·6873·4e6f·4573·6361··ndowsPathsNoEsca00000340:·6e64·6f77·7350·6174·6873·4e6f·4573·6361··ndowsPathsNoEsca
00000350:·7065·203d·2066·616c·7365·2c20·6d61·6769··pe·=·false,·magi00000350:·7065·203d·2066·616c·7365·2c20·6d61·6769··pe·=·false,·magi
00000360:·6361·6c42·7261·6365·7320·3d20·7472·7565··calBraces·=·true00000360:·6361·6c42·7261·6365·7320·3d20·7472·7565··calBraces·=·true
00000370:·2c20·7d20·3d20·7b7d·2920·3d3e·207b·0a20··,·}·=·{})·=>·{.·00000370:·2c20·7d20·3d20·7b7d·2920·3d3e·207b·0a20··,·}·=·{})·=>·{.·
00000380:·2020·2069·6620·286d·6167·6963·616c·4272·····if·(magicalBr00000380:·2020·2069·6620·286d·6167·6963·616c·4272·····if·(magicalBr
00000390:·6163·6573·2920·7b0a·2020·2020·2020·2020··aces)·{.········00000390:·6163·6573·2920·7b0a·2020·2020·2020·2020··aces)·{.········
000003a0:·7265·7475·726e·2077·696e·646f·7773·5061··return·windowsPa000003a0:·7265·7475·726e·2077·696e·646f·7773·5061··return·windowsPa
000003b0:·7468·734e·6f45·7363·6170·650a·2020·2020··thsNoEscape.····000003b0:·7468·734e·6f45·7363·6170·6520·3f0a·2020··thsNoEscape·?.··
000003c0:·2020·2020·2020·2020·3f20·732e·7265·706c··········?·s.repl000003c0:·2020·2020·2020·2020·2020·732e·7265·706c············s.repl
000003d0:·6163·6528·2f5c·5b28·5b5e·5c2f·5c5c·5d29··ace(/\[([^\/\\])000003d0:·6163·6528·2f5c·5b28·5b5e·5c2f·5c5c·5d29··ace(/\[([^\/\\])
000003e0:·5c5d·2f67·2c20·2724·3127·290a·2020·2020··\]/g,·'$1').····000003e0:·5c5d·2f67·2c20·2724·3127·290a·2020·2020··\]/g,·'$1').····
000003f0:·2020·2020·2020·2020·3a20·730a·2020·2020··········:·s.····000003f0:·2020·2020·2020·2020·3a20·730a·2020·2020··········:·s.····
00000400:·2020·2020·2020·2020·2020·2020·2e72·6570··············.rep00000400:·2020·2020·2020·2020·2020·2020·2e72·6570··············.rep
00000410:·6c61·6365·282f·2828·3f21·5c5c·292e·7c5e··lace(/((?!\\).|^00000410:·6c61·6365·282f·2828·3f21·5c5c·292e·7c5e··lace(/((?!\\).|^
00000420:·295c·5b28·5b5e·5c2f·5c5c·5d29·5c5d·2f67··)\[([^\/\\])\]/g00000420:·295c·5b28·5b5e·5c2f·5c5c·5d29·5c5d·2f67··)\[([^\/\\])\]/g
00000430:·2c20·2724·3124·3227·290a·2020·2020·2020··,·'$1$2').······00000430:·2c20·2724·3124·3227·290a·2020·2020·2020··,·'$1$2').······
00000440:·2020·2020·2020·2020·2020·2e72·6570·6c61············.repla00000440:·2020·2020·2020·2020·2020·2e72·6570·6c61············.repla
00000450:·6365·282f·5c5c·285b·5e5c·2f5d·292f·672c··ce(/\\([^\/])/g,00000450:·6365·282f·5c5c·285b·5e5c·2f5d·292f·672c··ce(/\\([^\/])/g,
00000460:·2027·2431·2729·3b0a·2020·2020·7d0a·2020···'$1');.····}.··00000460:·2027·2431·2729·3b0a·2020·2020·7d0a·2020···'$1');.····}.··
00000470:·2020·7265·7475·726e·2077·696e·646f·7773····return·windows00000470:·2020·7265·7475·726e·2077·696e·646f·7773····return·windows
00000480:·5061·7468·734e·6f45·7363·6170·650a·2020··PathsNoEscape.··00000480:·5061·7468·734e·6f45·7363·6170·6520·3f0a··PathsNoEscape·?.
00000490:·2020·2020·2020·3f20·732e·7265·706c·6163········?·s.replac00000490:·2020·2020·2020·2020·732e·7265·706c·6163··········s.replac
000004a0:·6528·2f5c·5b28·5b5e·5c2f·5c5c·7b7d·5d29··e(/\[([^\/\\{}])000004a0:·6528·2f5c·5b28·5b5e·5c2f·5c5c·7b7d·5d29··e(/\[([^\/\\{}])
000004b0:·5c5d·2f67·2c20·2724·3127·290a·2020·2020··\]/g,·'$1').····000004b0:·5c5d·2f67·2c20·2724·3127·290a·2020·2020··\]/g,·'$1').····
000004c0:·2020·2020·3a20·730a·2020·2020·2020·2020······:·s.········000004c0:·2020·2020·3a20·730a·2020·2020·2020·2020······:·s.········
000004d0:·2020·2020·2e72·6570·6c61·6365·282f·2828······.replace(/((000004d0:·2020·2020·2e72·6570·6c61·6365·282f·2828······.replace(/((
000004e0:·3f21·5c5c·292e·7c5e·295c·5b28·5b5e·5c2f··?!\\).|^)\[([^\/000004e0:·3f21·5c5c·292e·7c5e·295c·5b28·5b5e·5c2f··?!\\).|^)\[([^\/
000004f0:·5c5c·7b7d·5d29·5c5d·2f67·2c20·2724·3124··\\{}])\]/g,·'$1$000004f0:·5c5c·7b7d·5d29·5c5d·2f67·2c20·2724·3124··\\{}])\]/g,·'$1$
00000500:·3227·290a·2020·2020·2020·2020·2020·2020··2').············00000500:·3227·290a·2020·2020·2020·2020·2020·2020··2').············
4.25 KB
lib/node_modules/tshy/node_modules/minimatch/dist/commonjs/unescape.js.map
4.11 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"unescape.js",2 ····"file":·"unescape.js",
3 ····"mappings":·";;;AAEA;;;;;;;;;;;;;;;;;;GAkBG;AAEI,MAAM,QAAQ,GAAG,CACtB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,IAAI,MACgD,EAAE,EACxE,EAAE;IACF,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB;YACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC;YACnC,CAAC,CAAC,CAAC;iBACE,OAAO,CAAC,2BAA2B,EAAE,MAAM,CAAC;iBAC5C,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;IACpC,CAAC;IACD,OAAO,oBAAoB;QACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC;QACrC,CAAC,CAAC,CAAC;aACE,OAAO,CAAC,6BAA6B,EAAE,MAAM,CAAC;aAC9C,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CAAA;AACtC,CAAC,CAAA;AAnBY,QAAA,QAAQ,YAmBpB",3 ····"mappings":·";;;AAEA;;;;;;;;;;;;;;;;;;GAkBG;AAEI,MAAM,QAAQ,GAAG,CACtB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,IAAI,MACgD,EAAE,EACxE,EAAE;IACF,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB,CAAC,CAAC;YACzB,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC;YACnC,CAAC,CAAC,CAAC;iBACE,OAAO,CAAC,2BAA2B,EAAE,MAAM,CAAC;iBAC5C,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;IACpC,CAAC;IACD,OAAO,oBAAoB,CAAC,CAAC;QACzB,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC;QACrC,CAAC,CAAC,CAAC;aACE,OAAO,CAAC,6BAA6B,EAAE,MAAM,CAAC;aAC9C,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CAAA;AACtC,CAAC,CAAA;AAnBY,QAAA,QAAQ,YAmBpB",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/unescape.ts"7 ········"../../src/unescape.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Un-escape·a·string·that·has·been·escaped·with·{@link·escape}.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}·option·is·used,·then\n·*·square-bracket·escapes·are·removed,·but·not·backslash·escapes.\n·*\n·*·For·example,·it·will·turn·the·string·`'[*]'`·into·`*`,·but·it·will·not\n·*·turn·`'\\\\*'`·into·`'*'`,·because·`\\`·is·a·path·separator·in\n·*·`windowsPathsNoEscape`·mode.\n·*\n·*·When·`windowsPathsNoEscape`·is·not·set,·then·both·square-bracket·escapes·and\n·*·backslash·escapes·are·removed.\n·*\n·*·Slashes·(and·backslashes·in·`windowsPathsNoEscape`·mode)·cannot·be·escaped\n·*·or·unescaped.\n·*\n·*·When·`magicalBraces`·is·not·set,·escapes·of·braces·(`{`·and·`}`)·will·not·be\n·*·unescaped.\n·*/\n\nexport·const·unescape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·true,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape\n······?·s.replace(/\\[([^\\/\\\\])\\]/g,·'$1')\n······:·s\n··········.replace(/((?!\\\\).|^)\\[([^\\/\\\\])\\]/g,·'$1$2')\n··········.replace(/\\\\([^\\/])/g,·'$1')\n··}\n··return·windowsPathsNoEscape\n····?·s.replace(/\\[([^\\/\\\\{}])\\]/g,·'$1')\n····:·s\n········.replace(/((?!\\\\).|^)\\[([^\\/\\\\{}])\\]/g,·'$1$2')\n········.replace(/\\\\([^\\/{}])/g,·'$1')\n}\n"10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Un-escape·a·string·that·has·been·escaped·with·{@link·escape}.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}·option·is·used,·then\n·*·square-bracket·escapes·are·removed,·but·not·backslash·escapes.\n·*\n·*·For·example,·it·will·turn·the·string·`'[*]'`·into·`*`,·but·it·will·not\n·*·turn·`'\\\\*'`·into·`'*'`,·because·`\\`·is·a·path·separator·in\n·*·`windowsPathsNoEscape`·mode.\n·*\n·*·When·`windowsPathsNoEscape`·is·not·set,·then·both·square-bracket·escapes·and\n·*·backslash·escapes·are·removed.\n·*\n·*·Slashes·(and·backslashes·in·`windowsPathsNoEscape`·mode)·cannot·be·escaped\n·*·or·unescaped.\n·*\n·*·When·`magicalBraces`·is·not·set,·escapes·of·braces·(`{`·and·`}`)·will·not·be\n·*·unescaped.\n·*/\n\nexport·const·unescape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·true,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape·?\n········s.replace(/\\[([^\\/\\\\])\\]/g,·'$1')\n······:·s\n··········.replace(/((?!\\\\).|^)\\[([^\\/\\\\])\\]/g,·'$1$2')\n··········.replace(/\\\\([^\\/])/g,·'$1')\n··}\n··return·windowsPathsNoEscape·?\n······s.replace(/\\[([^\\/\\\\{}])\\]/g,·'$1')\n····:·s\n········.replace(/((?!\\\\).|^)\\[([^\\/\\\\{}])\\]/g,·'$1$2')\n········.replace(/\\\\([^\\/{}])/g,·'$1')\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
1.85 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/ast.d.ts.map
1.72 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"ast.d.ts",2 ····"file":·"ast.d.ts",
3 ····"mappings":·"AAGA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAwCvD,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;AAkCrD,qBAAa,GAAG;;IACd,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;gBAiBtB,IAAI,EAAE,WAAW,GAAG,IAAI,EACxB,MAAM,CAAC,EAAE,GAAG,EACZ,OAAO,GAAE,gBAAqB;IAahC,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAUlC;IAGD,QAAQ,IAAI,MAAM;IA+ClB,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE;IAY/B,MAAM;IAgBN,OAAO,IAAI,OAAO;IAgBlB,KAAK,IAAI,OAAO;IAYhB,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM;IAKzB,KAAK,CAAC,MAAM,EAAE,GAAG;IAsIjB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB;IAQ/D,WAAW,IAAI,QAAQ,GAAG,MAAM;IA2BhC,IAAI,OAAO,qBAEV;IAuED,cAAc,CAC[·...·truncated·by·diffoscope;·len:·116,·SHA:·2ef11ead35b430fc13e7740c5e22c7e5aedf20b59e4cffacca9d18a13fb506c0·...·]MjE",3 ····"mappings":·"AAGA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAwCvD,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;AAkCrD,qBAAa,GAAG;;IACd,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;gBAiBtB,IAAI,EAAE,WAAW,GAAG,IAAI,EACxB,MAAM,CAAC,EAAE,GAAG,EACZ,OAAO,GAAE,gBAAqB;IAahC,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAUlC;IAGD,QAAQ,IAAI,MAAM;IA+ClB,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE;IAe/B,MAAM;IAkBN,OAAO,IAAI,OAAO;IAgBlB,KAAK,IAAI,OAAO;IAYhB,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM;IAKzB,KAAK,CAAC,MAAM,EAAE,GAAG;IAsIjB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB;IAQ/D,WAAW,IAAI,QAAQ,GAAG,MAAM;IA2BhC,IAAI,OAAO,qBAEV;IAuED,cAAc,CAC[·...·truncated·by·diffoscope;·len:·116,·SHA:·1be9f8a865a47f89b138b0b855df117125cb337d6ddb4d254a439f33e8bcfb74·...·]MjE",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/ast.ts"7 ········"../../src/ast.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
153 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/ast.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 278, 1136 lines modifiedOffset 278, 1138 lines modified
00001150:·2020·2020·6966·2028·7020·3d3d·3d20·2727······if·(p·===·''00001150:·2020·2020·6966·2028·7020·3d3d·3d20·2727······if·(p·===·''
00001160:·290a·2020·2020·2020·2020·2020·2020·2020··).··············00001160:·290a·2020·2020·2020·2020·2020·2020·2020··).··············
00001170:·2020·636f·6e74·696e·7565·3b0a·2020·2020····continue;.····00001170:·2020·636f·6e74·696e·7565·3b0a·2020·2020····continue;.····
00001180:·2020·2020·2020·2020·2f2a·2063·3820·6967··········/*·c8·ig00001180:·2020·2020·2020·2020·2f2a·2063·3820·6967··········/*·c8·ig
00001190:·6e6f·7265·2073·7461·7274·202a·2f0a·2020··nore·start·*/.··00001190:·6e6f·7265·2073·7461·7274·202a·2f0a·2020··nore·start·*/.··
000011a0:·2020·2020·2020·2020·2020·6966·2028·7479············if·(ty000011a0:·2020·2020·2020·2020·2020·6966·2028·7479············if·(ty
000011b0:·7065·6f66·2070·2021·3d3d·2027·7374·7269··peof·p·!==·'stri000011b0:·7065·6f66·2070·2021·3d3d·2027·7374·7269··peof·p·!==·'stri
 000011c0:·6e67·2720·2626·0a20·2020·2020·2020·2020··ng'·&&.·········
000011c0:·6e67·2720·2626·2021·2870·2069·6e73·7461··ng'·&&·!(p·insta000011d0:·2020·2020·2020·2021·2870·2069·6e73·7461·········!(p·insta
000011d0:·6e63·656f·6620·4153·5420·2626·2070·2e23··nceof·AST·&&·p.#000011e0:·6e63·656f·6620·4153·5420·2626·2070·2e23··nceof·AST·&&·p.#
000011e0:·7061·7265·6e74·203d·3d3d·2074·6869·7329··parent·===·this)000011f0:·7061·7265·6e74·203d·3d3d·2074·6869·7329··parent·===·this)
000011f0:·2920·7b0a·2020·2020·2020·2020·2020·2020··)·{.············00001200:·2920·7b0a·2020·2020·2020·2020·2020·2020··)·{.············
00001200:·2020·2020·7468·726f·7720·6e65·7720·4572······throw·new·Er00001210:·2020·2020·7468·726f·7720·6e65·7720·4572······throw·new·Er
00001210:·726f·7228·2769·6e76·616c·6964·2070·6172··ror('invalid·par00001220:·726f·7228·2769·6e76·616c·6964·2070·6172··ror('invalid·par
00001220:·743a·2027·202b·2070·293b·0a20·2020·2020··t:·'·+·p);.·····00001230:·743a·2027·202b·2070·293b·0a20·2020·2020··t:·'·+·p);.·····
00001230:·2020·2020·2020·207d·0a20·2020·2020·2020·········}.·······00001240:·2020·2020·2020·207d·0a20·2020·2020·2020·········}.·······
00001240:·2020·2020·202f·2a20·6338·2069·676e·6f72·······/*·c8·ignor00001250:·2020·2020·202f·2a20·6338·2069·676e·6f72·······/*·c8·ignor
00001250:·6520·7374·6f70·202a·2f0a·2020·2020·2020··e·stop·*/.······00001260:·6520·7374·6f70·202a·2f0a·2020·2020·2020··e·stop·*/.······
00001260:·2020·2020·2020·7468·6973·2e23·7061·7274········this.#part00001270:·2020·2020·2020·7468·6973·2e23·7061·7274········this.#part
00001270:·732e·7075·7368·2870·293b·0a20·2020·2020··s.push(p);.·····00001280:·732e·7075·7368·2870·293b·0a20·2020·2020··s.push(p);.·····
00001280:·2020·207d·0a20·2020·207d·0a20·2020·2074·····}.····}.····t00001290:·2020·207d·0a20·2020·207d·0a20·2020·2074·····}.····}.····t
00001290:·6f4a·534f·4e28·2920·7b0a·2020·2020·2020··oJSON()·{.······000012a0:·6f4a·534f·4e28·2920·7b0a·2020·2020·2020··oJSON()·{.······
000012a0:·2020·636f·6e73·7420·7265·7420·3d20·7468····const·ret·=·th000012b0:·2020·636f·6e73·7420·7265·7420·3d20·7468····const·ret·=·th
000012b0:·6973·2e74·7970·6520·3d3d·3d20·6e75·6c6c··is.type·===·null000012c0:·6973·2e74·7970·6520·3d3d·3d20·6e75·6c6c··is.type·===·null
000012c0:·0a20·2020·2020·2020·2020·2020·203f·2074··.············?·t000012d0:·203f·0a20·2020·2020·2020·2020·2020·2074···?.············t
000012d0:·6869·732e·2370·6172·7473·2e73·6c69·6365··his.#parts.slice000012e0:·6869·732e·2370·6172·7473·0a20·2020·2020··his.#parts.·····
 000012f0:·2020·2020·2020·2020·2020·202e·736c·6963·············.slic
 00001300:·6528·290a·2020·2020·2020·2020·2020·2020··e().············
000012e0:·2829·2e6d·6170·2870·203d·3e20·2874·7970··().map(p·=>·(typ00001310:·2020·2020·2e6d·6170·2870·203d·3e20·2874······.map(p·=>·(t
000012f0:·656f·6620·7020·3d3d·3d20·2773·7472·696e··eof·p·===·'strin00001320:·7970·656f·6620·7020·3d3d·3d20·2773·7472··ypeof·p·===·'str
00001300:·6727·203f·2070·203a·2070·2e74·6f4a·534f··g'·?·p·:·p.toJSO00001330:·696e·6727·203f·2070·203a·2070·2e74·6f4a··ing'·?·p·:·p.toJ
00001310:·4e28·2929·290a·2020·2020·2020·2020·2020··N())).··········00001340:·534f·4e28·2929·290a·2020·2020·2020·2020··SON())).········
00001320:·2020·3a20·5b74·6869·732e·7479·7065·2c20····:·[this.type,·00001350:·2020·2020·3a20·5b74·6869·732e·7479·7065······:·[this.type
00001330:·2e2e·2e74·6869·732e·2370·6172·7473·2e6d··...this.#parts.m00001360:·2c20·2e2e·2e74·6869·732e·2370·6172·7473··,·...this.#parts
00001340:·6170·2870·203d·3e20·702e·746f·4a53·4f4e··ap(p·=>·p.toJSON00001370:·2e6d·6170·2870·203d·3e20·702e·746f·4a53··.map(p·=>·p.toJS
00001350:·2829·295d·3b0a·2020·2020·2020·2020·6966··())];.········if00001380:·4f4e·2829·295d·3b0a·2020·2020·2020·2020··ON())];.········
00001360:·2028·7468·6973·2e69·7353·7461·7274·2829···(this.isStart()00001390:·6966·2028·7468·6973·2e69·7353·7461·7274··if·(this.isStart
00001370:·2026·2620·2174·6869·732e·7479·7065·290a···&&·!this.type).000013a0:·2829·2026·2620·2174·6869·732e·7479·7065··()·&&·!this.type
00001380:·2020·2020·2020·2020·2020·2020·7265·742e··············ret.000013b0:·290a·2020·2020·2020·2020·2020·2020·7265··).············re
00001390:·756e·7368·6966·7428·5b5d·293b·0a20·2020··unshift([]);.···000013c0:·742e·756e·7368·6966·7428·5b5d·293b·0a20··t.unshift([]);.·
000013a0:·2020·2020·2069·6620·2874·6869·732e·6973·······if·(this.is 
000013b0:·456e·6428·2920·2626·0a20·2020·2020·2020··End()·&&.······· 
000013c0:·2020·2020·2028·7468·6973·203d·3d3d·2074·······(this·===·t 
000013d0:·6869·732e·2372·6f6f·7420·7c7c·0a20·2020··his.#root·||.··· 
000013e0:·2020·2020·2020·2020·2020·2020·2028·7468···············(th 
000013f0:·6973·2e23·726f·6f74·2e23·6669·6c6c·6564··is.#root.#filled 
00001400:·4e65·6773·2026·2620·7468·6973·2e23·7061··Negs·&&·this.#pa 
00001410:·7265·6e74·3f2e·7479·7065·203d·3d3d·2027··rent?.type·===·' 
00001420:·2127·2929·2920·7b0a·2020·2020·2020·2020··!')))·{.········ 
00001430:·2020·2020·7265·742e·7075·7368·287b·7d29······ret.push({}) 
00001440:·3b0a·2020·2020·2020·2020·7d0a·2020·2020··;.········}.···· 
00001450:·2020·2020·7265·7475·726e·2072·6574·3b0a······return·ret;. 
00001460:·2020·2020·7d0a·2020·2020·6973·5374·6172······}.····isStar 
00001470:·7428·2920·7b0a·2020·2020·2020·2020·6966··t()·{.········if 
00001480:·2028·7468·6973·2e23·726f·6f74·203d·3d3d···(this.#root·=== 
00001490:·2074·6869·7329·0a20·2020·2020·2020·2020···this).········· 
000014a0:·2020·2072·6574·7572·6e20·7472·7565·3b0a·····return·true;. 
000014b0:·2020·2020·2020·2020·2f2f·2069·6620·2874··········//·if·(t 
000014c0:·6869·732e·7479·7065·2920·7265·7475·726e··his.type)·return 
000014d0:·2021·2174·6869·732e·2370·6172·656e·743f···!!this.#parent? 
000014e0:·2e69·7353·7461·7274·2829·0a20·2020·2020··.isStart().····· 
000014f0:·2020·2069·6620·2821·7468·6973·2e23·7061·····if·(!this.#pa 
00001500:·7265·6e74·3f2e·6973·5374·6172·7428·2929··rent?.isStart()) 
00001510:·0a20·2020·2020·2020·2020·2020·2072·6574··.············ret 
00001520:·7572·6e20·6661·6c73·653b·0a20·2020·2020··urn·false;.····· 
00001530:·2020·2069·6620·2874·6869·732e·2370·6172·····if·(this.#par 
00001540:·656e·7449·6e64·6578·203d·3d3d·2030·290a··entIndex·===·0). 
00001550:·2020·2020·2020·2020·2020·2020·7265·7475··············retu 
00001560:·726e·2074·7275·653b·0a20·2020·2020·2020··rn·true;.······· 
00001570:·202f·2f20·6966·2065·7665·7279·7468·696e···//·if·everythin 
00001580:·6720·4148·4541·4420·6f66·2074·6869·7320··g·AHEAD·of·this· 
00001590:·6973·2061·206e·6567·6174·696f·6e2c·2074··is·a·negation,·t 
000015a0:·6865·6e20·6974·2773·2073·7469·6c6c·2074··hen·it's·still·t 
000015b0:·6865·2022·7374·6172·7422·0a20·2020·2020··he·"start".····· 
000015c0:·2020·2063·6f6e·7374·2070·203d·2074·6869·····const·p·=·thi 
000015d0:·732e·2370·6172·656e·743b·0a20·2020·2020··s.#parent;.····· 
000015e0:·2020·2066·6f72·2028·6c65·7420·6920·3d20·····for·(let·i·=· 
000015f0:·303b·2069·203c·2074·6869·732e·2370·6172··0;·i·<·this.#par 
00001600:·656e·7449·6e64·6578·3b20·692b·2b29·207b··entIndex;·i++)·{ 
00001610:·0a20·2020·2020·2020·2020·2020·2063·6f6e··.············con 
00001620:·7374·2070·7020·3d20·702e·2370·6172·7473··st·pp·=·p.#parts 
00001630:·5b69·5d3b·0a20·2020·2020·2020·2020·2020··[i];.··········· 
00001640:·2069·6620·2821·2870·7020·696e·7374·616e···if·(!(pp·instan 
00001650:·6365·6f66·2041·5354·2026·2620·7070·2e74··ceof·AST·&&·pp.t 
00001660:·7970·6520·3d3d·3d20·2721·2729·2920·7b0a··ype·===·'!'))·{. 
00001670:·2020·2020·2020·2020·2020·2020·2020·2020·················· 
00001680:·7265·7475·726e·2066·616c·7365·3b0a·2020··return·false;.·· 
00001690:·2020·2020·2020·2020·2020·7d0a·2020·2020············}.···· 
000016a0:·2020·2020·7d0a·2020·2020·2020·2020·7265······}.········re 
000016b0:·7475·726e·2074·7275·653b·0a20·2020·207d··turn·true;.····} 
000016c0:·0a20·2020·2069·7345·6e64·2829·207b·0a20··.····isEnd()·{.· 
000016d0:·2020·2020·2020·2069·6620·2874·6869·732e·········if·(this.000013d0:·2020·2020·2020·2069·6620·2874·6869·732e·········if·(this.
000016e0:·2372·6f6f·7420·3d3d·3d20·7468·6973·290a··#root·===·this).000013e0:·6973·456e·6428·2920·2626·0a20·2020·2020··isEnd()·&&.·····
 000013f0:·2020·2020·2020·2028·7468·6973·203d·3d3d·········(this·===
 00001400:·2074·6869·732e·2372·6f6f·7420·7c7c·0a20···this.#root·||.·
 00001410:·2020·2020·2020·2020·2020·2020·2020·2028·················(
 00001420:·7468·6973·2e23·726f·6f74·2e23·6669·6c6c··this.#root.#fill
 00001430:·6564·4e65·6773·2026·2620·7468·6973·2e23··edNegs·&&·this.#
 00001440:·7061·7265·6e74·3f2e·7479·7065·203d·3d3d··parent?.type·===
Max diff block lines reached; 142532/156082 bytes (91.32%) of diff not shown.
79.8 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/ast.js.map
79.7 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"ast.js",2 ····"file":·"ast.js",
3 ····"mappings":·"AAAA,8BAA8B;AAE9B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAwCxC,MAAM,KAAK,GAAG,IAAI,GAAG,CAAc,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAA;AAC7D,MAAM,aAAa,GAAG,CAAC,CAAS,EAAoB,EAAE,CACp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AK,GAAG,EAAE,CAAC;gBACd,EAAE,IAAI,KAAK,CAAA;gBACX,QAAQ,GAAG,IAAI,CAAA;gBACf,SAAQ;YACV,CAAC;YACD,EAAE,IAAI,YAAY,CAAC,CAAC,CAAC,CAAA;QACvB,CAAC;QACD,OAAO,CAAC,EAAE,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;IAChD,CAAC;CACF",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/ast.ts"7 ········"../../src/ast.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·parse·a·single·path·portion\n\nimport·{·parseClass·}·from·'./brace-expressions.js'\nimport·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'\nimport·{·unescape·}·from·'./unescape.js'\n\n//·classes·[]·are·handled·by·the·parseClass·method\n//·for·positive·extglobs,·we·sub-parse·the·contents,·and·combine,\n//·with·the·appropriate·regexp·close.\n//·for·negative·extglobs,·we·sub-parse·the·contents,·but·then\n//·have·to·include·the·rest·of·the·pattern,·then·the·parent,·etc.,\n//·as·the·thing·that·cannot·be·because·RegExp·negative·lookaheads\n//·are·different·from·globs.\n//\n//·So·for·example:\n//·a@(i|w!(x|y)z|j)b·=>·^a(i|w((!?(x|y)zb).*)z|j)b$\n//···1···2·3···4·5·6······1···2····3···46······5·6\n//\n//·Assembling·the·extglob·requires·not·just·the·negated·patterns·themselves,\n//·but·also·anything·following·the·negative·patterns·up·to·the·boundary\n//·of·the·current·pattern,·plus·anything·following·in·the·parent·pattern.\n//\n//\n//·So,·first,·we·parse·the·string·into·an·AST·of·extglobs,·without·turning\n//·anything·into·regexps·yet.\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y']},·'z'],·['j']]},·'b']\n//\n//·Then,·for·all·the·negative·extglobs,·we·append·whatever·comes·after·in\n//·each·parent·as·their·tail\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y'],·'z',·'b'},·'z'],·['j']]},·'b']\n//\n//·Lastly,·we·turn·each·of·these·pieces·into·a·regexp,·and·join\n//\n//·································v-----·.*·because·there's·more·following,\n//·································v····v··otherwise,·.+·because·it·must·be\n//·································v····v··*something*·there.\n//·['^a',·{@·['i',·'w(?:(!?(?:x|y).*zb$).*)z',·'j'·]},·'b$']\n//···copy·what·follows·into·here--^^^^^\n//·['^a',·'(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)',·'b$']\n//·['^a(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)b$']\n\nexport·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'\nconst·types·=·new·Set<ExtglobType>(['!',·'?',·'+',·'*',·'@'])\nconst·isExtglobType·=·(c:·string):·c·is·ExtglobType·=>\n··types.has(c·as·ExtglobType)\n\n//·Patterns·that·get·prepended·to·bind·to·the·start·of·either·the\n//·entire·string,·or·just·a·single·path·portion,·to·prevent·dots\n//·and/or·traversal·patterns,·when·needed.\n//·Exts·don't·need·the·^·or·/·bit,·because·the·root·binds·that·already.\nconst·startNoTraversal·=·'(?!(?:^|/)\\\\.\\\\.?(?:$|/))'\nconst·startNoDot·=·'(?!\\\\.)'\n\n//·characters·that·indicate·a·start·of·pattern·needs·the·\"no·dots\"·bit,\n//·because·a·dot·*might*·be·matched.·(·is·not·in·the·list,·because·in\n//·the·case·of·a·child·extglob,·it·will·handle·the·prevention·itself.\nconst·addPatternStart·=·new·Set(['[',·'.'])\n//·cases·where·traversal·is·A-OK,·no·dot·prevention·needed\nconst·justDots·=·new·Set(['..',·'.'])\nconst·reSpecials·=·new·Set('().*{}+?[]^$\\\\!')\nconst·regExpEscape·=·(s:·string)·=>\n··s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,·'\\\\$&')\n\n//·any·single·thing·other·than·/\nconst·qmark·=·'[^/]'\n\n//·*·=>·any·number·of·characters\nconst·star·=·qmark·+·'*?'\n//·use·+·when·we·need·to·ensure·that·*something*·matches,·because·the·*·is\n//·the·only·thing·in·the·path·portion.\nconst·starNoEmpty·=·qmark·+·'+?'\n\n//·remove·the·\\·chars·that·we·added·if·we·end·up·doing·a·nonmagic·compare\n//·const·deslash·=·(s:·string)·=>·s.replace(/\\\\(.)/g,·'$1')\n\nexport·class·AST·{\n··type:·ExtglobType·|·null\n··readonly·#root:·AST\n\n··#hasMagic?:·boolean\n··#uflag:·boolean·=·false\n··#parts:·(string·|·AST)[]·=·[]\n··readonly·#parent?:·AST\n··readonly·#parentIndex:·number\n··#negs:·AST[]\n··#filledNegs:·boolean·=·false\n··#options:·MinimatchOptions\n··#toString?:·string\n··//·set·to·true·if·it's·an·extglob·with·no·children\n··//·(which·really·means·one·child·of·'')\n··#emptyExt:·boolean·=·false\n\n··constructor(\n····type:·ExtglobType·|·null,\n····parent?:·AST,\n····options:·MinimatchOptions·=·{},\n··)·{\n····this.type·=·type\n····//·extglobs·are·inherently·magical\n····if·(type)·this.#hasMagic·=·true\n····this.#parent·=·parent\n····this.#root·=·this.#parent·?·this.#parent.#root·:·this\n····this.#options·=·this.#root·===·this·?·options·:·this.#root.#options\n····this.#negs·=·this.#root·===·this·?·[]·:·this.#root.#negs\n····if·(type·===·'!'·&&·!this.#root.#filledNegs)·this.#negs.push(this)\n····this.#parentIndex·=·this.#parent·?·this.#parent.#parts.length·:·0\n··}\n\n··get·hasMagic():·boolean·|·undefined·{\n····/*·c8·ignore·start·*/\n····if·(this.#hasMagic·!==·undefined)·return·this.#hasMagic\n····/*·c8·ignore·stop·*/\n····for·(const·p·of·this.#parts)·{\n······if·(typeof·p·===·'string')·continue\n······if·(p.type·||·p.hasMagic)·return·(this.#hasMagic·=·true)\n····}\n····//·note:·will·be·undefined·until·we·generate·the·regexp·src·and·find·out\n····return·this.#hasMagic\n··}\n\n··//·reconstructs·the·pattern\n··toString():·string·{\n····if·(this.#toString·!==·undefined)·return·this.#toString\n····if·(!this.type)·{\n······return·(this.#toString·=·this.#parts.map(p·=>·String(p)).join(''))\n····}·else·{\n······return·(this.#toString·=\n········this.type·+·'('·+·this.#parts.map(p·=>·String(p)).join('|')·+·')')\n····}\n··}\n\n··#fillNegs()·{\n····/*·c8·ignore·start·*/\n····if·(this·!==·this.#root)·throw·new·Error('should·only·call·on·root')\n····if·(this.#filledNegs)·return·this\n····/*·c8·ignore·stop·*/\n\n····//·call·toString()·once·to·fill·this·out\n····this.toString()\n····this.#filledNegs·=·true\n····let·n:·AST·|·undefined\n····while·((n·=·this.#negs.pop()))·{\n······if·(n.type·!==·'!')·continue\n······//·walk·up·the·tree,·appending·everthing·that·comes·AFTER·parentIndex\n······let·p:·AST·|·undefined·=·n\n······let·pp·=·p.#parent\n······while·(pp)·{\n········for·(\n··········let·i·=·p.#parentIndex·+·1;\n··········!pp.type·&&·i·<·pp.#parts.length;\n··········i++\n········)·{\n··········for·(const·part·of·n.#parts)·{\n············/*·c8·ignore·start·*/\n············if·(typeof·part·===·'string')·{\n··············throw·new·Error('string·part·in·extglob·AST??')\n············}\n············/*·c8·ignore·stop·*/\n············part.copyIn(pp.#parts[i])\n··········}\n········}\n········p·=·pp\n········pp·=·p.#parent\n······}\n····}\n····return·this\n··}\n\n··push(...parts:·(string·|·AST)[])·{\n····for·(const·p·of·parts)·{\n······if·(p·===·'')·continue\n······/*·c8·ignore·start·*/\n······if·(typeof·p·!==·'string'·&&·!(p·instanceof·AST·&&·p.#parent·===·this))·{\n········throw·new·Error('invalid·part:·'·+·p)\n······}\n······/*·c8·ignore·stop·*/\n······this.#parts.push(p)\n····}\n··}\n\n··toJSON()·{\n····const·ret:·any[]·=\n······this.type·===·nu[·...·truncated·by·diffoscope;·len:·13851,·SHA:·e61762108f1a7decad6655bb52ba0836b806c0f15d4ccc03e4e7a1856470844c·...·]········:·`)${this.type}`\n······final·=·start·+·body·+·close\n····}\n····return·[\n······final,\n······unescape(body),\n······(this.#hasMagic·=·!!this.#hasMagic),\n······this.#uflag,\n····]\n··}\n\n··#partsToRegExp(dot:·boolean)·{\n····return·this.#parts\n······.map(p·=>·{\n········//·extglob·ASTs·should·only·contain·parent·ASTs\n········/*·c8·ignore·start·*/\n········if·(typeof·p·===·'string')·{\n··········throw·new·Error('string·type·in·extglob·ast??')\n········}\n········/*·c8·ignore·stop·*/\n········//·can·ignore·hasMagic,·because·extglobs·are·already·always·magic\n········const·[re,·_,·_hasMagic,·uflag]·=·p.toRegExpSource(dot)\n········this.#uflag·=·this.#uflag·||·uflag\n········return·re\n······})\n······.filter(p·=>·!(this.isStart()·&&·this.isEnd())·||·!!p)\n······.join('|')\n··}\n\n··static·#parseGlob(\n····glob:·string,\n····hasMagic:·boolean·|·undefined,\n····noEmpty:·boolean·=·false,\n··):·[re:·string,·body:·string,·hasMagic:·boolean,·uflag:·boolean]·{\n····let·escaping·=·false\n····let·re·=·''\n····let·uflag·=·false\n····for·(let·i·=·0;·i·<·glob.length;·i++)·{\n······const·c·=·glob.charAt(i)\n······if·(escaping)·{\n········escaping·=·false\n········re·+=·(reSpecials.has(c)·?·'\\\\'·:·'')·+·c\n········continue\n······}\n······if·(c·===·'\\\\')·{\n········if·(i·===·glob.length·-·1)·{\n··········re·+=·'\\\\\\\\'\n········}·else·{\n··········escaping·=·true\n········}\n········continue\n······}\n······if·(c·===·'[')·{\n········const·[src,·needUflag,·consumed,·magic]·=·parseClass(glob,·i)\n········if·(consumed)·{\n··········re·+=·src\n··········uflag·=·uflag·||·needUflag\n··········i·+=·consumed·-·1\n··········hasMagic·=·hasMagic·||·magic\n··········continue\n········}\n······}\n······if·(c·===·'*')·{\n········re·+=·noEmpty·&&·glob·===·'*'·?·starNoEmpty·:·star\n········hasMagic·=·true\n········continue\n······}\n······if·(c·===·'?')·{\n········re·+=·qmark\n········hasMagic·=·true\n········continue\n······}\n······re·+=·regExpEscape(c)\n····}\n····return·[re,·unescape(glob),·!!hasMagic,·uflag]\n··}\n}\n"10 ········"//·parse·a·single·path·portion\n\nimport·{·parseClass·}·from·'./brace-expressions.js'\nimport·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'\nimport·{·unescape·}·from·'./unescape.js'\n\n//·classes·[]·are·handled·by·the·parseClass·method\n//·for·positive·extglobs,·we·sub-parse·the·contents,·and·combine,\n//·with·the·appropriate·regexp·close.\n//·for·negative·extglobs,·we·sub-parse·the·contents,·but·then\n//·have·to·include·the·rest·of·the·pattern,·then·the·parent,·etc.,\n//·as·the·thing·that·cannot·be·because·RegExp·negative·lookaheads\n//·are·different·from·globs.\n//\n//·So·for·example:\n//·a@(i|w!(x|y)z|j)b·=>·^a(i|w((!?(x|y)zb).*)z|j)b$\n//···1···2·3···4·5·6······1···2····3···46······5·6\n//\n//·Assembling·the·extglob·requires·not·just·the·negated·patterns·themselves,\n//·but·also·anything·following·the·negative·patterns·up·to·the·boundary\n//·of·the·current·pattern,·plus·anything·following·in·the·parent·pattern.\n//\n//\n//·So,·first,·we·parse·the·string·into·an·AST·of·extglobs,·without·turning\n//·anything·into·regexps·yet.\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y']},·'z'],·['j']]},·'b']\n//\n//·Then,·for·all·the·negative·extglobs,·we·append·whatever·comes·after·in\n//·each·parent·as·their·tail\n//\n//·['a',·{@·[['i'],·['w',·{!['x',·'y'],·'z',·'b'},·'z'],·['j']]},·'b']\n//\n//·Lastly,·we·turn·each·of·these·pieces·into·a·regexp,·and·join\n//\n//·································v-----·.*·because·there's·more·following,\n//·································v····v··otherwise,·.+·because·it·must·be\n//·································v····v··*something*·there.\n//·['^a',·{@·['i',·'w(?:(!?(?:x|y).*zb$).*)z',·'j'·]},·'b$']\n//···copy·what·follows·into·here--^^^^^\n//·['^a',·'(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)',·'b$']\n//·['^a(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)b$']\n\nexport·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'\nconst·types·=·new·Set<ExtglobType>(['!',·'?',·'+',·'*',·'@'])\nconst·isExtglobType·=·(c:·string):·c·is·ExtglobType·=>\n··types.has(c·as·ExtglobType)\n\n//·Patterns·that·get·prepended·to·bind·to·the·start·of·either·the\n//·entire·string,·or·just·a·single·path·portion,·to·prevent·dots\n//·and/or·traversal·patterns,·when·needed.\n//·Exts·don't·need·the·^·or·/·bit,·because·the·root·binds·that·already.\nconst·startNoTraversal·=·'(?!(?:^|/)\\\\.\\\\.?(?:$|/))'\nconst·startNoDot·=·'(?!\\\\.)'\n\n//·characters·that·indicate·a·start·of·pattern·needs·the·\"no·dots\"·bit,\n//·because·a·dot·*might*·be·matched.·(·is·not·in·the·list,·because·in\n//·the·case·of·a·child·extglob,·it·will·handle·the·prevention·itself.\nconst·addPatternStart·=·new·Set(['[',·'.'])\n//·cases·where·traversal·is·A-OK,·no·dot·prevention·needed\nconst·justDots·=·new·Set(['..',·'.'])\nconst·reSpecials·=·new·Set('().*{}+?[]^$\\\\!')\nconst·regExpEscape·=·(s:·string)·=>\n··s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,·'\\\\$&')\n\n//·any·single·thing·other·than·/\nconst·qmark·=·'[^/]'\n\n//·*·=>·any·number·of·characters\nconst·star·=·qmark·+·'*?'\n//·use·+·when·we·need·to·ensure·that·*something*·matches,·because·the·*·is\n//·the·only·thing·in·the·path·portion.\nconst·starNoEmpty·=·qmark·+·'+?'\n\n//·remove·the·\\·chars·that·we·added·if·we·end·up·doing·a·nonmagic·compare\n//·const·deslash·=·(s:·string)·=>·s.replace(/\\\\(.)/g,·'$1')\n\nexport·class·AST·{\n··type:·ExtglobType·|·null\n··readonly·#root:·AST\n\n··#hasMagic?:·boolean\n··#uflag:·boolean·=·false\n··#parts:·(string·|·AST)[]·=·[]\n··readonly·#parent?:·AST\n··readonly·#parentIndex:·number\n··#negs:·AST[]\n··#filledNegs:·boolean·=·false\n··#options:·MinimatchOptions\n··#toString?:·string\n··//·set·to·true·if·it's·an·extglob·with·no·children\n··//·(which·really·means·one·child·of·'')\n··#emptyExt:·boolean·=·false\n\n··constructor(\n····type:·ExtglobType·|·null,\n····parent?:·AST,\n····options:·MinimatchOptions·=·{},\n··)·{\n····this.type·=·type\n····//·extglobs·are·inherently·magical\n····if·(type)·this.#hasMagic·=·true\n····this.#parent·=·parent\n····this.#root·=·this.#parent·?·this.#parent.#root·:·this\n····this.#options·=·this.#root·===·this·?·options·:·this.#root.#options\n····this.#negs·=·this.#root·===·this·?·[]·:·this.#root.#negs\n····if·(type·===·'!'·&&·!this.#root.#filledNegs)·this.#negs.push(this)\n····this.#parentIndex·=·this.#parent·?·this.#parent.#parts.length·:·0\n··}\n\n··get·hasMagic():·boolean·|·undefined·{\n····/*·c8·ignore·start·*/\n····if·(this.#hasMagic·!==·undefined)·return·this.#hasMagic\n····/*·c8·ignore·stop·*/\n····for·(const·p·of·this.#parts)·{\n······if·(typeof·p·===·'string')·continue\n······if·(p.type·||·p.hasMagic)·return·(this.#hasMagic·=·true)\n····}\n····//·note:·will·be·undefined·until·we·generate·the·regexp·src·and·find·out\n····return·this.#hasMagic\n··}\n\n··//·reconstructs·the·pattern\n··toString():·string·{\n····if·(this.#toString·!==·undefined)·return·this.#toString\n····if·(!this.type)·{\n······return·(this.#toString·=·this.#parts.map(p·=>·String(p)).join(''))\n····}·else·{\n······return·(this.#toString·=\n········this.type·+·'('·+·this.#parts.map(p·=>·String(p)).join('|')·+·')')\n····}\n··}\n\n··#fillNegs()·{\n····/*·c8·ignore·start·*/\n····if·(this·!==·this.#root)·throw·new·Error('should·only·call·on·root')\n····if·(this.#filledNegs)·return·this\n····/*·c8·ignore·stop·*/\n\n····//·call·toString()·once·to·fill·this·out\n····this.toString()\n····this.#filledNegs·=·true\n····let·n:·AST·|·undefined\n····while·((n·=·this.#negs.pop()))·{\n······if·(n.type·!==·'!')·continue\n······//·walk·up·the·tree,·appending·everthing·that·comes·AFTER·parentIndex\n······let·p:·AST·|·undefined·=·n\n······let·pp·=·p.#parent\n······while·(pp)·{\n········for·(\n··········let·i·=·p.#parentIndex·+·1;\n··········!pp.type·&&·i·<·pp.#parts.length;\n··········i++\n········)·{\n··········for·(const·part·of·n.#parts)·{\n············/*·c8·ignore·start·*/\n············if·(typeof·part·===·'string')·{\n··············throw·new·Error('string·part·in·extglob·AST??')\n············}\n············/*·c8·ignore·stop·*/\n············part.copyIn(pp.#parts[i])\n··········}\n········}\n········p·=·pp\n········pp·=·p.#parent\n······}\n····}\n····return·this\n··}\n\n··push(...parts:·(string·|·AST)[])·{\n····for·(const·p·of·parts)·{\n······if·(p·===·'')·continue\n······/*·c8·ignore·start·*/\n······if·(\n········typeof·p·!==·'string'·&&\n········!(p·instanceof·AST·&&·p.#parent·===·this)\n······)·{\n········throw·new·Error('invalid·part:·'·+·p)\n······}\n······/*·c8·ignore·stop·*/\n······this.#parts.push(p)\n····}\n··}\n\n··toJSON()·{\n····const·ret:·any[[·...·truncated·by·diffoscope;·len:·13839,·SHA:·c03f87d94904207bdd65f1429cda15924b156fe87d650492b981186ea82c35d0·...·]········:·`)${this.type}`\n······final·=·start·+·body·+·close\n····}\n····return·[\n······final,\n······unescape(body),\n······(this.#hasMagic·=·!!this.#hasMagic),\n······this.#uflag,\n····]\n··}\n\n··#partsToRegExp(dot:·boolean)·{\n····return·this.#parts\n······.map(p·=>·{\n········//·extglob·ASTs·should·only·contain·parent·ASTs\n········/*·c8·ignore·start·*/\n········if·(typeof·p·===·'string')·{\n··········throw·new·Error('string·type·in·extglob·ast??')\n········}\n········/*·c8·ignore·stop·*/\n········//·can·ignore·hasMagic,·because·extglobs·are·already·always·magic\n········const·[re,·_,·_hasMagic,·uflag]·=·p.toRegExpSource(dot)\n········this.#uflag·=·this.#uflag·||·uflag\n········return·re\n······})\n······.filter(p·=>·!(this.isStart()·&&·this.isEnd())·||·!!p)\n······.join('|')\n··}\n\n··static·#parseGlob(\n····glob:·string,\n····hasMagic:·boolean·|·undefined,\n····noEmpty:·boolean·=·false,\n··):·[re:·string,·body:·string,·hasMagic:·boolean,·uflag:·boolean]·{\n····let·escaping·=·false\n····let·re·=·''\n····let·uflag·=·false\n····for·(let·i·=·0;·i·<·glob.length;·i++)·{\n······const·c·=·glob.charAt(i)\n······if·(escaping)·{\n········escaping·=·false\n········re·+=·(reSpecials.has(c)·?·'\\\\'·:·'')·+·c\n········continue\n······}\n······if·(c·===·'\\\\')·{\n········if·(i·===·glob.length·-·1)·{\n··········re·+=·'\\\\\\\\'\n········}·else·{\n··········escaping·=·true\n········}\n········continue\n······}\n······if·(c·===·'[')·{\n········const·[src,·needUflag,·consumed,·magic]·=·parseClass(glob,·i)\n········if·(consumed)·{\n··········re·+=·src\n··········uflag·=·uflag·||·needUflag\n··········i·+=·consumed·-·1\n··········hasMagic·=·hasMagic·||·magic\n··········continue\n········}\n······}\n······if·(c·===·'*')·{\n········re·+=·noEmpty·&&·glob·===·'*'·?·starNoEmpty·:·star\n········hasMagic·=·true\n········continue\n······}\n······if·(c·===·'?')·{\n········re·+=·qmark\n········hasMagic·=·true\n········continue\n······}\n······re·+=·regExpEscape(c)\n····}\n····return·[re,·unescape(glob),·!!hasMagic,·uflag]\n··}\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
796 B
lib/node_modules/tshy/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map
636 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"brace-expressions.d.ts",2 ····"file":·"brace-expressions.d.ts",
3 ····"mappings":·"AA+BA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,OAAO;CAClB,CAAA;AAQD,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,UAAU,MAAM,KACf,gBA6HF,CAAA",3 ····"mappings":·"AAgCA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,OAAO;CAClB,CAAA;AAQD,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,UAAU,MAAM,KACf,gBA2HF,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/brace-expressions.ts"7 ········"../../src/brace-expressions.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
2.39 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/brace-expressions.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 333, 20 lines modifiedOffset 333, 19 lines modified
000014c0:·6e73·7420·736e·6567·7320·3d20·275b·2720··nst·snegs·=·'['·000014c0:·6e73·7420·736e·6567·7320·3d20·275b·2720··nst·snegs·=·'['·
000014d0:·2b20·286e·6567·6174·6520·3f20·2727·203a··+·(negate·?·''·:000014d0:·2b20·286e·6567·6174·6520·3f20·2727·203a··+·(negate·?·''·:
000014e0:·2027·5e27·2920·2b20·7261·6e67·6573·546f···'^')·+·rangesTo000014e0:·2027·5e27·2920·2b20·7261·6e67·6573·546f···'^')·+·rangesTo
000014f0:·5374·7269·6e67·286e·6567·7329·202b·2027··String(negs)·+·'000014f0:·5374·7269·6e67·286e·6567·7329·202b·2027··String(negs)·+·'
00001500:·5d27·3b0a·2020·2020·636f·6e73·7420·636f··]';.····const·co00001500:·5d27·3b0a·2020·2020·636f·6e73·7420·636f··]';.····const·co
00001510:·6d62·203d·2072·616e·6765·732e·6c65·6e67··mb·=·ranges.leng00001510:·6d62·203d·2072·616e·6765·732e·6c65·6e67··mb·=·ranges.leng
00001520:·7468·2026·2620·6e65·6773·2e6c·656e·6774··th·&&·negs.lengt00001520:·7468·2026·2620·6e65·6773·2e6c·656e·6774··th·&&·negs.lengt
 00001530:·6820·3f20·2728·2720·2b20·7372·616e·6765··h·?·'('·+·srange
 00001540:·7320·2b20·277c·2720·2b20·736e·6567·7320··s·+·'|'·+·snegs·
 00001550:·2b20·2729·270a·2020·2020·2020·2020·3a20··+·')'.········:·
 00001560:·7261·6e67·6573·2e6c·656e·6774·6820·3f20··ranges.length·?·
00001530:·680a·2020·2020·2020·2020·3f20·2728·2720··h.········?·'('· 
00001540:·2b20·7372·616e·6765·7320·2b20·277c·2720··+·sranges·+·'|'· 
00001550:·2b20·736e·6567·7320·2b20·2729·270a·2020··+·snegs·+·')'.·· 
00001560:·2020·2020·2020·3a20·7261·6e67·6573·2e6c········:·ranges.l 
00001570:·656e·6774·680a·2020·2020·2020·2020·2020··ength.·········· 
00001580:·2020·3f20·7372·616e·6765·730a·2020·2020····?·sranges.····00001570:·7372·616e·6765·730a·2020·2020·2020·2020··sranges.········
00001590:·2020·2020·2020·2020·3a20·736e·6567·733b··········:·snegs;00001580:·2020·2020·3a20·736e·6567·733b·0a20·2020······:·snegs;.···
000015a0:·0a20·2020·2072·6574·7572·6e20·5b63·6f6d··.····return·[com00001590:·2072·6574·7572·6e20·5b63·6f6d·622c·2075···return·[comb,·u
000015b0:·622c·2075·666c·6167·2c20·656e·6450·6f73··b,·uflag,·endPos000015a0:·666c·6167·2c20·656e·6450·6f73·202d·2070··flag,·endPos·-·p
000015c0:·202d·2070·6f73·2c20·7472·7565·5d3b·0a7d···-·pos,·true];.}000015b0:·6f73·2c20·7472·7565·5d3b·0a7d·3b0a·2f2f··os,·true];.};.//
000015d0:·3b0a·2f2f·2320·736f·7572·6365·4d61·7070··;.//#·sourceMapp000015c0:·2320·736f·7572·6365·4d61·7070·696e·6755··#·sourceMappingU
000015e0:·696e·6755·524c·3d62·7261·6365·2d65·7870··ingURL=brace-exp000015d0:·524c·3d62·7261·6365·2d65·7870·7265·7373··RL=brace-express
000015f0:·7265·7373·696f·6e73·2e6a·732e·6d61·70····ressions.js.map000015e0:·696f·6e73·2e6a·732e·6d61·70··············ions.js.map
20.8 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/brace-expressions.js.map
20.6 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"brace-expressions.js",2 ····"file":·"brace-expressions.js",
3 ····"mappings":·"AAAA,wEAAwE;AACxE,wCAAwC;AAExC,8DAA8D;AAC9D,MAAM,YAAY,GAA0D;IAC1E,WAAW,EAAE,CAAC,sBAAsB,EAAE,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,GAAG,QAAQ,GAAG,IAAI,EAAE,KAAK,CAAC;IAC7C,WAAW,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,SAAS[·...·truncated·by·diffoscope;·len:·4525,·SHA:·66634506860d89e462eed6655947f0eec3d39c32c675ac95ca05c43d821c97b3·...·],OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,GAAG,EAAE,IAAI,CAAC,CAAA;AAC1C,CAAC,CAAA",3 ····"mappings":·"AAAA,wEAAwE;AACxE,wCAAwC;AAExC,8DAA8D;AAC9D,MAAM,YAAY,GAChB;IACE,WAAW,EAAE,CAAC,sBAAsB,EAAE,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,GAAG,QAAQ,GAAG,IAAI,EAAE,KAAK,CAAC;IAC7C,WAAW,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,SAAS,[·...·truncated·by·diffoscope;·len:·4524,·SHA:·30d835701c552a95a7fbed4f005bfff28f4038d01783817ffd35d65d1d60d0dd·...·],OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,GAAG,EAAE,IAAI,CAAC,CAAA;AAC1C,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/brace-expressions.ts"7 ········"../../src/brace-expressions.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·translate·the·various·posix·character·classes·into·unicode·properties\n//·this·works·across·all·unicode·locales\n\n//·{·<posix·class>:·[<translation>,·/u·flag·required,·negated]\nconst·posixClasses:·{·[k:·string]:·[e:·string,·u:·boolean,·n?:·boolean]·}·=·{\n··'[:alnum:]':·['\\\\p{L}\\\\p{Nl}\\\\p{Nd}',·true],\n··'[:alpha:]':·['\\\\p{L}\\\\p{Nl}',·true],\n··'[:ascii:]':·['\\\\x'·+·'00-\\\\x'·+·'7f',·false],\n··'[:blank:]':·['\\\\p{Zs}\\\\t',·true],\n··'[:cntrl:]':·['\\\\p{Cc}',·true],\n··'[:digit:]':·['\\\[·...·truncated·by·diffoscope;·len:·4898,·SHA:·13a1dfc74d3273d3922499c68d9adc9c371dce365b5f6b03f6a9d6f42d6f20ad·...·]····:·snegs\n\n··return·[comb,·uflag,·endPos·-·pos,·true]\n}\n"10 ········"//·translate·the·various·posix·character·classes·into·unicode·properties\n//·this·works·across·all·unicode·locales\n\n//·{·<posix·class>:·[<translation>,·/u·flag·required,·negated]\nconst·posixClasses:·{·[k:·string]:·[e:·string,·u:·boolean,·n?:·boolean]·}·=\n··{\n····'[:alnum:]':·['\\\\p{L}\\\\p{Nl}\\\\p{Nd}',·true],\n····'[:alpha:]':·['\\\\p{L}\\\\p{Nl}',·true],\n····'[:ascii:]':·['\\\\x'·+·'00-\\\\x'·+·'7f',·false],\n····'[:blank:]':·['\\\\p{Zs}\\\\t',·true],\n····'[:cntrl:]':·['\\\\p{Cc}',·true],\n····'[:[·...·truncated·by·diffoscope;·len:·4909,·SHA:·c54fbd093a03e50b1156577f01ca078c2ac52f0cbcaa02a2ccf5b582d7da406b·...·]····:·snegs\n\n··return·[comb,·uflag,·endPos·-·pos,·true]\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.03 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/escape.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 48, 24 lines modifiedOffset 48, 24 lines modified
000002f0:·2020·2020·2f2f·2062·6563·6175·7365·205b······//·because·[000002f0:·2020·2020·2f2f·2062·6563·6175·7365·205b······//·because·[
00000300:·215d·5d20·6973·2061·2076·616c·6964·2067··!]]·is·a·valid·g00000300:·215d·5d20·6973·2061·2076·616c·6964·2067··!]]·is·a·valid·g
00000310:·6c6f·6220·636c·6173·7320·6d65·616e·696e··lob·class·meanin00000310:·6c6f·6220·636c·6173·7320·6d65·616e·696e··lob·class·meanin
00000320:·6720·6e6f·7420·275d·272e·0a20·2020·2069··g·not·']'..····i00000320:·6720·6e6f·7420·275d·272e·0a20·2020·2069··g·not·']'..····i
00000330:·6620·286d·6167·6963·616c·4272·6163·6573··f·(magicalBraces00000330:·6620·286d·6167·6963·616c·4272·6163·6573··f·(magicalBraces
00000340:·2920·7b0a·2020·2020·2020·2020·7265·7475··)·{.········retu00000340:·2920·7b0a·2020·2020·2020·2020·7265·7475··)·{.········retu
00000350:·726e·2077·696e·646f·7773·5061·7468·734e··rn·windowsPathsN00000350:·726e·2077·696e·646f·7773·5061·7468·734e··rn·windowsPathsN
00000360:·6f45·7363·6170·650a·2020·2020·2020·2020··oEscape.········00000360:·6f45·7363·6170·6520·3f0a·2020·2020·2020··oEscape·?.······
00000370:·2020·2020·3f20·732e·7265·706c·6163·6528······?·s.replace(00000370:·2020·2020·2020·732e·7265·706c·6163·6528········s.replace(
00000380:·2f5b·3f2a·2829·5b5c·5d7b·7d5d·2f67·2c20··/[?*()[\]{}]/g,·00000380:·2f5b·3f2a·2829·5b5c·5d7b·7d5d·2f67·2c20··/[?*()[\]{}]/g,·
00000390:·275b·2426·5d27·290a·2020·2020·2020·2020··'[$&]').········00000390:·275b·2426·5d27·290a·2020·2020·2020·2020··'[$&]').········
000003a0:·2020·2020·3a20·732e·7265·706c·6163·6528······:·s.replace(000003a0:·2020·2020·3a20·732e·7265·706c·6163·6528······:·s.replace(
000003b0:·2f5b·3f2a·2829·5b5c·5d5c·5c7b·7d5d·2f67··/[?*()[\]\\{}]/g000003b0:·2f5b·3f2a·2829·5b5c·5d5c·5c7b·7d5d·2f67··/[?*()[\]\\{}]/g
000003c0:·2c20·275c·5c24·2627·293b·0a20·2020·207d··,·'\\$&');.····}000003c0:·2c20·275c·5c24·2627·293b·0a20·2020·207d··,·'\\$&');.····}
000003d0:·0a20·2020·2072·6574·7572·6e20·7769·6e64··.····return·wind000003d0:·0a20·2020·2072·6574·7572·6e20·7769·6e64··.····return·wind
000003e0:·6f77·7350·6174·6873·4e6f·4573·6361·7065··owsPathsNoEscape000003e0:·6f77·7350·6174·6873·4e6f·4573·6361·7065··owsPathsNoEscape
000003f0:·0a20·2020·2020·2020·203f·2073·2e72·6570··.········?·s.rep000003f0:·203f·0a20·2020·2020·2020·2073·2e72·6570···?.········s.rep
00000400:·6c61·6365·282f·5b3f·2a28·295b·5c5d·5d2f··lace(/[?*()[\]]/00000400:·6c61·6365·282f·5b3f·2a28·295b·5c5d·5d2f··lace(/[?*()[\]]/
00000410:·672c·2027·5b24·265d·2729·0a20·2020·2020··g,·'[$&]').·····00000410:·672c·2027·5b24·265d·2729·0a20·2020·2020··g,·'[$&]').·····
00000420:·2020·203a·2073·2e72·6570·6c61·6365·282f·····:·s.replace(/00000420:·2020·203a·2073·2e72·6570·6c61·6365·282f·····:·s.replace(/
00000430:·5b3f·2a28·295b·5c5d·5c5c·5d2f·672c·2027··[?*()[\]\\]/g,·'00000430:·5b3f·2a28·295b·5c5d·5c5c·5d2f·672c·2027··[?*()[\]\\]/g,·'
00000440:·5c5c·2426·2729·3b0a·7d3b·0a2f·2f23·2073··\\$&');.};.//#·s00000440:·5c5c·2426·2729·3b0a·7d3b·0a2f·2f23·2073··\\$&');.};.//#·s
00000450:·6f75·7263·654d·6170·7069·6e67·5552·4c3d··ourceMappingURL=00000450:·6f75·7263·654d·6170·7069·6e67·5552·4c3d··ourceMappingURL=
00000460:·6573·6361·7065·2e6a·732e·6d61·70·········escape.js.map00000460:·6573·6361·7065·2e6a·732e·6d61·70·········escape.js.map
3.81 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/escape.js.map
3.68 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"escape.js",2 ····"file":·"escape.js",
3 ····"mappings":·"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CACpB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,KAAK,MAC+C,EAAE,EACxE,EAAE;IACF,wDAAwD;IACxD,4DAA4D;IAC5D,sDAAsD;IACtD,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB;YACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC;YACnC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;IACzC,CAAC;IACD,OAAO,oBAAoB;QACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC;QACjC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;AACvC,CAAC,CAAA",3 ····"mappings":·"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CACpB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,KAAK,MAC+C,EAAE,EACxE,EAAE;IACF,wDAAwD;IACxD,4DAA4D;IAC5D,sDAAsD;IACtD,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB,CAAC,CAAC;YACzB,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC;YACnC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;IACzC,CAAC;IACD,OAAO,oBAAoB,CAAC,CAAC;QACzB,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC;QACjC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;AACvC,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/escape.ts"7 ········"../../src/escape.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Escape·all·magic·characters·in·a·glob·pattern.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}\n·*·option·is·used,·then·characters·are·escaped·by·wrapping·in·`[]`,·because\n·*·a·magic·character·wrapped·in·a·character·class·can·only·be·satisfied·by\n·*·that·exact·character.··In·this·mode,·`\\`·is·_not_·escaped,·because·it·is\n·*·not·interpreted·as·a·magic·character,·but·instead·as·a·path·separator.\n·*\n·*·If·the·{@link·MinimatchOptions.magicalBraces}·option·is·used,\n·*·then·braces·(`{`·and·`}`)·will·be·escaped.\n·*/\nexport·const·escape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·false,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··//·don't·need·to·escape·+@!·because·we·escape·the·parens\n··//·that·make·those·magic,·and·escaping·!·as·[!]·isn't·valid,\n··//·because·[!]]·is·a·valid·glob·class·meaning·not·']'.\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape\n······?·s.replace(/[?*()[\\]{}]/g,·'[$&]')\n······:·s.replace(/[?*()[\\]\\\\{}]/g,·'\\\\$&')\n··}\n··return·windowsPathsNoEscape\n····?·s.replace(/[?*()[\\]]/g,·'[$&]')\n····:·s.replace(/[?*()[\\]\\\\]/g,·'\\\\$&')\n}\n"10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Escape·all·magic·characters·in·a·glob·pattern.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}\n·*·option·is·used,·then·characters·are·escaped·by·wrapping·in·`[]`,·because\n·*·a·magic·character·wrapped·in·a·character·class·can·only·be·satisfied·by\n·*·that·exact·character.··In·this·mode,·`\\`·is·_not_·escaped,·because·it·is\n·*·not·interpreted·as·a·magic·character,·but·instead·as·a·path·separator.\n·*\n·*·If·the·{@link·MinimatchOptions.magicalBraces}·option·is·used,\n·*·then·braces·(`{`·and·`}`)·will·be·escaped.\n·*/\nexport·const·escape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·false,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··//·don't·need·to·escape·+@!·because·we·escape·the·parens\n··//·that·make·those·magic,·and·escaping·!·as·[!]·isn't·valid,\n··//·because·[!]]·is·a·valid·glob·class·meaning·not·']'.\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape·?\n········s.replace(/[?*()[\\]{}]/g,·'[$&]')\n······:·s.replace(/[?*()[\\]\\\\{}]/g,·'\\\\$&')\n··}\n··return·windowsPathsNoEscape·?\n······s.replace(/[?*()[\\]]/g,·'[$&]')\n····:·s.replace(/[?*()[\\]\\\\]/g,·'\\\\$&')\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
3.32 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/index.d.ts
    
Offset 1, 30 lines modifiedOffset 1, 80 lines modified
1 import·{·AST·}·from·'./ast.js';1 import·{·AST·}·from·'./ast.js';
2 export·type·Platform·=·'aix'·|·'android'·|·'darwin'·|·'freebsd'·|·'haiku'·|·'linux'·|·'openbsd'·|·'sunos'·|·'win32'·|·'cygwin'·|·'netbsd';2 export·type·Platform·=·'aix'·|·'android'·|·'darwin'·|·'freebsd'·|·'haiku'·|·'linux'·|·'openbsd'·|·'sunos'·|·'win32'·|·'cygwin'·|·'netbsd';
3 export·interface·MinimatchOptions·{3 export·interface·MinimatchOptions·{
 4 ····/**·do·not·expand·`{x,y}`·style·braces·*/
4 ····nobrace?:·boolean;5 ····nobrace?:·boolean;
 6 ····/**·do·not·treat·patterns·starting·with·`#`·as·a·comment·*/
5 ····nocomment?:·boolean;7 ····nocomment?:·boolean;
 8 ····/**·do·not·treat·patterns·starting·with·`!`·as·a·negation·*/
6 ····nonegate?:·boolean;9 ····nonegate?:·boolean;
 10 ····/**·print·LOTS·of·debugging·output·*/
7 ····debug?:·boolean;11 ····debug?:·boolean;
 12 ····/**·treat·`**`·the·same·as·`*`·*/
8 ····noglobstar?:·boolean;13 ····noglobstar?:·boolean;
 14 ····/**·do·not·expand·extglobs·like·`+(a|b)`·*/
9 ····noext?:·boolean;15 ····noext?:·boolean;
 16 ····/**·return·the·pattern·if·nothing·matches·*/
10 ····nonull?:·boolean;17 ····nonull?:·boolean;
 18 ····/**·treat·`\\`·as·a·path·separator,·not·an·escape·character·*/
11 ····windowsPathsNoEscape?:·boolean;19 ····windowsPathsNoEscape?:·boolean;
 20 ····/**
 21 ·····*·inverse·of·{@link·MinimatchOptions.windowsPathsNoEscape}
 22 ·····*·@deprecated
 23 ·····*/
12 ····allowWindowsEscape?:·boolean;24 ····allowWindowsEscape?:·boolean;
 25 ····/**
 26 ·····*·Compare·a·partial·path·to·a·pattern.·As·long·as·the·parts
 27 ·····*·of·the·path·that·are·present·are·not·contradicted·by·the
 28 ·····*·pattern,·it·will·be·treated·as·a·match.·This·is·useful·in
 29 ·····*·applications·where·you're·walking·through·a·folder·structure,
 30 ·····*·and·don't·yet·have·the·full·path,·but·want·to·ensure·that·you
 31 ·····*·do·not·walk·down·paths·that·can·never·be·a·match.
 32 ·····*/
13 ····partial?:·boolean;33 ····partial?:·boolean;
 34 ····/**·allow·matches·that·start·with·`.`·even·if·the·pattern·does·not·*/
14 ····dot?:·boolean;35 ····dot?:·boolean;
 36 ····/**·ignore·case·*/
15 ····nocase?:·boolean;37 ····nocase?:·boolean;
 38 ····/**·ignore·case·only·in·wildcard·patterns·*/
16 ····nocaseMagicOnly?:·boolean;39 ····nocaseMagicOnly?:·boolean;
 40 ····/**·consider·braces·to·be·"magic"·for·the·purpose·of·`hasMagic`·*/
17 ····magicalBraces?:·boolean;41 ····magicalBraces?:·boolean;
 42 ····/**
 43 ·····*·If·set,·then·patterns·without·slashes·will·be·matched
 44 ·····*·against·the·basename·of·the·path·if·it·contains·slashes.
 45 ·····*·For·example,·`a?b`·would·match·the·path·`/xyz/123/acb`,·but
 46 ·····*·not·`/xyz/acb/123`.
 47 ·····*/
18 ····matchBase?:·boolean;48 ····matchBase?:·boolean;
 49 ····/**·invert·the·results·of·negated·matches·*/
19 ····flipNegate?:·boolean;50 ····flipNegate?:·boolean;
 51 ····/**·do·not·collapse·multiple·`/`·into·a·single·`/`·*/
20 ····preserveMultipleSlashes?:·boolean;52 ····preserveMultipleSlashes?:·boolean;
 53 ····/**
 54 ·····*·A·number·indicating·the·level·of·optimization·that·should·be·done
 55 ·····*·to·the·pattern·prior·to·parsing·and·using·it·for·matches.
 56 ·····*/
21 ····optimizationLevel?:·number;57 ····optimizationLevel?:·number;
 58 ····/**·operating·system·platform·*/
22 ····platform?:·Platform;59 ····platform?:·Platform;
 60 ····/**
 61 ·····*·When·a·pattern·starts·with·a·UNC·path·or·drive·letter,·and·in
 62 ·····*·`nocase:true`·mode,·do·not·convert·the·root·portions·of·the
 63 ·····*·pattern·into·a·case-insensitive·regular·expression,·and·instead
 64 ·····*·leave·them·as·strings.
 65 ·····*
 66 ·····*·This·is·the·default·when·the·platform·is·`win32`·and
 67 ·····*·`nocase:true`·is·set.
 68 ·····*/
23 ····windowsNoMagicRoot?:·boolean;69 ····windowsNoMagicRoot?:·boolean;
 70 ····/**
 71 ·····*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000.
 72 ·····*/
 73 ····braceExpandMax?:·number;
24 }74 }
25 export·declare·const·minimatch:·{75 export·declare·const·minimatch:·{
26 ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean;76 ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean;
27 ····sep:·Sep;77 ····sep:·Sep;
28 ····GLOBSTAR:·typeof·GLOBSTAR;78 ····GLOBSTAR:·typeof·GLOBSTAR;
29 ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean;79 ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean;
30 ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch;80 ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch;
6.85 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/index.d.ts.map
6.72 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"index.d.ts",2 ····"file":·"index.d.ts",
3 ····"mappings":·"AAEA,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAI3C,MAAM,MAAM,QAAQ,GAChB,KAAK,GACL,SAAS,GACT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,CAAA;AAEZ,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,C[·...·truncated·by·diffoscope;·len:·2462,·SHA:·4147bff405dab53d48a13ff5d65d1e281090cb678ec9792beca50965b55a5b1e·...·]GN,UAAU,CAAC,CAAC,EAAE,MAAM;IAepB,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,UAAe;IAiEvC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,gBAAgB;CAGtC;AAED,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA",3 ····"mappings":·"AAEA,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAI3C,MAAM,MAAM,QAAQ,GAChB,KAAK,GACL,SAAS,GACT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,SAAS,GACT,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,CAAA;AAEZ,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qCAAqC;IACrC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAA[·...·truncated·by·diffoscope;·len:·2771,·SHA:·40d0d2c5dd89ab309d65ffe3372fec6c8701cb0fb1c7065959496b53cc54726d·...·]GN,UAAU,CAAC,CAAC,EAAE,MAAM;IAepB,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,UAAe;IAiEvC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,gBAAgB;CAGtC;AAED,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
336 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/index.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 1, 2493 lines modifiedOffset 1, 2505 lines modified
Diff chunk too large, falling back to line-by-line diff (955 lines added, 955 lines removed)
00000000:·696d·706f·7274·207b·2065·7870·616e·6420··import·{·expand·00000000:·696d·706f·7274·207b·2065·7870·616e·6420··import·{·expand·
00000010:·7d20·6672·6f6d·2027·4069·7361·6163·732f··}·from·'@isaacs/00000010:·7d20·6672·6f6d·2027·6272·6163·652d·6578··}·from·'brace-ex
00000020:·6272·6163·652d·6578·7061·6e73·696f·6e27··brace-expansion'00000020:·7061·6e73·696f·6e27·3b0a·696d·706f·7274··pansion';.import
00000030:·3b0a·696d·706f·7274·207b·2061·7373·6572··;.import·{·asser00000030:·207b·2061·7373·6572·7456·616c·6964·5061···{·assertValidPa
00000040:·7456·616c·6964·5061·7474·6572·6e20·7d20··tValidPattern·}·00000040:·7474·6572·6e20·7d20·6672·6f6d·2027·2e2f··ttern·}·from·'./
00000050:·6672·6f6d·2027·2e2f·6173·7365·7274·2d76··from·'./assert-v00000050:·6173·7365·7274·2d76·616c·6964·2d70·6174··assert-valid-pat
00000060:·616c·6964·2d70·6174·7465·726e·2e6a·7327··alid-pattern.js'00000060:·7465·726e·2e6a·7327·3b0a·696d·706f·7274··tern.js';.import
00000070:·3b0a·696d·706f·7274·207b·2041·5354·207d··;.import·{·AST·}00000070:·207b·2041·5354·207d·2066·726f·6d20·272e···{·AST·}·from·'.
00000080:·2066·726f·6d20·272e·2f61·7374·2e6a·7327···from·'./ast.js'00000080:·2f61·7374·2e6a·7327·3b0a·696d·706f·7274··/ast.js';.import
00000090:·3b0a·696d·706f·7274·207b·2065·7363·6170··;.import·{·escap00000090:·207b·2065·7363·6170·6520·7d20·6672·6f6d···{·escape·}·from
000000a0:·6520·7d20·6672·6f6d·2027·2e2f·6573·6361··e·}·from·'./esca000000a0:·2027·2e2f·6573·6361·7065·2e6a·7327·3b0a···'./escape.js';.
000000b0:·7065·2e6a·7327·3b0a·696d·706f·7274·207b··pe.js';.import·{000000b0:·696d·706f·7274·207b·2075·6e65·7363·6170··import·{·unescap
000000c0:·2075·6e65·7363·6170·6520·7d20·6672·6f6d···unescape·}·from000000c0:·6520·7d20·6672·6f6d·2027·2e2f·756e·6573··e·}·from·'./unes
000000d0:·2027·2e2f·756e·6573·6361·7065·2e6a·7327···'./unescape.js'000000d0:·6361·7065·2e6a·7327·3b0a·6578·706f·7274··cape.js';.export
000000e0:·3b0a·6578·706f·7274·2063·6f6e·7374·206d··;.export·const·m000000e0:·2063·6f6e·7374·206d·696e·696d·6174·6368···const·minimatch
000000f0:·696e·696d·6174·6368·203d·2028·702c·2070··inimatch·=·(p,·p000000f0:·203d·2028·702c·2070·6174·7465·726e·2c20···=·(p,·pattern,·
00000100:·6174·7465·726e·2c20·6f70·7469·6f6e·7320··attern,·options·00000100:·6f70·7469·6f6e·7320·3d20·7b7d·2920·3d3e··options·=·{})·=>
00000110:·3d20·7b7d·2920·3d3e·207b·0a20·2020·2061··=·{})·=>·{.····a00000110:·207b·0a20·2020·2061·7373·6572·7456·616c···{.····assertVal
00000120:·7373·6572·7456·616c·6964·5061·7474·6572··ssertValidPatter00000120:·6964·5061·7474·6572·6e28·7061·7474·6572··idPattern(patter
00000130:·6e28·7061·7474·6572·6e29·3b0a·2020·2020··n(pattern);.····00000130:·6e29·3b0a·2020·2020·2f2f·2073·686f·7274··n);.····//·short
00000140:·2f2f·2073·686f·7274·6375·743a·2063·6f6d··//·shortcut:·com00000140:·6375·743a·2063·6f6d·6d65·6e74·7320·6d61··cut:·comments·ma
00000150:·6d65·6e74·7320·6d61·7463·6820·6e6f·7468··ments·match·noth00000150:·7463·6820·6e6f·7468·696e·672e·0a20·2020··tch·nothing..···
00000160:·696e·672e·0a20·2020·2069·6620·2821·6f70··ing..····if·(!op00000160:·2069·6620·2821·6f70·7469·6f6e·732e·6e6f···if·(!options.no
00000170:·7469·6f6e·732e·6e6f·636f·6d6d·656e·7420··tions.nocomment·00000170:·636f·6d6d·656e·7420·2626·2070·6174·7465··comment·&&·patte
00000180:·2626·2070·6174·7465·726e·2e63·6861·7241··&&·pattern.charA00000180:·726e·2e63·6861·7241·7428·3029·203d·3d3d··rn.charAt(0)·===
00000190:·7428·3029·203d·3d3d·2027·2327·2920·7b0a··t(0)·===·'#')·{.00000190:·2027·2327·2920·7b0a·2020·2020·2020·2020···'#')·{.········
000001a0:·2020·2020·2020·2020·7265·7475·726e·2066··········return·f000001a0:·7265·7475·726e·2066·616c·7365·3b0a·2020··return·false;.··
000001b0:·616c·7365·3b0a·2020·2020·7d0a·2020·2020··alse;.····}.····000001b0:·2020·7d0a·2020·2020·7265·7475·726e·206e····}.····return·n
000001c0:·7265·7475·726e·206e·6577·204d·696e·696d··return·new·Minim000001c0:·6577·204d·696e·696d·6174·6368·2870·6174··ew·Minimatch(pat
000001d0:·6174·6368·2870·6174·7465·726e·2c20·6f70··atch(pattern,·op000001d0:·7465·726e·2c20·6f70·7469·6f6e·7329·2e6d··tern,·options).m
000001e0:·7469·6f6e·7329·2e6d·6174·6368·2870·293b··tions).match(p);000001e0:·6174·6368·2870·293b·0a7d·3b0a·2f2f·204f··atch(p);.};.//·O
000001f0:·0a7d·3b0a·2f2f·204f·7074·696d·697a·6564··.};.//·Optimized000001f0:·7074·696d·697a·6564·2063·6865·636b·696e··ptimized·checkin
00000200:·2063·6865·636b·696e·6720·666f·7220·7468···checking·for·th00000200:·6720·666f·7220·7468·6520·6d6f·7374·2063··g·for·the·most·c
00000210:·6520·6d6f·7374·2063·6f6d·6d6f·6e20·676c··e·most·common·gl00000210:·6f6d·6d6f·6e20·676c·6f62·2070·6174·7465··ommon·glob·patte
00000220:·6f62·2070·6174·7465·726e·732e·0a63·6f6e··ob·patterns..con00000220:·726e·732e·0a63·6f6e·7374·2073·7461·7244··rns..const·starD
00000230:·7374·2073·7461·7244·6f74·4578·7452·4520··st·starDotExtRE·00000230:·6f74·4578·7452·4520·3d20·2f5e·5c2a·2b28··otExtRE·=·/^\*+(
00000240:·3d20·2f5e·5c2a·2b28·5b5e·2b40·213f·5c2a··=·/^\*+([^+@!?\*00000240:·5b5e·2b40·213f·5c2a·5c5b·5c28·5d2a·2924··[^+@!?\*\[\(]*)$
00000250:·5c5b·5c28·5d2a·2924·2f3b·0a63·6f6e·7374··\[\(]*)$/;.const00000250:·2f3b·0a63·6f6e·7374·2073·7461·7244·6f74··/;.const·starDot
00000260:·2073·7461·7244·6f74·4578·7454·6573·7420···starDotExtTest·00000260:·4578·7454·6573·7420·3d20·2865·7874·2920··ExtTest·=·(ext)·
00000270:·3d20·2865·7874·2920·3d3e·2028·6629·203d··=·(ext)·=>·(f)·=00000270:·3d3e·2028·6629·203d·3e20·2166·2e73·7461··=>·(f)·=>·!f.sta
00000280:·3e20·2166·2e73·7461·7274·7357·6974·6828··>·!f.startsWith(00000280:·7274·7357·6974·6828·272e·2729·2026·2620··rtsWith('.')·&&·
00000290:·272e·2729·2026·2620·662e·656e·6473·5769··'.')·&&·f.endsWi00000290:·662e·656e·6473·5769·7468·2865·7874·293b··f.endsWith(ext);
000002a0:·7468·2865·7874·293b·0a63·6f6e·7374·2073··th(ext);.const·s000002a0:·0a63·6f6e·7374·2073·7461·7244·6f74·4578··.const·starDotEx
000002b0:·7461·7244·6f74·4578·7454·6573·7444·6f74··tarDotExtTestDot000002b0:·7454·6573·7444·6f74·203d·2028·6578·7429··tTestDot·=·(ext)
000002c0:·203d·2028·6578·7429·203d·3e20·2866·2920···=·(ext)·=>·(f)·000002c0:·203d·3e20·2866·2920·3d3e·2066·2e65·6e64···=>·(f)·=>·f.end
000002d0:·3d3e·2066·2e65·6e64·7357·6974·6828·6578··=>·f.endsWith(ex000002d0:·7357·6974·6828·6578·7429·3b0a·636f·6e73··sWith(ext);.cons
000002e0:·7429·3b0a·636f·6e73·7420·7374·6172·446f··t);.const·starDo000002e0:·7420·7374·6172·446f·7445·7874·5465·7374··t·starDotExtTest
000002f0:·7445·7874·5465·7374·4e6f·6361·7365·203d··tExtTestNocase·=000002f0:·4e6f·6361·7365·203d·2028·6578·7429·203d··Nocase·=·(ext)·=
00000300:·2028·6578·7429·203d·3e20·7b0a·2020·2020···(ext)·=>·{.····00000300:·3e20·7b0a·2020·2020·6578·7420·3d20·6578··>·{.····ext·=·ex
00000310:·6578·7420·3d20·6578·742e·746f·4c6f·7765··ext·=·ext.toLowe00000310:·742e·746f·4c6f·7765·7243·6173·6528·293b··t.toLowerCase();
00000320:·7243·6173·6528·293b·0a20·2020·2072·6574··rCase();.····ret00000320:·0a20·2020·2072·6574·7572·6e20·2866·2920··.····return·(f)·
00000330:·7572·6e20·2866·2920·3d3e·2021·662e·7374··urn·(f)·=>·!f.st00000330:·3d3e·2021·662e·7374·6172·7473·5769·7468··=>·!f.startsWith
00000340:·6172·7473·5769·7468·2827·2e27·2920·2626··artsWith('.')·&&00000340:·2827·2e27·2920·2626·2066·2e74·6f4c·6f77··('.')·&&·f.toLow
00000350:·2066·2e74·6f4c·6f77·6572·4361·7365·2829···f.toLowerCase()00000350:·6572·4361·7365·2829·2e65·6e64·7357·6974··erCase().endsWit
00000360:·2e65·6e64·7357·6974·6828·6578·7429·3b0a··.endsWith(ext);.00000360:·6828·6578·7429·3b0a·7d3b·0a63·6f6e·7374··h(ext);.};.const
00000370:·7d3b·0a63·6f6e·7374·2073·7461·7244·6f74··};.const·starDot00000370:·2073·7461·7244·6f74·4578·7454·6573·744e···starDotExtTestN
00000380:·4578·7454·6573·744e·6f63·6173·6544·6f74··ExtTestNocaseDot00000380:·6f63·6173·6544·6f74·203d·2028·6578·7429··ocaseDot·=·(ext)
00000390:·203d·2028·6578·7429·203d·3e20·7b0a·2020···=·(ext)·=>·{.··00000390:·203d·3e20·7b0a·2020·2020·6578·7420·3d20···=>·{.····ext·=·
000003a0:·2020·6578·7420·3d20·6578·742e·746f·4c6f····ext·=·ext.toLo000003a0:·6578·742e·746f·4c6f·7765·7243·6173·6528··ext.toLowerCase(
000003b0:·7765·7243·6173·6528·293b·0a20·2020·2072··werCase();.····r000003b0:·293b·0a20·2020·2072·6574·7572·6e20·2866··);.····return·(f
000003c0:·6574·7572·6e20·2866·2920·3d3e·2066·2e74··eturn·(f)·=>·f.t000003c0:·2920·3d3e·2066·2e74·6f4c·6f77·6572·4361··)·=>·f.toLowerCa
000003d0:·6f4c·6f77·6572·4361·7365·2829·2e65·6e64··oLowerCase().end000003d0:·7365·2829·2e65·6e64·7357·6974·6828·6578··se().endsWith(ex
000003e0:·7357·6974·6828·6578·7429·3b0a·7d3b·0a63··sWith(ext);.};.c000003e0:·7429·3b0a·7d3b·0a63·6f6e·7374·2073·7461··t);.};.const·sta
000003f0:·6f6e·7374·2073·7461·7244·6f74·5374·6172··onst·starDotStar000003f0:·7244·6f74·5374·6172·5245·203d·202f·5e5c··rDotStarRE·=·/^\
00000400:·5245·203d·202f·5e5c·2a2b·5c2e·5c2a·2b24··RE·=·/^\*+\.\*+$00000400:·2a2b·5c2e·5c2a·2b24·2f3b·0a63·6f6e·7374··*+\.\*+$/;.const
00000410:·2f3b·0a63·6f6e·7374·2073·7461·7244·6f74··/;.const·starDot00000410:·2073·7461·7244·6f74·5374·6172·5465·7374···starDotStarTest
00000420:·5374·6172·5465·7374·203d·2028·6629·203d··StarTest·=·(f)·=00000420:·203d·2028·6629·203d·3e20·2166·2e73·7461···=·(f)·=>·!f.sta
00000430:·3e20·2166·2e73·7461·7274·7357·6974·6828··>·!f.startsWith(00000430:·7274·7357·6974·6828·272e·2729·2026·2620··rtsWith('.')·&&·
00000440:·272e·2729·2026·2620·662e·696e·636c·7564··'.')·&&·f.includ00000440:·662e·696e·636c·7564·6573·2827·2e27·293b··f.includes('.');
00000450:·6573·2827·2e27·293b·0a63·6f6e·7374·2073··es('.');.const·s00000450:·0a63·6f6e·7374·2073·7461·7244·6f74·5374··.const·starDotSt
00000460:·7461·7244·6f74·5374·6172·5465·7374·446f··tarDotStarTestDo00000460:·6172·5465·7374·446f·7420·3d20·2866·2920··arTestDot·=·(f)·
00000470:·7420·3d20·2866·2920·3d3e·2066·2021·3d3d··t·=·(f)·=>·f·!==00000470:·3d3e·2066·2021·3d3d·2027·2e27·2026·2620··=>·f·!==·'.'·&&·
00000480:·2027·2e27·2026·2620·6620·213d·3d20·272e···'.'·&&·f·!==·'.00000480:·6620·213d·3d20·272e·2e27·2026·2620·662e··f·!==·'..'·&&·f.
00000490:·2e27·2026·2620·662e·696e·636c·7564·6573··.'·&&·f.includes00000490:·696e·636c·7564·6573·2827·2e27·293b·0a63··includes('.');.c
000004a0:·2827·2e27·293b·0a63·6f6e·7374·2064·6f74··('.');.const·dot000004a0:·6f6e·7374·2064·6f74·5374·6172·5245·203d··onst·dotStarRE·=
000004b0:·5374·6172·5245·203d·202f·5e5c·2e5c·2a2b··StarRE·=·/^\.\*+000004b0:·202f·5e5c·2e5c·2a2b·242f·3b0a·636f·6e73···/^\.\*+$/;.cons
000004c0:·242f·3b0a·636f·6e73·7420·646f·7453·7461··$/;.const·dotSta000004c0:·7420·646f·7453·7461·7254·6573·7420·3d20··t·dotStarTest·=·
000004d0:·7254·6573·7420·3d20·2866·2920·3d3e·2066··rTest·=·(f)·=>·f000004d0:·2866·2920·3d3e·2066·2021·3d3d·2027·2e27··(f)·=>·f·!==·'.'
000004e0:·2021·3d3d·2027·2e27·2026·2620·6620·213d···!==·'.'·&&·f·!=000004e0:·2026·2620·6620·213d·3d20·272e·2e27·2026···&&·f·!==·'..'·&
000004f0:·3d20·272e·2e27·2026·2620·662e·7374·6172··=·'..'·&&·f.star000004f0:·2620·662e·7374·6172·7473·5769·7468·2827··&·f.startsWith('
00000500:·7473·5769·7468·2827·2e27·293b·0a63·6f6e··tsWith('.');.con00000500:·2e27·293b·0a63·6f6e·7374·2073·7461·7252··.');.const·starR
00000510:·7374·2073·7461·7252·4520·3d20·2f5e·5c2a··st·starRE·=·/^\*00000510:·4520·3d20·2f5e·5c2a·2b24·2f3b·0a63·6f6e··E·=·/^\*+$/;.con
00000520:·2b24·2f3b·0a63·6f6e·7374·2073·7461·7254··+$/;.const·starT00000520:·7374·2073·7461·7254·6573·7420·3d20·2866··st·starTest·=·(f
00000530:·6573·7420·3d20·2866·2920·3d3e·2066·2e6c··est·=·(f)·=>·f.l00000530:·2920·3d3e·2066·2e6c·656e·6774·6820·213d··)·=>·f.length·!=
00000540:·656e·6774·6820·213d·3d20·3020·2626·2021··ength·!==·0·&&·!00000540:·3d20·3020·2626·2021·662e·7374·6172·7473··=·0·&&·!f.starts
00000550:·662e·7374·6172·7473·5769·7468·2827·2e27··f.startsWith('.'00000550:·5769·7468·2827·2e27·293b·0a63·6f6e·7374··With('.');.const
00000560:·293b·0a63·6f6e·7374·2073·7461·7254·6573··);.const·starTes00000560:·2073·7461·7254·6573·7444·6f74·203d·2028···starTestDot·=·(
00000570:·7444·6f74·203d·2028·6629·203d·3e20·662e··tDot·=·(f)·=>·f.00000570:·6629·203d·3e20·662e·6c65·6e67·7468·2021··f)·=>·f.length·!
00000580:·6c65·6e67·7468·2021·3d3d·2030·2026·2620··length·!==·0·&&·00000580:·3d3d·2030·2026·2620·6620·213d·3d20·272e··==·0·&&·f·!==·'.
00000590:·6620·213d·3d20·272e·2720·2626·2066·2021··f·!==·'.'·&&·f·!00000590:·2720·2626·2066·2021·3d3d·2027·2e2e·273b··'·&&·f·!==·'..';
000005a0:·3d3d·2027·2e2e·273b·0a63·6f6e·7374·2071··==·'..';.const·q000005a0:·0a63·6f6e·7374·2071·6d61·726b·7352·4520··.const·qmarksRE·
000005b0:·6d61·726b·7352·4520·3d20·2f5e·5c3f·2b28··marksRE·=·/^\?+(000005b0:·3d20·2f5e·5c3f·2b28·5b5e·2b40·213f·5c2a··=·/^\?+([^+@!?\*
000005c0:·5b5e·2b40·213f·5c2a·5c5b·5c28·5d2a·293f··[^+@!?\*\[\(]*)?000005c0:·5c5b·5c28·5d2a·293f·242f·3b0a·636f·6e73··\[\(]*)?$/;.cons
000005d0:·242f·3b0a·636f·6e73·7420·716d·6172·6b73··$/;.const·qmarks000005d0:·7420·716d·6172·6b73·5465·7374·4e6f·6361··t·qmarksTestNoca
000005e0:·5465·7374·4e6f·6361·7365·203d·2028·5b24··TestNocase·=·([$000005e0:·7365·203d·2028·5b24·302c·2065·7874·203d··se·=·([$0,·ext·=
000005f0:·302c·2065·7874·203d·2027·275d·2920·3d3e··0,·ext·=·''])·=>000005f0:·2027·275d·2920·3d3e·207b·0a20·2020·2063···''])·=>·{.····c
00000600:·207b·0a20·2020·2063·6f6e·7374·206e·6f65···{.····const·noe00000600:·6f6e·7374·206e·6f65·7874·203d·2071·6d61··onst·noext·=·qma
00000610:·7874·203d·2071·6d61·726b·7354·6573·744e··xt·=·qmarksTestN00000610:·726b·7354·6573·744e·6f45·7874·285b·2430··rksTestNoExt([$0
Max diff block lines reached; 212233/344183 bytes (61.66%) of diff not shown.
148 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/index.js.map
148 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"index.js",2 ····"file":·"index.js",
3 ····"mappings":·"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,MAAM,EA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AAE,CAAA;YACb,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC9C,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAA;YACnB,CAAC;YACD,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;YACjD,IAAI,GAAG,EAAE,CAAC;gBACR,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;oBACvB,OAAO,IAAI,CAAA;gBACb,CAAC;gBACD,OAAO,CAAC,IAAI,CAAC,MAAM,CAAA;YACrB,CAAC;QACH,CAAC;QAED,2DAA2D;QAC3D,8BAA8B;QAC9B,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;YACvB,OAAO,KAAK,CAAA;QACd,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,GAAqB;QACnC,OAAO,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAA;IAC1C,CAAC;CACF;AACD,qBAAqB;AACrB,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,oBAAoB;AACpB,SAAS,CAAC,GAAG,GAAG,GAAG,CAAA;AACnB,SAAS,CAAC,SAAS,GAAG,SAAS,CAAA;AAC/B,SAAS,CAAC,MAAM,GAAG,MAAM,CAAA;AACzB,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·expand·}·from·'@isaacs/brace-expansion'\nimport·{·assertValidPattern·}·from·'./assert-valid-pattern.js'\nimport·{·AST,·ExtglobType·}·from·'./ast.js'\nimport·{·escape·}·from·'./escape.js'\nimport·{·unescape·}·from·'./unescape.js'\n\nexport·type·Platform·=\n··|·'aix'\n··|·[·...·truncated·by·diffoscope;·len:·33302,·SHA:·fbe1afcb1dc67843b89cf686da1470b3d1b6cdd1753e8d3bd989e06d87569cfb·...·]\n········})·as·(string·|·typeof·GLOBSTAR)[]\n········pp.forEach((p,·i)·=>·{\n··········const·next·=·pp[i·+·1]\n··········const·prev·=·pp[i·-·1]\n··········if·(p·!==·GLOBSTAR·||·prev·===·GLOBSTAR)·{\n············return\n··········}\n··········if·(prev·===·undefined)·{\n············if·(next·!==·undefined·&&·next·!==·GLOBSTAR)·{\n··············pp[i·+·1]·=·'(?:\\\\/|'·+·twoStar·+·'\\\\/)?'·+·next\n············}·else·{\n··············pp[i]·=·twoStar\n············}\n··········}·else·if·(next·===·undefined)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·')?'\n··········}·else·if·(next·!==·GLOBSTAR)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·'\\\\/)'·+·next\n············pp[i·+·1]·=·GLOBSTAR\n··········}\n········})\n········const·filtered·=·pp.filter(p·=>·p·!==·GLOBSTAR)\n\n········//·For·partial·matches,·we·need·to·make·the·pattern·match\n········//·any·prefix·of·the·full·path.·We·do·this·by·generating\n········//·alternative·patterns·that·match·progressively·longer·prefixes.\n········if·(this.partial·&&·filtered.length·>=·1)·{\n··········const·prefixes:·string[]·=·[]\n··········for·(let·i·=·1;·i·<=·filtered.length;·i++)·{\n············prefixes.push(filtered.slice(0,·i).join('/'))\n··········}\n··········return·'(?:'·+·prefixes.join('|')·+·')'\n········}\n\n········return·filtered.join('/')\n······})\n······.join('|')\n\n····//·need·to·wrap·in·parens·if·we·had·more·than·one·thing·with·|,\n····//·otherwise·only·the·first·will·be·anchored·to·^·and·the·last·to·$\n····const·[open,·close]·=·set.length·>·1·?·['(?:',·')']·:·['',·'']\n····//·must·match·entire·pattern\n····//·ending·in·a·*·or·**·will·make·it·less·strict.\n····re·=·'^'·+·open·+·re·+·close·+·'$'\n\n····//·In·partial·mode,·'/'·should·always·match·as·it's·a·valid·prefix·for·any·pattern\n····if·(this.partial)·{\n······re·=·'^(?:\\\\/|'·+·open·+·re.slice(1,·-1)·+·close·+·')$'\n····}\n\n····//·can·match·anything,·as·long·as·it's·not·this.\n····if·(this.negate)·re·=·'^(?!'·+·re·+·').+$'\n\n····try·{\n······this.regexp·=·new·RegExp(re,·[...flags].join(''))\n······/*·c8·ignore·start·*/\n····}·catch·(ex)·{\n······//·should·be·impossible\n······this.regexp·=·false\n····}\n····/*·c8·ignore·stop·*/\n····return·this.regexp\n··}\n\n··slashSplit(p:·string)·{\n····//·if·p·starts·with·//·on·windows,·we·preserve·that\n····//·so·that·UNC·paths·aren't·broken.··Otherwise,·any·number·of\n····//·/·characters·are·coalesced·into·one,·unless\n····//·preserveMultipleSlashes·is·set·to·true.\n····if·(this.preserveMultipleSlashes)·{\n······return·p.split('/')\n····}·else·if·(this.isWindows·&&·/^\\/\\/[^\\/]+/.test(p))·{\n······//·add·an·extra·''·for·the·one·we·lose\n······return·['',·...p.split(/\\/+/)]\n····}·else·{\n······return·p.split(/\\/+/)\n····}\n··}\n\n··match(f:·string,·partial·=·this.partial)·{\n····this.debug('match',·f,·this.pattern)\n····//·short-circuit·in·the·case·of·busted·things.\n····//·comments,·etc.\n····if·(this.comment)·{\n······return·false\n····}\n····if·(this.empty)·{\n······return·f·===·''\n····}\n\n····if·(f·===·'/'·&&·partial)·{\n······return·true\n····}\n\n····const·options·=·this.options\n\n····//·windows:·need·to·use·/,·not·\\\n····if·(this.isWindows)·{\n······f·=·f.split('\\\\').join('/')\n····}\n\n····//·treat·the·test·path·as·a·set·of·pathparts.\n····const·ff·=·this.slashSplit(f)\n····this.debug(this.pattern,·'split',·ff)\n\n····//·just·ONE·of·the·pattern·sets·in·this.set·needs·to·match\n····//·in·order·for·it·to·be·valid.··If·negating,·then·just·one\n····//·match·means·that·we·have·failed.\n····//·Either·way,·return·on·the·first·hit.\n\n····const·set·=·this.set\n····this.debug(this.pattern,·'set',·set)\n\n····//·Find·the·basename·of·the·path·by·looking·for·the·last·non-empty·segment\n····let·filename:·string·=·ff[ff.length·-·1]\n····if·(!filename)·{\n······for·(let·i·=·ff.length·-·2;·!filename·&&·i·>=·0;·i--)·{\n········filename·=·ff[i]\n······}\n····}\n\n····for·(let·i·=·0;·i·<·set.length;·i++)·{\n······const·pattern·=·set[i]\n······let·file·=·ff\n······if·(options.matchBase·&&·pattern.length·===·1)·{\n········file·=·[filename]\n······}\n······const·hit·=·this.matchOne(file,·pattern,·partial)\n······if·(hit)·{\n········if·(options.flipNegate)·{\n··········return·true\n········}\n········return·!this.negate\n······}\n····}\n\n····//·didn't·get·any·hits.··this·is·success·if·it's·a·negative\n····//·pattern,·failure·otherwise.\n····if·(options.flipNegate)·{\n······return·false\n····}\n····return·this.negate\n··}\n\n··static·defaults(def:·MinimatchOptions)·{\n····return·minimatch.defaults(def).Minimatch\n··}\n}\n/*·c8·ignore·start·*/\nexport·{·AST·}·from·'./ast.js'\nexport·{·escape·}·from·'./escape.js'\nexport·{·unescape·}·from·'./unescape.js'\n/*·c8·ignore·stop·*/\nminimatch.AST·=·AST\nminimatch.Minimatch·=·Minimatch\nminimatch.escape·=·escape\nminimatch.unescape·=·unescape\n"10 ········"import·{·expand·}·from·'brace-expansion'\nimport·{·assertValidPattern·}·from·'./assert-valid-pattern.js'\nimport·{·AST,·ExtglobType·}·from·'./ast.js'\nimport·{·escape·}·from·'./escape.js'\nimport·{·unescape·}·from·'./unescape.js'\n\nexport·type·Platform·=\n··|·'aix'\n··|·'android[·...·truncated·by·diffoscope;·len:·35634,·SHA:·088c0bb0c76a1c9de4d12356f21cd67974d7db533a8bc603782b69bda1d27a3e·...·]\n········})·as·(string·|·typeof·GLOBSTAR)[]\n········pp.forEach((p,·i)·=>·{\n··········const·next·=·pp[i·+·1]\n··········const·prev·=·pp[i·-·1]\n··········if·(p·!==·GLOBSTAR·||·prev·===·GLOBSTAR)·{\n············return\n··········}\n··········if·(prev·===·undefined)·{\n············if·(next·!==·undefined·&&·next·!==·GLOBSTAR)·{\n··············pp[i·+·1]·=·'(?:\\\\/|'·+·twoStar·+·'\\\\/)?'·+·next\n············}·else·{\n··············pp[i]·=·twoStar\n············}\n··········}·else·if·(next·===·undefined)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·')?'\n··········}·else·if·(next·!==·GLOBSTAR)·{\n············pp[i·-·1]·=·prev·+·'(?:\\\\/|\\\\/'·+·twoStar·+·'\\\\/)'·+·next\n············pp[i·+·1]·=·GLOBSTAR\n··········}\n········})\n········const·filtered·=·pp.filter(p·=>·p·!==·GLOBSTAR)\n\n········//·For·partial·matches,·we·need·to·make·the·pattern·match\n········//·any·prefix·of·the·full·path.·We·do·this·by·generating\n········//·alternative·patterns·that·match·progressively·longer·prefixes.\n········if·(this.partial·&&·filtered.length·>=·1)·{\n··········const·prefixes:·string[]·=·[]\n··········for·(let·i·=·1;·i·<=·filtered.length;·i++)·{\n············prefixes.push(filtered.slice(0,·i).join('/'))\n··········}\n··········return·'(?:'·+·prefixes.join('|')·+·')'\n········}\n\n········return·filtered.join('/')\n······})\n······.join('|')\n\n····//·need·to·wrap·in·parens·if·we·had·more·than·one·thing·with·|,\n····//·otherwise·only·the·first·will·be·anchored·to·^·and·the·last·to·$\n····const·[open,·close]·=·set.length·>·1·?·['(?:',·')']·:·['',·'']\n····//·must·match·entire·pattern\n····//·ending·in·a·*·or·**·will·make·it·less·strict.\n····re·=·'^'·+·open·+·re·+·close·+·'$'\n\n····//·In·partial·mode,·'/'·should·always·match·as·it's·a·valid·prefix·for·any·pattern\n····if·(this.partial)·{\n······re·=·'^(?:\\\\/|'·+·open·+·re.slice(1,·-1)·+·close·+·')$'\n····}\n\n····//·can·match·anything,·as·long·as·it's·not·this.\n····if·(this.negate)·re·=·'^(?!'·+·re·+·').+$'\n\n····try·{\n······this.regexp·=·new·RegExp(re,·[...flags].join(''))\n······/*·c8·ignore·start·*/\n····}·catch·(ex)·{\n······//·should·be·impossible\n······this.regexp·=·false\n····}\n····/*·c8·ignore·stop·*/\n····return·this.regexp\n··}\n\n··slashSplit(p:·string)·{\n····//·if·p·starts·with·//·on·windows,·we·preserve·that\n····//·so·that·UNC·paths·aren't·broken.··Otherwise,·any·number·of\n····//·/·characters·are·coalesced·into·one,·unless\n····//·preserveMultipleSlashes·is·set·to·true.\n····if·(this.preserveMultipleSlashes)·{\n······return·p.split('/')\n····}·else·if·(this.isWindows·&&·/^\\/\\/[^\\/]+/.test(p))·{\n······//·add·an·extra·''·for·the·one·we·lose\n······return·['',·...p.split(/\\/+/)]\n····}·else·{\n······return·p.split(/\\/+/)\n····}\n··}\n\n··match(f:·string,·partial·=·this.partial)·{\n····this.debug('match',·f,·this.pattern)\n····//·short-circuit·in·the·case·of·busted·things.\n····//·comments,·etc.\n····if·(this.comment)·{\n······return·false\n····}\n····if·(this.empty)·{\n······return·f·===·''\n····}\n\n····if·(f·===·'/'·&&·partial)·{\n······return·true\n····}\n\n····const·options·=·this.options\n\n····//·windows:·need·to·use·/,·not·\\\n····if·(this.isWindows)·{\n······f·=·f.split('\\\\').join('/')\n····}\n\n····//·treat·the·test·path·as·a·set·of·pathparts.\n····const·ff·=·this.slashSplit(f)\n····this.debug(this.pattern,·'split',·ff)\n\n····//·just·ONE·of·the·pattern·sets·in·this.set·needs·to·match\n····//·in·order·for·it·to·be·valid.··If·negating,·then·just·one\n····//·match·means·that·we·have·failed.\n····//·Either·way,·return·on·the·first·hit.\n\n····const·set·=·this.set\n····this.debug(this.pattern,·'set',·set)\n\n····//·Find·the·basename·of·the·path·by·looking·for·the·last·non-empty·segment\n····let·filename:·string·=·ff[ff.length·-·1]\n····if·(!filename)·{\n······for·(let·i·=·ff.length·-·2;·!filename·&&·i·>=·0;·i--)·{\n········filename·=·ff[i]\n······}\n····}\n\n····for·(let·i·=·0;·i·<·set.length;·i++)·{\n······const·pattern·=·set[i]\n······let·file·=·ff\n······if·(options.matchBase·&&·pattern.length·===·1)·{\n········file·=·[filename]\n······}\n······const·hit·=·this.matchOne(file,·pattern,·partial)\n······if·(hit)·{\n········if·(options.flipNegate)·{\n··········return·true\n········}\n········return·!this.negate\n······}\n····}\n\n····//·didn't·get·any·hits.··this·is·success·if·it's·a·negative\n····//·pattern,·failure·otherwise.\n····if·(options.flipNegate)·{\n······return·false\n····}\n····return·this.negate\n··}\n\n··static·defaults(def:·MinimatchOptions)·{\n····return·minimatch.defaults(def).Minimatch\n··}\n}\n/*·c8·ignore·start·*/\nexport·{·AST·}·from·'./ast.js'\nexport·{·escape·}·from·'./escape.js'\nexport·{·unescape·}·from·'./unescape.js'\n/*·c8·ignore·stop·*/\nminimatch.AST·=·AST\nminimatch.Minimatch·=·Minimatch\nminimatch.escape·=·escape\nminimatch.unescape·=·unescape\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.44 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/unescape.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 47, 29 lines modifiedOffset 47, 29 lines modified
000002e0:·646f·7773·5061·7468·734e·6f45·7363·6170··dowsPathsNoEscap000002e0:·646f·7773·5061·7468·734e·6f45·7363·6170··dowsPathsNoEscap
000002f0:·6520·3d20·6661·6c73·652c·206d·6167·6963··e·=·false,·magic000002f0:·6520·3d20·6661·6c73·652c·206d·6167·6963··e·=·false,·magic
00000300:·616c·4272·6163·6573·203d·2074·7275·652c··alBraces·=·true,00000300:·616c·4272·6163·6573·203d·2074·7275·652c··alBraces·=·true,
00000310:·207d·203d·207b·7d29·203d·3e20·7b0a·2020···}·=·{})·=>·{.··00000310:·207d·203d·207b·7d29·203d·3e20·7b0a·2020···}·=·{})·=>·{.··
00000320:·2020·6966·2028·6d61·6769·6361·6c42·7261····if·(magicalBra00000320:·2020·6966·2028·6d61·6769·6361·6c42·7261····if·(magicalBra
00000330:·6365·7329·207b·0a20·2020·2020·2020·2072··ces)·{.········r00000330:·6365·7329·207b·0a20·2020·2020·2020·2072··ces)·{.········r
00000340:·6574·7572·6e20·7769·6e64·6f77·7350·6174··eturn·windowsPat00000340:·6574·7572·6e20·7769·6e64·6f77·7350·6174··eturn·windowsPat
00000350:·6873·4e6f·4573·6361·7065·0a20·2020·2020··hsNoEscape.·····00000350:·6873·4e6f·4573·6361·7065·203f·0a20·2020··hsNoEscape·?.···
00000360:·2020·2020·2020·203f·2073·2e72·6570·6c61·········?·s.repla00000360:·2020·2020·2020·2020·2073·2e72·6570·6c61···········s.repla
00000370:·6365·282f·5c5b·285b·5e5c·2f5c·5c5d·295c··ce(/\[([^\/\\])\00000370:·6365·282f·5c5b·285b·5e5c·2f5c·5c5d·295c··ce(/\[([^\/\\])\
00000380:·5d2f·672c·2027·2431·2729·0a20·2020·2020··]/g,·'$1').·····00000380:·5d2f·672c·2027·2431·2729·0a20·2020·2020··]/g,·'$1').·····
00000390:·2020·2020·2020·203a·2073·0a20·2020·2020·········:·s.·····00000390:·2020·2020·2020·203a·2073·0a20·2020·2020·········:·s.·····
000003a0:·2020·2020·2020·2020·2020·202e·7265·706c·············.repl000003a0:·2020·2020·2020·2020·2020·202e·7265·706c·············.repl
000003b0:·6163·6528·2f28·283f·215c·5c29·2e7c·5e29··ace(/((?!\\).|^)000003b0:·6163·6528·2f28·283f·215c·5c29·2e7c·5e29··ace(/((?!\\).|^)
000003c0:·5c5b·285b·5e5c·2f5c·5c5d·295c·5d2f·672c··\[([^\/\\])\]/g,000003c0:·5c5b·285b·5e5c·2f5c·5c5d·295c·5d2f·672c··\[([^\/\\])\]/g,
000003d0:·2027·2431·2432·2729·0a20·2020·2020·2020···'$1$2').·······000003d0:·2027·2431·2432·2729·0a20·2020·2020·2020···'$1$2').·······
000003e0:·2020·2020·2020·2020·202e·7265·706c·6163···········.replac000003e0:·2020·2020·2020·2020·202e·7265·706c·6163···········.replac
000003f0:·6528·2f5c·5c28·5b5e·5c2f·5d29·2f67·2c20··e(/\\([^\/])/g,·000003f0:·6528·2f5c·5c28·5b5e·5c2f·5d29·2f67·2c20··e(/\\([^\/])/g,·
00000400:·2724·3127·293b·0a20·2020·207d·0a20·2020··'$1');.····}.···00000400:·2724·3127·293b·0a20·2020·207d·0a20·2020··'$1');.····}.···
00000410:·2072·6574·7572·6e20·7769·6e64·6f77·7350···return·windowsP00000410:·2072·6574·7572·6e20·7769·6e64·6f77·7350···return·windowsP
00000420:·6174·6873·4e6f·4573·6361·7065·0a20·2020··athsNoEscape.···00000420:·6174·6873·4e6f·4573·6361·7065·203f·0a20··athsNoEscape·?.·
00000430:·2020·2020·203f·2073·2e72·6570·6c61·6365·······?·s.replace00000430:·2020·2020·2020·2073·2e72·6570·6c61·6365·········s.replace
00000440:·282f·5c5b·285b·5e5c·2f5c·5c7b·7d5d·295c··(/\[([^\/\\{}])\00000440:·282f·5c5b·285b·5e5c·2f5c·5c7b·7d5d·295c··(/\[([^\/\\{}])\
00000450:·5d2f·672c·2027·2431·2729·0a20·2020·2020··]/g,·'$1').·····00000450:·5d2f·672c·2027·2431·2729·0a20·2020·2020··]/g,·'$1').·····
00000460:·2020·203a·2073·0a20·2020·2020·2020·2020·····:·s.·········00000460:·2020·203a·2073·0a20·2020·2020·2020·2020·····:·s.·········
00000470:·2020·202e·7265·706c·6163·6528·2f28·283f·····.replace(/((?00000470:·2020·202e·7265·706c·6163·6528·2f28·283f·····.replace(/((?
00000480:·215c·5c29·2e7c·5e29·5c5b·285b·5e5c·2f5c··!\\).|^)\[([^\/\00000480:·215c·5c29·2e7c·5e29·5c5b·285b·5e5c·2f5c··!\\).|^)\[([^\/\
00000490:·5c7b·7d5d·295c·5d2f·672c·2027·2431·2432··\{}])\]/g,·'$1$200000490:·5c7b·7d5d·295c·5d2f·672c·2027·2431·2432··\{}])\]/g,·'$1$2
000004a0:·2729·0a20·2020·2020·2020·2020·2020·202e··').············.000004a0:·2729·0a20·2020·2020·2020·2020·2020·202e··').············.
4.21 KB
lib/node_modules/tshy/node_modules/minimatch/dist/esm/unescape.js.map
4.08 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"unescape.js",2 ····"file":·"unescape.js",
3 ····"mappings":·"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,IAAI,MACgD,EAAE,EACxE,EAAE;IACF,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB;YACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC;YACnC,CAAC,CAAC,CAAC;iBACE,OAAO,CAAC,2BAA2B,EAAE,MAAM,CAAC;iBAC5C,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;IACpC,CAAC;IACD,OAAO,oBAAoB;QACzB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC;QACrC,CAAC,CAAC,CAAC;aACE,OAAO,CAAC,6BAA6B,EAAE,MAAM,CAAC;aAC9C,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CAAA;AACtC,CAAC,CAAA",3 ····"mappings":·"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,CAAS,EACT,EACE,oBAAoB,GAAG,KAAK,EAC5B,aAAa,GAAG,IAAI,MACgD,EAAE,EACxE,EAAE;IACF,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,oBAAoB,CAAC,CAAC;YACzB,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC;YACnC,CAAC,CAAC,CAAC;iBACE,OAAO,CAAC,2BAA2B,EAAE,MAAM,CAAC;iBAC5C,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;IACpC,CAAC;IACD,OAAO,oBAAoB,CAAC,CAAC;QACzB,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,IAAI,CAAC;QACrC,CAAC,CAAC,CAAC;aACE,OAAO,CAAC,6BAA6B,EAAE,MAAM,CAAC;aAC9C,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CAAA;AACtC,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/unescape.ts"7 ········"../../src/unescape.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Un-escape·a·string·that·has·been·escaped·with·{@link·escape}.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}·option·is·used,·then\n·*·square-bracket·escapes·are·removed,·but·not·backslash·escapes.\n·*\n·*·For·example,·it·will·turn·the·string·`'[*]'`·into·`*`,·but·it·will·not\n·*·turn·`'\\\\*'`·into·`'*'`,·because·`\\`·is·a·path·separator·in\n·*·`windowsPathsNoEscape`·mode.\n·*\n·*·When·`windowsPathsNoEscape`·is·not·set,·then·both·square-bracket·escapes·and\n·*·backslash·escapes·are·removed.\n·*\n·*·Slashes·(and·backslashes·in·`windowsPathsNoEscape`·mode)·cannot·be·escaped\n·*·or·unescaped.\n·*\n·*·When·`magicalBraces`·is·not·set,·escapes·of·braces·(`{`·and·`}`)·will·not·be\n·*·unescaped.\n·*/\n\nexport·const·unescape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·true,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape\n······?·s.replace(/\\[([^\\/\\\\])\\]/g,·'$1')\n······:·s\n··········.replace(/((?!\\\\).|^)\\[([^\\/\\\\])\\]/g,·'$1$2')\n··········.replace(/\\\\([^\\/])/g,·'$1')\n··}\n··return·windowsPathsNoEscape\n····?·s.replace(/\\[([^\\/\\\\{}])\\]/g,·'$1')\n····:·s\n········.replace(/((?!\\\\).|^)\\[([^\\/\\\\{}])\\]/g,·'$1$2')\n········.replace(/\\\\([^\\/{}])/g,·'$1')\n}\n"10 ········"import·{·MinimatchOptions·}·from·'./index.js'\n\n/**\n·*·Un-escape·a·string·that·has·been·escaped·with·{@link·escape}.\n·*\n·*·If·the·{@link·MinimatchOptions.windowsPathsNoEscape}·option·is·used,·then\n·*·square-bracket·escapes·are·removed,·but·not·backslash·escapes.\n·*\n·*·For·example,·it·will·turn·the·string·`'[*]'`·into·`*`,·but·it·will·not\n·*·turn·`'\\\\*'`·into·`'*'`,·because·`\\`·is·a·path·separator·in\n·*·`windowsPathsNoEscape`·mode.\n·*\n·*·When·`windowsPathsNoEscape`·is·not·set,·then·both·square-bracket·escapes·and\n·*·backslash·escapes·are·removed.\n·*\n·*·Slashes·(and·backslashes·in·`windowsPathsNoEscape`·mode)·cannot·be·escaped\n·*·or·unescaped.\n·*\n·*·When·`magicalBraces`·is·not·set,·escapes·of·braces·(`{`·and·`}`)·will·not·be\n·*·unescaped.\n·*/\n\nexport·const·unescape·=·(\n··s:·string,\n··{\n····windowsPathsNoEscape·=·false,\n····magicalBraces·=·true,\n··}:·Pick<MinimatchOptions,·'windowsPathsNoEscape'·|·'magicalBraces'>·=·{},\n)·=>·{\n··if·(magicalBraces)·{\n····return·windowsPathsNoEscape·?\n········s.replace(/\\[([^\\/\\\\])\\]/g,·'$1')\n······:·s\n··········.replace(/((?!\\\\).|^)\\[([^\\/\\\\])\\]/g,·'$1$2')\n··········.replace(/\\\\([^\\/])/g,·'$1')\n··}\n··return·windowsPathsNoEscape·?\n······s.replace(/\\[([^\\/\\\\{}])\\]/g,·'$1')\n····:·s\n········.replace(/((?!\\\\).|^)\\[([^\\/\\\\{}])\\]/g,·'$1$2')\n········.replace(/\\\\([^\\/{}])/g,·'$1')\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
1.35 KB
lib/node_modules/tshy/node_modules/minimatch/package.json
1.24 KB
Pretty-printed
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 {1 {
2 ····"author":·"Isaac·Z.·Schlueter·<[email protected]>·(http://blog.izs.me)",2 ····"author":·"Isaac·Z.·Schlueter·<[email protected]>·(http://blog.izs.me)",
3 ····"dependencies":·{3 ····"dependencies":·{
4 ········"@isaacs/brace-expansion":·"^5.0.1"4 ········"brace-expansion":·"^5.0.2"
5 ····},5 ····},
6 ····"description":·"a·glob·matcher·in·javascript",6 ····"description":·"a·glob·matcher·in·javascript",
7 ····"devDependencies":·{7 ····"devDependencies":·{
8 ········"@types/node":·"^24.0.0",8 ········"@types/node":·"^24.0.0",
9 ········"mkdirp":·"^3.0.1",9 ········"mkdirp":·"^3.0.1",
10 ········"prettier":·"^3.6.2",10 ········"prettier":·"^3.6.2",
11 ········"tap":·"^21.1.0",11 ········"tap":·"^21.1.0",
Offset 40, 15 lines modifiedOffset 40, 15 lines modified
40 ····"name":·"minimatch",40 ····"name":·"minimatch",
41 ····"repository":·{41 ····"repository":·{
42 ········"type":·"git",42 ········"type":·"git",
43 ········"url":·"[email protected]:isaacs/minimatch"43 ········"url":·"[email protected]:isaacs/minimatch"
44 ····},44 ····},
45 ····"scripts":·{45 ····"scripts":·{
46 ········"benchmark":·"node·benchmark/index.js",46 ········"benchmark":·"node·benchmark/index.js",
47 ········"format":·"prettier·--write·.·--log-level·warn",47 ········"format":·"prettier·--write·.",
48 ········"postversion":·"npm·publish",48 ········"postversion":·"npm·publish",
49 ········"prepare":·"tshy",49 ········"prepare":·"tshy",
50 ········"prepublishOnly":·"git·push·origin·--follow-tags",50 ········"prepublishOnly":·"git·push·origin·--follow-tags",
51 ········"presnap":·"npm·run·prepare",51 ········"presnap":·"npm·run·prepare",
52 ········"pretest":·"npm·run·prepare",52 ········"pretest":·"npm·run·prepare",
53 ········"preversion":·"npm·test",53 ········"preversion":·"npm·test",
54 ········"snap":·"tap",54 ········"snap":·"tap",
Offset 59, 9 lines modifiedOffset 59, 9 lines modified
59 ········"exports":·{59 ········"exports":·{
60 ············".":·"./src/index.ts",60 ············".":·"./src/index.ts",
61 ············"./package.json":·"./package.json"61 ············"./package.json":·"./package.json"
62 ········}62 ········}
63 ····},63 ····},
64 ····"type":·"module",64 ····"type":·"module",
65 ····"types":·"./dist/commonjs/index.d.ts",65 ····"types":·"./dist/commonjs/index.d.ts",
66 ····"version":·"10.1.2"66 ····"version":·"10.2.0"
67 }67 }
1.55 KB
lib/node_modules/tshy/node_modules/rimraf/README.md
    
Offset 1, 12 lines modifiedOffset 1, 41 lines modified
1 The·[UNIX·command](<http://en.wikipedia.org/wiki/Rm_(Unix)>)·`rm·-rf`·for·node1 The·[UNIX·command](<http://en.wikipedia.org/wiki/Rm_(Unix)>)·`rm·-rf`·for·node
2 in·a·cross-platform·implementation.2 in·a·cross-platform·implementation.
  
3 Install·with·`npm·install·rimraf`.3 Install·with·`npm·install·rimraf`.
  
 4 >·[!CAUTION]
 5 >
 6 >·##·Please·Be·Safe,·this·tool·deletes·and·moves·stuff,·by·design
 7 >
 8 >·The·_intended·purpose_·of·this·tool·is·to·remove·files·and
 9 >·directories·from·the·filesystem,·aggressively·and·recursively
 10 >·removing·all·items·that·it·can·find·under·a·given·target.
 11 >
 12 >·It·goes·without·saying·that·you·_must·not·pass·untrusted·input
 13 >·to·this·function·or·CLI·tool_,·just·as·you·would·not·to·the
 14 >·`rm(1)`·command·or·the·`unlink(2)`·function.·It·is·very
 15 >·challenging·to·guarantee·that·_any_·user·input·will·be·safe·to
 16 >·remove·recursively·in·this·way.
 17 >
 18 >·Furthermore,·note·that·if·you·allow·untrusted·parties·to
 19 >·provide·arguments·to·the·`rimraf`·command·line·tool,·they·may
 20 >·also·specify·the·`--tmp=<dir>`·folder·used·by·the
 21 >·`--impl=move-remove`·strategy,·which·can·move·files·to·an
 22 >·arbitrary·place·on·disk.
 23 >
 24 >·Because·the·intended·purpose·of·this·tool·is·the·permanent
 25 >·destruction·of·filesystem·entries,·any·security·reports·that
 26 >·rely·on·untrusted·input·being·passed·to·the·function·or·command
 27 >·line·tool·will·be·rejected.
 28 >
 29 >·**It·is·your·responsibility·as·a·user·to·never·pass·untrusted
 30 >·user·input·to·this·module,·or·your·system·can·be·destroyed·or
 31 >·compromised.**
  
4 ##·Major·Changes32 ##·Major·Changes
  
5 ###·v5·to·v633 ###·v5·to·v6
  
6 -·Require·node·`20`·or·`>=22`34 -·Require·node·`20`·or·`>=22`
7 -·Add·`--version`·to·CLI35 -·Add·`--version`·to·CLI
  
1.1 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/fs.d.ts
    
Offset 1, 15 lines modifiedOffset 1, 16 lines modified
1 import·fs,·{·Dirent·}·from·'fs';1 import·fs,·{·Dirent·}·from·'fs';
 2 import·fsPromises·from·'fs/promises';
2 export·{·chmodSync,·mkdirSync,·renameSync,·rmdirSync,·rmSync,·statSync,·lstatSync,·unlinkSync,·}·from·'fs';3 export·{·chmodSync,·mkdirSync,·renameSync,·rmdirSync,·rmSync,·statSync,·lstatSync,·unlinkSync,·}·from·'fs';
3 export·declare·const·readdirSync:·(path:·fs.PathLike)·=>·Dirent[];4 export·declare·const·readdirSync:·(path:·fs.PathLike)·=>·Dirent[];
4 export·declare·const·promises:·{5 export·declare·const·promises:·{
5 ····chmod:·typeof·fs.promises.chmod;6 ····chmod:·typeof·fsPromises.chmod;
6 ····mkdir:·typeof·fs.promises.mkdir;7 ····mkdir:·typeof·fsPromises.mkdir;
7 ····readdir:·(path:·fs.PathLike)·=>·Promise<fs.Dirent<string>[]>;8 ····readdir:·(path:·fs.PathLike)·=>·Promise<fs.Dirent<string>[]>;
8 ····rename:·typeof·fs.promises.rename;9 ····rename:·typeof·fsPromises.rename;
9 ····rm:·typeof·fs.promises.rm;10 ····rm:·typeof·fsPromises.rm;
10 ····rmdir:·typeof·fs.promises.rmdir;11 ····rmdir:·typeof·fsPromises.rmdir;
11 ····stat:·typeof·fs.promises.stat;12 ····stat:·typeof·fsPromises.stat;
12 ····lstat:·typeof·fs.promises.lstat;13 ····lstat:·typeof·fsPromises.lstat;
13 ····unlink:·typeof·fs.promises.unlink;14 ····unlink:·typeof·fsPromises.unlink;
14 };15 };
15 //#·sourceMappingURL=fs.d.ts.map16 //#·sourceMappingURL=fs.d.ts.map
969 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/fs.d.ts.map
835 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"fs.d.ts",2 ····"file":·"fs.d.ts",
3 ····"mappings":·"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAyB,MAAM,IAAI,CAAA;AAMtD,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAEX,eAAO,MAAM,WAAW,GAAI,MAAM,EAAE,CAAC,QAAQ,KAAG,MAAM,EACf,CAAA;AAEvC,eAAO,MAAM,QAAQ;;;oBAGH,EAAE,CAAC,QAAQ;;;;;;;CAQ5B,CAAA",3 ····"mappings":·"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAyB,MAAM,IAAI,CAAA;AACtD,OAAO,UAAU,MAAM,aAAa,CAAA;AAKpC,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAEX,eAAO,MAAM,WAAW,GAAI,MAAM,EAAE,CAAC,QAAQ,KAAG,MAAM,EACf,CAAA;AAEvC,eAAO,MAAM,QAAQ;;;oBAGH,EAAE,CAAC,QAAQ;;;;;;;CAQ5B,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/fs.ts"7 ········"../../src/fs.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
5.27 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/index.d.ts.map
5.13 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"index.d.ts",2 ····"file":·"index.d.ts",
3 ····"mappings":·"AACA,OAAO,EAGL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AASrB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,cAAc,CAAA;AAqCrB,eAAO,MAAM,UAAU,SAdd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAcF,CAAA;AACpD,eAAO,MAAM,MAAM,UAjCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,OAAO,CAAC,OA[·...·truncated·by·diffoscope;·len:·2188,·SHA:·3bb08e721beaecaa1ccd3654febd4cdc1a1c1655febcf9eaf5d576c1d4ce7895·...·]D3D,CAAA",3 ····"mappings":·"AACA,OAAO,EAGL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AAYrB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,cAAc,CAAA;AAqCrB,eAAO,MAAM,UAAU,SAdd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAcF,CAAA;AACpD,eAAO,MAAM,MAAM,UAjCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,OAAO,CAAC,OA[·...·truncated·by·diffoscope;·len:·2186,·SHA:·91674328e45664ae6644d1110a663e7efb9a852d20d5862ddc98ae228886ad4c·...·]D3D,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
15.2 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/index.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 143, 114 lines modifiedOffset 143, 115 lines modified
000008e0:·796e·6320·3d20·7772·6170·5379·6e63·2872··ync·=·wrapSync(r000008e0:·796e·6320·3d20·7772·6170·5379·6e63·2872··ync·=·wrapSync(r
000008f0:·696d·7261·665f·6e61·7469·7665·5f6a·735f··imraf_native_js_000008f0:·696d·7261·665f·6e61·7469·7665·5f6a·735f··imraf_native_js_
00000900:·312e·7269·6d72·6166·4e61·7469·7665·5379··1.rimrafNativeSy00000900:·312e·7269·6d72·6166·4e61·7469·7665·5379··1.rimrafNativeSy
00000910:·6e63·293b·0a65·7870·6f72·7473·2e6e·6174··nc);.exports.nat00000910:·6e63·293b·0a65·7870·6f72·7473·2e6e·6174··nc);.exports.nat
00000920:·6976·6520·3d20·4f62·6a65·6374·2e61·7373··ive·=·Object.ass00000920:·6976·6520·3d20·4f62·6a65·6374·2e61·7373··ive·=·Object.ass
00000930:·6967·6e28·7772·6170·2872·696d·7261·665f··ign(wrap(rimraf_00000930:·6967·6e28·7772·6170·2872·696d·7261·665f··ign(wrap(rimraf_
00000940:·6e61·7469·7665·5f6a·735f·312e·7269·6d72··native_js_1.rimr00000940:·6e61·7469·7665·5f6a·735f·312e·7269·6d72··native_js_1.rimr
00000950:·6166·4e61·7469·7665·292c·207b·2073·796e··afNative),·{·syn00000950:·6166·4e61·7469·7665·292c·207b·0a20·2020··afNative),·{.···
00000960:·633a·2065·7870·6f72·7473·2e6e·6174·6976··c:·exports.nativ00000960:·2073·796e·633a·2065·7870·6f72·7473·2e6e···sync:·exports.n
 00000970:·6174·6976·6553·796e·632c·0a7d·293b·0a65··ativeSync,.});.e
 00000980:·7870·6f72·7473·2e6d·616e·7561·6c53·796e··xports.manualSyn
 00000990:·6320·3d20·7772·6170·5379·6e63·2872·696d··c·=·wrapSync(rim
 000009a0:·7261·665f·6d61·6e75·616c·5f6a·735f·312e··raf_manual_js_1.
 000009b0:·7269·6d72·6166·4d61·6e75·616c·5379·6e63··rimrafManualSync
00000970:·6553·796e·6320·7d29·3b0a·6578·706f·7274··eSync·});.export 
00000980:·732e·6d61·6e75·616c·5379·6e63·203d·2077··s.manualSync·=·w 
00000990:·7261·7053·796e·6328·7269·6d72·6166·5f6d··rapSync(rimraf_m 
000009a0:·616e·7561·6c5f·6a73·5f31·2e72·696d·7261··anual_js_1.rimra 
000009b0:·664d·616e·7561·6c53·796e·6329·3b0a·6578··fManualSync);.ex 
000009c0:·706f·7274·732e·6d61·6e75·616c·203d·204f··ports.manual·=·O 
000009d0:·626a·6563·742e·6173·7369·676e·2877·7261··bject.assign(wra 
000009e0:·7028·7269·6d72·6166·5f6d·616e·7561·6c5f··p(rimraf_manual_ 
000009f0:·6a73·5f31·2e72·696d·7261·664d·616e·7561··js_1.rimrafManua 
00000a00:·6c29·2c20·7b20·7379·6e63·3a20·6578·706f··l),·{·sync:·expo 
00000a10:·7274·732e·6d61·6e75·616c·5379·6e63·207d··rts.manualSync·} 
00000a20:·293b·0a65·7870·6f72·7473·2e77·696e·646f··);.exports.windo000009c0:·293b·0a65·7870·6f72·7473·2e6d·616e·7561··);.exports.manua
00000a30:·7773·5379·6e63·203d·2077·7261·7053·796e··wsSync·=·wrapSyn 
00000a40:·6328·7269·6d72·6166·5f77·696e·646f·7773··c(rimraf_windows000009d0:·6c20·3d20·4f62·6a65·6374·2e61·7373·6967··l·=·Object.assig
 000009e0:·6e28·7772·6170·2872·696d·7261·665f·6d61··n(wrap(rimraf_ma
00000a50:·5f6a·735f·312e·7269·6d72·6166·5769·6e64··_js_1.rimrafWind000009f0:·6e75·616c·5f6a·735f·312e·7269·6d72·6166··nual_js_1.rimraf
 00000a00:·4d61·6e75·616c·292c·207b·0a20·2020·2073··Manual),·{.····s
 00000a10:·796e·633a·2065·7870·6f72·7473·2e6d·616e··ync:·exports.man
 00000a20:·7561·6c53·796e·632c·0a7d·293b·0a65·7870··ualSync,.});.exp
00000a60:·6f77·7353·796e·6329·3b0a·6578·706f·7274··owsSync);.export 
00000a70:·732e·7769·6e64·6f77·7320·3d20·4f62·6a65··s.windows·=·Obje 
00000a80:·6374·2e61·7373·6967·6e28·7772·6170·2872··ct.assign(wrap(r 
00000a90:·696d·7261·665f·7769·6e64·6f77·735f·6a73··imraf_windows_js 
00000aa0:·5f31·2e72·696d·7261·6657·696e·646f·7773··_1.rimrafWindows 
00000ab0:·292c·207b·2073·796e·633a·2065·7870·6f72··),·{·sync:·expor 
00000ac0:·7473·2e77·696e·646f·7773·5379·6e63·207d··ts.windowsSync·}00000a30:·6f72·7473·2e77·696e·646f·7773·5379·6e63··orts.windowsSync
 00000a40:·203d·2077·7261·7053·796e·6328·7269·6d72···=·wrapSync(rimr
 00000a50:·6166·5f77·696e·646f·7773·5f6a·735f·312e··af_windows_js_1.
 00000a60:·7269·6d72·6166·5769·6e64·6f77·7353·796e··rimrafWindowsSyn
 00000a70:·6329·3b0a·6578·706f·7274·732e·7769·6e64··c);.exports.wind
 00000a80:·6f77·7320·3d20·4f62·6a65·6374·2e61·7373··ows·=·Object.ass
 00000a90:·6967·6e28·7772·6170·2872·696d·7261·665f··ign(wrap(rimraf_
 00000aa0:·7769·6e64·6f77·735f·6a73·5f31·2e72·696d··windows_js_1.rim
 00000ab0:·7261·6657·696e·646f·7773·292c·207b·0a20··rafWindows),·{.·
 00000ac0:·2020·2073·796e·633a·2065·7870·6f72·7473·····sync:·exports
 00000ad0:·2e77·696e·646f·7773·5379·6e63·2c0a·7d29··.windowsSync,.})
 00000ae0:·3b0a·6578·706f·7274·732e·706f·7369·7853··;.exports.posixS
 00000af0:·796e·6320·3d20·7772·6170·5379·6e63·2872··ync·=·wrapSync(r
 00000b00:·696d·7261·665f·706f·7369·785f·6a73·5f31··imraf_posix_js_1
 00000b10:·2e72·696d·7261·6650·6f73·6978·5379·6e63··.rimrafPosixSync
00000ad0:·293b·0a65·7870·6f72·7473·2e70·6f73·6978··);.exports.posix00000b20:·293b·0a65·7870·6f72·7473·2e70·6f73·6978··);.exports.posix
00000ae0:·5379·6e63·203d·2077·7261·7053·796e·6328··Sync·=·wrapSync( 
00000af0:·7269·6d72·6166·5f70·6f73·6978·5f6a·735f··rimraf_posix_js_ 
00000b00:·312e·7269·6d72·6166·506f·7369·7853·796e··1.rimrafPosixSyn00000b30:·203d·204f·626a·6563·742e·6173·7369·676e···=·Object.assign
 00000b40:·2877·7261·7028·7269·6d72·6166·5f70·6f73··(wrap(rimraf_pos
 00000b50:·6978·5f6a·735f·312e·7269·6d72·6166·506f··ix_js_1.rimrafPo
 00000b60:·7369·7829·2c20·7b20·7379·6e63·3a20·6578··six),·{·sync:·ex
 00000b70:·706f·7274·732e·706f·7369·7853·796e·6320··ports.posixSync·
00000b10:·6329·3b0a·6578·706f·7274·732e·706f·7369··c);.exports.posi00000b80:·7d29·3b0a·6578·706f·7274·732e·6d6f·7665··});.exports.move
 00000b90:·5265·6d6f·7665·5379·6e63·203d·2077·7261··RemoveSync·=·wra
 00000ba0:·7053·796e·6328·7269·6d72·6166·5f6d·6f76··pSync(rimraf_mov
 00000bb0:·655f·7265·6d6f·7665·5f6a·735f·312e·7269··e_remove_js_1.ri
 00000bc0:·6d72·6166·4d6f·7665·5265·6d6f·7665·5379··mrafMoveRemoveSy
00000b20:·7820·3d20·4f62·6a65·6374·2e61·7373·6967··x·=·Object.assig 
00000b30:·6e28·7772·6170·2872·696d·7261·665f·706f··n(wrap(rimraf_po 
00000b40:·7369·785f·6a73·5f31·2e72·696d·7261·6650··six_js_1.rimrafP 
00000b50:·6f73·6978·292c·207b·2073·796e·633a·2065··osix),·{·sync:·e 
00000b60:·7870·6f72·7473·2e70·6f73·6978·5379·6e63··xports.posixSync 
00000b70:·207d·293b·0a65·7870·6f72·7473·2e6d·6f76···});.exports.mov00000bd0:·6e63·293b·0a65·7870·6f72·7473·2e6d·6f76··nc);.exports.mov
00000b80:·6552·656d·6f76·6553·796e·6320·3d20·7772··eRemoveSync·=·wr 
00000b90:·6170·5379·6e63·2872·696d·7261·665f·6d6f··apSync(rimraf_mo 
00000ba0:·7665·5f72·656d·6f76·655f·6a73·5f31·2e72··ve_remove_js_1.r 
00000bb0:·696d·7261·664d·6f76·6552·656d·6f76·6553··imrafMoveRemoveS00000be0:·6552·656d·6f76·6520·3d20·4f62·6a65·6374··eRemove·=·Object
 00000bf0:·2e61·7373·6967·6e28·7772·6170·2872·696d··.assign(wrap(rim
 00000c00:·7261·665f·6d6f·7665·5f72·656d·6f76·655f··raf_move_remove_
 00000c10:·6a73·5f31·2e72·696d·7261·664d·6f76·6552··js_1.rimrafMoveR
 00000c20:·656d·6f76·6529·2c20·7b0a·2020·2020·7379··emove),·{.····sy
00000bc0:·796e·6329·3b0a·6578·706f·7274·732e·6d6f··ync);.exports.mo00000c30:·6e63·3a20·6578·706f·7274·732e·6d6f·7665··nc:·exports.move
 00000c40:·5265·6d6f·7665·5379·6e63·2c0a·7d29·3b0a··RemoveSync,.});.
 00000c50:·6578·706f·7274·732e·7269·6d72·6166·5379··exports.rimrafSy
 00000c60:·6e63·203d·2077·7261·7053·796e·6328·2870··nc·=·wrapSync((p
 00000c70:·6174·682c·206f·7074·2920·3d3e·2028·302c··ath,·opt)·=>·(0,
 00000c80:·2075·7365·5f6e·6174·6976·655f·6a73·5f31···use_native_js_1
 00000c90:·2e75·7365·4e61·7469·7665·5379·6e63·2928··.useNativeSync)(
 00000ca0:·6f70·7429·203f·0a20·2020·2028·302c·2072··opt)·?.····(0,·r
00000bd0:·7665·5265·6d6f·7665·203d·204f·626a·6563··veRemove·=·Objec 
00000be0:·742e·6173·7369·676e·2877·7261·7028·7269··t.assign(wrap(ri 
00000bf0:·6d72·6166·5f6d·6f76·655f·7265·6d6f·7665··mraf_move_remove 
00000c00:·5f6a·735f·312e·7269·6d72·6166·4d6f·7665··_js_1.rimrafMove 
00000c10:·5265·6d6f·7665·292c·207b·0a20·2020·2073··Remove),·{.····s 
00000c20:·796e·633a·2065·7870·6f72·7473·2e6d·6f76··ync:·exports.mov 
00000c30:·6552·656d·6f76·6553·796e·632c·0a7d·293b··eRemoveSync,.}); 
00000c40:·0a65·7870·6f72·7473·2e72·696d·7261·6653··.exports.rimrafS 
00000c50:·796e·6320·3d20·7772·6170·5379·6e63·2828··ync·=·wrapSync(( 
00000c60:·7061·7468·2c20·6f70·7429·203d·3e20·2830··path,·opt)·=>·(0 
Max diff block lines reached; -1/15331 bytes (-0.01%) of diff not shown.
12.5 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/index.js.map
12.3 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"index.js",2 ····"file":·"index.js",
3 ····"mappings":·";;;;;;AAAA,+BAAqC;AACrC,6CAKqB;AACrB,gEAAmC;AACnC,yDAAmE;AACnE,mEAAgF;AAChF,yDAAmE;AACnE,uDAAgE;AAChE,2DAAsE;AACtE,mDAA0D;AAE1D,2CAMqB;AALnB,iHAAA,mBAAmB,OAAA;AACnB,6GAAA,eAAe,OAAA;AAMjB,MAAM,IAAI,GACR,CAAC,EAA0D,EAAE,EAAE,CAC/D,KAAK,EACH,IAAuB,EACvB,GAAwB,EACN,EAAE;IACpB,MAAM,OAAO,GAAG,IAAA,mBAAM,EAAC,GAAG,CAAC,CAAA;IAC[·...·truncated·by·diffoscope;·len:·1663,·SHA:·e4cc2ea527fbf6bc5dd78df609f58b989defb4c0021011e3ac7c6e091368843b·...·],QAAA,SAAS,GAAG,QAAQ,CAAC,iCAAe,CAAC,CAA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C,IAAA,yBAAS,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,+BAAY,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,+BAAY,EAAC,IAAI,EAAE,GAAG,CAAC,CACnE,CAAA;AACY,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;IAC3C,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,kBAAU;IAChB,UAAU,EAAE,kBAAU;IACtB,MAAM,EAAN,cAAM;IACN,UAAU,EAAV,kBAAU;IACV,MAAM,EAAN,cAAM;IACN,UAAU,EAAV,kBAAU;IACV,KAAK,EAAL,aAAK;IACL,SAAS,EAAT,iBAAS;IACT,OAAO,EAAP,eAAO;IACP,WAAW,EAAX,mBAAW;IACX,UAAU,EAAV,kBAAU;IACV,cAAc,EAAd,sBAAc;CACf,CAAC,CAAA;AACF,cAAM,CAAC,MAAM,GAAG,cAAM,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·glob,·globSync·}·from·'glob'\nimport·{\n··optArg,\n··optArgSync,\n··RimrafAsyncOptions,\n··RimrafSyncOptions,\n}·from·'./opt-arg.js'\nimport·pathArg·from·'./path-arg.js'\nimport·{·rimrafManual,·rimrafManualSync·}·from·'./rimraf-manual.js'\nimport·{·rimrafMoveRemove,·rimrafMoveRemoveSync·}·from·'./rimraf-move-remove.js'\nimport·{·rimrafNative,·rimrafNativeSync·}·from·'./rimraf-native.js'\nimport·{·rimrafPosix,·rimrafPosixSync·}·from·'./rimraf-posix.js'\nimport·{·rimrafWindows,·rimrafWindowsSync·}·fro[·...·truncated·by·diffoscope;·len:·1675,·SHA:·12ec77629945f2a74970b7c3a2db27f242470afef96dba8f624972edba73cd71·...·]})\n\nexport·const·posixSync·=·wrapSync(rimrafPosixSync)\nexport·const·posix·=·Object.assign(wrap(rimrafPosix),·{·sync:·posixSync·})\n\nexport·const·moveRemoveSync·=·wrapSync(rimrafMoveRemoveSync)\nexport·const·moveRemove·=·Object.assign(wrap(rimrafMoveRemove),·{\n··sync:·moveRemoveSync,\n})\n\nexport·const·rimrafSync·=·wrapSync((path,·opt)·=>\n··useNativeSync(opt)·?\n····rimrafNativeSync(path,·opt)\n··:·rimrafManualSync(path,·opt),\n)\nexport·const·sync·=·rimrafSync\n\nconst·rimraf_·=·wrap((path,·opt)·=>\n··useNative(opt)·?·rimrafNative(path,·opt)·:·rimrafManual(path,·opt),\n)\nexport·const·rimraf·=·Object.assign(rimraf_,·{\n··rimraf:·rimraf_,\n··sync:·rimrafSync,\n··rimrafSync:·rimrafSync,\n··manual,\n··manualSync,\n··native,\n··nativeSync,\n··posix,\n··posixSync,\n··windows,\n··windowsSync,\n··moveRemove,\n··moveRemoveSync,\n})\nrimraf.rimraf·=·rimraf\n"10 ········"import·{·glob,·globSync·}·from·'glob'\nimport·{\n··optArg,\n··optArgSync,\n··RimrafAsyncOptions,\n··RimrafSyncOptions,\n}·from·'./opt-arg.js'\nimport·pathArg·from·'./path-arg.js'\nimport·{·rimrafManual,·rimrafManualSync·}·from·'./rimraf-manual.js'\nimport·{\n··rimrafMoveRemove,\n··rimrafMoveRemoveSync,\n}·from·'./rimraf-move-remove.js'\nimport·{·rimrafNative,·rimrafNativeSync·}·from·'./rimraf-native.js'\nimport·{·rimrafPosix,·rimrafPosixSync·}·from·'./rimraf-posix.js'\nimport·{·rimrafWindows,·rimrafWindowsSy[·...·truncated·by·diffoscope;·len:·1698,·SHA:·4a5c58ec042e0c5ef78ebb1e55e7c4321524eb6fd17d498106601b82bff9ec5a·...·]})\n\nexport·const·posixSync·=·wrapSync(rimrafPosixSync)\nexport·const·posix·=·Object.assign(wrap(rimrafPosix),·{·sync:·posixSync·})\n\nexport·const·moveRemoveSync·=·wrapSync(rimrafMoveRemoveSync)\nexport·const·moveRemove·=·Object.assign(wrap(rimrafMoveRemove),·{\n··sync:·moveRemoveSync,\n})\n\nexport·const·rimrafSync·=·wrapSync((path,·opt)·=>\n··useNativeSync(opt)·?\n····rimrafNativeSync(path,·opt)\n··:·rimrafManualSync(path,·opt),\n)\nexport·const·sync·=·rimrafSync\n\nconst·rimraf_·=·wrap((path,·opt)·=>\n··useNative(opt)·?·rimrafNative(path,·opt)·:·rimrafManual(path,·opt),\n)\nexport·const·rimraf·=·Object.assign(rimraf_,·{\n··rimraf:·rimraf_,\n··sync:·rimrafSync,\n··rimrafSync:·rimrafSync,\n··manual,\n··manualSync,\n··native,\n··nativeSync,\n··posix,\n··posixSync,\n··windows,\n··windowsSync,\n··moveRemove,\n··moveRemoveSync,\n})\nrimraf.rimraf·=·rimraf\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.49 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map
2.35 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"opt-arg.d.ts",2 ····"file":·"opt-arg.d.ts",
3 ····"mappings":·"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AAKlC,eAAO,MAAM,eAAe,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,aAUX,CAAA;AAEnC,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAM7C,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU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EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,WAAW,CAAA;IAC5B,MAAM,CAAC,EACH,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,GAChD,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;CAC9D;AAED,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAA;CACxD;AAED,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AAqClE,eAAO,MAAM,MAAM,GAAI,MAAK,kBAAuB;UA/BvC,WAAW,GAAG;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE;;UAEjC,SAAS;EA6B0C,CAAA;AACpE,eAAO,MAAM,UAAU,GAAI,MAAK,iBAAsB;UAhC1C,WAAW,GAAG;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE;;UAEjC,SAAS;EA8B6C,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/opt-arg.ts"7 ········"../../src/opt-arg.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
10.7 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/opt-arg.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 32, 81 lines modifiedOffset 32, 82 lines modified
000001f0:·2020·7479·7065·4f72·556e·6465·6628·6f2e····typeOrUndef(o.000001f0:·2020·7479·7065·4f72·556e·6465·6628·6f2e····typeOrUndef(o.
00000200:·6261·636b·6f66·662c·2027·6e75·6d62·6572··backoff,·'number00000200:·6261·636b·6f66·662c·2027·6e75·6d62·6572··backoff,·'number
00000210:·2729·2026·260a·2020·2020·7479·7065·4f72··')·&&.····typeOr00000210:·2729·2026·260a·2020·2020·7479·7065·4f72··')·&&.····typeOr
00000220:·556e·6465·6628·6f2e·6d61·7842·6163·6b6f··Undef(o.maxBacko00000220:·556e·6465·6628·6f2e·6d61·7842·6163·6b6f··Undef(o.maxBacko
00000230:·6666·2c20·276e·756d·6265·7227·2920·2626··ff,·'number')·&&00000230:·6666·2c20·276e·756d·6265·7227·2920·2626··ff,·'number')·&&
00000240:·0a20·2020·2028·7479·7065·4f72·556e·6465··.····(typeOrUnde00000240:·0a20·2020·2028·7479·7065·4f72·556e·6465··.····(typeOrUnde
00000250:·6628·6f2e·676c·6f62·2c20·2762·6f6f·6c65··f(o.glob,·'boole00000250:·6628·6f2e·676c·6f62·2c20·2762·6f6f·6c65··f(o.glob,·'boole
00000260:·616e·2729·207c·7c20·286f·2e67·6c6f·6220··an')·||·(o.glob· 
00000270:·2626·2074·7970·656f·6620·6f2e·676c·6f62··&&·typeof·o.glob 
00000280:·203d·3d3d·2027·6f62·6a65·6374·2729·2920···===·'object'))· 
00000290:·2626·0a20·2020·2074·7970·654f·7255·6e64··&&.····typeOrUnd 
000002a0:·6566·286f·2e66·696c·7465·722c·2027·6675··ef(o.filter,·'fu 
000002b0:·6e63·7469·6f6e·2729·3b0a·6578·706f·7274··nction');.export 
000002c0:·732e·6973·5269·6d72·6166·4f70·7469·6f6e··s.isRimrafOption 
000002d0:·7320·3d20·6973·5269·6d72·6166·4f70·7469··s·=·isRimrafOpti 
000002e0:·6f6e·733b·0a63·6f6e·7374·2061·7373·6572··ons;.const·asser 
000002f0:·7452·696d·7261·664f·7074·696f·6e73·203d··tRimrafOptions·= 
00000300:·2028·6f29·203d·3e20·7b0a·2020·2020·6966···(o)·=>·{.····if 
00000310:·2028·2128·302c·2065·7870·6f72·7473·2e69···(!(0,·exports.i 
00000320:·7352·696d·7261·664f·7074·696f·6e73·2928··sRimrafOptions)( 
00000330:·6f29·2920·7b0a·2020·2020·2020·2020·7468··o))·{.········th00000260:·616e·2729·207c·7c0a·2020·2020·2020·2020··an')·||.········
00000340:·726f·7720·6e65·7720·4572·726f·7228·2769··row·new·Error('i 
00000350:·6e76·616c·6964·2072·696d·7261·6620·6f70··nvalid·rimraf·op 
00000360:·7469·6f6e·7327·293b·0a20·2020·207d·0a7d··tions');.····}.}00000270:·286f·2e67·6c6f·6220·2626·2074·7970·656f··(o.glob·&&·typeo
 00000280:·6620·6f2e·676c·6f62·203d·3d3d·2027·6f62··f·o.glob·===·'ob
 00000290:·6a65·6374·2729·2920·2626·0a20·2020·2074··ject'))·&&.····t
 000002a0:·7970·654f·7255·6e64·6566·286f·2e66·696c··ypeOrUndef(o.fil
 000002b0:·7465·722c·2027·6675·6e63·7469·6f6e·2729··ter,·'function')
00000370:·3b0a·6578·706f·7274·732e·6173·7365·7274··;.exports.assert000002c0:·3b0a·6578·706f·7274·732e·6973·5269·6d72··;.exports.isRimr
00000380:·5269·6d72·6166·4f70·7469·6f6e·7320·3d20··RimrafOptions·=·000002d0:·6166·4f70·7469·6f6e·7320·3d20·6973·5269··afOptions·=·isRi
 000002e0:·6d72·6166·4f70·7469·6f6e·733b·0a63·6f6e··mrafOptions;.con
 000002f0:·7374·2061·7373·6572·7452·696d·7261·664f··st·assertRimrafO
 00000300:·7074·696f·6e73·203d·2028·6f29·203d·3e20··ptions·=·(o)·=>·
 00000310:·7b0a·2020·2020·6966·2028·2128·302c·2065··{.····if·(!(0,·e
 00000320:·7870·6f72·7473·2e69·7352·696d·7261·664f··xports.isRimrafO
 00000330:·7074·696f·6e73·2928·6f29·2920·7b0a·2020··ptions)(o))·{.··
 00000340:·2020·2020·2020·7468·726f·7720·6e65·7720········throw·new·
 00000350:·4572·726f·7228·2769·6e76·616c·6964·2072··Error('invalid·r
 00000360:·696d·7261·6620·6f70·7469·6f6e·7327·293b··imraf·options');
 00000370:·0a20·2020·207d·0a7d·3b0a·6578·706f·7274··.····}.};.export
00000390:·6173·7365·7274·5269·6d72·6166·4f70·7469··assertRimrafOpti00000380:·732e·6173·7365·7274·5269·6d72·6166·4f70··s.assertRimrafOp
 00000390:·7469·6f6e·7320·3d20·6173·7365·7274·5269··tions·=·assertRi
 000003a0:·6d72·6166·4f70·7469·6f6e·733b·0a63·6f6e··mrafOptions;.con
 000003b0:·7374·206f·7074·4172·6754·203d·2028·6f70··st·optArgT·=·(op
 000003c0:·7429·203d·3e20·7b0a·2020·2020·2830·2c20··t)·=>·{.····(0,·
 000003d0:·6578·706f·7274·732e·6173·7365·7274·5269··exports.assertRi
 000003e0:·6d72·6166·4f70·7469·6f6e·7329·286f·7074··mrafOptions)(opt
 000003f0:·293b·0a20·2020·2063·6f6e·7374·207b·2067··);.····const·{·g
 00000400:·6c6f·622c·202e·2e2e·6f70·7469·6f6e·7320··lob,·...options·
 00000410:·7d20·3d20·6f70·743b·0a20·2020·2069·6620··}·=·opt;.····if·
 00000420:·2821·676c·6f62·2920·7b0a·2020·2020·2020··(!glob)·{.······
 00000430:·2020·7265·7475·726e·206f·7074·696f·6e73····return·options
 00000440:·3b0a·2020·2020·7d0a·2020·2020·636f·6e73··;.····}.····cons
 00000450:·7420·676c·6f62·4f70·7420·3d20·676c·6f62··t·globOpt·=·glob
 00000460:·203d·3d3d·2074·7275·6520·3f0a·2020·2020···===·true·?.····
 00000470:·2020·2020·6f70·742e·7369·676e·616c·203f······opt.signal·?
000003a0:·6f6e·733b·0a63·6f6e·7374·206f·7074·4172··ons;.const·optAr 
000003b0:·6754·203d·2028·6f70·7429·203d·3e20·7b0a··gT·=·(opt)·=>·{. 
000003c0:·2020·2020·2830·2c20·6578·706f·7274·732e······(0,·exports. 
000003d0:·6173·7365·7274·5269·6d72·6166·4f70·7469··assertRimrafOpti 
000003e0:·6f6e·7329·286f·7074·293b·0a20·2020·2063··ons)(opt);.····c 
000003f0:·6f6e·7374·207b·2067·6c6f·622c·202e·2e2e··onst·{·glob,·... 
00000400:·6f70·7469·6f6e·7320·7d20·3d20·6f70·743b··options·}·=·opt; 
00000410:·0a20·2020·2069·6620·2821·676c·6f62·2920··.····if·(!glob)· 
00000420:·7b0a·2020·2020·2020·2020·7265·7475·726e··{.········return 
00000430:·206f·7074·696f·6e73·3b0a·2020·2020·7d0a···options;.····}. 
00000440:·2020·2020·636f·6e73·7420·676c·6f62·4f70······const·globOp 
00000450:·7420·3d20·676c·6f62·203d·3d3d·2074·7275··t·=·glob·===·tru 
00000460:·6520·3f0a·2020·2020·2020·2020·6f70·742e··e·?.········opt. 
00000470:·7369·676e·616c·203f·0a20·2020·2020·2020··signal·?.······· 
00000480:·2020·2020·207b·2073·6967·6e61·6c3a·206f·······{·signal:·o 
00000490:·7074·2e73·6967·6e61·6c20·7d0a·2020·2020··pt.signal·}.···· 
000004a0:·2020·2020·2020·2020·3a20·7b7d·0a20·2020··········:·{}.···00000480:·0a20·2020·2020·2020·2020·2020·207b·2073··.············{·s
000004b0:·2020·2020·203a·206f·7074·2e73·6967·6e61·······:·opt.signa00000490:·6967·6e61·6c3a·206f·7074·2e73·6967·6e61··ignal:·opt.signa
000004c0:·6c20·3f0a·2020·2020·2020·2020·2020·2020··l·?.············000004a0:·6c20·7d0a·2020·2020·2020·2020·2020·2020··l·}.············
 000004b0:·3a20·7b7d·0a20·2020·2020·2020·203a·206f··:·{}.········:·o
 000004c0:·7074·2e73·6967·6e61·6c20·3f0a·2020·2020··pt.signal·?.····
000004d0:·7b0a·2020·2020·2020·2020·2020·2020·2020··{.·············· 
000004e0:·2020·7369·676e·616c·3a20·6f70·742e·7369····signal:·opt.si 
000004f0:·676e·616c·2c0a·2020·2020·2020·2020·2020··gnal,.·········· 
00000500:·2020·2020·2020·2e2e·2e67·6c6f·622c·0a20········...glob,.· 
00000510:·2020·2020·2020·2020·2020·207d·0a20·2020·············}.···000004d0:·2020·2020·2020·2020·7b0a·2020·2020·2020··········{.······
00000520:·2020·2020·2020·2020·203a·2067·6c6f·623b···········:·glob;000004e0:·2020·2020·2020·2020·2020·7369·676e·616c············signal
 000004f0:·3a20·6f70·742e·7369·676e·616c·2c0a·2020··:·opt.signal,.··
00000530:·0a20·2020·2072·6574·7572·6e20·7b0a·2020··.····return·{.·· 
00000540:·2020·2020·2020·2e2e·2e6f·7074·696f·6e73········...options 
00000550:·2c0a·2020·2020·2020·2020·676c·6f62·3a20··,.········glob:· 
00000560:·7b0a·2020·2020·2020·2020·2020·2020·2e2e··{.············..00000500:·2020·2020·2020·2020·2020·2020·2020·2e2e················..
00000570:·2e67·6c6f·624f·7074·2c0a·2020·2020·2020··.globOpt,.······00000510:·2e67·6c6f·622c·0a20·2020·2020·2020·2020··.glob,.·········
 00000520:·2020·207d·0a20·2020·2020·2020·2020·2020·····}.···········
 00000530:·203a·2067·6c6f·623b·0a20·2020·2072·6574···:·glob;.····ret
00000580:·2020·2020·2020·2f2f·2061·6c77·6179·7320········//·always· 
00000590:·6765·7420·6162·736f·6c75·7465·2070·6174··get·absolute·pat 
000005a0:·6873·2066·726f·6d20·676c·6f62·2c20·746f··hs·from·glob,·to 
000005b0:·2065·6e73·7572·650a·2020·2020·2020·2020···ensure.········00000540:·7572·6e20·7b0a·2020·2020·2020·2020·2e2e··urn·{.········..
000005c0:·2020·2020·2f2f·2074·6861·7420·7765·2061······//·that·we·a 
000005d0:·7265·2072·6566·6572·656e·6369·6e67·2074··re·referencing·t 
000005e0:·6865·2063·6f72·7265·6374·2074·6869·6e67··he·correct·thing00000550:·2e6f·7074·696f·6e73·2c0a·2020·2020·2020··.options,.······
 00000560:·2020·676c·6f62·3a20·7b0a·2020·2020·2020····glob:·{.······
Max diff block lines reached; -1/10768 bytes (-0.01%) of diff not shown.
8.24 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/opt-arg.js.map
8.1 KB
Pretty-printed
    
Off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AAG,OAAO;YACV,iDAAiD;YACjD,6CAA6C;YAC7C,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,KAAK;SACrB;KACsD,CAAA;AAC3D,CAAC,CAAA;AAEM,MAAM,MAAM,GAAG,CAAC,MAA0B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;AAAvD,QAAA,MAAM,UAAiD;AAC7D,MAAM,UAAU,GAAG,CAAC,MAAyB,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;AAA1D,QAAA,UAAU,cAAgD",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/opt-arg.ts"7 ········"../../src/opt-arg.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·Dirent,·Stats·}·from·'fs'\nimport·{·GlobOptions·}·from·'glob'\n\nconst·typeOrUndef·=·(val:·any,·t:·string)·=>\n··typeof·val·===·'undefined'·||·typeof·val·===·t\n\nexport·const·isRimrafOptions·=·(o:·any):·o·is·RimrafOptions·=>\n··!!o·&&\n··typeof·o·===·'object'·&&\n··typeOrUndef(o.preserveRoot,·'boolean')·&&\n··typeOrUndef(o.tmp,·'string')·&&\n··typeOrUndef(o.maxRetries,·'number')·&&\n··typeOrUndef(o.retryDelay,·'number')·&&\n··typeOrUndef(o.backoff,·'number')·&&\n··typeOrUndef(o.maxBackoff,·'number')·&&\n··(typeOrUndef(o.glob,·'boolean')·||·(o.glob·&&·typeof·o.glob·===·'object'))·&&\n··typeOrUndef(o.filter,·'function')\n\nexport·const·assertRimrafOptions:·(o:·any)·=>·void·=·(\n··o:·any,\n):·asserts·o·is·RimrafOptions·=>·{\n··if·(!isRimrafOptions(o))·{\n····throw·new·Error('invalid·rimraf·options')\n··}\n}\n\nexport·interface·RimrafAsyncOptions·{\n··preserveRoot?:·boolean\n··tmp?:·string\n··maxRetries?:·number\n··retryDelay?:·number\n··backoff?:·number\n··maxBackoff?:·number\n··signal?:·AbortSignal\n··glob?:·boolean·|·GlobOptions\n··filter?:\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·boolean)\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·Promise<boolean>)\n}\n\nexport·interface·RimrafSyncOptions·extends·RimrafAsyncOptions·{\n··filter?:·(path:·string,·ent:·Dirent·|·Stats)·=>·boolean\n}\n\nexport·type·RimrafOptions·=·RimrafSyncOptions·|·RimrafAsyncOptions\n\nconst·optArgT·=·<T·extends·RimrafOptions>(\n··opt:·T,\n):\n··|·(T·&·{\n······glob:·GlobOptions·&·{·withFileTypes:·false·}\n····})\n··|·(T·&·{·glob:·undefined·})·=>·{\n··assertRimrafOptions(opt)\n··const·{·glob,·...options·}·=·opt\n··if·(!glob)·{\n····return·options·as·T·&·{·glob:·undefined·}\n··}\n··const·globOpt·=\n····glob·===·true·?\n······opt.signal·?\n········{·signal:·opt.signal·}\n······:·{}\n····:·opt.signal·?\n······{\n········signal:·opt.signal,\n········...glob,\n······}\n····:·glob\n··return·{\n····...options,\n····glob:·{\n······...globOpt,\n······//·always·get·absolute·paths·from·glob,·to·ensure\n······//·that·we·are·referencing·the·correct·thing.\n······absolute:·true,\n······withFileTypes:·false,\n····},\n··}·as·T·&·{·glob:·GlobOptions·&·{·withFileTypes:·false·}·}\n}\n\nexport·const·optArg·=·(opt:·RimrafAsyncOptions·=·{})·=>·optArgT(opt)\nexport·const·optArgSync·=·(opt:·RimrafSyncOptions·=·{})·=>·optArgT(opt)\n"10 ········"import·{·Dirent,·Stats·}·from·'fs'\nimport·{·GlobOptions·}·from·'glob'\n\nconst·typeOrUndef·=·(val:·any,·t:·string)·=>\n··typeof·val·===·'undefined'·||·typeof·val·===·t\n\nexport·const·isRimrafOptions·=·(o:·any):·o·is·RimrafOptions·=>\n··!!o·&&\n··typeof·o·===·'object'·&&\n··typeOrUndef(o.preserveRoot,·'boolean')·&&\n··typeOrUndef(o.tmp,·'string')·&&\n··typeOrUndef(o.maxRetries,·'number')·&&\n··typeOrUndef(o.retryDelay,·'number')·&&\n··typeOrUndef(o.backoff,·'number')·&&\n··typeOrUndef(o.maxBackoff,·'number')·&&\n··(typeOrUndef(o.glob,·'boolean')·||\n····(o.glob·&&·typeof·o.glob·===·'object'))·&&\n··typeOrUndef(o.filter,·'function')\n\nexport·const·assertRimrafOptions:·(o:·any)·=>·void·=·(\n··o:·any,\n):·asserts·o·is·RimrafOptions·=>·{\n··if·(!isRimrafOptions(o))·{\n····throw·new·Error('invalid·rimraf·options')\n··}\n}\n\nexport·interface·RimrafAsyncOptions·{\n··preserveRoot?:·boolean\n··tmp?:·string\n··maxRetries?:·number\n··retryDelay?:·number\n··backoff?:·number\n··maxBackoff?:·number\n··signal?:·AbortSignal\n··glob?:·boolean·|·GlobOptions\n··filter?:\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·boolean)\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·Promise<boolean>)\n}\n\nexport·interface·RimrafSyncOptions·extends·RimrafAsyncOptions·{\n··filter?:·(path:·string,·ent:·Dirent·|·Stats)·=>·boolean\n}\n\nexport·type·RimrafOptions·=·RimrafSyncOptions·|·RimrafAsyncOptions\n\nconst·optArgT·=·<T·extends·RimrafOptions>(\n··opt:·T,\n):\n··|·(T·&·{\n······glob:·GlobOptions·&·{·withFileTypes:·false·}\n····})\n··|·(T·&·{·glob:·undefined·})·=>·{\n··assertRimrafOptions(opt)\n··const·{·glob,·...options·}·=·opt\n··if·(!glob)·{\n····return·options·as·T·&·{·glob:·undefined·}\n··}\n··const·globOpt·=\n····glob·===·true·?\n······opt.signal·?\n········{·signal:·opt.signal·}\n······:·{}\n····:·opt.signal·?\n······{\n········signal:·opt.signal,\n········...glob,\n······}\n····:·glob\n··return·{\n····...options,\n····glob:·{\n······...globOpt,\n······//·always·get·absolute·paths·from·glob,·to·ensure\n······//·that·we·are·referencing·the·correct·thing.\n······absolute:·true,\n······withFileTypes:·false,\n····},\n··}·as·T·&·{·glob:·GlobOptions·&·{·withFileTypes:·false·}·}\n}\n\nexport·const·optArg·=·(opt:·RimrafAsyncOptions·=·{})·=>·optArgT(opt)\nexport·const·optArgSync·=·(opt:·RimrafSyncOptions·=·{})·=>·optArgT(opt)\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
640 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map
494 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"path-arg.d.ts",2 ····"file":·"path-arg.d.ts",
3 ····"mappings":·"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,QAAA,MAAM,OAAO,GAAI,MAAM,MAAM,EAAE,MAAK,kBAAuB,WAgD1D,CAAA;AAED,eAAe,OAAO,CAAA",3 ····"mappings":·"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,QAAA,MAAM,OAAO,GAAI,MAAM,MAAM,EAAE,MAAK,kBAAuB,WAkD1D,CAAA;AAED,eAAe,OAAO,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/path-arg.ts"7 ········"../../src/path-arg.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
11.0 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/path-arg.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 28, 83 lines modifiedOffset 28, 84 lines modified
000001b0:·7429·2870·6174·6829·0a20·2020·2020·2020··t)(path).·······000001b0:·7429·2870·6174·6829·0a20·2020·2020·2020··t)(path).·······
000001c0:·2020·2020·2020·2020·203a·2060·7479·7065···········:·`type000001c0:·2020·2020·2020·2020·203a·2060·7479·7065···········:·`type
000001d0:·2024·7b74·7970·657d·2024·7b70·6174·687d···${type}·${path}000001d0:·2024·7b74·7970·657d·2024·7b70·6174·687d···${type}·${path}
000001e0:·603b·0a20·2020·2020·2020·2063·6f6e·7374··`;.········const000001e0:·603b·0a20·2020·2020·2020·2063·6f6e·7374··`;.········const
000001f0:·206d·7367·203d·2027·5468·6520·2270·6174···msg·=·'The·"pat000001f0:·206d·7367·203d·2027·5468·6520·2270·6174···msg·=·'The·"pat
00000200:·6822·2061·7267·756d·656e·7420·6d75·7374··h"·argument·must00000200:·6822·2061·7267·756d·656e·7420·6d75·7374··h"·argument·must
00000210:·2062·6520·6f66·2074·7970·6520·7374·7269···be·of·type·stri00000210:·2062·6520·6f66·2074·7970·6520·7374·7269···be·of·type·stri
00000220:·6e67·2e20·2720·2b20·6052·6563·6569·7665··ng.·'·+·`Receive00000220:·6e67·2e20·2720·2b0a·2020·2020·2020·2020··ng.·'·+.········
 00000230:·2020·2020·6052·6563·6569·7665·6420·247b······`Received·${
00000230:·6420·247b·7265·6365·6976·6564·7d60·3b0a··d·${received}`;.00000240:·7265·6365·6976·6564·7d60·3b0a·2020·2020··received}`;.····
00000240:·2020·2020·2020·2020·7468·726f·7720·4f62··········throw·Ob00000250:·2020·2020·7468·726f·7720·4f62·6a65·6374······throw·Object
00000250:·6a65·6374·2e61·7373·6967·6e28·6e65·7720··ject.assign(new·00000260:·2e61·7373·6967·6e28·6e65·7720·5479·7065··.assign(new·Type
00000260:·5479·7065·4572·726f·7228·6d73·6729·2c20··TypeError(msg),·00000270:·4572·726f·7228·6d73·6729·2c20·7b0a·2020··Error(msg),·{.··
00000270:·7b0a·2020·2020·2020·2020·2020·2020·7061··{.············pa 
00000280:·7468·2c0a·2020·2020·2020·2020·2020·2020··th,.············ 
00000290:·636f·6465·3a20·2745·5252·5f49·4e56·414c··code:·'ERR_INVAL 
000002a0:·4944·5f41·5247·5f54·5950·4527·2c0a·2020··ID_ARG_TYPE',.·· 
000002b0:·2020·2020·2020·7d29·3b0a·2020·2020·7d0a········});.····}. 
000002c0:·2020·2020·6966·2028·2f5c·302f·2e74·6573······if·(/\0/.tes 
000002d0:·7428·7061·7468·2929·207b·0a20·2020·2020··t(path))·{.····· 
000002e0:·2020·202f·2f20·7369·6d75·6c61·7465·2073·····//·simulate·s 
000002f0:·616d·6520·6661·696c·7572·6520·7468·6174··ame·failure·that 
00000300:·206e·6f64·6520·7261·6973·6573·0a20·2020···node·raises.··· 
00000310:·2020·2020·2063·6f6e·7374·206d·7367·203d·······const·msg·= 
00000320:·2027·7061·7468·206d·7573·7420·6265·2061···'path·must·be·a 
00000330:·2073·7472·696e·6720·7769·7468·6f75·7420···string·without· 
00000340:·6e75·6c6c·2062·7974·6573·273b·0a20·2020··null·bytes';.··· 
00000350:·2020·2020·2074·6872·6f77·204f·626a·6563·······throw·Objec 
00000360:·742e·6173·7369·676e·286e·6577·2054·7970··t.assign(new·Typ 
00000370:·6545·7272·6f72·286d·7367·292c·207b·0a20··eError(msg),·{.· 
00000380:·2020·2020·2020·2020·2020·2070·6174·682c·············path,00000280:·2020·2020·2020·2020·2020·7061·7468·2c0a············path,.
00000390:·0a20·2020·2020·2020·2020·2020·2063·6f64··.············cod00000290:·2020·2020·2020·2020·2020·2020·636f·6465··············code
000003a0:·653a·2027·4552·525f·494e·5641·4c49·445f··e:·'ERR_INVALID_000002a0:·3a20·2745·5252·5f49·4e56·414c·4944·5f41··:·'ERR_INVALID_A
000003b0:·4152·475f·5641·4c55·4527·2c0a·2020·2020··ARG_VALUE',.····000002b0:·5247·5f54·5950·4527·2c0a·2020·2020·2020··RG_TYPE',.······
000003c0:·2020·2020·7d29·3b0a·2020·2020·7d0a·2020······});.····}.··000002c0:·2020·7d29·3b0a·2020·2020·7d0a·2020·2020····});.····}.····
 000002d0:·6966·2028·2f5c·302f·2e74·6573·7428·7061··if·(/\0/.test(pa
 000002e0:·7468·2929·207b·0a20·2020·2020·2020·202f··th))·{.········/
 000002f0:·2f20·7369·6d75·6c61·7465·2073·616d·6520··/·simulate·same·
 00000300:·6661·696c·7572·6520·7468·6174·206e·6f64··failure·that·nod
000003d0:·2020·7061·7468·203d·2028·302c·2070·6174····path·=·(0,·pat 
000003e0:·685f·312e·7265·736f·6c76·6529·2870·6174··h_1.resolve)(pat 
000003f0:·6829·3b0a·2020·2020·636f·6e73·7420·7b20··h);.····const·{· 
00000400:·726f·6f74·207d·203d·2028·302c·2070·6174··root·}·=·(0,·pat 
00000410:·685f·312e·7061·7273·6529·2870·6174·6829··h_1.parse)(path) 
00000420:·3b0a·2020·2020·6966·2028·7061·7468·203d··;.····if·(path·= 
00000430:·3d3d·2072·6f6f·7420·2626·206f·7074·2e70··==·root·&&·opt.p 
00000440:·7265·7365·7276·6552·6f6f·7420·213d·3d20··reserveRoot·!==· 
00000450:·6661·6c73·6529·207b·0a20·2020·2020·2020··false)·{.·······00000310:·6520·7261·6973·6573·0a20·2020·2020·2020··e·raises.·······
00000460:·2063·6f6e·7374·206d·7367·203d·2027·7265···const·msg·=·'re00000320:·2063·6f6e·7374·206d·7367·203d·2027·7061···const·msg·=·'pa
 00000330:·7468·206d·7573·7420·6265·2061·2073·7472··th·must·be·a·str
 00000340:·696e·6720·7769·7468·6f75·7420·6e75·6c6c··ing·without·null
 00000350:·2062·7974·6573·273b·0a20·2020·2020·2020···bytes';.·······
00000470:·6675·7369·6e67·2074·6f20·7265·6d6f·7665··fusing·to·remove 
00000480:·2072·6f6f·7420·6469·7265·6374·6f72·7920···root·directory· 
00000490:·7769·7468·6f75·7420·7072·6573·6572·7665··without·preserve 
000004a0:·526f·6f74·3a66·616c·7365·273b·0a20·2020··Root:false';.··· 
000004b0:·2020·2020·2074·6872·6f77·204f·626a·6563·······throw·Objec00000360:·2074·6872·6f77·204f·626a·6563·742e·6173···throw·Object.as
000004c0:·742e·6173·7369·676e·286e·6577·2045·7272··t.assign(new·Err00000370:·7369·676e·286e·6577·2054·7970·6545·7272··sign(new·TypeErr
000004d0:·6f72·286d·7367·292c·207b·0a20·2020·2020··or(msg),·{.·····00000380:·6f72·286d·7367·292c·207b·0a20·2020·2020··or(msg),·{.·····
000004e0:·2020·2020·2020·2070·6174·682c·0a20·2020·········path,.···00000390:·2020·2020·2020·2070·6174·682c·0a20·2020·········path,.···
000004f0:·2020·2020·2020·2020·2063·6f64·653a·2027···········code:·'000003a0:·2020·2020·2020·2020·2063·6f64·653a·2027···········code:·'
00000500:·4552·525f·5052·4553·4552·5645·5f52·4f4f··ERR_PRESERVE_ROO 
00000510:·5427·2c0a·2020·2020·2020·2020·7d29·3b0a··T',.········});. 
00000520:·2020·2020·7d0a·2020·2020·6966·2028·7072······}.····if·(pr 
00000530:·6f63·6573·732e·706c·6174·666f·726d·203d··ocess.platform·= 
00000540:·3d3d·2027·7769·6e33·3227·2920·7b0a·2020··==·'win32')·{.·· 
00000550:·2020·2020·2020·636f·6e73·7420·6261·6457········const·badW 
00000560:·696e·4368·6172·7320·3d20·2f5b·2a7c·223c··inChars·=·/[*|"< 
00000570:·3e3f·3a5d·2f3b·0a20·2020·2020·2020·2063··>?:]/;.········c 
00000580:·6f6e·7374·207b·2072·6f6f·7420·7d20·3d20··onst·{·root·}·=· 
00000590:·2830·2c20·7061·7468·5f31·2e70·6172·7365··(0,·path_1.parse 
000005a0:·2928·7061·7468·293b·0a20·2020·2020·2020··)(path);.······· 
000005b0:·2069·6620·2862·6164·5769·6e43·6861·7273···if·(badWinChars 
000005c0:·2e74·6573·7428·7061·7468·2e73·7562·7374··.test(path.subst 
000005d0:·7269·6e67·2872·6f6f·742e·6c65·6e67·7468··ring(root.length000003b0:·4552·525f·494e·5641·4c49·445f·4152·475f··ERR_INVALID_ARG_
 000003c0:·5641·4c55·4527·2c0a·2020·2020·2020·2020··VALUE',.········
 000003d0:·7d29·3b0a·2020·2020·7d0a·2020·2020·7061··});.····}.····pa
 000003e0:·7468·203d·2028·302c·2070·6174·685f·312e··th·=·(0,·path_1.
 000003f0:·7265·736f·6c76·6529·2870·6174·6829·3b0a··resolve)(path);.
 00000400:·2020·2020·636f·6e73·7420·7b20·726f·6f74······const·{·root
 00000410:·207d·203d·2028·302c·2070·6174·685f·312e···}·=·(0,·path_1.
 00000420:·7061·7273·6529·2870·6174·6829·3b0a·2020··parse)(path);.··
 00000430:·2020·6966·2028·7061·7468·203d·3d3d·2072····if·(path·===·r
 00000440:·6f6f·7420·2626·206f·7074·2e70·7265·7365··oot·&&·opt.prese
 00000450:·7276·6552·6f6f·7420·213d·3d20·6661·6c73··rveRoot·!==·fals
 00000460:·6529·207b·0a20·2020·2020·2020·2063·6f6e··e)·{.········con
 00000470:·7374·206d·7367·203d·2027·7265·6675·7369··st·msg·=·'refusi
 00000480:·6e67·2074·6f20·7265·6d6f·7665·2072·6f6f··ng·to·remove·roo
 00000490:·7420·6469·7265·6374·6f72·7920·7769·7468··t·directory·with
 000004a0:·6f75·7420·7072·6573·6572·7665·526f·6f74··out·preserveRoot
 000004b0:·3a66·616c·7365·273b·0a20·2020·2020·2020··:false';.·······
 000004c0:·2074·6872·6f77·204f·626a·6563·742e·6173···throw·Object.as
 000004d0:·7369·676e·286e·6577·2045·7272·6f72·286d··sign(new·Error(m
000005e0:·2929·2920·7b0a·2020·2020·2020·2020·2020··)))·{.··········000004e0:·7367·292c·207b·0a20·2020·2020·2020·2020··sg),·{.·········
000005f0:·2020·7468·726f·7720·4f62·6a65·6374·2e61····throw·Object.a 
00000600:·7373·6967·6e28·6e65·7720·4572·726f·7228··ssign(new·Error( 
00000610:·2749·6c6c·6567·616c·2063·6861·7261·6374··'Illegal·charact 
00000620:·6572·7320·696e·2070·6174·682e·2729·2c20··ers·in·path.'),· 
00000630:·7b0a·2020·2020·2020·2020·2020·2020·2020··{.·············· 
Max diff block lines reached; -1/11046 bytes (-0.01%) of diff not shown.
6.54 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/path-arg.js.map
6.4 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"path-arg.js",2 ····"file":·"path-arg.js",
3 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scope;·len:·316,·SHA:·a78638dba69be66915420d23e955355c4634d4005f642ebde82efc1cf70ff4a9·...·]E,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE;YAClC,IAAI;YACJ,IAAI,EAAE,mBAAmB;SAC1B,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjC,MAAM,WAAW,GAAG,WAAW,CAAA;QAC/B,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,YAAK,EAAC,IAAI,CAAC,CAAA;QAC5B,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;YAClD,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,6BAA6B,CAAC,EAAE;gBAC5D,IAAI;gBACJ,IAAI,EAAE,QAAQ;aACf,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,kBAAe,OAAO,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/path-arg.ts"7 ········"../../src/path-arg.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·parse,·resolve·}·from·'path'\nimport·{·inspect·}·from·'util'\nimport·{·RimrafAsyncOptions·}·from·'./index.js'\n\nconst·pathArg·=·(path:·string,·opt:·RimrafAsyncOptions·=·{})·=>·{\n··const·type·=·typeof·path\n··if·(type·!==·'string')·{\n····const·ctor·=·path·&&·type·===·'object'·&&·path.constructor\n····const·received·=\n······ctor·&&·ctor.name·?·`an·instance·of·${ctor.name}`\n······:·type·===·'object'·?·inspect(path)\n······:·`type·${type}·${path}`\n····const·msg·=\n······'The·\"path\"·argument·must·be·of·type·string.·'·+·`Received·${received}`\n····throw·Object.assign(new·TypeError(msg),·{\n······path,\n······code:·'ERR_INVALID_ARG_TYPE',\n····})\n··}\n\n··if·(/\\0/.test(path))·{\n····//·simulate·same·failure·that·node·raises\n····const·msg·=·'path·must·be·a·string·withou[·...·truncated·by·diffoscope;·len:·255,·SHA:·c3a8c0d2f5e253a6408f25b5ef1dcfb3f4c8c59d49fb111cae92fbe084774ba0·...·]·'refusing·to·remove·root·directory·without·preserveRoot:false'\n····throw·Object.assign(new·Error(msg),·{\n······path,\n······code:·'ERR_PRESERVE_ROOT',\n····})\n··}\n\n··if·(process.platform·===·'win32')·{\n····const·badWinChars·=·/[*|\"<>?:]/\n····const·{·root·}·=·parse(path)\n····if·(badWinChars.test(path.substring(root.length)))·{\n······throw·Object.assign(new·Error('Illegal·characters·in·path.'),·{\n········path,\n········code:·'EINVAL',\n······})\n····}\n··}\n\n··return·path\n}\n\nexport·default·pathArg\n"10 ········"import·{·parse,·resolve·}·from·'path'\nimport·{·inspect·}·from·'util'\nimport·{·RimrafAsyncOptions·}·from·'./index.js'\n\nconst·pathArg·=·(path:·string,·opt:·RimrafAsyncOptions·=·{})·=>·{\n··const·type·=·typeof·path\n··if·(type·!==·'string')·{\n····const·ctor·=·path·&&·type·===·'object'·&&·path.constructor\n····const·received·=\n······ctor·&&·ctor.name·?·`an·instance·of·${ctor.name}`\n······:·type·===·'object'·?·inspect(path)\n······:·`type·${type}·${path}`\n····const·msg·=\n······'The·\"path\"·argument·must·be·of·type·string.·'·+\n······`Received·${received}`\n····throw·Object.assign(new·TypeError(msg),·{\n······path,\n······code:·'ERR_INVALID_ARG_TYPE',\n····})\n··}\n\n··if·(/\\0/.test(path))·{\n····//·simulate·same·failure·that·node·raises\n····const·msg·=·'path·must·be·a·string[·...·truncated·by·diffoscope;·len:·269,·SHA:·84d994ec1ece67ea55e9ae7a678eb60badbf5e933f9387bbd3e1de172b5bda53·...·]·'refusing·to·remove·root·directory·without·preserveRoot:false'\n····throw·Object.assign(new·Error(msg),·{\n······path,\n······code:·'ERR_PRESERVE_ROOT',\n····})\n··}\n\n··if·(process.platform·===·'win32')·{\n····const·badWinChars·=·/[*|\"<>?:]/\n····const·{·root·}·=·parse(path)\n····if·(badWinChars.test(path.substring(root.length)))·{\n······throw·Object.assign(new·Error('Illegal·characters·in·path.'),·{\n········path,\n········code:·'EINVAL',\n······})\n····}\n··}\n\n··return·path\n}\n\nexport·default·pathArg\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
634 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 export·declare·const·readdirOrError:·(path:·string)·=>·Promise<import("fs").Dirent<string>[]·|·Error>;1 export·declare·const·readdirOrError:·(path:·string)·=>·Promise<import("node:fs").Dirent<string>[]·|·Error>;
2 export·declare·const·readdirOrErrorSync:·(path:·string)·=>·import("fs").Dirent<string>[]·|·Error;2 export·declare·const·readdirOrErrorSync:·(path:·string)·=>·import("node:fs").Dirent<string>[]·|·Error;
3 //#·sourceMappingURL=readdir-or-error.d.ts.map3 //#·sourceMappingURL=readdir-or-error.d.ts.map
610 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map
448 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"readdir-or-error.d.ts",2 ····"file":·"readdir-or-error.d.ts",
3 ····"mappings":·"AAKA,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,mDACH,CAAA;AACxC,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,0CAM9C,CAAA",3 ····"mappings":·"AAKA,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,wDACH,CAAA;AACxC,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,+CAM9C,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/readdir-or-error.ts"7 ········"../../src/readdir-or-error.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
805 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map
639 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"rimraf-move-remove.d.ts",2 ····"file":·"rimraf-move-remove.d.ts",
3 ····"mappings":·"AAkBA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAYlE,eAAO,MAAM,gBAAgB,GAC3B,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AA0ED,eAAO,MAAM,oBAAoB,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAOxE,CAAA",3 ····"mappings":·"AAwBA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAalE,eAAO,MAAM,gBAAgB,GAC3B,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AA0ED,eAAO,MAAM,oBAAoB,GAC/B,MAAM,MAAM,EACZ,KAAK,iBAAiB,YAQvB,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-move-remove.ts"7 ········"../../src/rimraf-move-remove.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
21.5 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map
21.3 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"rimraf-move-remove.js",2 ····"file":·"rimraf-move-remove.js",
3 ····"mappings":·";AAAA,qCAAqC;AACrC,EAAE;AACF,aAAa;AACb,oBAAoB;AACpB,yCAAyC;AACzC,uEAAuE;AACvE,0B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AC;QAC1B,MAAM,CAAC,GAAG,IAAA,cAAO,EAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;QACjC,UAAU,GAAG,uBAAuB,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,IAAI,UAAU,CAAA;IACjE,CAAC;IACD,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,KAAK,CAAA;IACd,CAAC;IACD,IAAI,GAAG,CAAC,YAAY,KAAK,KAAK,IAAI,IAAI,KAAK,IAAA,YAAK,EAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAA;IACd,CAAC;IACD,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC;QACzC,OAAO,KAAK,CAAA;IACd,CAAC;IACD,IAAA,mCAAgB,EAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,iBAAS,CAAC,CAAC,CAAA;IAC3D,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CACpB,IAAY,EACZ,GAAW,EACX,MAA2B,EAC3B,EAAE;IACF,MAAM,OAAO,GAAG,IAAA,cAAO,EAAC,GAAG,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;IAClD,IAAA,kBAAU,EAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACzB,OAAO,MAAM,CAAC,OAAO,CAAC,CAAA;AACxB,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-move-remove.ts"7 ········"../../src/rimraf-move-remove.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·https://youtu.be/uhRWMGBjlO8?t=537\n//\n//·1.·readdir\n//·2.·for·each·entry\n//···a.·if·a·non-empty·directory,·recurse\n//···b.·if·an·empty·directory,·move·to·random·hidden·file·name·in·$TEMP\n//···c.·unlink/rmdir·$TEMP\n//\n//·This·works·around·the·fact·that·unlink/rmdir·is·non-atomic·and·takes\n//·a·non-deterministic·amount·of·time·to·complete.\n//\n//·However,·it·is·HELLA·SLOW,·like·2-10x·slower·than·a·naive·recursive·rm.\n\nimport·{·basename,·parse,·resolve·}·from·'path'\nimport·{·defaultTmp,·defaultTmpSync·}·from·'./default-tmp.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·lstatSync,·promises,·renameSync,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nim[·...·truncated·by·diffoscope;·len:·2703,·SHA:·123fbbe45ba340cdeec47d7657c8ce3b151a00b2a74eec98edb89702c90b05a4·...·])·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····ignoreENOENTSync(()·=>\n······rimrafMoveRemoveDirSync(path,·opt,·lstatSync(path)),\n····)·??·true\n··)\n}\n\nconst·rimrafMoveRemoveDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··if·(!opt.tmp)·{\n····return·rimrafMoveRemoveDirSync(\n······path,\n······{·...opt,·tmp:·defaultTmpSync(path)·},\n······ent,\n····)\n··}\n··const·tmp:·string·=·opt.tmp\n\n··if·(path·===·opt.tmp·&&·parse(path).root·!==·path)·{\n····throw·new·Error('cannot·delete·temp·directory·used·for·deletion')\n··}\n\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·unlinkFixEPERMSync))\n····return·true\n··}\n\n··let·removedAll·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafMoveRemoveDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(!removedAll)·{\n····return·false\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n··ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·rmdirSync))\n··return·true\n}\n\nconst·tmpUnlinkSync·=·(\n··path:·string,\n··tmp:·string,\n··rmSync:·(p:·string)·=>·void,\n)·=>·{\n··const·tmpFile·=·resolve(tmp,·uniqueFilename(path))\n··renameSync(path,·tmpFile)\n··return·rmSync(tmpFile)\n}\n"10 ········"//·https://youtu.be/uhRWMGBjlO8?t=537\n//\n//·1.·readdir\n//·2.·for·each·entry\n//···a.·if·a·non-empty·directory,·recurse\n//···b.·if·an·empty·directory,·move·to·random·hidden·file·name·in·$TEMP\n//···c.·unlink/rmdir·$TEMP\n//\n//·This·works·around·the·fact·that·unlink/rmdir·is·non-atomic·and·takes\n//·a·non-deterministic·amount·of·time·to·complete.\n//\n//·However,·it·is·HELLA·SLOW,·like·2-10x·slower·than·a·naive·recursive·rm.\n\nimport·{·basename,·parse,·resolve·}·from·'path'\nimport·{·defaultTmp,·defaultTmpSync·}·from·'./default-tmp.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{\n··lstatSync,\n··promises,\n··renameSync,\n··rmdirSync,\n··unlinkSync,\n}·from·'./fs.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir[·...·truncated·by·diffoscope;·len:·2733,·SHA:·76e40160dfbd8f4b4bb0d59c0ad23c1c2e580d1d0fa7a6aa0e431508117939de·...·])·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····ignoreENOENTSync(()·=>\n······rimrafMoveRemoveDirSync(path,·opt,·lstatSync(path)),\n····)·??·true\n··)\n}\n\nconst·rimrafMoveRemoveDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··if·(!opt.tmp)·{\n····return·rimrafMoveRemoveDirSync(\n······path,\n······{·...opt,·tmp:·defaultTmpSync(path)·},\n······ent,\n····)\n··}\n··const·tmp:·string·=·opt.tmp\n\n··if·(path·===·opt.tmp·&&·parse(path).root·!==·path)·{\n····throw·new·Error('cannot·delete·temp·directory·used·for·deletion')\n··}\n\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·unlinkFixEPERMSync))\n····return·true\n··}\n\n··let·removedAll·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafMoveRemoveDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(!removedAll)·{\n····return·false\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n··ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·rmdirSync))\n··return·true\n}\n\nconst·tmpUnlinkSync·=·(\n··path:·string,\n··tmp:·string,\n··rmSync:·(p:·string)·=>·void,\n)·=>·{\n··const·tmpFile·=·resolve(tmp,·uniqueFilename(path))\n··renameSync(path,·tmpFile)\n··return·rmSync(tmpFile)\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
767 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map
613 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"rimraf-posix.d.ts",2 ····"file":·"rimraf-posix.d.ts",
3 ····"mappings":·"AAUA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAKlE,eAAO,MAAM,WAAW,GAAU,MAAM,MAAM,EAAE,KAAK,kBAAkB,qBAOtE,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAMnE,CAAA",3 ····"mappings":·"AAUA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAKlE,eAAO,MAAM,WAAW,GACtB,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAOnE,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-posix.ts"7 ········"../../src/rimraf-posix.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
26.3 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-posix.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 65, 197 lines modifiedOffset 65, 197 lines modified
00000400:·0a20·2020·2072·6574·7572·6e20·2828·302c··.····return·((0,00000400:·0a20·2020·2072·6574·7572·6e20·2828·302c··.····return·((0,
00000410:·2069·676e·6f72·655f·656e·6f65·6e74·5f6a···ignore_enoent_j00000410:·2069·676e·6f72·655f·656e·6f65·6e74·5f6a···ignore_enoent_j
00000420:·735f·312e·6967·6e6f·7265·454e·4f45·4e54··s_1.ignoreENOENT00000420:·735f·312e·6967·6e6f·7265·454e·4f45·4e54··s_1.ignoreENOENT
00000430:·5379·6e63·2928·2829·203d·3e20·7269·6d72··Sync)(()·=>·rimr00000430:·5379·6e63·2928·2829·203d·3e20·7269·6d72··Sync)(()·=>·rimr
00000440:·6166·506f·7369·7844·6972·5379·6e63·2870··afPosixDirSync(p00000440:·6166·506f·7369·7844·6972·5379·6e63·2870··afPosixDirSync(p
00000450:·6174·682c·206f·7074·2c20·2830·2c20·6673··ath,·opt,·(0,·fs00000450:·6174·682c·206f·7074·2c20·2830·2c20·6673··ath,·opt,·(0,·fs
00000460:·5f6a·735f·312e·6c73·7461·7453·796e·6329··_js_1.lstatSync)00000460:·5f6a·735f·312e·6c73·7461·7453·796e·6329··_js_1.lstatSync)
00000470:·2870·6174·6829·2929·203f·3f0a·2020·2020··(path)))·??.····00000470:·2870·6174·6829·2929·203f·3f20·7472·7565··(path)))·??·true
 00000480:·293b·0a7d·3b0a·6578·706f·7274·732e·7269··);.};.exports.ri
 00000490:·6d72·6166·506f·7369·7853·796e·6320·3d20··mrafPosixSync·=·
 000004a0:·7269·6d72·6166·506f·7369·7853·796e·633b··rimrafPosixSync;
 000004b0:·0a63·6f6e·7374·2072·696d·7261·6650·6f73··.const·rimrafPos
 000004c0:·6978·4469·7220·3d20·6173·796e·6320·2870··ixDir·=·async·(p
 000004d0:·6174·682c·206f·7074·2c20·656e·7429·203d··ath,·opt,·ent)·=
 000004e0:·3e20·7b0a·2020·2020·6f70·743f·2e73·6967··>·{.····opt?.sig
 000004f0:·6e61·6c3f·2e74·6872·6f77·4966·4162·6f72··nal?.throwIfAbor
 00000500:·7465·6428·293b·0a20·2020·2063·6f6e·7374··ted();.····const
 00000510:·2065·6e74·7269·6573·203d·2065·6e74·2e69···entries·=·ent.i
 00000520:·7344·6972·6563·746f·7279·2829·203f·2061··sDirectory()·?·a
 00000530:·7761·6974·2028·302c·2072·6561·6464·6972··wait·(0,·readdir
 00000540:·5f6f·725f·6572·726f·725f·6a73·5f31·2e72··_or_error_js_1.r
 00000550:·6561·6464·6972·4f72·4572·726f·7229·2870··eaddirOrError)(p
 00000560:·6174·6829·203a·206e·756c·6c3b·0a20·2020··ath)·:·null;.···
 00000570:·2069·6620·2821·4172·7261·792e·6973·4172···if·(!Array.isAr
 00000580:·7261·7928·656e·7472·6965·7329·2920·7b0a··ray(entries))·{.
 00000590:·2020·2020·2020·2020·2f2f·2074·6869·7320··········//·this·
 000005a0:·6361·6e20·6f6e·6c79·2068·6170·7065·6e20··can·only·happen·
 000005b0:·6966·206c·7374·6174·2f72·6561·6464·6972··if·lstat/readdir
 000005c0:·206c·6965·642c·206f·7220·6966·2074·6865···lied,·or·if·the
 000005d0:·2064·6972·2077·6173·0a20·2020·2020·2020···dir·was.·······
 000005e0:·202f·2f20·7377·6170·7065·6420·6f75·7420···//·swapped·out·
 000005f0:·7769·7468·2061·2066·696c·6520·6174·206a··with·a·file·at·j
 00000600:·7573·7420·7468·6520·7269·6768·7420·6d6f··ust·the·right·mo
 00000610:·6d65·6e74·2e0a·2020·2020·2020·2020·2f2a··ment..········/*
 00000620:·2063·3820·6967·6e6f·7265·2073·7461·7274···c8·ignore·start
00000480:·2020·2020·7472·7565·293b·0a7d·3b0a·6578······true);.};.ex 
00000490:·706f·7274·732e·7269·6d72·6166·506f·7369··ports.rimrafPosi 
000004a0:·7853·796e·6320·3d20·7269·6d72·6166·506f··xSync·=·rimrafPo 
000004b0:·7369·7853·796e·633b·0a63·6f6e·7374·2072··sixSync;.const·r 
000004c0:·696d·7261·6650·6f73·6978·4469·7220·3d20··imrafPosixDir·=· 
000004d0:·6173·796e·6320·2870·6174·682c·206f·7074··async·(path,·opt 
000004e0:·2c20·656e·7429·203d·3e20·7b0a·2020·2020··,·ent)·=>·{.···· 
000004f0:·6f70·743f·2e73·6967·6e61·6c3f·2e74·6872··opt?.signal?.thr 
00000500:·6f77·4966·4162·6f72·7465·6428·293b·0a20··owIfAborted();.· 
00000510:·2020·2063·6f6e·7374·2065·6e74·7269·6573·····const·entries 
00000520:·203d·2065·6e74·2e69·7344·6972·6563·746f···=·ent.isDirecto 
00000530:·7279·2829·203f·2061·7761·6974·2028·302c··ry()·?·await·(0, 
00000540:·2072·6561·6464·6972·5f6f·725f·6572·726f···readdir_or_erro 
00000550:·725f·6a73·5f31·2e72·6561·6464·6972·4f72··r_js_1.readdirOr 
00000560:·4572·726f·7229·2870·6174·6829·203a·206e··Error)(path)·:·n 
00000570:·756c·6c3b·0a20·2020·2069·6620·2821·4172··ull;.····if·(!Ar 
00000580:·7261·792e·6973·4172·7261·7928·656e·7472··ray.isArray(entr 
00000590:·6965·7329·2920·7b0a·2020·2020·2020·2020··ies))·{.········ 
000005a0:·2f2f·2074·6869·7320·6361·6e20·6f6e·6c79··//·this·can·only 
000005b0:·2068·6170·7065·6e20·6966·206c·7374·6174···happen·if·lstat 
000005c0:·2f72·6561·6464·6972·206c·6965·642c·206f··/readdir·lied,·o 
000005d0:·7220·6966·2074·6865·2064·6972·2077·6173··r·if·the·dir·was 
000005e0:·0a20·2020·2020·2020·202f·2f20·7377·6170··.········//·swap 
000005f0:·7065·6420·6f75·7420·7769·7468·2061·2066··ped·out·with·a·f 
00000600:·696c·6520·6174·206a·7573·7420·7468·6520··ile·at·just·the· 
00000610:·7269·6768·7420·6d6f·6d65·6e74·2e0a·2020··right·moment..·· 
00000620:·2020·2020·2020·2f2a·2063·3820·6967·6e6f········/*·c8·igno 
00000630:·7265·2073·7461·7274·202a·2f0a·2020·2020··re·start·*/.···· 
00000640:·2020·2020·6966·2028·656e·7472·6965·7329······if·(entries) 
00000650:·207b·0a20·2020·2020·2020·2020·2020·2069···{.············i00000630:·202a·2f0a·2020·2020·2020·2020·6966·2028···*/.········if·(
 00000640:·656e·7472·6965·7329·207b·0a20·2020·2020··entries)·{.·····
 00000650:·2020·2020·2020·2069·6620·2828·302c·2065·········if·((0,·e
 00000660:·7272·6f72·5f6a·735f·312e·6572·726f·7243··rror_js_1.errorC
 00000670:·6f64·6529·2865·6e74·7269·6573·2920·3d3d··ode)(entries)·==
 00000680:·3d20·2745·4e4f·454e·5427·2920·7b0a·2020··=·'ENOENT')·{.··
00000660:·6620·2828·302c·2065·7272·6f72·5f6a·735f··f·((0,·error_js_ 
00000670:·312e·6572·726f·7243·6f64·6529·2865·6e74··1.errorCode)(ent 
00000680:·7269·6573·2920·3d3d·3d20·2745·4e4f·454e··ries)·===·'ENOEN 
00000690:·5427·2920·7b0a·2020·2020·2020·2020·2020··T')·{.·········· 
000006a0:·2020·2020·2020·7265·7475·726e·2074·7275········return·tru 
000006b0:·653b·0a20·2020·2020·2020·2020·2020·207d··e;.············} 
000006c0:·0a20·2020·2020·2020·2020·2020·2069·6620··.············if·00000690:·2020·2020·2020·2020·2020·2020·2020·7265················re
 000006a0:·7475·726e·2074·7275·653b·0a20·2020·2020··turn·true;.·····
000006d0:·2828·302c·2065·7272·6f72·5f6a·735f·312e··((0,·error_js_1. 
000006e0:·6572·726f·7243·6f64·6529·2865·6e74·7269··errorCode)(entri 
000006f0:·6573·2920·213d·3d20·2745·4e4f·5444·4952··es)·!==·'ENOTDIR 
00000700:·2729·207b·0a20·2020·2020·2020·2020·2020··')·{.··········· 
00000710:·2020·2020·2074·6872·6f77·2065·6e74·7269·······throw·entri 
00000720:·6573·3b0a·2020·2020·2020·2020·2020·2020··es;.············ 
00000730:·7d0a·2020·2020·2020·2020·7d0a·2020·2020··}.········}.···· 
00000740:·2020·2020·2f2a·2063·3820·6967·6e6f·7265······/*·c8·ignore 
00000750:·2073·746f·7020·2a2f·0a20·2020·2020·2020···stop·*/.······· 
00000760:·2069·6620·286f·7074·2e66·696c·7465·7220···if·(opt.filter· 
00000770:·2626·2021·2861·7761·6974·206f·7074·2e66··&&·!(await·opt.f 
00000780:·696c·7465·7228·7061·7468·2c20·656e·7429··ilter(path,·ent) 
00000790:·2929·207b·0a20·2020·2020·2020·2020·2020··))·{.··········· 
000007a0:·2072·6574·7572·6e20·6661·6c73·653b·0a20···return·false;.· 
000007b0:·2020·2020·2020·207d·0a20·2020·2020·2020·········}.·······000006b0:·2020·2020·2020·207d·0a20·2020·2020·2020·········}.·······
 000006c0:·2020·2020·2069·6620·2828·302c·2065·7272·······if·((0,·err
 000006d0:·6f72·5f6a·735f·312e·6572·726f·7243·6f64··or_js_1.errorCod
000007c0:·2061·7761·6974·2028·302c·2069·676e·6f72···await·(0,·ignor 
000007d0:·655f·656e·6f65·6e74·5f6a·735f·312e·6967··e_enoent_js_1.ig 
000007e0:·6e6f·7265·454e·4f45·4e54·2928·756e·6c69··noreENOENT)(unli 
000007f0:·6e6b·2870·6174·6829·293b·0a20·2020·2020··nk(path));.····· 
Max diff block lines reached; -1/26715 bytes (-0.00%) of diff not shown.
15.0 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map
14.8 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"rimraf-posix.js",2 ····"file":·"rimraf-posix.js",
3 ····"mappings":·";AAAA,kEAAkE;AAClE,oDAAoD;AACpD,iEAAiE;AACjE,2DAA2D;AAC3D,4CAA4C;;;AAE5C,mCAAoE;AACpE,+BAAqC;AACrC,+DAA0E;AAG1E,yDAAmE;AACnE,yCAAsC;AACtC,MAAM,EAAE,KAAK,EAA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AI,OAAO,EAAE,CAAC;QAC1B,MAAM,CAAC,GAAG,IAAA,cAAO,EAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;QACjC,UAAU,GAAG,kBAAkB,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,IAAI,UAAU,CAAA;IAC5D,CAAC;IACD,IAAI,GAAG,CAAC,YAAY,KAAK,KAAK,IAAI,IAAI,KAAK,IAAA,YAAK,EAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC;QACzC,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAA,mCAAgB,EAAC,GAAG,EAAE,CAAC,IAAA,iBAAS,EAAC,IAAI,CAAC,CAAC,CAAA;IACvC,OAAO,IAAI,CAAA;AACb,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-posix.ts"7 ········"../../src/rimraf-posix.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·the·simple·recursive·removal,·where·unlink·and·rmdir·are·atomic\n//·Note·that·this·approach·does·NOT·work·on·Windows!\n//·We·stat·first·and·only·unlink·if·the·Dirent·isn't·a·directory,\n//·because·sunos·will·let·root·unlink·a·directory,·and·some\n//·SUPER·weird·breakage·happens·as·a·result.\n\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·lstat,·rmdir,·unlink·}·=·promises\n\nexport·const·rimrafPosix·=·async·(path:·string,·opt:·RimrafAsyncOptions)·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····(await·ignoreENOENT(\n······lstat(path).then(stat·=>·rimrafPosixDir(path,·opt,·stat)),\n····))·??·true\n··)\n}\n\nexport·const·rimrafPosixSync·=·(path:·string,·op[·...·truncated·by·diffoscope;·len:·1070,·SHA:·b79a4a2bf5bd9a07c6b15f522dbcbf09290f18b7156769380f61eb1ab2361a74·...·]),\n····)\n··).every(v·=>·v·===·true)\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··//·we·don't·ever·ACTUALLY·try·to·unlink·/,·because·that·can·never·work\n··//·but·when·preserveRoot·is·false,·we·could·be·operating·on·it.\n··//·No·need·to·check·if·preserveRoot·is·not·false.\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!(await·opt.filter(path,·ent)))·{\n····return·false\n··}\n\n··await·ignoreENOENT(rmdir(path))\n··return·true\n}\n\nconst·rimrafPosixDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·unlinkSync(path))\n····return·true\n··}\n··let·removedAll:·boolean·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafPosixDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n\n··ignoreENOENTSync(()·=>·rmdirSync(path))\n··return·true\n}\n"10 ········"//·the·simple·recursive·removal,·where·unlink·and·rmdir·are·atomic\n//·Note·that·this·approach·does·NOT·work·on·Windows!\n//·We·stat·first·and·only·unlink·if·the·Dirent·isn't·a·directory,\n//·because·sunos·will·let·root·unlink·a·directory,·and·some\n//·SUPER·weird·breakage·happens·as·a·result.\n\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·lstat,·rmdir,·unlink·}·=·promises\n\nexport·const·rimrafPosix·=·async·(\n··path:·string,\n··opt:·RimrafAsyncOptions,\n)·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····(await·ignoreENOENT(\n······lstat(path).then(stat·=>·rimrafPosixDir(path,·opt,·stat)),\n····))·??·true\n··)\n}\n\nexport·const·rimrafPosixSync·=·(path:·[·...·truncated·by·diffoscope;·len:·1107,·SHA:·ac5748f5023205ee7dd7e52f3097726474f394707ed183a2dd7559a39895307d·...·]),\n····)\n··).every(v·=>·v·===·true)\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··//·we·don't·ever·ACTUALLY·try·to·unlink·/,·because·that·can·never·work\n··//·but·when·preserveRoot·is·false,·we·could·be·operating·on·it.\n··//·No·need·to·check·if·preserveRoot·is·not·false.\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!(await·opt.filter(path,·ent)))·{\n····return·false\n··}\n\n··await·ignoreENOENT(rmdir(path))\n··return·true\n}\n\nconst·rimrafPosixDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·unlinkSync(path))\n····return·true\n··}\n··let·removedAll:·boolean·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafPosixDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n\n··ignoreENOENTSync(()·=>·rmdirSync(path))\n··return·true\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
782 B
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map
624 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"rimraf-windows.d.ts",2 ····"file":·"rimraf-windows.d.ts",
3 ····"mappings":·"AAYA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAwDlE,eAAO,MAAM,aAAa,GAAU,MAAM,MAAM,EAAE,KAAK,kBAAkB,qBAOxE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAOrE,CAAA",3 ····"mappings":·"AAYA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AA2DlE,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AAED,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,EACZ,KAAK,iBAAiB,YAQvB,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-windows.ts"7 ········"../../src/rimraf-windows.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
22.9 KB
lib/node_modules/tshy/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map
22.8 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"rimraf-windows.js",2 ····"file":·"rimraf-windows.js",
3 ····"mappings":·";AAAA,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,gCAAgC;AAChC,0EAA0E;AAC1E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;;;AAGzE,+BAAqC;AAErC,iDAAuD;AACvD,mCAAoE;AACpE,yDAAmE;AACnE,+DAA0E;AAC1E,mDAA0D;AAC1D,mEAAgF;AAChF,yCAAsC;AACtC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,gBAAQ,CAAA;AAEzC,MAAM,iBAAiB,GAAG,IAAA,yBAAS,EAAC,IAAA,uBAAQ,EAAC,MAAM,CAAC,CAAC,CAAA;AACrD,MAAM,qBAAqB,GAAG,IAAA,6BAAa,EAAC,IAAA,2BAAY,EAAC,kBAAU,CAAC,CAAC,CAAA;AACrE,MAAM,qBAAqB,GAAG,IAA[·...·truncated·by·diffoscope;·len:·5072,·SHA:·3d3e295b97c189097acb814b6b9e858f581f1eed10673a99fa1325e9c8f4bc2b·...·],CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA",3 ····"mappings":·";AAAA,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,gCAAgC;AAChC,0EAA0E;AAC1E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;;;AAGzE,+BAAqC;AAErC,iDAAuD;AACvD,mCAAoE;AACpE,yDAAmE;AACnE,+DAA0E;AAC1E,mDAA0D;AAC1D,mEAGgC;AAChC,yCAAsC;AACtC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,gBAAQ,CAAA;AAEzC,MAAM,iBAAiB,GAAG,IAAA,yBAAS,EAAC,IAAA,uBAAQ,EAAC,MAAM,CAAC,CAAC,CAAA;AACrD,MAAM,qBAAqB,GAAG,IAAA,6BAAa,EAAC,IAAA,2BAAY,EAAC,kBAAU,CAAC,CAAC,CAAA;AACrE,MAAM,qBAAqB,GAAG,IAA[·...·truncated·by·diffoscope;·len:·5075,·SHA:·03623df1f9fdaa5559d907c7f695571911a79bfd52643b09bc56159a3bf9da95·...·],CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-windows.ts"7 ········"../../src/rimraf-windows.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·This·is·the·same·as·rimrafPosix,·with·the·following·changes:\n//\n//·1.·EBUSY,·ENFILE,·EMFILE·trigger·retries·and/or·exponential·backoff\n//·2.·All·non-directories·are·removed·first·and·then·all·directories·are\n//····removed·in·a·second·sweep.\n//·3.·If·we·hit·ENOTEMPTY·in·the·second·sweep,·fall·back·to·move-remove·on\n//····the·that·folder.\n//\n//·Note:·\"move·then·remove\"·is·2-10·times·slower,·and·just·as·unreliable.\n\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·fixEPERM,·fixEPERMSync·}·from·'./fix-eperm.js'\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·retryBusy,·retryBusySync·}·from·'./retry-busy.js'\nimport·{·rimrafMoveRemove,·rimrafMoveRemoveSync·}·from·'./rimraf-move-remove.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·unlink,·rmdir,·lstat·}·=·promises\n\nconst·rimrafWindowsFile·=·retryBusy(fixEPERM(unlink))\nconst·rimrafWindowsFileSync·=·retryBusySyn[·...·truncated·by·diffoscope;·len:·4714,·SHA:·dddae2edd5e0f10346ac216a2a3938d0a0164f1afca787c8cbfc83b52d0da965·...·])\n··}\n··return·true\n}\n"10 ········"//·This·is·the·same·as·rimrafPosix,·with·the·following·changes:\n//\n//·1.·EBUSY,·ENFILE,·EMFILE·trigger·retries·and/or·exponential·backoff\n//·2.·All·non-directories·are·removed·first·and·then·all·directories·are\n//····removed·in·a·second·sweep.\n//·3.·If·we·hit·ENOTEMPTY·in·the·second·sweep,·fall·back·to·move-remove·on\n//····the·that·folder.\n//\n//·Note:·\"move·then·remove\"·is·2-10·times·slower,·and·just·as·unreliable.\n\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·fixEPERM,·fixEPERMSync·}·from·'./fix-eperm.js'\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·retryBusy,·retryBusySync·}·from·'./retry-busy.js'\nimport·{\n··rimrafMoveRemove,\n··rimrafMoveRemoveSync,\n}·from·'./rimraf-move-remove.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·unlink,·rmdir,·lstat·}·=·promises\n\nconst·rimrafWindowsFile·=·retryBusy(fixEPERM(unlink))\nconst·rimrafWindowsFileSync·=·retr[·...·truncated·by·diffoscope;·len:·4756,·SHA:·81406ffd721b9c08d5e7a398b58eeedf984763171da7878bb63f9e7d6c4fa8b2·...·])\n··}\n··return·true\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
29.8 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/bin.mjs.map
29.7 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"bin.mjs",2 ····"file":·"bin.mjs",
3 ····"mappings":·";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAExD,MAAM,EAAE,OAAO,EAAE,GAAG,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,iBAAiB,CAErE,CAAA;AAED,MAAM,eAAe,GAAG,GAAG,EAAE,CAC3B,OAAO,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAA;AAE5D,MAAM,IAAI,GAAG,kBAAkB,OAAO;;;;;;;;;;;;;;;;;;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AG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CACjC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1B,EAAE,CAAC,EAAE;IACH,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;IACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC,CACF,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/bin.mts"7 ········"../../src/bin.mts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"#!/usr/bin/env·node\nimport·type·{·RimrafAsyncOptions·}·from·'./index.js'\nimport·{·rimraf·}·from·'./index.js'\nimport·{·loadPackageJson·}·from·'package-json-from-dist'\n\nconst·{·version·}·=·loadPackageJson(import.meta.url,·'../package.json')·as·{\n··version:·string\n}\n\nconst·runHelpForUsage·=·()·=>\n··console.error('run·`rimraf·--help`·for·usage·information')\n\nconst·help·=·`rimraf·version·${version}\n\nUsage:·rimraf·<path>·[<path>·...]\nDeletes·all·files[·...·truncated·by·diffoscope;·len:·7052,·SHA:·e86fbb0b0ada2c896c51ca586d7a9b69dd1688a53ea7c8cafb63905453daa9bf·...·])\n········console.error('use·--no-preserve-root·to·override·this·failsafe')\n········return·1\n······}\n····}\n··}\n\n··if·(!paths.length)·{\n····console.error('rimraf:·must·provide·a·path·to·remove')\n····runHelpForUsage()\n····return·1\n··}\n\n··if·(impl·===·rimraf.native·&&·(interactive·||·opt.filter))·{\n····console.error('native·implementation·does·not·support·-v·or·-i')\n····runHelpForUsage()\n····return·1\n··}\n\n··if·(interactive)·{\n····await·interactiveRimraf(impl,·paths,·opt)\n··}·else·{\n····await·impl(paths,·opt)\n··}\n\n··return·0\n}\n\nmain(...process.argv.slice(2)).then(\n··code·=>·process.exit(code),\n··er·=>·{\n····console.error(er)\n····process.exit(1)\n··},\n)\n"10 ········"#!/usr/bin/env·node\nimport·type·{·RimrafAsyncOptions·}·from·'./index.js'\nimport·{·rimraf·}·from·'./index.js'\nimport·{·loadPackageJson·}·from·'package-json-from-dist'\n\nconst·{·version·}·=·loadPackageJson(\n··import.meta.url,\n··'../package.json',\n)·as·{\n··version:·string\n}\n\nconst·runHelpForUsage·=·()·=>\n··console.error('run·`rimraf·--help`·for·usage·information')\n\nconst·help·=·`rimraf·version·${version}\n\nUsage:·rimraf·<path>·[<path>·...]\nDeletes[·...·truncated·by·diffoscope;·len:·7141,·SHA:·91272a965785f4c08a90c7e14629cd9ed6ec6c4b27cd9d9f1e58fc49590ff54b·...·])\n········console.error('use·--no-preserve-root·to·override·this·failsafe')\n········return·1\n······}\n····}\n··}\n\n··if·(!paths.length)·{\n····console.error('rimraf:·must·provide·a·path·to·remove')\n····runHelpForUsage()\n····return·1\n··}\n\n··if·(impl·===·rimraf.native·&&·(interactive·||·opt.filter))·{\n····console.error('native·implementation·does·not·support·-v·or·-i')\n····runHelpForUsage()\n····return·1\n··}\n\n··if·(interactive)·{\n····await·interactiveRimraf(impl,·paths,·opt)\n··}·else·{\n····await·impl(paths,·opt)\n··}\n\n··return·0\n}\n\nmain(...process.argv.slice(2)).then(\n··code·=>·process.exit(code),\n··er·=>·{\n····console.error(er)\n····process.exit(1)\n··},\n)\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
1.09 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/fs.d.ts
    
Offset 1, 15 lines modifiedOffset 1, 16 lines modified
1 import·fs,·{·Dirent·}·from·'fs';1 import·fs,·{·Dirent·}·from·'fs';
 2 import·fsPromises·from·'fs/promises';
2 export·{·chmodSync,·mkdirSync,·renameSync,·rmdirSync,·rmSync,·statSync,·lstatSync,·unlinkSync,·}·from·'fs';3 export·{·chmodSync,·mkdirSync,·renameSync,·rmdirSync,·rmSync,·statSync,·lstatSync,·unlinkSync,·}·from·'fs';
3 export·declare·const·readdirSync:·(path:·fs.PathLike)·=>·Dirent[];4 export·declare·const·readdirSync:·(path:·fs.PathLike)·=>·Dirent[];
4 export·declare·const·promises:·{5 export·declare·const·promises:·{
5 ····chmod:·typeof·fs.promises.chmod;6 ····chmod:·typeof·fsPromises.chmod;
6 ····mkdir:·typeof·fs.promises.mkdir;7 ····mkdir:·typeof·fsPromises.mkdir;
7 ····readdir:·(path:·fs.PathLike)·=>·Promise<fs.Dirent<string>[]>;8 ····readdir:·(path:·fs.PathLike)·=>·Promise<fs.Dirent<string>[]>;
8 ····rename:·typeof·fs.promises.rename;9 ····rename:·typeof·fsPromises.rename;
9 ····rm:·typeof·fs.promises.rm;10 ····rm:·typeof·fsPromises.rm;
10 ····rmdir:·typeof·fs.promises.rmdir;11 ····rmdir:·typeof·fsPromises.rmdir;
11 ····stat:·typeof·fs.promises.stat;12 ····stat:·typeof·fsPromises.stat;
12 ····lstat:·typeof·fs.promises.lstat;13 ····lstat:·typeof·fsPromises.lstat;
13 ····unlink:·typeof·fs.promises.unlink;14 ····unlink:·typeof·fsPromises.unlink;
14 };15 };
15 //#·sourceMappingURL=fs.d.ts.map16 //#·sourceMappingURL=fs.d.ts.map
959 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/fs.d.ts.map
835 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"fs.d.ts",2 ····"file":·"fs.d.ts",
3 ····"mappings":·"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAyB,MAAM,IAAI,CAAA;AAMtD,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAEX,eAAO,MAAM,WAAW,GAAI,MAAM,EAAE,CAAC,QAAQ,KAAG,MAAM,EACf,CAAA;AAEvC,eAAO,MAAM,QAAQ;;;oBAGH,EAAE,CAAC,QAAQ;;;;;;;CAQ5B,CAAA",3 ····"mappings":·"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAyB,MAAM,IAAI,CAAA;AACtD,OAAO,UAAU,MAAM,aAAa,CAAA;AAKpC,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAEX,eAAO,MAAM,WAAW,GAAI,MAAM,EAAE,CAAC,QAAQ,KAAG,MAAM,EACf,CAAA;AAEvC,eAAO,MAAM,QAAQ;;;oBAGH,EAAE,CAAC,QAAQ;;;;;;;CAQ5B,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/fs.ts"7 ········"../../src/fs.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
5.26 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/index.d.ts.map
5.13 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"index.d.ts",2 ····"file":·"index.d.ts",
3 ····"mappings":·"AACA,OAAO,EAGL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AASrB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,cAAc,CAAA;AAqCrB,eAAO,MAAM,UAAU,SAdd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAcF,CAAA;AACpD,eAAO,MAAM,MAAM,UAjCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,OAAO,CAAC,OA[·...·truncated·by·diffoscope;·len:·2188,·SHA:·3bb08e721beaecaa1ccd3654febd4cdc1a1c1655febcf9eaf5d576c1d4ce7895·...·]D3D,CAAA",3 ····"mappings":·"AACA,OAAO,EAGL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AAYrB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,cAAc,CAAA;AAqCrB,eAAO,MAAM,UAAU,SAdd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAcF,CAAA;AACpD,eAAO,MAAM,MAAM,UAjCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,OAAO,CAAC,OA[·...·truncated·by·diffoscope;·len:·2186,·SHA:·91674328e45664ae6644d1110a663e7efb9a852d20d5862ddc98ae228886ad4c·...·]D3D,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
21.4 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/index.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 9, 160 lines modifiedOffset 9, 161 lines modified
00000080:·696d·706f·7274·207b·2072·696d·7261·664d··import·{·rimrafM00000080:·696d·706f·7274·207b·2072·696d·7261·664d··import·{·rimrafM
00000090:·616e·7561·6c2c·2072·696d·7261·664d·616e··anual,·rimrafMan00000090:·616e·7561·6c2c·2072·696d·7261·664d·616e··anual,·rimrafMan
000000a0:·7561·6c53·796e·6320·7d20·6672·6f6d·2027··ualSync·}·from·'000000a0:·7561·6c53·796e·6320·7d20·6672·6f6d·2027··ualSync·}·from·'
000000b0:·2e2f·7269·6d72·6166·2d6d·616e·7561·6c2e··./rimraf-manual.000000b0:·2e2f·7269·6d72·6166·2d6d·616e·7561·6c2e··./rimraf-manual.
000000c0:·6a73·273b·0a69·6d70·6f72·7420·7b20·7269··js';.import·{·ri000000c0:·6a73·273b·0a69·6d70·6f72·7420·7b20·7269··js';.import·{·ri
000000d0:·6d72·6166·4d6f·7665·5265·6d6f·7665·2c20··mrafMoveRemove,·000000d0:·6d72·6166·4d6f·7665·5265·6d6f·7665·2c20··mrafMoveRemove,·
000000e0:·7269·6d72·6166·4d6f·7665·5265·6d6f·7665··rimrafMoveRemove000000e0:·7269·6d72·6166·4d6f·7665·5265·6d6f·7665··rimrafMoveRemove
 000000f0:·5379·6e63·2c20·7d20·6672·6f6d·2027·2e2f··Sync,·}·from·'./
 00000100:·7269·6d72·6166·2d6d·6f76·652d·7265·6d6f··rimraf-move-remo
 00000110:·7665·2e6a·7327·3b0a·696d·706f·7274·207b··ve.js';.import·{
 00000120:·2072·696d·7261·664e·6174·6976·652c·2072···rimrafNative,·r
 00000130:·696d·7261·664e·6174·6976·6553·796e·6320··imrafNativeSync·
 00000140:·7d20·6672·6f6d·2027·2e2f·7269·6d72·6166··}·from·'./rimraf
 00000150:·2d6e·6174·6976·652e·6a73·273b·0a69·6d70··-native.js';.imp
 00000160:·6f72·7420·7b20·7269·6d72·6166·506f·7369··ort·{·rimrafPosi
 00000170:·782c·2072·696d·7261·6650·6f73·6978·5379··x,·rimrafPosixSy
000000f0:·5379·6e63·207d·2066·726f·6d20·272e·2f72··Sync·}·from·'./r00000180:·6e63·207d·2066·726f·6d20·272e·2f72·696d··nc·}·from·'./rim
00000100:·696d·7261·662d·6d6f·7665·2d72·656d·6f76··imraf-move-remov00000190:·7261·662d·706f·7369·782e·6a73·273b·0a69··raf-posix.js';.i
 000001a0:·6d70·6f72·7420·7b20·7269·6d72·6166·5769··mport·{·rimrafWi
 000001b0:·6e64·6f77·732c·2072·696d·7261·6657·696e··ndows,·rimrafWin
 000001c0:·646f·7773·5379·6e63·207d·2066·726f·6d20··dowsSync·}·from·
 000001d0:·272e·2f72·696d·7261·662d·7769·6e64·6f77··'./rimraf-window
00000110:·652e·6a73·273b·0a69·6d70·6f72·7420·7b20··e.js';.import·{·000001e0:·732e·6a73·273b·0a69·6d70·6f72·7420·7b20··s.js';.import·{·
 000001f0:·7573·654e·6174·6976·652c·2075·7365·4e61··useNative,·useNa
 00000200:·7469·7665·5379·6e63·207d·2066·726f·6d20··tiveSync·}·from·
 00000210:·272e·2f75·7365·2d6e·6174·6976·652e·6a73··'./use-native.js
 00000220:·273b·0a65·7870·6f72·7420·7b20·6173·7365··';.export·{·asse
00000120:·7269·6d72·6166·4e61·7469·7665·2c20·7269··rimrafNative,·ri 
00000130:·6d72·6166·4e61·7469·7665·5379·6e63·207d··mrafNativeSync·} 
00000140:·2066·726f·6d20·272e·2f72·696d·7261·662d···from·'./rimraf- 
00000150:·6e61·7469·7665·2e6a·7327·3b0a·696d·706f··native.js';.impo 
00000160:·7274·207b·2072·696d·7261·6650·6f73·6978··rt·{·rimrafPosix 
00000170:·2c20·7269·6d72·6166·506f·7369·7853·796e··,·rimrafPosixSyn 
00000180:·6320·7d20·6672·6f6d·2027·2e2f·7269·6d72··c·}·from·'./rimr 
00000190:·6166·2d70·6f73·6978·2e6a·7327·3b0a·696d··af-posix.js';.im 
000001a0:·706f·7274·207b·2072·696d·7261·6657·696e··port·{·rimrafWin 
000001b0:·646f·7773·2c20·7269·6d72·6166·5769·6e64··dows,·rimrafWind 
000001c0:·6f77·7353·796e·6320·7d20·6672·6f6d·2027··owsSync·}·from·' 
000001d0:·2e2f·7269·6d72·6166·2d77·696e·646f·7773··./rimraf-windows 
000001e0:·2e6a·7327·3b0a·696d·706f·7274·207b·2075··.js';.import·{·u 
000001f0:·7365·4e61·7469·7665·2c20·7573·654e·6174··seNative,·useNat 
00000200:·6976·6553·796e·6320·7d20·6672·6f6d·2027··iveSync·}·from·' 
00000210:·2e2f·7573·652d·6e61·7469·7665·2e6a·7327··./use-native.js' 
00000220:·3b0a·6578·706f·7274·207b·2061·7373·6572··;.export·{·asser 
00000230:·7452·696d·7261·664f·7074·696f·6e73·2c20··tRimrafOptions,· 
00000240:·6973·5269·6d72·6166·4f70·7469·6f6e·732c··isRimrafOptions,00000230:·7274·5269·6d72·6166·4f70·7469·6f6e·732c··rtRimrafOptions,
00000250:·207d·2066·726f·6d20·272e·2f6f·7074·2d61···}·from·'./opt-a 
00000260:·7267·2e6a·7327·3b0a·636f·6e73·7420·7772··rg.js';.const·wr 
00000270:·6170·203d·2028·666e·2920·3d3e·2061·7379··ap·=·(fn)·=>·asy 
00000280:·6e63·2028·7061·7468·2c20·6f70·7429·203d··nc·(path,·opt)·= 
00000290:·3e20·7b0a·2020·2020·636f·6e73·7420·6f70··>·{.····const·op 
000002a0:·7469·6f6e·7320·3d20·6f70·7441·7267·286f··tions·=·optArg(o 
000002b0:·7074·293b·0a20·2020·2069·6620·286f·7074··pt);.····if·(opt 
000002c0:·696f·6e73·2e67·6c6f·6229·207b·0a20·2020··ions.glob)·{.···00000240:·2069·7352·696d·7261·664f·7074·696f·6e73···isRimrafOptions
 00000250:·2c20·7d20·6672·6f6d·2027·2e2f·6f70·742d··,·}·from·'./opt-
 00000260:·6172·672e·6a73·273b·0a63·6f6e·7374·2077··arg.js';.const·w
 00000270:·7261·7020·3d20·2866·6e29·203d·3e20·6173··rap·=·(fn)·=>·as
 00000280:·796e·6320·2870·6174·682c·206f·7074·2920··ync·(path,·opt)·
 00000290:·3d3e·207b·0a20·2020·2063·6f6e·7374·206f··=>·{.····const·o
 000002a0:·7074·696f·6e73·203d·206f·7074·4172·6728··ptions·=·optArg(
 000002b0:·6f70·7429·3b0a·2020·2020·6966·2028·6f70··opt);.····if·(op
 000002c0:·7469·6f6e·732e·676c·6f62·2920·7b0a·2020··tions.glob)·{.··
000002d0:·2020·2020·2070·6174·6820·3d20·6177·6169·······path·=·awai000002d0:·2020·2020·2020·7061·7468·203d·2061·7761········path·=·awa
000002e0:·7420·676c·6f62·2870·6174·682c·206f·7074··t·glob(path,·opt 
000002f0:·696f·6e73·2e67·6c6f·6229·3b0a·2020·2020··ions.glob);.····000002e0:·6974·2067·6c6f·6228·7061·7468·2c20·6f70··it·glob(path,·op
 000002f0:·7469·6f6e·732e·676c·6f62·293b·0a20·2020··tions.glob);.···
00000300:·7d0a·2020·2020·6966·2028·4172·7261·792e··}.····if·(Array.00000300:·207d·0a20·2020·2069·6620·2841·7272·6179···}.····if·(Array
00000310:·6973·4172·7261·7928·7061·7468·2929·207b··isArray(path))·{00000310:·2e69·7341·7272·6179·2870·6174·6829·2920··.isArray(path))·
00000320:·0a20·2020·2020·2020·2072·6574·7572·6e20··.········return·00000320:·7b0a·2020·2020·2020·2020·7265·7475·726e··{.········return
 00000330:·2021·2128·6177·6169·7420·5072·6f6d·6973···!!(await·Promis
 00000340:·652e·616c·6c28·7061·7468·2e6d·6170·2870··e.all(path.map(p
00000330:·2121·2861·7761·6974·2050·726f·6d69·7365··!!(await·Promise 
00000340:·2e61·6c6c·2870·6174·682e·6d61·7028·7020··.all(path.map(p· 
00000350:·3d3e·2066·6e28·7061·7468·4172·6728·702c··=>·fn(pathArg(p, 
00000360:·206f·7074·696f·6e73·292c·206f·7074·696f···options),·optio 
00000370:·6e73·2929·2929·2e72·6564·7563·6528·2861··ns)))).reduce((a 
00000380:·2c20·6229·203d·3e20·6120·2626·2062·2c20··,·b)·=>·a·&&·b,· 
00000390:·7472·7565·293b·0a20·2020·207d·0a20·2020··true);.····}.··· 
000003a0:·2065·6c73·6520·7b0a·2020·2020·2020·2020···else·{.········ 
000003b0:·7265·7475·726e·2021·2128·6177·6169·7420··return·!!(await· 
000003c0:·666e·2870·6174·6841·7267·2870·6174·682c··fn(pathArg(path, 
000003d0:·206f·7074·696f·6e73·292c·206f·7074·696f···options),·optio 
000003e0:·6e73·2929·3b0a·2020·2020·7d0a·7d3b·0a63··ns));.····}.};.c 
000003f0:·6f6e·7374·2077·7261·7053·796e·6320·3d20··onst·wrapSync·=· 
00000400:·2866·6e29·203d·3e20·2870·6174·682c·206f··(fn)·=>·(path,·o 
00000410:·7074·2920·3d3e·207b·0a20·2020·2063·6f6e··pt)·=>·{.····con 
00000420:·7374·206f·7074·696f·6e73·203d·206f·7074··st·options·=·opt 
00000430:·4172·6753·796e·6328·6f70·7429·3b0a·2020··ArgSync(opt);.·· 
00000440:·2020·6966·2028·6f70·7469·6f6e·732e·676c····if·(options.gl 
00000450:·6f62·2920·7b0a·2020·2020·2020·2020·7061··ob)·{.········pa 
00000460:·7468·203d·2067·6c6f·6253·796e·6328·7061··th·=·globSync(pa 
00000470:·7468·2c20·6f70·7469·6f6e·732e·676c·6f62··th,·options.glob 
00000480:·293b·0a20·2020·207d·0a20·2020·2069·6620··);.····}.····if· 
00000490:·2841·7272·6179·2e69·7341·7272·6179·2870··(Array.isArray(p 
000004a0:·6174·6829·2920·7b0a·2020·2020·2020·2020··ath))·{.········ 
000004b0:·7265·7475·726e·2021·2170·6174·680a·2020··return·!!path.·· 
000004c0:·2020·2020·2020·2020·2020·2e6d·6170·2870············.map(p 
000004d0:·203d·3e20·666e·2870·6174·6841·7267·2870···=>·fn(pathArg(p00000350:·203d·3e20·666e·2870·6174·6841·7267·2870···=>·fn(pathArg(p
000004e0:·2c20·6f70·7469·6f6e·7329·2c20·6f70·7469··,·options),·opti00000360:·2c20·6f70·7469·6f6e·7329·2c20·6f70·7469··,·options),·opti
Max diff block lines reached; -1/21686 bytes (-0.00%) of diff not shown.
13.0 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/index.js.map
12.9 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"index.js",2 ····"file":·"index.js",
3 ····"mappings":·"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AACrC,OAAO,EACL,MAAM,EACN,UAAU,GAGX,MAAM,cAAc,CAAA;AACrB,OAAO,OAAO,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,C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AAoB,CAAC,CAAA;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE;IAC9D,IAAI,EAAE,cAAc;CACrB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAC/C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;IAClB,gBAAgB,CAAC,IAAI,EAAE,GAAG,CAAC;IAC7B,CAAC,CAAC,gBAAgB,CAAC,IAAI,EAAE,GAAG,CAAC,CAC9B,CAAA;AACD,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAAA;AAE9B,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CACjC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CACnE,CAAA;AACD,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;IAC3C,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,UAAU;IAChB,UAAU,EAAE,UAAU;IACtB,MAAM;IACN,UAAU;IACV,MAAM;IACN,UAAU;IACV,KAAK;IACL,SAAS;IACT,OAAO;IACP,WAAW;IACX,UAAU;IACV,cAAc;CACf,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,GAAG,MAAM,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/index.ts"7 ········"../../src/index.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·glob,·globSync·}·from·'glob'\nimport·{\n··optArg,\n··optArgSync,\n··RimrafAsyncOptions,\n··RimrafSyncOptions,\n}·from·'./opt-arg.js'\nimport·pathArg·from·'./path-arg.js'\nimport·{·rimrafManual,·rimrafManualSync·}·from·'./rimraf-manual.js'\nimport·{·rimrafMoveRemove,·rimrafMoveRemoveSync·}·from·'./rimraf-move-remove.js'\nimport·{·rimrafNative,·rimrafNativeSync·}·from·'./rimraf-native.js'\nimport·{·rimrafPosix,·rimrafPosixSync·}·from·'./rimraf-posix.js'\nimport·{·rimrafWindows,·rimrafWindowsSync·}·fro[·...·truncated·by·diffoscope;·len:·1675,·SHA:·12ec77629945f2a74970b7c3a2db27f242470afef96dba8f624972edba73cd71·...·]})\n\nexport·const·posixSync·=·wrapSync(rimrafPosixSync)\nexport·const·posix·=·Object.assign(wrap(rimrafPosix),·{·sync:·posixSync·})\n\nexport·const·moveRemoveSync·=·wrapSync(rimrafMoveRemoveSync)\nexport·const·moveRemove·=·Object.assign(wrap(rimrafMoveRemove),·{\n··sync:·moveRemoveSync,\n})\n\nexport·const·rimrafSync·=·wrapSync((path,·opt)·=>\n··useNativeSync(opt)·?\n····rimrafNativeSync(path,·opt)\n··:·rimrafManualSync(path,·opt),\n)\nexport·const·sync·=·rimrafSync\n\nconst·rimraf_·=·wrap((path,·opt)·=>\n··useNative(opt)·?·rimrafNative(path,·opt)·:·rimrafManual(path,·opt),\n)\nexport·const·rimraf·=·Object.assign(rimraf_,·{\n··rimraf:·rimraf_,\n··sync:·rimrafSync,\n··rimrafSync:·rimrafSync,\n··manual,\n··manualSync,\n··native,\n··nativeSync,\n··posix,\n··posixSync,\n··windows,\n··windowsSync,\n··moveRemove,\n··moveRemoveSync,\n})\nrimraf.rimraf·=·rimraf\n"10 ········"import·{·glob,·globSync·}·from·'glob'\nimport·{\n··optArg,\n··optArgSync,\n··RimrafAsyncOptions,\n··RimrafSyncOptions,\n}·from·'./opt-arg.js'\nimport·pathArg·from·'./path-arg.js'\nimport·{·rimrafManual,·rimrafManualSync·}·from·'./rimraf-manual.js'\nimport·{\n··rimrafMoveRemove,\n··rimrafMoveRemoveSync,\n}·from·'./rimraf-move-remove.js'\nimport·{·rimrafNative,·rimrafNativeSync·}·from·'./rimraf-native.js'\nimport·{·rimrafPosix,·rimrafPosixSync·}·from·'./rimraf-posix.js'\nimport·{·rimrafWindows,·rimrafWindowsSy[·...·truncated·by·diffoscope;·len:·1698,·SHA:·4a5c58ec042e0c5ef78ebb1e55e7c4321524eb6fd17d498106601b82bff9ec5a·...·]})\n\nexport·const·posixSync·=·wrapSync(rimrafPosixSync)\nexport·const·posix·=·Object.assign(wrap(rimrafPosix),·{·sync:·posixSync·})\n\nexport·const·moveRemoveSync·=·wrapSync(rimrafMoveRemoveSync)\nexport·const·moveRemove·=·Object.assign(wrap(rimrafMoveRemove),·{\n··sync:·moveRemoveSync,\n})\n\nexport·const·rimrafSync·=·wrapSync((path,·opt)·=>\n··useNativeSync(opt)·?\n····rimrafNativeSync(path,·opt)\n··:·rimrafManualSync(path,·opt),\n)\nexport·const·sync·=·rimrafSync\n\nconst·rimraf_·=·wrap((path,·opt)·=>\n··useNative(opt)·?·rimrafNative(path,·opt)·:·rimrafManual(path,·opt),\n)\nexport·const·rimraf·=·Object.assign(rimraf_,·{\n··rimraf:·rimraf_,\n··sync:·rimrafSync,\n··rimrafSync:·rimrafSync,\n··manual,\n··manualSync,\n··native,\n··nativeSync,\n··posix,\n··posixSync,\n··windows,\n··windowsSync,\n··moveRemove,\n··moveRemoveSync,\n})\nrimraf.rimraf·=·rimraf\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.48 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/opt-arg.d.ts.map
2.35 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"opt-arg.d.ts",2 ····"file":·"opt-arg.d.ts",
3 ····"mappings":·"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAA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C,SAAS;EA8B6C,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/opt-arg.ts"7 ········"../../src/opt-arg.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
9.42 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/opt-arg.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 21, 72 lines modifiedOffset 21, 72 lines modified
00000140:·260a·2020·2020·7479·7065·4f72·556e·6465··&.····typeOrUnde00000140:·260a·2020·2020·7479·7065·4f72·556e·6465··&.····typeOrUnde
00000150:·6628·6f2e·6261·636b·6f66·662c·2027·6e75··f(o.backoff,·'nu00000150:·6628·6f2e·6261·636b·6f66·662c·2027·6e75··f(o.backoff,·'nu
00000160:·6d62·6572·2729·2026·260a·2020·2020·7479··mber')·&&.····ty00000160:·6d62·6572·2729·2026·260a·2020·2020·7479··mber')·&&.····ty
00000170:·7065·4f72·556e·6465·6628·6f2e·6d61·7842··peOrUndef(o.maxB00000170:·7065·4f72·556e·6465·6628·6f2e·6d61·7842··peOrUndef(o.maxB
00000180:·6163·6b6f·6666·2c20·276e·756d·6265·7227··ackoff,·'number'00000180:·6163·6b6f·6666·2c20·276e·756d·6265·7227··ackoff,·'number'
00000190:·2920·2626·0a20·2020·2028·7479·7065·4f72··)·&&.····(typeOr00000190:·2920·2626·0a20·2020·2028·7479·7065·4f72··)·&&.····(typeOr
000001a0:·556e·6465·6628·6f2e·676c·6f62·2c20·2762··Undef(o.glob,·'b000001a0:·556e·6465·6628·6f2e·676c·6f62·2c20·2762··Undef(o.glob,·'b
000001b0:·6f6f·6c65·616e·2729·207c·7c20·286f·2e67··oolean')·||·(o.g000001b0:·6f6f·6c65·616e·2729·207c·7c0a·2020·2020··oolean')·||.····
 000001c0:·2020·2020·286f·2e67·6c6f·6220·2626·2074······(o.glob·&&·t
 000001d0:·7970·656f·6620·6f2e·676c·6f62·203d·3d3d··ypeof·o.glob·===
 000001e0:·2027·6f62·6a65·6374·2729·2920·2626·0a20···'object'))·&&.·
 000001f0:·2020·2074·7970·654f·7255·6e64·6566·286f·····typeOrUndef(o
 00000200:·2e66·696c·7465·722c·2027·6675·6e63·7469··.filter,·'functi
 00000210:·6f6e·2729·3b0a·6578·706f·7274·2063·6f6e··on');.export·con
 00000220:·7374·2061·7373·6572·7452·696d·7261·664f··st·assertRimrafO
 00000230:·7074·696f·6e73·203d·2028·6f29·203d·3e20··ptions·=·(o)·=>·
000001c0:·6c6f·6220·2626·2074·7970·656f·6620·6f2e··lob·&&·typeof·o. 
000001d0:·676c·6f62·203d·3d3d·2027·6f62·6a65·6374··glob·===·'object 
000001e0:·2729·2920·2626·0a20·2020·2074·7970·654f··'))·&&.····typeO 
000001f0:·7255·6e64·6566·286f·2e66·696c·7465·722c··rUndef(o.filter, 
00000200:·2027·6675·6e63·7469·6f6e·2729·3b0a·6578···'function');.ex 
00000210:·706f·7274·2063·6f6e·7374·2061·7373·6572··port·const·asser 
00000220:·7452·696d·7261·664f·7074·696f·6e73·203d··tRimrafOptions·= 
00000230:·2028·6f29·203d·3e20·7b0a·2020·2020·6966···(o)·=>·{.····if 
00000240:·2028·2169·7352·696d·7261·664f·7074·696f···(!isRimrafOptio 
00000250:·6e73·286f·2929·207b·0a20·2020·2020·2020··ns(o))·{.······· 
00000260:·2074·6872·6f77·206e·6577·2045·7272·6f72···throw·new·Error 
00000270:·2827·696e·7661·6c69·6420·7269·6d72·6166··('invalid·rimraf 
00000280:·206f·7074·696f·6e73·2729·3b0a·2020·2020···options');.···· 
00000290:·7d0a·7d3b·0a63·6f6e·7374·206f·7074·4172··}.};.const·optAr 
000002a0:·6754·203d·2028·6f70·7429·203d·3e20·7b0a··gT·=·(opt)·=>·{. 
000002b0:·2020·2020·6173·7365·7274·5269·6d72·6166······assertRimraf 
000002c0:·4f70·7469·6f6e·7328·6f70·7429·3b0a·2020··Options(opt);.·· 
000002d0:·2020·636f·6e73·7420·7b20·676c·6f62·2c20····const·{·glob,· 
000002e0:·2e2e·2e6f·7074·696f·6e73·207d·203d·206f··...options·}·=·o 
000002f0:·7074·3b0a·2020·2020·6966·2028·2167·6c6f··pt;.····if·(!glo00000240:·7b0a·2020·2020·6966·2028·2169·7352·696d··{.····if·(!isRim
00000300:·6229·207b·0a20·2020·2020·2020·2072·6574··b)·{.········ret 
00000310:·7572·6e20·6f70·7469·6f6e·733b·0a20·2020··urn·options;.··· 
00000320:·207d·0a20·2020·2063·6f6e·7374·2067·6c6f···}.····const·glo 
00000330:·624f·7074·203d·2067·6c6f·6220·3d3d·3d20··bOpt·=·glob·===· 
00000340:·7472·7565·203f·0a20·2020·2020·2020·206f··true·?.········o 
00000350:·7074·2e73·6967·6e61·6c20·3f0a·2020·2020··pt.signal·?.····00000250:·7261·664f·7074·696f·6e73·286f·2929·207b··rafOptions(o))·{
 00000260:·0a20·2020·2020·2020·2074·6872·6f77·206e··.········throw·n
 00000270:·6577·2045·7272·6f72·2827·696e·7661·6c69··ew·Error('invali
 00000280:·6420·7269·6d72·6166·206f·7074·696f·6e73··d·rimraf·options
 00000290:·2729·3b0a·2020·2020·7d0a·7d3b·0a63·6f6e··');.····}.};.con
 000002a0:·7374·206f·7074·4172·6754·203d·2028·6f70··st·optArgT·=·(op
 000002b0:·7429·203d·3e20·7b0a·2020·2020·6173·7365··t)·=>·{.····asse
 000002c0:·7274·5269·6d72·6166·4f70·7469·6f6e·7328··rtRimrafOptions(
 000002d0:·6f70·7429·3b0a·2020·2020·636f·6e73·7420··opt);.····const·
 000002e0:·7b20·676c·6f62·2c20·2e2e·2e6f·7074·696f··{·glob,·...optio
 000002f0:·6e73·207d·203d·206f·7074·3b0a·2020·2020··ns·}·=·opt;.····
 00000300:·6966·2028·2167·6c6f·6229·207b·0a20·2020··if·(!glob)·{.···
 00000310:·2020·2020·2072·6574·7572·6e20·6f70·7469·······return·opti
 00000320:·6f6e·733b·0a20·2020·207d·0a20·2020·2063··ons;.····}.····c
 00000330:·6f6e·7374·2067·6c6f·624f·7074·203d·2067··onst·globOpt·=·g
 00000340:·6c6f·6220·3d3d·3d20·7472·7565·203f·0a20··lob·===·true·?.·
00000360:·2020·2020·2020·2020·7b20·7369·676e·616c··········{·signal00000350:·2020·2020·2020·206f·7074·2e73·6967·6e61·········opt.signa
00000370:·3a20·6f70·742e·7369·676e·616c·207d·0a20··:·opt.signal·}.· 
00000380:·2020·2020·2020·2020·2020·203a·207b·7d0a·············:·{}.00000360:·6c20·3f0a·2020·2020·2020·2020·2020·2020··l·?.············
00000390:·2020·2020·2020·2020·3a20·6f70·742e·7369··········:·opt.si00000370:·7b20·7369·676e·616c·3a20·6f70·742e·7369··{·signal:·opt.si
000003a0:·676e·616c·203f·0a20·2020·2020·2020·2020··gnal·?.·········00000380:·676e·616c·207d·0a20·2020·2020·2020·2020··gnal·}.·········
000003b0:·2020·207b·0a20·2020·2020·2020·2020·2020·····{.···········00000390:·2020·203a·207b·7d0a·2020·2020·2020·2020·····:·{}.········
000003c0:·2020·2020·2073·6967·6e61·6c3a·206f·7074·······signal:·opt 
000003d0:·2e73·6967·6e61·6c2c·0a20·2020·2020·2020··.signal,.·······000003a0:·3a20·6f70·742e·7369·676e·616c·203f·0a20··:·opt.signal·?.·
 000003b0:·2020·2020·2020·2020·2020·207b·0a20·2020·············{.···
 000003c0:·2020·2020·2020·2020·2020·2020·2073·6967···············sig
 000003d0:·6e61·6c3a·206f·7074·2e73·6967·6e61·6c2c··nal:·opt.signal,
 000003e0:·0a20·2020·2020·2020·2020·2020·2020·2020··.···············
 000003f0:·202e·2e2e·676c·6f62·2c0a·2020·2020·2020···...glob,.······
 00000400:·2020·2020·2020·7d0a·2020·2020·2020·2020········}.········
 00000410:·2020·2020·3a20·676c·6f62·3b0a·2020·2020······:·glob;.····
 00000420:·7265·7475·726e·207b·0a20·2020·2020·2020··return·{.·······
 00000430:·202e·2e2e·6f70·7469·6f6e·732c·0a20·2020···...options,.···
 00000440:·2020·2020·2067·6c6f·623a·207b·0a20·2020·······glob:·{.···
000003e0:·2020·2020·2020·2020·202e·2e2e·676c·6f62···········...glob00000450:·2020·2020·2020·2020·202e·2e2e·676c·6f62···········...glob
000003f0:·2c0a·2020·2020·2020·2020·2020·2020·7d0a··,.············}. 
00000400:·2020·2020·2020·2020·2020·2020·3a20·676c··············:·gl 
00000410:·6f62·3b0a·2020·2020·7265·7475·726e·207b··ob;.····return·{ 
00000420:·0a20·2020·2020·2020·202e·2e2e·6f70·7469··.········...opti 
00000430:·6f6e·732c·0a20·2020·2020·2020·2067·6c6f··ons,.········glo 
00000440:·623a·207b·0a20·2020·2020·2020·2020·2020··b:·{.··········· 
00000450:·202e·2e2e·676c·6f62·4f70·742c·0a20·2020···...globOpt,.··· 
00000460:·2020·2020·2020·2020·202f·2f20·616c·7761···········//·alwa 
00000470:·7973·2067·6574·2061·6273·6f6c·7574·6520··ys·get·absolute· 
00000480:·7061·7468·7320·6672·6f6d·2067·6c6f·622c··paths·from·glob, 
00000490:·2074·6f20·656e·7375·7265·0a20·2020·2020···to·ensure.····· 
000004a0:·2020·2020·2020·202f·2f20·7468·6174·2077·········//·that·w 
000004b0:·6520·6172·6520·7265·6665·7265·6e63·696e··e·are·referencin 
000004c0:·6720·7468·6520·636f·7272·6563·7420·7468··g·the·correct·th 
000004d0:·696e·672e·0a20·2020·2020·2020·2020·2020··ing..···········00000460:·4f70·742c·0a20·2020·2020·2020·2020·2020··Opt,.···········
000004e0:·2061·6273·6f6c·7574·653a·2074·7275·652c···absolute:·true,00000470:·202f·2f20·616c·7761·7973·2067·6574·2061···//·always·get·a
 00000480:·6273·6f6c·7574·6520·7061·7468·7320·6672··bsolute·paths·fr
 00000490:·6f6d·2067·6c6f·622c·2074·6f20·656e·7375··om·glob,·to·ensu
000004f0:·0a20·2020·2020·2020·2020·2020·2077·6974··.············wit000004a0:·7265·0a20·2020·2020·2020·2020·2020·202f··re.············/
00000500:·6846·696c·6554·7970·6573·3a20·6661·6c73··hFileTypes:·fals 
00000510:·652c·0a20·2020·2020·2020·207d·2c0a·2020··e,.········},.·· 
00000520:·2020·7d3b·0a7d·3b0a·6578·706f·7274·2063····};.};.export·c 
00000530:·6f6e·7374·206f·7074·4172·6720·3d20·286f··onst·optArg·=·(o 
Max diff block lines reached; -1/9455 bytes (-0.01%) of diff not shown.
8.1 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/opt-arg.js.map
7.98 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"opt-arg.js",2 ····"file":·"opt-arg.js",
3 ····"mappings":·"AAGA,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,CAAS,EAAE,EAAE,CAC1C,OAAO,GAAG,KAAK,WAAW,IAAI,OAAO,GAAG,KAAK,CAAC,CAAA;AAEhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAM,EAAsB,EAAE,CAC5D,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,KAAK,QAAQ;IACrB,WAAW,CAAC,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC;IACtC,WAAW,CAAC,CAAC,CAAC,GAAG,EAAE,QAAQ,CAAC;IAC5B,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC;IACnC,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC;IACnC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC;IAChC,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC;IACnC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;IAC1E,WAAW,CAAC,CAAC,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;AAEnC,MAAM,CAAC,MAAM,mBAAmB,GAAqB,CACnD,CA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,GAAG,CAAC,MAAM,CAAC,CAAC;YACZ;gBACE,MAAM,EAAE,GAAG,CAAC,MAAM;gBAClB,GAAG,IAAI;aACR;YACH,CAAC,CAAC,IAAI,CAAA;IACR,OAAO;QACL,GAAG,OAAO;QACV,IAAI,EAAE;YACJ,GAAG,OAAO;YACV,iDAAiD;YACjD,6CAA6C;YAC7C,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,KAAK;SACrB;KACsD,CAAA;AAC3D,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,MAA0B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;AACpE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAyB,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/opt-arg.ts"7 ········"../../src/opt-arg.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·Dirent,·Stats·}·from·'fs'\nimport·{·GlobOptions·}·from·'glob'\n\nconst·typeOrUndef·=·(val:·any,·t:·string)·=>\n··typeof·val·===·'undefined'·||·typeof·val·===·t\n\nexport·const·isRimrafOptions·=·(o:·any):·o·is·RimrafOptions·=>\n··!!o·&&\n··typeof·o·===·'object'·&&\n··typeOrUndef(o.preserveRoot,·'boolean')·&&\n··typeOrUndef(o.tmp,·'string')·&&\n··typeOrUndef(o.maxRetries,·'number')·&&\n··typeOrUndef(o.retryDelay,·'number')·&&\n··typeOrUndef(o.backoff,·'number')·&&\n··typeOrUndef(o.maxBackoff,·'number')·&&\n··(typeOrUndef(o.glob,·'boolean')·||·(o.glob·&&·typeof·o.glob·===·'object'))·&&\n··typeOrUndef(o.filter,·'function')\n\nexport·const·assertRimrafOptions:·(o:·any)·=>·void·=·(\n··o:·any,\n):·asserts·o·is·RimrafOptions·=>·{\n··if·(!isRimrafOptions(o))·{\n····throw·new·Error('invalid·rimraf·options')\n··}\n}\n\nexport·interface·RimrafAsyncOptions·{\n··preserveRoot?:·boolean\n··tmp?:·string\n··maxRetries?:·number\n··retryDelay?:·number\n··backoff?:·number\n··maxBackoff?:·number\n··signal?:·AbortSignal\n··glob?:·boolean·|·GlobOptions\n··filter?:\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·boolean)\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·Promise<boolean>)\n}\n\nexport·interface·RimrafSyncOptions·extends·RimrafAsyncOptions·{\n··filter?:·(path:·string,·ent:·Dirent·|·Stats)·=>·boolean\n}\n\nexport·type·RimrafOptions·=·RimrafSyncOptions·|·RimrafAsyncOptions\n\nconst·optArgT·=·<T·extends·RimrafOptions>(\n··opt:·T,\n):\n··|·(T·&·{\n······glob:·GlobOptions·&·{·withFileTypes:·false·}\n····})\n··|·(T·&·{·glob:·undefined·})·=>·{\n··assertRimrafOptions(opt)\n··const·{·glob,·...options·}·=·opt\n··if·(!glob)·{\n····return·options·as·T·&·{·glob:·undefined·}\n··}\n··const·globOpt·=\n····glob·===·true·?\n······opt.signal·?\n········{·signal:·opt.signal·}\n······:·{}\n····:·opt.signal·?\n······{\n········signal:·opt.signal,\n········...glob,\n······}\n····:·glob\n··return·{\n····...options,\n····glob:·{\n······...globOpt,\n······//·always·get·absolute·paths·from·glob,·to·ensure\n······//·that·we·are·referencing·the·correct·thing.\n······absolute:·true,\n······withFileTypes:·false,\n····},\n··}·as·T·&·{·glob:·GlobOptions·&·{·withFileTypes:·false·}·}\n}\n\nexport·const·optArg·=·(opt:·RimrafAsyncOptions·=·{})·=>·optArgT(opt)\nexport·const·optArgSync·=·(opt:·RimrafSyncOptions·=·{})·=>·optArgT(opt)\n"10 ········"import·{·Dirent,·Stats·}·from·'fs'\nimport·{·GlobOptions·}·from·'glob'\n\nconst·typeOrUndef·=·(val:·any,·t:·string)·=>\n··typeof·val·===·'undefined'·||·typeof·val·===·t\n\nexport·const·isRimrafOptions·=·(o:·any):·o·is·RimrafOptions·=>\n··!!o·&&\n··typeof·o·===·'object'·&&\n··typeOrUndef(o.preserveRoot,·'boolean')·&&\n··typeOrUndef(o.tmp,·'string')·&&\n··typeOrUndef(o.maxRetries,·'number')·&&\n··typeOrUndef(o.retryDelay,·'number')·&&\n··typeOrUndef(o.backoff,·'number')·&&\n··typeOrUndef(o.maxBackoff,·'number')·&&\n··(typeOrUndef(o.glob,·'boolean')·||\n····(o.glob·&&·typeof·o.glob·===·'object'))·&&\n··typeOrUndef(o.filter,·'function')\n\nexport·const·assertRimrafOptions:·(o:·any)·=>·void·=·(\n··o:·any,\n):·asserts·o·is·RimrafOptions·=>·{\n··if·(!isRimrafOptions(o))·{\n····throw·new·Error('invalid·rimraf·options')\n··}\n}\n\nexport·interface·RimrafAsyncOptions·{\n··preserveRoot?:·boolean\n··tmp?:·string\n··maxRetries?:·number\n··retryDelay?:·number\n··backoff?:·number\n··maxBackoff?:·number\n··signal?:·AbortSignal\n··glob?:·boolean·|·GlobOptions\n··filter?:\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·boolean)\n····|·((path:·string,·ent:·Dirent·|·Stats)·=>·Promise<boolean>)\n}\n\nexport·interface·RimrafSyncOptions·extends·RimrafAsyncOptions·{\n··filter?:·(path:·string,·ent:·Dirent·|·Stats)·=>·boolean\n}\n\nexport·type·RimrafOptions·=·RimrafSyncOptions·|·RimrafAsyncOptions\n\nconst·optArgT·=·<T·extends·RimrafOptions>(\n··opt:·T,\n):\n··|·(T·&·{\n······glob:·GlobOptions·&·{·withFileTypes:·false·}\n····})\n··|·(T·&·{·glob:·undefined·})·=>·{\n··assertRimrafOptions(opt)\n··const·{·glob,·...options·}·=·opt\n··if·(!glob)·{\n····return·options·as·T·&·{·glob:·undefined·}\n··}\n··const·globOpt·=\n····glob·===·true·?\n······opt.signal·?\n········{·signal:·opt.signal·}\n······:·{}\n····:·opt.signal·?\n······{\n········signal:·opt.signal,\n········...glob,\n······}\n····:·glob\n··return·{\n····...options,\n····glob:·{\n······...globOpt,\n······//·always·get·absolute·paths·from·glob,·to·ensure\n······//·that·we·are·referencing·the·correct·thing.\n······absolute:·true,\n······withFileTypes:·false,\n····},\n··}·as·T·&·{·glob:·GlobOptions·&·{·withFileTypes:·false·}·}\n}\n\nexport·const·optArg·=·(opt:·RimrafAsyncOptions·=·{})·=>·optArgT(opt)\nexport·const·optArgSync·=·(opt:·RimrafSyncOptions·=·{})·=>·optArgT(opt)\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
630 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/path-arg.d.ts.map
494 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"path-arg.d.ts",2 ····"file":·"path-arg.d.ts",
3 ····"mappings":·"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,QAAA,MAAM,OAAO,GAAI,MAAM,MAAM,EAAE,MAAK,kBAAuB,WAgD1D,CAAA;AAED,eAAe,OAAO,CAAA",3 ····"mappings":·"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,QAAA,MAAM,OAAO,GAAI,MAAM,MAAM,EAAE,MAAK,kBAAuB,WAkD1D,CAAA;AAED,eAAe,OAAO,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/path-arg.ts"7 ········"../../src/path-arg.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
10.6 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/path-arg.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 23, 81 lines modifiedOffset 23, 81 lines modified
00000160:·2870·6174·6829·0a20·2020·2020·2020·2020··(path).·········00000160:·2870·6174·6829·0a20·2020·2020·2020·2020··(path).·········
00000170:·2020·2020·2020·203a·2060·7479·7065·2024·········:·`type·$00000170:·2020·2020·2020·203a·2060·7479·7065·2024·········:·`type·$
00000180:·7b74·7970·657d·2024·7b70·6174·687d·603b··{type}·${path}`;00000180:·7b74·7970·657d·2024·7b70·6174·687d·603b··{type}·${path}`;
00000190:·0a20·2020·2020·2020·2063·6f6e·7374·206d··.········const·m00000190:·0a20·2020·2020·2020·2063·6f6e·7374·206d··.········const·m
000001a0:·7367·203d·2027·5468·6520·2270·6174·6822··sg·=·'The·"path"000001a0:·7367·203d·2027·5468·6520·2270·6174·6822··sg·=·'The·"path"
000001b0:·2061·7267·756d·656e·7420·6d75·7374·2062···argument·must·b000001b0:·2061·7267·756d·656e·7420·6d75·7374·2062···argument·must·b
000001c0:·6520·6f66·2074·7970·6520·7374·7269·6e67··e·of·type·string000001c0:·6520·6f66·2074·7970·6520·7374·7269·6e67··e·of·type·string
 000001d0:·2e20·2720·2b0a·2020·2020·2020·2020·2020··.·'·+.··········
000001d0:·2e20·2720·2b20·6052·6563·6569·7665·6420··.·'·+·`Received·000001e0:·2020·6052·6563·6569·7665·6420·247b·7265····`Received·${re
000001e0:·247b·7265·6365·6976·6564·7d60·3b0a·2020··${received}`;.··000001f0:·6365·6976·6564·7d60·3b0a·2020·2020·2020··ceived}`;.······
000001f0:·2020·2020·2020·7468·726f·7720·4f62·6a65········throw·Obje00000200:·2020·7468·726f·7720·4f62·6a65·6374·2e61····throw·Object.a
00000200:·6374·2e61·7373·6967·6e28·6e65·7720·5479··ct.assign(new·Ty00000210:·7373·6967·6e28·6e65·7720·5479·7065·4572··ssign(new·TypeEr
00000210:·7065·4572·726f·7228·6d73·6729·2c20·7b0a··peError(msg),·{.00000220:·726f·7228·6d73·6729·2c20·7b0a·2020·2020··ror(msg),·{.····
00000220:·2020·2020·2020·2020·2020·2020·7061·7468··············path00000230:·2020·2020·2020·2020·7061·7468·2c0a·2020··········path,.··
00000230:·2c0a·2020·2020·2020·2020·2020·2020·636f··,.············co00000240:·2020·2020·2020·2020·2020·636f·6465·3a20············code:·
00000240:·6465·3a20·2745·5252·5f49·4e56·414c·4944··de:·'ERR_INVALID00000250:·2745·5252·5f49·4e56·414c·4944·5f41·5247··'ERR_INVALID_ARG
00000250:·5f41·5247·5f54·5950·4527·2c0a·2020·2020··_ARG_TYPE',.····00000260:·5f54·5950·4527·2c0a·2020·2020·2020·2020··_TYPE',.········
00000260:·2020·2020·7d29·3b0a·2020·2020·7d0a·2020······});.····}.··00000270:·7d29·3b0a·2020·2020·7d0a·2020·2020·6966··});.····}.····if
00000270:·2020·6966·2028·2f5c·302f·2e74·6573·7428····if·(/\0/.test(00000280:·2028·2f5c·302f·2e74·6573·7428·7061·7468···(/\0/.test(path
00000280:·7061·7468·2929·207b·0a20·2020·2020·2020··path))·{.·······00000290:·2929·207b·0a20·2020·2020·2020·202f·2f20··))·{.········//·
00000290:·202f·2f20·7369·6d75·6c61·7465·2073·616d···//·simulate·sam000002a0:·7369·6d75·6c61·7465·2073·616d·6520·6661··simulate·same·fa
000002a0:·6520·6661·696c·7572·6520·7468·6174·206e··e·failure·that·n000002b0:·696c·7572·6520·7468·6174·206e·6f64·6520··ilure·that·node·
000002b0:·6f64·6520·7261·6973·6573·0a20·2020·2020··ode·raises.·····000002c0:·7261·6973·6573·0a20·2020·2020·2020·2063··raises.········c
 000002d0:·6f6e·7374·206d·7367·203d·2027·7061·7468··onst·msg·=·'path
 000002e0:·206d·7573·7420·6265·2061·2073·7472·696e···must·be·a·strin
 000002f0:·6720·7769·7468·6f75·7420·6e75·6c6c·2062··g·without·null·b
 00000300:·7974·6573·273b·0a20·2020·2020·2020·2074··ytes';.········t
 00000310:·6872·6f77·204f·626a·6563·742e·6173·7369··hrow·Object.assi
 00000320:·676e·286e·6577·2054·7970·6545·7272·6f72··gn(new·TypeError
 00000330:·286d·7367·292c·207b·0a20·2020·2020·2020··(msg),·{.·······
 00000340:·2020·2020·2070·6174·682c·0a20·2020·2020·······path,.·····
 00000350:·2020·2020·2020·2063·6f64·653a·2027·4552·········code:·'ER
 00000360:·525f·494e·5641·4c49·445f·4152·475f·5641··R_INVALID_ARG_VA
 00000370:·4c55·4527·2c0a·2020·2020·2020·2020·7d29··LUE',.········})
 00000380:·3b0a·2020·2020·7d0a·2020·2020·7061·7468··;.····}.····path
 00000390:·203d·2072·6573·6f6c·7665·2870·6174·6829···=·resolve(path)
 000003a0:·3b0a·2020·2020·636f·6e73·7420·7b20·726f··;.····const·{·ro
 000003b0:·6f74·207d·203d·2070·6172·7365·2870·6174··ot·}·=·parse(pat
 000003c0:·6829·3b0a·2020·2020·6966·2028·7061·7468··h);.····if·(path
 000003d0:·203d·3d3d·2072·6f6f·7420·2626·206f·7074···===·root·&&·opt
 000003e0:·2e70·7265·7365·7276·6552·6f6f·7420·213d··.preserveRoot·!=
 000003f0:·3d20·6661·6c73·6529·207b·0a20·2020·2020··=·false)·{.·····
000002c0:·2020·2063·6f6e·7374·206d·7367·203d·2027·····const·msg·=·'00000400:·2020·2063·6f6e·7374·206d·7367·203d·2027·····const·msg·=·'
000002d0:·7061·7468·206d·7573·7420·6265·2061·2073··path·must·be·a·s 
000002e0:·7472·696e·6720·7769·7468·6f75·7420·6e75··tring·without·nu 
000002f0:·6c6c·2062·7974·6573·273b·0a20·2020·2020··ll·bytes';.·····00000410:·7265·6675·7369·6e67·2074·6f20·7265·6d6f··refusing·to·remo
 00000420:·7665·2072·6f6f·7420·6469·7265·6374·6f72··ve·root·director
 00000430:·7920·7769·7468·6f75·7420·7072·6573·6572··y·without·preser
 00000440:·7665·526f·6f74·3a66·616c·7365·273b·0a20··veRoot:false';.·
00000300:·2020·2074·6872·6f77·204f·626a·6563·742e·····throw·Object.00000450:·2020·2020·2020·2074·6872·6f77·204f·626a·········throw·Obj
00000310:·6173·7369·676e·286e·6577·2054·7970·6545··assign(new·TypeE00000460:·6563·742e·6173·7369·676e·286e·6577·2045··ect.assign(new·E
00000320:·7272·6f72·286d·7367·292c·207b·0a20·2020··rror(msg),·{.···00000470:·7272·6f72·286d·7367·292c·207b·0a20·2020··rror(msg),·{.···
00000330:·2020·2020·2020·2020·2070·6174·682c·0a20···········path,.·00000480:·2020·2020·2020·2020·2070·6174·682c·0a20···········path,.·
00000340:·2020·2020·2020·2020·2020·2063·6f64·653a·············code:00000490:·2020·2020·2020·2020·2020·2063·6f64·653a·············code:
00000350:·2027·4552·525f·494e·5641·4c49·445f·4152···'ERR_INVALID_AR 
00000360:·475f·5641·4c55·4527·2c0a·2020·2020·2020··G_VALUE',.······ 
00000370:·2020·7d29·3b0a·2020·2020·7d0a·2020·2020····});.····}.···· 
00000380:·7061·7468·203d·2072·6573·6f6c·7665·2870··path·=·resolve(p 
00000390:·6174·6829·3b0a·2020·2020·636f·6e73·7420··ath);.····const· 
000003a0:·7b20·726f·6f74·207d·203d·2070·6172·7365··{·root·}·=·parse 
000003b0:·2870·6174·6829·3b0a·2020·2020·6966·2028··(path);.····if·( 
000003c0:·7061·7468·203d·3d3d·2072·6f6f·7420·2626··path·===·root·&& 
000003d0:·206f·7074·2e70·7265·7365·7276·6552·6f6f···opt.preserveRoo 
000003e0:·7420·213d·3d20·6661·6c73·6529·207b·0a20··t·!==·false)·{.· 
000003f0:·2020·2020·2020·2063·6f6e·7374·206d·7367·········const·msg 
00000400:·203d·2027·7265·6675·7369·6e67·2074·6f20···=·'refusing·to· 
00000410:·7265·6d6f·7665·2072·6f6f·7420·6469·7265··remove·root·dire 
00000420:·6374·6f72·7920·7769·7468·6f75·7420·7072··ctory·without·pr 
00000430:·6573·6572·7665·526f·6f74·3a66·616c·7365··eserveRoot:false 
00000440:·273b·0a20·2020·2020·2020·2074·6872·6f77··';.········throw 
00000450:·204f·626a·6563·742e·6173·7369·676e·286e···Object.assign(n 
00000460:·6577·2045·7272·6f72·286d·7367·292c·207b··ew·Error(msg),·{ 
00000470:·0a20·2020·2020·2020·2020·2020·2070·6174··.············pat 
00000480:·682c·0a20·2020·2020·2020·2020·2020·2063··h,.············c 
00000490:·6f64·653a·2027·4552·525f·5052·4553·4552··ode:·'ERR_PRESER000004a0:·2027·4552·525f·5052·4553·4552·5645·5f52···'ERR_PRESERVE_R
000004a0:·5645·5f52·4f4f·5427·2c0a·2020·2020·2020··VE_ROOT',.······000004b0:·4f4f·5427·2c0a·2020·2020·2020·2020·7d29··OOT',.········})
000004b0:·2020·7d29·3b0a·2020·2020·7d0a·2020·2020····});.····}.····000004c0:·3b0a·2020·2020·7d0a·2020·2020·6966·2028··;.····}.····if·(
000004c0:·6966·2028·7072·6f63·6573·732e·706c·6174··if·(process.plat000004d0:·7072·6f63·6573·732e·706c·6174·666f·726d··process.platform
000004d0:·666f·726d·203d·3d3d·2027·7769·6e33·3227··form·===·'win32'000004e0:·203d·3d3d·2027·7769·6e33·3227·2920·7b0a···===·'win32')·{.
000004e0:·2920·7b0a·2020·2020·2020·2020·636f·6e73··)·{.········cons000004f0:·2020·2020·2020·2020·636f·6e73·7420·6261··········const·ba
000004f0:·7420·6261·6457·696e·4368·6172·7320·3d20··t·badWinChars·=·00000500:·6457·696e·4368·6172·7320·3d20·2f5b·2a7c··dWinChars·=·/[*|
00000500:·2f5b·2a7c·223c·3e3f·3a5d·2f3b·0a20·2020··/[*|"<>?:]/;.···00000510:·223c·3e3f·3a5d·2f3b·0a20·2020·2020·2020··"<>?:]/;.·······
00000510:·2020·2020·2063·6f6e·7374·207b·2072·6f6f·······const·{·roo00000520:·2063·6f6e·7374·207b·2072·6f6f·7420·7d20···const·{·root·}·
00000520:·7420·7d20·3d20·7061·7273·6528·7061·7468··t·}·=·parse(path00000530:·3d20·7061·7273·6528·7061·7468·293b·0a20··=·parse(path);.·
00000530:·293b·0a20·2020·2020·2020·2069·6620·2862··);.········if·(b00000540:·2020·2020·2020·2069·6620·2862·6164·5769·········if·(badWi
00000540:·6164·5769·6e43·6861·7273·2e74·6573·7428··adWinChars.test(00000550:·6e43·6861·7273·2e74·6573·7428·7061·7468··nChars.test(path
00000550:·7061·7468·2e73·7562·7374·7269·6e67·2872··path.substring(r00000560:·2e73·7562·7374·7269·6e67·2872·6f6f·742e··.substring(root.
00000560:·6f6f·742e·6c65·6e67·7468·2929·2920·7b0a··oot.length)))·{.00000570:·6c65·6e67·7468·2929·2920·7b0a·2020·2020··length)))·{.····
00000570:·2020·2020·2020·2020·2020·2020·7468·726f··············thro00000580:·2020·2020·2020·2020·7468·726f·7720·4f62··········throw·Ob
00000580:·7720·4f62·6a65·6374·2e61·7373·6967·6e28··w·Object.assign(00000590:·6a65·6374·2e61·7373·6967·6e28·6e65·7720··ject.assign(new·
00000590:·6e65·7720·4572·726f·7228·2749·6c6c·6567··new·Error('Illeg000005a0:·4572·726f·7228·2749·6c6c·6567·616c·2063··Error('Illegal·c
000005a0:·616c·2063·6861·7261·6374·6572·7320·696e··al·characters·in000005b0:·6861·7261·6374·6572·7320·696e·2070·6174··haracters·in·pat
000005b0:·2070·6174·682e·2729·2c20·7b0a·2020·2020···path.'),·{.····000005c0:·682e·2729·2c20·7b0a·2020·2020·2020·2020··h.'),·{.········
000005c0:·2020·2020·2020·2020·2020·2020·7061·7468··············path000005d0:·2020·2020·2020·2020·7061·7468·2c0a·2020··········path,.··
000005d0:·2c0a·2020·2020·2020·2020·2020·2020·2020··,.··············000005e0:·2020·2020·2020·2020·2020·2020·2020·636f················co
000005e0:·2020·636f·6465·3a20·2745·494e·5641·4c27····code:·'EINVAL'000005f0:·6465·3a20·2745·494e·5641·4c27·2c0a·2020··de:·'EINVAL',.··
000005f0:·2c0a·2020·2020·2020·2020·2020·2020·7d29··,.············}) 
00000600:·3b0a·2020·2020·2020·2020·7d0a·2020·2020··;.········}.····00000600:·2020·2020·2020·2020·2020·7d29·3b0a·2020············});.··
 00000610:·2020·2020·2020·7d0a·2020·2020·7d0a·2020········}.····}.··
Max diff block lines reached; -1/10699 bytes (-0.01%) of diff not shown.
6.61 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/path-arg.js.map
6.48 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"path-arg.js",2 ····"file":·"path-arg.js",
3 ····"mappings":·"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAG9B,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,MAA0B,EAAE,EAAE,EAAE;IAC7D,MAAM,IAAI,GAAG,OAAO,IAAI,CAAA;IACxB,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;QACtB,MAAM,IAAI,GAAG,IAAI,IAAI,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAA;QAC1D,MAAM,QAAQ,GACZ,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAkB,IAAI,CAAC,IAAI,EAAE;YACjD,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;gBACnC,CAAC,CAAC,QAAQ,IAAI,IAAI,IAAI,EAAE,CAAA;QAC1B,MAAM,GAAG,GACP,8CAA8C,GAAG,YAAY,QAAQ,EAAE,CAAA;QACzE,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,SAAS,CAAC,GAAG,CAAC,EAAE;YACtC,IAAI;YACJ,IAAI,EAAE,sBAAsB;SAC7B,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,yCAAyC;QACzC,MAAM,GAAG,GAAG,0CAA0C,CAAA;QACtD,MAAM,MAA[·...·truncated·by·diffoscope;·len:·305,·SHA:·4405ee5c3038d2328671ad8c7a756351917d56a2ad9f99a786dd9a86888b3432·...·]E,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE;YAClC,IAAI;YACJ,IAAI,EAAE,mBAAmB;SAC1B,CAA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AC,EAAE;YACtC,IAAI;YACJ,IAAI,EAAE,sBAAsB;SAC7B,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,yCAAyC;QACzC,MAAM,GAAG,GAAG,0CAA0C,CAAA;QACtD,MAAM,MA[·...·truncated·by·diffoscope;·len:·306,·SHA:·08ebe5f174e7c1377fc7fa6d57663d2abe77cd5f6135cfaef151c69d68cf008c·...·]E,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE;YAClC,IAAI;YACJ,IAAI,EAAE,mBAAmB;SAC1B,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjC,MAAM,WAAW,GAAG,WAAW,CAAA;QAC/B,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA;QAC5B,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;YAClD,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,6BAA6B,CAAC,EAAE;gBAC5D,IAAI;gBACJ,IAAI,EAAE,QAAQ;aACf,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,eAAe,OAAO,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/path-arg.ts"7 ········"../../src/path-arg.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"import·{·parse,·resolve·}·from·'path'\nimport·{·inspect·}·from·'util'\nimport·{·RimrafAsyncOptions·}·from·'./index.js'\n\nconst·pathArg·=·(path:·string,·opt:·RimrafAsyncOptions·=·{})·=>·{\n··const·type·=·typeof·path\n··if·(type·!==·'string')·{\n····const·ctor·=·path·&&·type·===·'object'·&&·path.constructor\n····const·received·=\n······ctor·&&·ctor.name·?·`an·instance·of·${ctor.name}`\n······:·type·===·'object'·?·inspect(path)\n······:·`type·${type}·${path}`\n····const·msg·=\n······'The·\"path\"·argument·must·be·of·type·string.·'·+·`Received·${received}`\n····throw·Object.assign(new·TypeError(msg),·{\n······path,\n······code:·'ERR_INVALID_ARG_TYPE',\n····})\n··}\n\n··if·(/\\0/.test(path))·{\n····//·simulate·same·failure·that·node·raises\n····const·msg·=·'path·must·be·a·string·withou[·...·truncated·by·diffoscope;·len:·255,·SHA:·c3a8c0d2f5e253a6408f25b5ef1dcfb3f4c8c59d49fb111cae92fbe084774ba0·...·]·'refusing·to·remove·root·directory·without·preserveRoot:false'\n····throw·Object.assign(new·Error(msg),·{\n······path,\n······code:·'ERR_PRESERVE_ROOT',\n····})\n··}\n\n··if·(process.platform·===·'win32')·{\n····const·badWinChars·=·/[*|\"<>?:]/\n····const·{·root·}·=·parse(path)\n····if·(badWinChars.test(path.substring(root.length)))·{\n······throw·Object.assign(new·Error('Illegal·characters·in·path.'),·{\n········path,\n········code:·'EINVAL',\n······})\n····}\n··}\n\n··return·path\n}\n\nexport·default·pathArg\n"10 ········"import·{·parse,·resolve·}·from·'path'\nimport·{·inspect·}·from·'util'\nimport·{·RimrafAsyncOptions·}·from·'./index.js'\n\nconst·pathArg·=·(path:·string,·opt:·RimrafAsyncOptions·=·{})·=>·{\n··const·type·=·typeof·path\n··if·(type·!==·'string')·{\n····const·ctor·=·path·&&·type·===·'object'·&&·path.constructor\n····const·received·=\n······ctor·&&·ctor.name·?·`an·instance·of·${ctor.name}`\n······:·type·===·'object'·?·inspect(path)\n······:·`type·${type}·${path}`\n····const·msg·=\n······'The·\"path\"·argument·must·be·of·type·string.·'·+\n······`Received·${received}`\n····throw·Object.assign(new·TypeError(msg),·{\n······path,\n······code:·'ERR_INVALID_ARG_TYPE',\n····})\n··}\n\n··if·(/\\0/.test(path))·{\n····//·simulate·same·failure·that·node·raises\n····const·msg·=·'path·must·be·a·string[·...·truncated·by·diffoscope;·len:·269,·SHA:·84d994ec1ece67ea55e9ae7a678eb60badbf5e933f9387bbd3e1de172b5bda53·...·]·'refusing·to·remove·root·directory·without·preserveRoot:false'\n····throw·Object.assign(new·Error(msg),·{\n······path,\n······code:·'ERR_PRESERVE_ROOT',\n····})\n··}\n\n··if·(process.platform·===·'win32')·{\n····const·badWinChars·=·/[*|\"<>?:]/\n····const·{·root·}·=·parse(path)\n····if·(badWinChars.test(path.substring(root.length)))·{\n······throw·Object.assign(new·Error('Illegal·characters·in·path.'),·{\n········path,\n········code:·'EINVAL',\n······})\n····}\n··}\n\n··return·path\n}\n\nexport·default·pathArg\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
624 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/readdir-or-error.d.ts
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 export·declare·const·readdirOrError:·(path:·string)·=>·Promise<import("fs").Dirent<string>[]·|·Error>;1 export·declare·const·readdirOrError:·(path:·string)·=>·Promise<import("node:fs").Dirent<string>[]·|·Error>;
2 export·declare·const·readdirOrErrorSync:·(path:·string)·=>·import("fs").Dirent<string>[]·|·Error;2 export·declare·const·readdirOrErrorSync:·(path:·string)·=>·import("node:fs").Dirent<string>[]·|·Error;
3 //#·sourceMappingURL=readdir-or-error.d.ts.map3 //#·sourceMappingURL=readdir-or-error.d.ts.map
600 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map
448 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"readdir-or-error.d.ts",2 ····"file":·"readdir-or-error.d.ts",
3 ····"mappings":·"AAKA,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,mDACH,CAAA;AACxC,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,0CAM9C,CAAA",3 ····"mappings":·"AAKA,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,wDACH,CAAA;AACxC,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,+CAM9C,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/readdir-or-error.ts"7 ········"../../src/readdir-or-error.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
795 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map
639 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"rimraf-move-remove.d.ts",2 ····"file":·"rimraf-move-remove.d.ts",
3 ····"mappings":·"AAkBA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAYlE,eAAO,MAAM,gBAAgB,GAC3B,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AA0ED,eAAO,MAAM,oBAAoB,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAOxE,CAAA",3 ····"mappings":·"AAwBA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAalE,eAAO,MAAM,gBAAgB,GAC3B,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AA0ED,eAAO,MAAM,oBAAoB,GAC/B,MAAM,MAAM,EACZ,KAAK,iBAAiB,YAQvB,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-move-remove.ts"7 ········"../../src/rimraf-move-remove.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
39.0 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-move-remove.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 35, 291 lines modifiedOffset 35, 291 lines modified
00000220:·6e6f·7265·454e·4f45·4e54·2c20·6967·6e6f··noreENOENT,·igno00000220:·6e6f·7265·454e·4f45·4e54·2c20·6967·6e6f··noreENOENT,·igno
00000230:·7265·454e·4f45·4e54·5379·6e63·207d·2066··reENOENTSync·}·f00000230:·7265·454e·4f45·4e54·5379·6e63·207d·2066··reENOENTSync·}·f
00000240:·726f·6d20·272e·2f69·676e·6f72·652d·656e··rom·'./ignore-en00000240:·726f·6d20·272e·2f69·676e·6f72·652d·656e··rom·'./ignore-en
00000250:·6f65·6e74·2e6a·7327·3b0a·696d·706f·7274··oent.js';.import00000250:·6f65·6e74·2e6a·7327·3b0a·696d·706f·7274··oent.js';.import
00000260:·207b·206c·7374·6174·5379·6e63·2c20·7072···{·lstatSync,·pr00000260:·207b·206c·7374·6174·5379·6e63·2c20·7072···{·lstatSync,·pr
00000270:·6f6d·6973·6573·2c20·7265·6e61·6d65·5379··omises,·renameSy00000270:·6f6d·6973·6573·2c20·7265·6e61·6d65·5379··omises,·renameSy
00000280:·6e63·2c20·726d·6469·7253·796e·632c·2075··nc,·rmdirSync,·u00000280:·6e63·2c20·726d·6469·7253·796e·632c·2075··nc,·rmdirSync,·u
00000290:·6e6c·696e·6b53·796e·6320·7d20·6672·6f6d··nlinkSync·}·from00000290:·6e6c·696e·6b53·796e·632c·207d·2066·726f··nlinkSync,·}·fro
000002a0:·2027·2e2f·6673·2e6a·7327·3b0a·696d·706f···'./fs.js';.impo 
000002b0:·7274·207b·2072·6561·6464·6972·4f72·4572··rt·{·readdirOrEr 
000002c0:·726f·722c·2072·6561·6464·6972·4f72·4572··ror,·readdirOrEr 
000002d0:·726f·7253·796e·6320·7d20·6672·6f6d·2027··rorSync·}·from·'000002a0:·6d20·272e·2f66·732e·6a73·273b·0a69·6d70··m·'./fs.js';.imp
 000002b0:·6f72·7420·7b20·7265·6164·6469·724f·7245··ort·{·readdirOrE
 000002c0:·7272·6f72·2c20·7265·6164·6469·724f·7245··rror,·readdirOrE
 000002d0:·7272·6f72·5379·6e63·207d·2066·726f·6d20··rrorSync·}·from·
000002e0:·2e2f·7265·6164·6469·722d·6f72·2d65·7272··./readdir-or-err000002e0:·272e·2f72·6561·6464·6972·2d6f·722d·6572··'./readdir-or-er
000002f0:·6f72·2e6a·7327·3b0a·696d·706f·7274·207b··or.js';.import·{ 
00000300:·2066·6978·4550·4552·4d2c·2066·6978·4550···fixEPERM,·fixEP 
00000310:·4552·4d53·796e·6320·7d20·6672·6f6d·2027··ERMSync·}·from·' 
00000320:·2e2f·6669·782d·6570·6572·6d2e·6a73·273b··./fix-eperm.js'; 
00000330:·0a69·6d70·6f72·7420·7b20·6572·726f·7243··.import·{·errorC 
00000340:·6f64·6520·7d20·6672·6f6d·2027·2e2f·6572··ode·}·from·'./er 
00000350:·726f·722e·6a73·273b·0a63·6f6e·7374·207b··ror.js';.const·{000002f0:·726f·722e·6a73·273b·0a69·6d70·6f72·7420··ror.js';.import·
00000360:·206c·7374·6174·2c20·7265·6e61·6d65·2c20···lstat,·rename,· 
00000370:·756e·6c69·6e6b·2c20·726d·6469·7220·7d20··unlink,·rmdir·}·00000300:·7b20·6669·7845·5045·524d·2c20·6669·7845··{·fixEPERM,·fixE
 00000310:·5045·524d·5379·6e63·207d·2066·726f·6d20··PERMSync·}·from·
 00000320:·272e·2f66·6978·2d65·7065·726d·2e6a·7327··'./fix-eperm.js'
 00000330:·3b0a·696d·706f·7274·207b·2065·7272·6f72··;.import·{·error
 00000340:·436f·6465·207d·2066·726f·6d20·272e·2f65··Code·}·from·'./e
 00000350:·7272·6f72·2e6a·7327·3b0a·636f·6e73·7420··rror.js';.const·
 00000360:·7b20·6c73·7461·742c·2072·656e·616d·652c··{·lstat,·rename,
 00000370:·2075·6e6c·696e·6b2c·2072·6d64·6972·207d···unlink,·rmdir·}
00000380:·3d20·7072·6f6d·6973·6573·3b0a·2f2f·2063··=·promises;.//·c00000380:·203d·2070·726f·6d69·7365·733b·0a2f·2f20···=·promises;.//·
00000390:·7279·7074·6f2e·7261·6e64·6f6d·4279·7465··rypto.randomByte 
000003a0:·7320·6973·206d·7563·6820·736c·6f77·6572··s·is·much·slower 
000003b0:·2c20·616e·6420·4d61·7468·2e72·616e·646f··,·and·Math.rando 
000003c0:·6d28·2920·6973·2065·6e6f·7567·6820·6865··m()·is·enough·he 
000003d0:·7265·0a63·6f6e·7374·2075·6e69·7175·6546··re.const·uniqueF00000390:·6372·7970·746f·2e72·616e·646f·6d42·7974··crypto.randomByt
 000003a0:·6573·2069·7320·6d75·6368·2073·6c6f·7765··es·is·much·slowe
 000003b0:·722c·2061·6e64·204d·6174·682e·7261·6e64··r,·and·Math.rand
 000003c0:·6f6d·2829·2069·7320·656e·6f75·6768·2068··om()·is·enough·h
 000003d0:·6572·650a·636f·6e73·7420·756e·6971·7565··ere.const·unique
000003e0:·696c·656e·616d·6520·3d20·2870·6174·6829··ilename·=·(path)000003e0:·4669·6c65·6e61·6d65·203d·2028·7061·7468··Filename·=·(path
000003f0:·203d·3e20·602e·247b·6261·7365·6e61·6d65···=>·`.${basename 
00000400:·2870·6174·6829·7d2e·247b·4d61·7468·2e72··(path)}.${Math.r 
00000410:·616e·646f·6d28·297d·603b·0a63·6f6e·7374··andom()}`;.const000003f0:·2920·3d3e·2060·2e24·7b62·6173·656e·616d··)·=>·`.${basenam
 00000400:·6528·7061·7468·297d·2e24·7b4d·6174·682e··e(path)}.${Math.
 00000410:·7261·6e64·6f6d·2829·7d60·3b0a·636f·6e73··random()}`;.cons
00000420:·2075·6e6c·696e·6b46·6978·4550·4552·4d20···unlinkFixEPERM·00000420:·7420·756e·6c69·6e6b·4669·7845·5045·524d··t·unlinkFixEPERM
00000430:·3d20·6669·7845·5045·524d·2875·6e6c·696e··=·fixEPERM(unlin 
00000440:·6b29·3b0a·636f·6e73·7420·756e·6c69·6e6b··k);.const·unlink00000430:·203d·2066·6978·4550·4552·4d28·756e·6c69···=·fixEPERM(unli
 00000440:·6e6b·293b·0a63·6f6e·7374·2075·6e6c·696e··nk);.const·unlin
 00000450:·6b46·6978·4550·4552·4d53·796e·6320·3d20··kFixEPERMSync·=·
00000450:·4669·7845·5045·524d·5379·6e63·203d·2066··FixEPERMSync·=·f00000460:·6669·7845·5045·524d·5379·6e63·2875·6e6c··fixEPERMSync(unl
00000460:·6978·4550·4552·4d53·796e·6328·756e·6c69··ixEPERMSync(unli 
00000470:·6e6b·5379·6e63·293b·0a65·7870·6f72·7420··nkSync);.export·00000470:·696e·6b53·796e·6329·3b0a·6578·706f·7274··inkSync);.export
00000480:·636f·6e73·7420·7269·6d72·6166·4d6f·7665··const·rimrafMove 
00000490:·5265·6d6f·7665·203d·2061·7379·6e63·2028··Remove·=·async·( 
000004a0:·7061·7468·2c20·6f70·7429·203d·3e20·7b0a··path,·opt)·=>·{. 
000004b0:·2020·2020·6f70·743f·2e73·6967·6e61·6c3f······opt?.signal? 
000004c0:·2e74·6872·6f77·4966·4162·6f72·7465·6428··.throwIfAborted( 
000004d0:·293b·0a20·2020·2072·6574·7572·6e20·2828··);.····return·(( 
000004e0:·6177·6169·7420·6967·6e6f·7265·454e·4f45··await·ignoreENOE 
000004f0:·4e54·286c·7374·6174·2870·6174·6829·2e74··NT(lstat(path).t 
00000500:·6865·6e28·7374·6174·203d·3e20·7269·6d72··hen(stat·=>·rimr 
00000510:·6166·4d6f·7665·5265·6d6f·7665·4469·7228··afMoveRemoveDir( 
00000520:·7061·7468·2c20·6f70·742c·2073·7461·7429··path,·opt,·stat) 
00000530:·2929·2920·3f3f·2074·7275·6529·3b0a·7d3b··)))·??·true);.}; 
00000540:·0a63·6f6e·7374·2072·696d·7261·664d·6f76··.const·rimrafMov00000480:·2063·6f6e·7374·2072·696d·7261·664d·6f76···const·rimrafMov
 00000490:·6552·656d·6f76·6520·3d20·6173·796e·6320··eRemove·=·async·
 000004a0:·2870·6174·682c·206f·7074·2920·3d3e·207b··(path,·opt)·=>·{
 000004b0:·0a20·2020·206f·7074·3f2e·7369·676e·616c··.····opt?.signal
 000004c0:·3f2e·7468·726f·7749·6641·626f·7274·6564··?.throwIfAborted
00000550:·6552·656d·6f76·6544·6972·203d·2061·7379··eRemoveDir·=·asy 
00000560:·6e63·2028·7061·7468·2c20·6f70·742c·2065··nc·(path,·opt,·e 
00000570:·6e74·2920·3d3e·207b·0a20·2020·206f·7074··nt)·=>·{.····opt 
00000580:·3f2e·7369·676e·616c·3f2e·7468·726f·7749··?.signal?.throwI 
00000590:·6641·626f·7274·6564·2829·3b0a·2020·2020··fAborted();.···· 
000005a0:·6966·2028·216f·7074·2e74·6d70·2920·7b0a··if·(!opt.tmp)·{. 
000005b0:·2020·2020·2020·2020·7265·7475·726e·2072··········return·r000004d0:·2829·3b0a·2020·2020·7265·7475·726e·2028··();.····return·(
 000004e0:·2861·7761·6974·2069·676e·6f72·6545·4e4f··(await·ignoreENO
 000004f0:·454e·5428·6c73·7461·7428·7061·7468·292e··ENT(lstat(path).
 00000500:·7468·656e·2873·7461·7420·3d3e·2072·696d··then(stat·=>·rim
000005c0:·696d·7261·664d·6f76·6552·656d·6f76·6544··imrafMoveRemoveD00000510:·7261·664d·6f76·6552·656d·6f76·6544·6972··rafMoveRemoveDir
000005d0:·6972·2870·6174·682c·207b·202e·2e2e·6f70··ir(path,·{·...op 
000005e0:·742c·2074·6d70·3a20·6177·6169·7420·6465··t,·tmp:·await·de 
000005f0:·6661·756c·7454·6d70·2870·6174·6829·207d··faultTmp(path)·}00000520:·2870·6174·682c·206f·7074·2c20·7374·6174··(path,·opt,·stat
 00000530:·2929·2929·203f·3f20·7472·7565·293b·0a7d··))))·??·true);.}
 00000540:·3b0a·636f·6e73·7420·7269·6d72·6166·4d6f··;.const·rimrafMo
 00000550:·7665·5265·6d6f·7665·4469·7220·3d20·6173··veRemoveDir·=·as
 00000560:·796e·6320·2870·6174·682c·206f·7074·2c20··ync·(path,·opt,·
 00000570:·656e·7429·203d·3e20·7b0a·2020·2020·6f70··ent)·=>·{.····op
 00000580:·743f·2e73·6967·6e61·6c3f·2e74·6872·6f77··t?.signal?.throw
 00000590:·4966·4162·6f72·7465·6428·293b·0a20·2020··IfAborted();.···
 000005a0:·2069·6620·2821·6f70·742e·746d·7029·207b···if·(!opt.tmp)·{
 000005b0:·0a20·2020·2020·2020·2072·6574·7572·6e20··.········return·
 000005c0:·7269·6d72·6166·4d6f·7665·5265·6d6f·7665··rimrafMoveRemove
 000005d0:·4469·7228·7061·7468·2c20·7b20·2e2e·2e6f··Dir(path,·{·...o
 000005e0:·7074·2c20·746d·703a·2061·7761·6974·2064··pt,·tmp:·await·d
Max diff block lines reached; -1/39692 bytes (-0.00%) of diff not shown.
21.7 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map
21.6 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"rimraf-move-remove.js",2 ····"file":·"rimraf-move-remove.js",
3 ····"mappings":·"AAAA,qCAAqC;AACrC,EAAE;AACF,aAAa;AACb,oBAAoB;AACpB,yCAAyC;AACzC,uEAAuE;AACvE,0BAA0B;AAC1B,EAAE;AACF,uEAAuE;AACvE,kDAAkD;AAClD,EAAE;AACF,0EAA0E;AAE1E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGhF,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE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AA;IACb,CAAC;IAED,IAAI,UAAU,GAAG,IAAI,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;QAC1B,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;QACjC,UAAU,GAAG,uBAAuB,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,IAAI,UAAU,CAAA;IACjE,CAAC;IACD,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,KAAK,CAAA;IACd,CAAC;IACD,IAAI,GAAG,CAAC,YAAY,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAA;IACd,CAAC;IACD,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC;QACzC,OAAO,KAAK,CAAA;IACd,CAAC;IACD,gBAAgB,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC,CAAA;IAC3D,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CACpB,IAAY,EACZ,GAAW,EACX,MAA2B,EAC3B,EAAE;IACF,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;IAClD,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACzB,OAAO,MAAM,CAAC,OAAO,CAAC,CAAA;AACxB,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-move-remove.ts"7 ········"../../src/rimraf-move-remove.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·https://youtu.be/uhRWMGBjlO8?t=537\n//\n//·1.·readdir\n//·2.·for·each·entry\n//···a.·if·a·non-empty·directory,·recurse\n//···b.·if·an·empty·directory,·move·to·random·hidden·file·name·in·$TEMP\n//···c.·unlink/rmdir·$TEMP\n//\n//·This·works·around·the·fact·that·unlink/rmdir·is·non-atomic·and·takes\n//·a·non-deterministic·amount·of·time·to·complete.\n//\n//·However,·it·is·HELLA·SLOW,·like·2-10x·slower·than·a·naive·recursive·rm.\n\nimport·{·basename,·parse,·resolve·}·from·'path'\nimport·{·defaultTmp,·defaultTmpSync·}·from·'./default-tmp.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·lstatSync,·promises,·renameSync,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nim[·...·truncated·by·diffoscope;·len:·2703,·SHA:·123fbbe45ba340cdeec47d7657c8ce3b151a00b2a74eec98edb89702c90b05a4·...·])·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····ignoreENOENTSync(()·=>\n······rimrafMoveRemoveDirSync(path,·opt,·lstatSync(path)),\n····)·??·true\n··)\n}\n\nconst·rimrafMoveRemoveDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··if·(!opt.tmp)·{\n····return·rimrafMoveRemoveDirSync(\n······path,\n······{·...opt,·tmp:·defaultTmpSync(path)·},\n······ent,\n····)\n··}\n··const·tmp:·string·=·opt.tmp\n\n··if·(path·===·opt.tmp·&&·parse(path).root·!==·path)·{\n····throw·new·Error('cannot·delete·temp·directory·used·for·deletion')\n··}\n\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·unlinkFixEPERMSync))\n····return·true\n··}\n\n··let·removedAll·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafMoveRemoveDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(!removedAll)·{\n····return·false\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n··ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·rmdirSync))\n··return·true\n}\n\nconst·tmpUnlinkSync·=·(\n··path:·string,\n··tmp:·string,\n··rmSync:·(p:·string)·=>·void,\n)·=>·{\n··const·tmpFile·=·resolve(tmp,·uniqueFilename(path))\n··renameSync(path,·tmpFile)\n··return·rmSync(tmpFile)\n}\n"10 ········"//·https://youtu.be/uhRWMGBjlO8?t=537\n//\n//·1.·readdir\n//·2.·for·each·entry\n//···a.·if·a·non-empty·directory,·recurse\n//···b.·if·an·empty·directory,·move·to·random·hidden·file·name·in·$TEMP\n//···c.·unlink/rmdir·$TEMP\n//\n//·This·works·around·the·fact·that·unlink/rmdir·is·non-atomic·and·takes\n//·a·non-deterministic·amount·of·time·to·complete.\n//\n//·However,·it·is·HELLA·SLOW,·like·2-10x·slower·than·a·naive·recursive·rm.\n\nimport·{·basename,·parse,·resolve·}·from·'path'\nimport·{·defaultTmp,·defaultTmpSync·}·from·'./default-tmp.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{\n··lstatSync,\n··promises,\n··renameSync,\n··rmdirSync,\n··unlinkSync,\n}·from·'./fs.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir[·...·truncated·by·diffoscope;·len:·2733,·SHA:·76e40160dfbd8f4b4bb0d59c0ad23c1c2e580d1d0fa7a6aa0e431508117939de·...·])·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····ignoreENOENTSync(()·=>\n······rimrafMoveRemoveDirSync(path,·opt,·lstatSync(path)),\n····)·??·true\n··)\n}\n\nconst·rimrafMoveRemoveDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··if·(!opt.tmp)·{\n····return·rimrafMoveRemoveDirSync(\n······path,\n······{·...opt,·tmp:·defaultTmpSync(path)·},\n······ent,\n····)\n··}\n··const·tmp:·string·=·opt.tmp\n\n··if·(path·===·opt.tmp·&&·parse(path).root·!==·path)·{\n····throw·new·Error('cannot·delete·temp·directory·used·for·deletion')\n··}\n\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·unlinkFixEPERMSync))\n····return·true\n··}\n\n··let·removedAll·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafMoveRemoveDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(!removedAll)·{\n····return·false\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n··ignoreENOENTSync(()·=>·tmpUnlinkSync(path,·tmp,·rmdirSync))\n··return·true\n}\n\nconst·tmpUnlinkSync·=·(\n··path:·string,\n··tmp:·string,\n··rmSync:·(p:·string)·=>·void,\n)·=>·{\n··const·tmpFile·=·resolve(tmp,·uniqueFilename(path))\n··renameSync(path,·tmpFile)\n··return·rmSync(tmpFile)\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
757 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map
613 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"rimraf-posix.d.ts",2 ····"file":·"rimraf-posix.d.ts",
3 ····"mappings":·"AAUA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAKlE,eAAO,MAAM,WAAW,GAAU,MAAM,MAAM,EAAE,KAAK,kBAAkB,qBAOtE,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAMnE,CAAA",3 ····"mappings":·"AAUA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAKlE,eAAO,MAAM,WAAW,GACtB,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAOnE,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-posix.ts"7 ········"../../src/rimraf-posix.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
23.5 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-posix.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 55, 177 lines modifiedOffset 55, 176 lines modified
00000360:·7b0a·2020·2020·6f70·743f·2e73·6967·6e61··{.····opt?.signa00000360:·7b0a·2020·2020·6f70·743f·2e73·6967·6e61··{.····opt?.signa
00000370:·6c3f·2e74·6872·6f77·4966·4162·6f72·7465··l?.throwIfAborte00000370:·6c3f·2e74·6872·6f77·4966·4162·6f72·7465··l?.throwIfAborte
00000380:·6428·293b·0a20·2020·2072·6574·7572·6e20··d();.····return·00000380:·6428·293b·0a20·2020·2072·6574·7572·6e20··d();.····return·
00000390:·2869·676e·6f72·6545·4e4f·454e·5453·796e··(ignoreENOENTSyn00000390:·2869·676e·6f72·6545·4e4f·454e·5453·796e··(ignoreENOENTSyn
000003a0:·6328·2829·203d·3e20·7269·6d72·6166·506f··c(()·=>·rimrafPo000003a0:·6328·2829·203d·3e20·7269·6d72·6166·506f··c(()·=>·rimrafPo
000003b0:·7369·7844·6972·5379·6e63·2870·6174·682c··sixDirSync(path,000003b0:·7369·7844·6972·5379·6e63·2870·6174·682c··sixDirSync(path,
000003c0:·206f·7074·2c20·6c73·7461·7453·796e·6328···opt,·lstatSync(000003c0:·206f·7074·2c20·6c73·7461·7453·796e·6328···opt,·lstatSync(
000003d0:·7061·7468·2929·2920·3f3f·0a20·2020·2020··path)))·??.·····000003d0:·7061·7468·2929·2920·3f3f·2074·7275·6529··path)))·??·true)
000003e0:·2020·2074·7275·6529·3b0a·7d3b·0a63·6f6e·····true);.};.con 
000003f0:·7374·2072·696d·7261·6650·6f73·6978·4469··st·rimrafPosixDi 
00000400:·7220·3d20·6173·796e·6320·2870·6174·682c··r·=·async·(path, 
00000410:·206f·7074·2c20·656e·7429·203d·3e20·7b0a···opt,·ent)·=>·{. 
00000420:·2020·2020·6f70·743f·2e73·6967·6e61·6c3f······opt?.signal? 
00000430:·2e74·6872·6f77·4966·4162·6f72·7465·6428··.throwIfAborted( 
00000440:·293b·0a20·2020·2063·6f6e·7374·2065·6e74··);.····const·ent 
00000450:·7269·6573·203d·2065·6e74·2e69·7344·6972··ries·=·ent.isDir 
00000460:·6563·746f·7279·2829·203f·2061·7761·6974··ectory()·?·await 
00000470:·2072·6561·6464·6972·4f72·4572·726f·7228···readdirOrError( 
00000480:·7061·7468·2920·3a20·6e75·6c6c·3b0a·2020··path)·:·null;.·· 
00000490:·2020·6966·2028·2141·7272·6179·2e69·7341····if·(!Array.isA 
000004a0:·7272·6179·2865·6e74·7269·6573·2929·207b··rray(entries))·{000003e0:·3b0a·7d3b·0a63·6f6e·7374·2072·696d·7261··;.};.const·rimra
 000003f0:·6650·6f73·6978·4469·7220·3d20·6173·796e··fPosixDir·=·asyn
 00000400:·6320·2870·6174·682c·206f·7074·2c20·656e··c·(path,·opt,·en
 00000410:·7429·203d·3e20·7b0a·2020·2020·6f70·743f··t)·=>·{.····opt?
 00000420:·2e73·6967·6e61·6c3f·2e74·6872·6f77·4966··.signal?.throwIf
 00000430:·4162·6f72·7465·6428·293b·0a20·2020·2063··Aborted();.····c
 00000440:·6f6e·7374·2065·6e74·7269·6573·203d·2065··onst·entries·=·e
 00000450:·6e74·2e69·7344·6972·6563·746f·7279·2829··nt.isDirectory()
 00000460:·203f·2061·7761·6974·2072·6561·6464·6972···?·await·readdir
 00000470:·4f72·4572·726f·7228·7061·7468·2920·3a20··OrError(path)·:·
 00000480:·6e75·6c6c·3b0a·2020·2020·6966·2028·2141··null;.····if·(!A
 00000490:·7272·6179·2e69·7341·7272·6179·2865·6e74··rray.isArray(ent
 000004a0:·7269·6573·2929·207b·0a20·2020·2020·2020··ries))·{.·······
 000004b0:·202f·2f20·7468·6973·2063·616e·206f·6e6c···//·this·can·onl
 000004c0:·7920·6861·7070·656e·2069·6620·6c73·7461··y·happen·if·lsta
 000004d0:·742f·7265·6164·6469·7220·6c69·6564·2c20··t/readdir·lied,·
 000004e0:·6f72·2069·6620·7468·6520·6469·7220·7761··or·if·the·dir·wa
000004b0:·0a20·2020·2020·2020·202f·2f20·7468·6973··.········//·this000004f0:·730a·2020·2020·2020·2020·2f2f·2073·7761··s.········//·swa
 00000500:·7070·6564·206f·7574·2077·6974·6820·6120··pped·out·with·a·
 00000510:·6669·6c65·2061·7420·6a75·7374·2074·6865··file·at·just·the
 00000520:·2072·6967·6874·206d·6f6d·656e·742e·0a20···right·moment..·
 00000530:·2020·2020·2020·202f·2a20·6338·2069·676e·········/*·c8·ign
 00000540:·6f72·6520·7374·6172·7420·2a2f·0a20·2020··ore·start·*/.···
 00000550:·2020·2020·2069·6620·2865·6e74·7269·6573·······if·(entries
000004c0:·2063·616e·206f·6e6c·7920·6861·7070·656e···can·only·happen 
000004d0:·2069·6620·6c73·7461·742f·7265·6164·6469···if·lstat/readdi 
000004e0:·7220·6c69·6564·2c20·6f72·2069·6620·7468··r·lied,·or·if·th 
000004f0:·6520·6469·7220·7761·730a·2020·2020·2020··e·dir·was.······ 
00000500:·2020·2f2f·2073·7761·7070·6564·206f·7574····//·swapped·out 
00000510:·2077·6974·6820·6120·6669·6c65·2061·7420···with·a·file·at· 
00000520:·6a75·7374·2074·6865·2072·6967·6874·206d··just·the·right·m 
00000530:·6f6d·656e·742e·0a20·2020·2020·2020·202f··oment..········/ 
00000540:·2a20·6338·2069·676e·6f72·6520·7374·6172··*·c8·ignore·star 
00000550:·7420·2a2f·0a20·2020·2020·2020·2069·6620··t·*/.········if· 
00000560:·2865·6e74·7269·6573·2920·7b0a·2020·2020··(entries)·{.···· 
00000570:·2020·2020·2020·2020·6966·2028·6572·726f··········if·(erro 
00000580:·7243·6f64·6528·656e·7472·6965·7329·203d··rCode(entries)·= 
00000590:·3d3d·2027·454e·4f45·4e54·2729·207b·0a20··==·'ENOENT')·{.· 
000005a0:·2020·2020·2020·2020·2020·2020·2020·2072·················r00000560:·2920·7b0a·2020·2020·2020·2020·2020·2020··)·{.············
000005b0:·6574·7572·6e20·7472·7565·3b0a·2020·2020··eturn·true;.····00000570:·6966·2028·6572·726f·7243·6f64·6528·656e··if·(errorCode(en
 00000580:·7472·6965·7329·203d·3d3d·2027·454e·4f45··tries)·===·'ENOE
 00000590:·4e54·2729·207b·0a20·2020·2020·2020·2020··NT')·{.·········
 000005a0:·2020·2020·2020·2072·6574·7572·6e20·7472·········return·tr
 000005b0:·7565·3b0a·2020·2020·2020·2020·2020·2020··ue;.············
 000005c0:·7d0a·2020·2020·2020·2020·2020·2020·6966··}.············if
 000005d0:·2028·6572·726f·7243·6f64·6528·656e·7472···(errorCode(entr
 000005e0:·6965·7329·2021·3d3d·2027·454e·4f54·4449··ies)·!==·'ENOTDI
 000005f0:·5227·2920·7b0a·2020·2020·2020·2020·2020··R')·{.··········
 00000600:·2020·2020·2020·7468·726f·7720·656e·7472········throw·entr
 00000610:·6965·733b·0a20·2020·2020·2020·2020·2020··ies;.···········
 00000620:·207d·0a20·2020·2020·2020·207d·0a20·2020···}.········}.···
 00000630:·2020·2020·202f·2a20·6338·2069·676e·6f72·······/*·c8·ignor
 00000640:·6520·7374·6f70·202a·2f0a·2020·2020·2020··e·stop·*/.······
 00000650:·2020·6966·2028·6f70·742e·6669·6c74·6572····if·(opt.filter
 00000660:·2026·2620·2128·6177·6169·7420·6f70·742e···&&·!(await·opt.
 00000670:·6669·6c74·6572·2870·6174·682c·2065·6e74··filter(path,·ent
 00000680:·2929·2920·7b0a·2020·2020·2020·2020·2020··)))·{.··········
 00000690:·2020·7265·7475·726e·2066·616c·7365·3b0a····return·false;.
000005c0:·2020·2020·2020·2020·7d0a·2020·2020·2020··········}.······000006a0:·2020·2020·2020·2020·7d0a·2020·2020·2020··········}.······
 000006b0:·2020·6177·6169·7420·6967·6e6f·7265·454e····await·ignoreEN
 000006c0:·4f45·4e54·2875·6e6c·696e·6b28·7061·7468··OENT(unlink(path
000005d0:·2020·2020·2020·6966·2028·6572·726f·7243········if·(errorC 
000005e0:·6f64·6528·656e·7472·6965·7329·2021·3d3d··ode(entries)·!== 
000005f0:·2027·454e·4f54·4449·5227·2920·7b0a·2020···'ENOTDIR')·{.·· 
00000600:·2020·2020·2020·2020·2020·2020·2020·7468················th 
00000610:·726f·7720·656e·7472·6965·733b·0a20·2020··row·entries;.··· 
00000620:·2020·2020·2020·2020·207d·0a20·2020·2020···········}.····· 
00000630:·2020·207d·0a20·2020·2020·2020·202f·2a20·····}.········/*· 
00000640:·6338·2069·676e·6f72·6520·7374·6f70·202a··c8·ignore·stop·* 
00000650:·2f0a·2020·2020·2020·2020·6966·2028·6f70··/.········if·(op 
00000660:·742e·6669·6c74·6572·2026·2620·2128·6177··t.filter·&&·!(aw 
00000670:·6169·7420·6f70·742e·6669·6c74·6572·2870··ait·opt.filter(p 
00000680:·6174·682c·2065·6e74·2929·2920·7b0a·2020··ath,·ent)))·{.·· 
00000690:·2020·2020·2020·2020·2020·7265·7475·726e············return000006d0:·2929·3b0a·2020·2020·2020·2020·7265·7475··));.········retu
 000006e0:·726e·2074·7275·653b·0a20·2020·207d·0a20··rn·true;.····}.·
 000006f0:·2020·2063·6f6e·7374·2072·656d·6f76·6564·····const·removed
 00000700:·416c·6c20·3d20·2861·7761·6974·2050·726f··All·=·(await·Pro
 00000710:·6d69·7365·2e61·6c6c·2865·6e74·7269·6573··mise.all(entries
 00000720:·2e6d·6170·2865·6e74·203d·3e20·7269·6d72··.map(ent·=>·rimr
Max diff block lines reached; -1/23878 bytes (-0.00%) of diff not shown.
15.1 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-posix.js.map
15.0 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"rimraf-posix.js",2 ····"file":·"rimraf-posix.js",
3 ····"mappings":·"AAAA,kEAAkE;AAClE,oDAAoD;AACpD,iEAAiE;AACjE,2DAA2D;A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ceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-posix.ts"7 ········"../../src/rimraf-posix.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·the·simple·recursive·removal,·where·unlink·and·rmdir·are·atomic\n//·Note·that·this·approach·does·NOT·work·on·Windows!\n//·We·stat·first·and·only·unlink·if·the·Dirent·isn't·a·directory,\n//·because·sunos·will·let·root·unlink·a·directory,·and·some\n//·SUPER·weird·breakage·happens·as·a·result.\n\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·lstat,·rmdir,·unlink·}·=·promises\n\nexport·const·rimrafPosix·=·async·(path:·string,·opt:·RimrafAsyncOptions)·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····(await·ignoreENOENT(\n······lstat(path).then(stat·=>·rimrafPosixDir(path,·opt,·stat)),\n····))·??·true\n··)\n}\n\nexport·const·rimrafPosixSync·=·(path:·string,·op[·...·truncated·by·diffoscope;·len:·1070,·SHA:·b79a4a2bf5bd9a07c6b15f522dbcbf09290f18b7156769380f61eb1ab2361a74·...·]),\n····)\n··).every(v·=>·v·===·true)\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··//·we·don't·ever·ACTUALLY·try·to·unlink·/,·because·that·can·never·work\n··//·but·when·preserveRoot·is·false,·we·could·be·operating·on·it.\n··//·No·need·to·check·if·preserveRoot·is·not·false.\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!(await·opt.filter(path,·ent)))·{\n····return·false\n··}\n\n··await·ignoreENOENT(rmdir(path))\n··return·true\n}\n\nconst·rimrafPosixDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·unlinkSync(path))\n····return·true\n··}\n··let·removedAll:·boolean·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafPosixDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n\n··ignoreENOENTSync(()·=>·rmdirSync(path))\n··return·true\n}\n"10 ········"//·the·simple·recursive·removal,·where·unlink·and·rmdir·are·atomic\n//·Note·that·this·approach·does·NOT·work·on·Windows!\n//·We·stat·first·and·only·unlink·if·the·Dirent·isn't·a·directory,\n//·because·sunos·will·let·root·unlink·a·directory,·and·some\n//·SUPER·weird·breakage·happens·as·a·result.\n\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·lstat,·rmdir,·unlink·}·=·promises\n\nexport·const·rimrafPosix·=·async·(\n··path:·string,\n··opt:·RimrafAsyncOptions,\n)·=>·{\n··opt?.signal?.throwIfAborted()\n··return·(\n····(await·ignoreENOENT(\n······lstat(path).then(stat·=>·rimrafPosixDir(path,·opt,·stat)),\n····))·??·true\n··)\n}\n\nexport·const·rimrafPosixSync·=·(path:·[·...·truncated·by·diffoscope;·len:·1107,·SHA:·ac5748f5023205ee7dd7e52f3097726474f394707ed183a2dd7559a39895307d·...·]),\n····)\n··).every(v·=>·v·===·true)\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··//·we·don't·ever·ACTUALLY·try·to·unlink·/,·because·that·can·never·work\n··//·but·when·preserveRoot·is·false,·we·could·be·operating·on·it.\n··//·No·need·to·check·if·preserveRoot·is·not·false.\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!(await·opt.filter(path,·ent)))·{\n····return·false\n··}\n\n··await·ignoreENOENT(rmdir(path))\n··return·true\n}\n\nconst·rimrafPosixDirSync·=·(\n··path:·string,\n··opt:·RimrafSyncOptions,\n··ent:·Dirent·|·Stats,\n):·boolean·=>·{\n··opt?.signal?.throwIfAborted()\n··const·entries·=·ent.isDirectory()·?·readdirOrErrorSync(path)·:·null\n··if·(!Array.isArray(entries))·{\n····//·this·can·only·happen·if·lstat/readdir·lied,·or·if·the·dir·was\n····//·swapped·out·with·a·file·at·just·the·right·moment.\n····/*·c8·ignore·start·*/\n····if·(entries)·{\n······if·(errorCode(entries)·===·'ENOENT')·{\n········return·true\n······}\n······if·(errorCode(entries)·!==·'ENOTDIR')·{\n········throw·entries\n······}\n····}\n····/*·c8·ignore·stop·*/\n····if·(opt.filter·&&·!opt.filter(path,·ent))·{\n······return·false\n····}\n····ignoreENOENTSync(()·=>·unlinkSync(path))\n····return·true\n··}\n··let·removedAll:·boolean·=·true\n··for·(const·ent·of·entries)·{\n····const·p·=·resolve(path,·ent.name)\n····removedAll·=·rimrafPosixDirSync(p,·opt,·ent)·&&·removedAll\n··}\n··if·(opt.preserveRoot·===·false·&&·path·===·parse(path).root)·{\n····return·false\n··}\n\n··if·(!removedAll)·{\n····return·false\n··}\n\n··if·(opt.filter·&&·!opt.filter(path,·ent))·{\n····return·false\n··}\n\n··ignoreENOENTSync(()·=>·rmdirSync(path))\n··return·true\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
772 B
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map
624 B
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"rimraf-windows.d.ts",2 ····"file":·"rimraf-windows.d.ts",
3 ····"mappings":·"AAYA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAwDlE,eAAO,MAAM,aAAa,GAAU,MAAM,MAAM,EAAE,KAAK,kBAAkB,qBAOxE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,EAAE,KAAK,iBAAiB,YAOrE,CAAA",3 ····"mappings":·"AAYA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AA2DlE,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,EACZ,KAAK,kBAAkB,qBAQxB,CAAA;AAED,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,EACZ,KAAK,iBAAiB,YAQvB,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-windows.ts"7 ········"../../src/rimraf-windows.ts"
8 ····],8 ····],
9 ····"version":·39 ····"version":·3
10 }10 }
42.3 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-windows.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 46, 316 lines modifiedOffset 46, 316 lines modified
000002d0:·7272·6f72·2e6a·7327·3b0a·696d·706f·7274··rror.js';.import000002d0:·7272·6f72·2e6a·7327·3b0a·696d·706f·7274··rror.js';.import
000002e0:·207b·2072·6574·7279·4275·7379·2c20·7265···{·retryBusy,·re000002e0:·207b·2072·6574·7279·4275·7379·2c20·7265···{·retryBusy,·re
000002f0:·7472·7942·7573·7953·796e·6320·7d20·6672··tryBusySync·}·fr000002f0:·7472·7942·7573·7953·796e·6320·7d20·6672··tryBusySync·}·fr
00000300:·6f6d·2027·2e2f·7265·7472·792d·6275·7379··om·'./retry-busy00000300:·6f6d·2027·2e2f·7265·7472·792d·6275·7379··om·'./retry-busy
00000310:·2e6a·7327·3b0a·696d·706f·7274·207b·2072··.js';.import·{·r00000310:·2e6a·7327·3b0a·696d·706f·7274·207b·2072··.js';.import·{·r
00000320:·696d·7261·664d·6f76·6552·656d·6f76·652c··imrafMoveRemove,00000320:·696d·7261·664d·6f76·6552·656d·6f76·652c··imrafMoveRemove,
00000330:·2072·696d·7261·664d·6f76·6552·656d·6f76···rimrafMoveRemov00000330:·2072·696d·7261·664d·6f76·6552·656d·6f76···rimrafMoveRemov
00000340:·6553·796e·6320·7d20·6672·6f6d·2027·2e2f··eSync·}·from·'./ 
00000350:·7269·6d72·6166·2d6d·6f76·652d·7265·6d6f··rimraf-move-remo 
00000360:·7665·2e6a·7327·3b0a·696d·706f·7274·207b··ve.js';.import·{ 
00000370:·2065·7272·6f72·436f·6465·207d·2066·726f···errorCode·}·fro 
00000380:·6d20·272e·2f65·7272·6f72·2e6a·7327·3b0a··m·'./error.js';. 
00000390:·636f·6e73·7420·7b20·756e·6c69·6e6b·2c20··const·{·unlink,· 
000003a0:·726d·6469·722c·206c·7374·6174·207d·203d··rmdir,·lstat·}·= 
000003b0:·2070·726f·6d69·7365·733b·0a63·6f6e·7374···promises;.const 
000003c0:·2072·696d·7261·6657·696e·646f·7773·4669···rimrafWindowsFi 
000003d0:·6c65·203d·2072·6574·7279·4275·7379·2866··le·=·retryBusy(f00000340:·6553·796e·632c·207d·2066·726f·6d20·272e··eSync,·}·from·'.
 00000350:·2f72·696d·7261·662d·6d6f·7665·2d72·656d··/rimraf-move-rem
 00000360:·6f76·652e·6a73·273b·0a69·6d70·6f72·7420··ove.js';.import·
 00000370:·7b20·6572·726f·7243·6f64·6520·7d20·6672··{·errorCode·}·fr
 00000380:·6f6d·2027·2e2f·6572·726f·722e·6a73·273b··om·'./error.js';
 00000390:·0a63·6f6e·7374·207b·2075·6e6c·696e·6b2c··.const·{·unlink,
 000003a0:·2072·6d64·6972·2c20·6c73·7461·7420·7d20···rmdir,·lstat·}·
 000003b0:·3d20·7072·6f6d·6973·6573·3b0a·636f·6e73··=·promises;.cons
 000003c0:·7420·7269·6d72·6166·5769·6e64·6f77·7346··t·rimrafWindowsF
 000003d0:·696c·6520·3d20·7265·7472·7942·7573·7928··ile·=·retryBusy(
000003e0:·6978·4550·4552·4d28·756e·6c69·6e6b·2929··ixEPERM(unlink))000003e0:·6669·7845·5045·524d·2875·6e6c·696e·6b29··fixEPERM(unlink)
000003f0:·3b0a·636f·6e73·7420·7269·6d72·6166·5769··;.const·rimrafWi 
00000400:·6e64·6f77·7346·696c·6553·796e·6320·3d20··ndowsFileSync·=· 
00000410:·7265·7472·7942·7573·7953·796e·6328·6669··retryBusySync(fi 
00000420:·7845·5045·524d·5379·6e63·2875·6e6c·696e··xEPERMSync(unlin 
00000430:·6b53·796e·6329·293b·0a63·6f6e·7374·2072··kSync));.const·r 
00000440:·696d·7261·6657·696e·646f·7773·4469·7252··imrafWindowsDirR 
00000450:·6574·7279·203d·2072·6574·7279·4275·7379··etry·=·retryBusy 
00000460:·2866·6978·4550·4552·4d28·726d·6469·7229··(fixEPERM(rmdir) 
00000470:·293b·0a63·6f6e·7374·2072·696d·7261·6657··);.const·rimrafW000003f0:·293b·0a63·6f6e·7374·2072·696d·7261·6657··);.const·rimrafW
00000480:·696e·646f·7773·4469·7252·6574·7279·5379··indowsDirRetrySy00000400:·696e·646f·7773·4669·6c65·5379·6e63·203d··indowsFileSync·=
00000490:·6e63·203d·2072·6574·7279·4275·7379·5379··nc·=·retryBusySy00000410:·2072·6574·7279·4275·7379·5379·6e63·2866···retryBusySync(f
000004a0:·6e63·2866·6978·4550·4552·4d53·796e·6328··nc(fixEPERMSync(00000420:·6978·4550·4552·4d53·796e·6328·756e·6c69··ixEPERMSync(unli
000004b0:·726d·6469·7253·796e·6329·293b·0a63·6f6e··rmdirSync));.con 
000004c0:·7374·2072·696d·7261·6657·696e·646f·7773··st·rimrafWindows 
000004d0:·4469·724d·6f76·6552·656d·6f76·6546·616c··DirMoveRemoveFal 
000004e0:·6c62·6163·6b20·3d20·6173·796e·6320·2870··lback·=·async·(p00000430:·6e6b·5379·6e63·2929·3b0a·636f·6e73·7420··nkSync));.const·
 00000440:·7269·6d72·6166·5769·6e64·6f77·7344·6972··rimrafWindowsDir
 00000450:·5265·7472·7920·3d20·7265·7472·7942·7573··Retry·=·retryBus
 00000460:·7928·6669·7845·5045·524d·2872·6d64·6972··y(fixEPERM(rmdir
 00000470:·2929·3b0a·636f·6e73·7420·7269·6d72·6166··));.const·rimraf
 00000480:·5769·6e64·6f77·7344·6972·5265·7472·7953··WindowsDirRetryS
 00000490:·796e·6320·3d20·7265·7472·7942·7573·7953··ync·=·retryBusyS
 000004a0:·796e·6328·6669·7845·5045·524d·5379·6e63··ync(fixEPERMSync
 000004b0:·2872·6d64·6972·5379·6e63·2929·3b0a·636f··(rmdirSync));.co
 000004c0:·6e73·7420·7269·6d72·6166·5769·6e64·6f77··nst·rimrafWindow
 000004d0:·7344·6972·4d6f·7665·5265·6d6f·7665·4661··sDirMoveRemoveFa
 000004e0:·6c6c·6261·636b·203d·2061·7379·6e63·2028··llback·=·async·(
000004f0:·6174·682c·200a·2f2f·2061·6c72·6561·6479··ath,·.//·already000004f0:·7061·7468·2c20·0a2f·2f20·616c·7265·6164··path,·.//·alread
00000500:·2066·696c·7465·7265·642c·2072·656d·6f76···filtered,·remov 
00000510:·6520·6672·6f6d·206f·7074·696f·6e73·2073··e·from·options·s 
00000520:·6f20·7765·2064·6f6e·2774·2063·616c·6c20··o·we·don't·call· 
00000530:·756e·6e65·6365·7373·6172·696c·790a·2f2f··unnecessarily.// 
00000540:·2065·736c·696e·742d·6469·7361·626c·652d···eslint-disable- 
00000550:·6e65·7874·2d6c·696e·6520·4074·7970·6573··next-line·@types 
00000560:·6372·6970·742d·6573·6c69·6e74·2f6e·6f2d··cript-eslint/no- 
00000570:·756e·7573·6564·2d76·6172·730a·7b20·6669··unused-vars.{·fi00000500:·7920·6669·6c74·6572·6564·2c20·7265·6d6f··y·filtered,·remo
 00000510:·7665·2066·726f·6d20·6f70·7469·6f6e·7320··ve·from·options·
 00000520:·736f·2077·6520·646f·6e27·7420·6361·6c6c··so·we·don't·call
 00000530:·2075·6e6e·6563·6573·7361·7269·6c79·0a2f···unnecessarily./
 00000540:·2f20·6573·6c69·6e74·2d64·6973·6162·6c65··/·eslint-disable
 00000550:·2d6e·6578·742d·6c69·6e65·2040·7479·7065··-next-line·@type
 00000560:·7363·7269·7074·2d65·736c·696e·742f·6e6f··script-eslint/no
 00000570:·2d75·6e75·7365·642d·7661·7273·0a7b·2066··-unused-vars.{·f
00000580:·6c74·6572·2c20·2e2e·2e6f·7074·207d·2920··lter,·...opt·})·00000580:·696c·7465·722c·202e·2e2e·6f70·7420·7d29··ilter,·...opt·})
 00000590:·203d·3e20·7b0a·2020·2020·2f2a·2063·3820···=>·{.····/*·c8·
 000005a0:·6967·6e6f·7265·206e·6578·7420·2a2f·0a20··ignore·next·*/.·
00000590:·3d3e·207b·0a20·2020·202f·2a20·6338·2069··=>·{.····/*·c8·i 
000005a0:·676e·6f72·6520·6e65·7874·202a·2f0a·2020··gnore·next·*/.·· 
000005b0:·2020·6f70·743f·2e73·6967·6e61·6c3f·2e74····opt?.signal?.t 
000005c0:·6872·6f77·4966·4162·6f72·7465·6428·293b··hrowIfAborted(); 
000005d0:·0a20·2020·2074·7279·207b·0a20·2020·2020··.····try·{.····· 
000005e0:·2020·2061·7761·6974·2072·696d·7261·6657·····await·rimrafW 
000005f0:·696e·646f·7773·4469·7252·6574·7279·2870··indowsDirRetry(p 
00000600:·6174·682c·206f·7074·293b·0a20·2020·2020··ath,·opt);.····· 
00000610:·2020·2072·6574·7572·6e20·7472·7565·3b0a·····return·true;. 
00000620:·2020·2020·7d0a·2020·2020·6361·7463·6820······}.····catch· 
00000630:·2865·7229·207b·0a20·2020·2020·2020·2069··(er)·{.········i 
00000640:·6620·2865·7272·6f72·436f·6465·2865·7229··f·(errorCode(er) 
00000650:·203d·3d3d·2027·454e·4f54·454d·5054·5927···===·'ENOTEMPTY' 
00000660:·2920·7b0a·2020·2020·2020·2020·2020·2020··)·{.············ 
00000670:·7265·7475·726e·2072·696d·7261·664d·6f76··return·rimrafMov 
00000680:·6552·656d·6f76·6528·7061·7468·2c20·6f70··eRemove(path,·op 
00000690:·7429·3b0a·2020·2020·2020·2020·7d0a·2020··t);.········}.·· 
000006a0:·2020·2020·2020·7468·726f·7720·6572·3b0a········throw·er;. 
000006b0:·2020·2020·7d0a·7d3b·0a63·6f6e·7374·2072······}.};.const·r 
000006c0:·696d·7261·6657·696e·646f·7773·4469·724d··imrafWindowsDirM 
000006d0:·6f76·6552·656d·6f76·6546·616c·6c62·6163··oveRemoveFallbac 
000006e0:·6b53·796e·6320·3d20·2870·6174·682c·200a··kSync·=·(path,·. 
000006f0:·2f2f·2061·6c72·6561·6479·2066·696c·7465··//·already·filte 
00000700:·7265·642c·2072·656d·6f76·6520·6672·6f6d··red,·remove·from 
00000710:·206f·7074·696f·6e73·2073·6f20·7765·2064···options·so·we·d 
00000720:·6f6e·2774·2063·616c·6c20·756e·6e65·6365··on't·call·unnece 
Max diff block lines reached; -1/43124 bytes (-0.00%) of diff not shown.
23.2 KB
lib/node_modules/tshy/node_modules/rimraf/dist/esm/rimraf-windows.js.map
23.0 KB
Pretty-printed
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 {1 {
2 ····"file":·"rimraf-windows.js",2 ····"file":·"rimraf-windows.js",
3 ····"mappings":·"AAAA,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,gCAAgC;AAChC,0EAA0E;AAC1E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;AAGzE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACtC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAA;AAEzC,MAAM,iBAAiB,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;AACrD,MAAM,qBAAqB,GAAG,aAAa,CAAC,YAAY,CAAC,UAAU[·...·truncated·by·diffoscope;·len:·4947,·SHA:·0a96fb9e493a3e5030af6288e15bd91ca006cbbcfaf0b6f486974c3f91abbd35·...·],CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA",3 ····"mappings":·"AAAA,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,gCAAgC;AAChC,0EAA0E;AAC1E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;AAGzE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EACL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACtC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAA;AAEzC,MAAM,iBAAiB,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;AACrD,MAAM,qBAAqB,GAAG,aAAa,CAAC,YAAY,CAAC,UA[·...·truncated·by·diffoscope;·len:·4952,·SHA:·5d0e85d1003888837dffa4383d161678a75c04fdb5b514f2dc7ed7a8e6c7850b·...·],CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA",
4 ····"names":·[],4 ····"names":·[],
5 ····"sourceRoot":·"",5 ····"sourceRoot":·"",
6 ····"sources":·[6 ····"sources":·[
7 ········"../../src/rimraf-windows.ts"7 ········"../../src/rimraf-windows.ts"
8 ····],8 ····],
9 ····"sourcesContent":·[9 ····"sourcesContent":·[
10 ········"//·This·is·the·same·as·rimrafPosix,·with·the·following·changes:\n//\n//·1.·EBUSY,·ENFILE,·EMFILE·trigger·retries·and/or·exponential·backoff\n//·2.·All·non-directories·are·removed·first·and·then·all·directories·are\n//····removed·in·a·second·sweep.\n//·3.·If·we·hit·ENOTEMPTY·in·the·second·sweep,·fall·back·to·move-remove·on\n//····the·that·folder.\n//\n//·Note:·\"move·then·remove\"·is·2-10·times·slower,·and·just·as·unreliable.\n\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·fixEPERM,·fixEPERMSync·}·from·'./fix-eperm.js'\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·retryBusy,·retryBusySync·}·from·'./retry-busy.js'\nimport·{·rimrafMoveRemove,·rimrafMoveRemoveSync·}·from·'./rimraf-move-remove.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·unlink,·rmdir,·lstat·}·=·promises\n\nconst·rimrafWindowsFile·=·retryBusy(fixEPERM(unlink))\nconst·rimrafWindowsFileSync·=·retryBusySyn[·...·truncated·by·diffoscope;·len:·4714,·SHA:·dddae2edd5e0f10346ac216a2a3938d0a0164f1afca787c8cbfc83b52d0da965·...·])\n··}\n··return·true\n}\n"10 ········"//·This·is·the·same·as·rimrafPosix,·with·the·following·changes:\n//\n//·1.·EBUSY,·ENFILE,·EMFILE·trigger·retries·and/or·exponential·backoff\n//·2.·All·non-directories·are·removed·first·and·then·all·directories·are\n//····removed·in·a·second·sweep.\n//·3.·If·we·hit·ENOTEMPTY·in·the·second·sweep,·fall·back·to·move-remove·on\n//····the·that·folder.\n//\n//·Note:·\"move·then·remove\"·is·2-10·times·slower,·and·just·as·unreliable.\n\nimport·{·Dirent,·Stats·}·from·'fs'\nimport·{·parse,·resolve·}·from·'path'\nimport·{·RimrafAsyncOptions,·RimrafSyncOptions·}·from·'./index.js'\nimport·{·fixEPERM,·fixEPERMSync·}·from·'./fix-eperm.js'\nimport·{·lstatSync,·promises,·rmdirSync,·unlinkSync·}·from·'./fs.js'\nimport·{·ignoreENOENT,·ignoreENOENTSync·}·from·'./ignore-enoent.js'\nimport·{·readdirOrError,·readdirOrErrorSync·}·from·'./readdir-or-error.js'\nimport·{·retryBusy,·retryBusySync·}·from·'./retry-busy.js'\nimport·{\n··rimrafMoveRemove,\n··rimrafMoveRemoveSync,\n}·from·'./rimraf-move-remove.js'\nimport·{·errorCode·}·from·'./error.js'\nconst·{·unlink,·rmdir,·lstat·}·=·promises\n\nconst·rimrafWindowsFile·=·retryBusy(fixEPERM(unlink))\nconst·rimrafWindowsFileSync·=·retr[·...·truncated·by·diffoscope;·len:·4756,·SHA:·81406ffd721b9c08d5e7a398b58eeedf984763171da7878bb63f9e7d6c4fa8b2·...·])\n··}\n··return·true\n}\n"
11 ····],11 ····],
12 ····"version":·312 ····"version":·3
13 }13 }
2.09 KB
lib/node_modules/tshy/node_modules/rimraf/package.json
1.98 KB
Pretty-printed
    
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 {1 {
2 ····"author":·"Isaac·Z.·Schlueter·<[email protected]>·(http://blog.izs.me/)",2 ····"author":·"Isaac·Z.·Schlueter·<[email protected]>·(http://blog.izs.me/)",
3 ····"bin":·"./dist/esm/bin.mjs",3 ····"bin":·"./dist/esm/bin.mjs",
4 ····"dependencies":·{4 ····"dependencies":·{
5 ········"glob":·"^13.0.0",5 ········"glob":·"^13.0.3",
6 ········"package-json-from-dist":·"^1.0.1"6 ········"package-json-from-dist":·"^1.0.1"
7 ····},7 ····},
8 ····"description":·"A·deep·deletion·module·for·node·(like·`rm·-rf`)",8 ····"description":·"A·deep·deletion·module·for·node·(like·`rm·-rf`)",
9 ····"devDependencies":·{9 ····"devDependencies":·{
10 ········"@types/node":·"^24.9.2",10 ········"@types/node":·"^25.2.0",
11 ········"mkdirp":·"^3.0.1",11 ········"mkdirp":·"^3.0.1",
12 ········"prettier":·"^3.6.2",12 ········"prettier":·"^3.6.2",
13 ········"tap":·"^21.1.1",13 ········"tap":·"^21.1.1",
14 ········"tshy":·"^3.0.3",14 ········"tshy":·"^3.0.3",
15 ········"typedoc":·"^0.28.14"15 ········"typedoc":·"^0.28.14"
16 ····},16 ····},
17 ····"engines":·{17 ····"engines":·{
Offset 46, 47 lines modifiedOffset 46, 32 lines modified
46 ········"rmdir",46 ········"rmdir",
47 ········"recursive"47 ········"recursive"
48 ····],48 ····],
49 ····"license":·"BlueOak-1.0.0",49 ····"license":·"BlueOak-1.0.0",
50 ····"main":·"./dist/commonjs/index.js",50 ····"main":·"./dist/commonjs/index.js",
51 ····"module":·"./dist/esm/index.js",51 ····"module":·"./dist/esm/index.js",
52 ····"name":·"rimraf",52 ····"name":·"rimraf",
53 ····"prettier":·{ 
54 ········"arrowParens":·"avoid", 
55 ········"bracketSameLine":·true, 
56 ········"endOfLine":·"lf", 
57 ········"experimentalTernaries":·true, 
58 ········"jsxSingleQuote":·false, 
59 ········"printWidth":·80, 
60 ········"semi":·false, 
61 ········"singleQuote":·true, 
62 ········"tabWidth":·2, 
63 ········"useTabs":·false 
64 ····}, 
65 ····"repository":·"[email protected]:isaacs/rimraf.git",53 ····"repository":·"[email protected]:isaacs/rimraf.git",
66 ····"scripts":·{54 ····"scripts":·{
67 ········"benchmark":·"node·benchmark/index.js",55 ········"benchmark":·"node·benchmark/index.js",
68 ········"format":·"prettier·--write·.·--log-level·warn",56 ········"format":·"prettier·--write·.·--log-level·warn",
69 ········"postversion":·"npm·publish",57 ········"postversion":·"npm·publish",
70 ········"prepare":·"tshy",58 ········"prepare":·"tshy",
71 ········"prepublishOnly":·"git·push·origin·--follow-tags",59 ········"prepublishOnly":·"git·push·origin·--follow-tags",
72 ········"presnap":·"npm·run·prepare",60 ········"presnap":·"npm·run·prepare",
73 ········"pretest":·"npm·run·prepare",61 ········"pretest":·"npm·run·prepare",
74 ········"preversion":·"npm·test",62 ········"preversion":·"npm·test",
75 ········"snap":·"tap",63 ········"snap":·"tap",
76 ········"test":·"tap",64 ········"test":·"tap",
77 ········"typedoc":·"typedoc·--tsconfig·.tshy/esm.json·./src/*.ts"65 ········"typedoc":·"typedoc·--tsconfig·.tshy/esm.json·./src/*.ts"
78 ····},66 ····},
79 ····"tap":·{ 
80 ········"coverage-map":·"map.js" 
81 ····}, 
82 ····"tshy":·{67 ····"tshy":·{
83 ········"exports":·{68 ········"exports":·{
84 ············".":·"./src/index.ts",69 ············".":·"./src/index.ts",
85 ············"./package.json":·"./package.json"70 ············"./package.json":·"./package.json"
86 ········},71 ········},
87 ········"main":·true72 ········"main":·true
88 ····},73 ····},
89 ····"type":·"module",74 ····"type":·"module",
90 ····"types":·"./dist/commonjs/index.d.ts",75 ····"types":·"./dist/commonjs/index.d.ts",
91 ····"version":·"6.1.2"76 ····"version":·"6.1.3"
92 }77 }
112 KB
info-tshy-3.2.0-hfa286de_0.tar.zst
112 KB
info-tshy-3.2.0-hfa286de_0.tar
1.34 KB
file list
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 -rw-r--r--···0········0········0······464·2026-02-09·13:37:12.000000·info/about.json1 -rw-r--r--···0········0········0······464·2026-02-09·13:37:12.000000·info/about.json
2 -rw-r--r--···0········0········0······118·2026-02-09·13:37:12.000000·info/hash_input.json2 -rw-r--r--···0········0········0······118·2026-02-09·13:37:12.000000·info/hash_input.json
3 -rw-r--r--···0········0········0······226·2026-02-09·13:37:12.000000·info/index.json3 -rw-r--r--···0········0········0······226·2026-02-09·13:37:12.000000·info/index.json
4 -rw-r--r--···0········0········0·····1550·2026-02-09·13:37:12.000000·info/licenses/LICENSE.md4 -rw-r--r--···0········0········0·····1550·2026-02-09·13:37:12.000000·info/licenses/LICENSE.md
5 -rw-r--r--···0········0········0····39597·2026-02-09·13:37:12.000000·info/licenses/third-party-licenses.txt5 -rw-r--r--···0········0········0····43202·2026-02-09·13:37:12.000000·info/licenses/third-party-licenses.txt
6 -rw-r--r--···0········0········0···271832·2026-02-09·13:37:12.000000·info/paths.json6 -rw-r--r--···0········0········0···295326·2026-02-09·13:37:12.000000·info/paths.json
7 -rwxr-xr-x···0········0········0······807·2026-02-09·13:37:12.000000·info/recipe/build.sh7 -rwxr-xr-x···0········0········0······807·2026-02-09·13:37:12.000000·info/recipe/build.sh
8 -rw-r--r--···0········0········0·····1541·2026-02-09·13:37:12.000000·info/recipe/recipe-scripts-license.txt8 -rw-r--r--···0········0········0·····1541·2026-02-09·13:37:12.000000·info/recipe/recipe-scripts-license.txt
9 -rw-r--r--···0········0········0······710·2026-02-09·13:37:12.000000·info/recipe/recipe.yaml9 -rw-r--r--···0········0········0······710·2026-02-09·13:37:12.000000·info/recipe/recipe.yaml
10 -rw-r--r--···0········0········0····12733·2026-02-09·13:37:12.000000·info/recipe/rendered_recipe.yaml10 -rw-r--r--···0········0········0····12733·2026-02-09·13:37:12.000000·info/recipe/rendered_recipe.yaml
11 -rw-r--r--···0········0········0······100·2026-02-09·13:37:12.000000·info/recipe/variant_config.yaml11 -rw-r--r--···0········0········0······100·2026-02-09·13:37:12.000000·info/recipe/variant_config.yaml
12 -rw-r--r--···0········0········0·······73·2026-02-09·13:37:12.000000·info/tests/tests.yaml12 -rw-r--r--···0········0········0·······73·2026-02-09·13:37:12.000000·info/tests/tests.yaml
29.0 KB
info/licenses/third-party-licenses.txt
    
Offset 1, 229 lines modifiedOffset 1, 149 lines modified
1 THE·FOLLOWING·SETS·FORTH·ATTRIBUTION·NOTICES·FOR·THIRD·PARTY·SOFTWARE·THAT·MAY·BE·CONTAINED·IN·PORTIONS·OF·THIS·PRODUCT1 THE·FOLLOWING·SETS·FORTH·ATTRIBUTION·NOTICES·FOR·THIRD·PARTY·SOFTWARE·THAT·MAY·BE·CONTAINED·IN·PORTIONS·OF·THIS·PRODUCT
  
2 The·following·software·may·be·included·in·this·product:·@isaacs/balanced-match·(4.0.1)2 The·following·software·may·be·included·in·this·product:·@isaacs/cliui·(9.0.0)
3 This·software·contains·the·following·license·and·notice·below:3 This·software·contains·the·following·license·and·notice·below:
  
 4 Several·modules·are·vendored·under·`./src`,·which·are·used·and
 5 distributed·according·to·their·respective·licenses,·each·provided
 6 in·the·same·directory·as·the·code.
4 (MIT) 
  
5 Original·code·Copyright·Julian·Gruber·<[email protected]> 
  
6 Port·to·TypeScript·Copyright·Isaac·Z.·Schlueter·<[email protected]> 
  
 7 Everything·else·is·released·under·the·following·license.
7 Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy·of 
8 this·software·and·associated·documentation·files·(the·"Software"),·to·deal·in 
9 the·Software·without·restriction,·including·without·limitation·the·rights·to 
10 use,·copy,·modify,·merge,·publish,·distribute,·sublicense,·and/or·sell·copies 
11 of·the·Software,·and·to·permit·persons·to·whom·the·Software·is·furnished·to·do 
12 so,·subject·to·the·following·conditions: 
  
 8 ----
13 The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all 
14 copies·or·substantial·portions·of·the·Software. 
  
 9 #·Blue·Oak·Model·License
15 THE·SOFTWARE·IS·PROVIDED·"AS·IS",·WITHOUT·WARRANTY·OF·ANY·KIND,·EXPRESS·OR 
16 IMPLIED,·INCLUDING·BUT·NOT·LIMITED·TO·THE·WARRANTIES·OF·MERCHANTABILITY, 
17 FITNESS·FOR·A·PARTICULAR·PURPOSE·AND·NONINFRINGEMENT.·IN·NO·EVENT·SHALL·THE 
18 AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER 
19 LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, 
20 OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE 
21 SOFTWARE. 
  
22 --- 
  
23 The·following·software·may·be·included·in·this·product:·@isaacs/brace-expansion·(5.0.1) 
24 This·software·contains·the·following·license·and·notice·below: 
  
25 MIT·License 
  
26 Copyright·Julian·Gruber·<[email protected]> 
  
27 TypeScript·port·Copyright·Isaac·Z.·Schlueter·<[email protected]> 
  
 10 Version·1.0.0
28 Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy 
29 of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal 
30 in·the·Software·without·restriction,·including·without·limitation·the·rights 
31 to·use,·copy,·modify,·merge,·publish,·distribute,·sublicense,·and/or·sell 
32 copies·of·the·Software,·and·to·permit·persons·to·whom·the·Software·is 
33 furnished·to·do·so,·subject·to·the·following·conditions: 
  
 11 ##·Purpose
34 The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all 
35 copies·or·substantial·portions·of·the·Software. 
  
 12 This·license·gives·everyone·as·much·permission·to·work·with
 13 this·software·as·possible,·while·protecting·contributors
 14 from·liability.
36 THE·SOFTWARE·IS·PROVIDED·"AS·IS",·WITHOUT·WARRANTY·OF·ANY·KIND,·EXPRESS·OR 
37 IMPLIED,·INCLUDING·BUT·NOT·LIMITED·TO·THE·WARRANTIES·OF·MERCHANTABILITY, 
38 FITNESS·FOR·A·PARTICULAR·PURPOSE·AND·NONINFRINGEMENT.·IN·NO·EVENT·SHALL·THE 
39 AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER 
40 LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, 
41 OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE 
42 SOFTWARE. 
  
43 ---15 ##·Acceptance
  
44 The·following·software·may·be·included·in·this·product:·chalk·(5.6.2) 
45 This·software·contains·the·following·license·and·notice·below:16 In·order·to·receive·this·license,·you·must·agree·to·its
 17 rules.·The·rules·of·this·license·are·both·obligations
 18 under·that·agreement·and·conditions·to·your·license.
 19 You·must·not·do·anything·with·this·software·that·triggers
 20 a·rule·that·you·cannot·or·will·not·follow.
  
46 MIT·License21 ##·Copyright
  
47 Copyright·(c)·Sindre·Sorhus·<sindresorhus@gmail.com>·(https://sindresorhus.com)22 Each·contributor·licenses·you·to·do·everything·with·this
 23 software·that·would·otherwise·infringe·that·contributor's
 24 copyright·in·it.
  
48 Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy·of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal·in·the·Software·without·restriction,·including·without·limitation·the·rights·to·use,·copy,·modify,·me[·...·truncated·by·diffoscope;·len:·176,·SHA:·e5e85c45167ded0b35ce6c8bc2c7f7d322aeb9a98dda8ea8bfb8969ce2859b67·...·]25 ##·Notices
  
49 The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all·copies·or·substantial·portions·of·the·Software.26 You·must·ensure·that·everyone·who·gets·a·copy·of
 27 any·part·of·this·software·from·you,·with·or·without
 28 changes,·also·gets·the·text·of·this·license·or·a·link·to
 29 <https://blueoakcouncil.org/license/1.0.0>.
  
50 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·[·...·truncated·by·diffoscope;·len:·204,·SHA:·f89f6eefa32059ae8b799ed72e8fcc2a5e6cec699c84c643fe761517a02ba121·...·]30 ##·Excuse
  
51 ---31 If·anyone·notifies·you·in·writing·that·you·have·not
 32 complied·with·[Notices](#notices),·you·can·keep·your
 33 license·by·taking·all·practical·steps·to·comply·within·30
 34 days·after·the·notice.·If·you·do·not·do·so,·your·license
 35 ends·immediately.
  
Max diff block lines reached; 24005/29647 bytes (80.97%) of diff not shown.
81.8 KB
info/paths.json
81.8 KB
Pretty-printed
    
Offset 981, 168 lines modifiedOffset 981, 606 lines modified
981 ········{981 ········{
982 ············"_path":·"lib/node_modules/tshy/dist/esm/write-package.js.map",982 ············"_path":·"lib/node_modules/tshy/dist/esm/write-package.js.map",
983 ············"path_type":·"hardlink",983 ············"path_type":·"hardlink",
984 ············"sha256":·"2c72462322edd2544b30cb8d373549e3471c01388e45823d8e15ebf1656105cf",984 ············"sha256":·"2c72462322edd2544b30cb8d373549e3471c01388e45823d8e15ebf1656105cf",
985 ············"size_in_bytes":·509985 ············"size_in_bytes":·509
986 ········},986 ········},
987 ········{987 ········{
 988 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/LICENSE.md",
 989 ············"path_type":·"hardlink",
 990 ············"sha256":·"c58416e852f7603cc1c7c5f7582e8cc7b1934d7bcb5456d64ada379d6770da45",
 991 ············"size_in_bytes":·1779
 992 ········},
 993 ········{
 994 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/README.md",
 995 ············"path_type":·"hardlink",
 996 ············"sha256":·"0647da36ad7d91f5127b940b8f62451f348d95f95bfec594c3e89b540db3a904",
 997 ············"size_in_bytes":·3218
 998 ········},
 999 ········{
 1000 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts",
 1001 ············"path_type":·"hardlink",
 1002 ············"sha256":·"a5a5e7c932a9f8a0e3daae79a8f7ccddfbdd37dea1a299489e8b104bad722bf8",
 1003 ············"size_in_bytes":·137
 1004 ········},
 1005 ········{
 1006 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.d.ts.map",
 1007 ············"path_type":·"hardlink",
 1008 ············"sha256":·"8b1e20145d3304de03d738e50276aba1f1ba11fba098a3f8b0578a2869067d45",
 1009 ············"size_in_bytes":·163
 1010 ········},
 1011 ········{
 1012 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js",
 1013 ············"path_type":·"hardlink",
 1014 ············"sha256":·"6c927a95d07e5738b9b348bee131da7fa6ce423a826e4611c327f5de9e7ae10a",
 1015 ············"size_in_bytes":·827
 1016 ········},
 1017 ········{
 1018 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js.map",
 1019 ············"path_type":·"hardlink",
 1020 ············"sha256":·"453543da0621e62e53f561d546a4bdca98742648b1f1cf509459cce1f3699602",
 1021 ············"size_in_bytes":·1263
 1022 ········},
 1023 ········{
 1024 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts",
 1025 ············"path_type":·"hardlink",
 1026 ············"sha256":·"f08eca23ce4d2d578ccd6742a3c8e0faedd01ce5dc153ddab8d72f4aaf59456f",
 1027 ············"size_in_bytes":·1183
 1028 ········},
 1029 ········{
 1030 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.d.ts.map",
 1031 ············"path_type":·"hardlink",
 1032 ············"sha256":·"74fc66b7a5cfe61919a5466e45966bba58156822b11f317c964e20cc0d420766",
 1033 ············"size_in_bytes":·592
 1034 ········},
 1035 ········{
 1036 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js",
 1037 ············"path_type":·"hardlink",
 1038 ············"sha256":·"84042afa6d45d1a65d999c66b1bd7d6c7cf1d8e70aa2f5cd75ee7569459c610b",
 1039 ············"size_in_bytes":·5412
 1040 ········},
 1041 ········{
 1042 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js.map",
 1043 ············"path_type":·"hardlink",
 1044 ············"sha256":·"299da4b6da8a824ecdbe053c68d08911a9987a9084c1923ce2ffc9e7a8e2b979",
 1045 ············"size_in_bytes":·11510
 1046 ········},
 1047 ········{
 1048 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts",
 1049 ············"path_type":·"hardlink",
 1050 ············"sha256":·"8059387718c0e60f8e5bc65522bba0d627e077a25a5f2f1ee0d7f1180d9bfb8f",
 1051 ············"size_in_bytes":·411
 1052 ········},
 1053 ········{
 1054 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.d.ts.map",
 1055 ············"path_type":·"hardlink",
 1056 ············"sha256":·"f457f20775c828f8136c2ea779a10d5484859ed03df1056e9ec1164300eef5c4",
 1057 ············"size_in_bytes":·388
 1058 ········},
 1059 ········{
 1060 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js",
 1061 ············"path_type":·"hardlink",
 1062 ············"sha256":·"7156de3fac9003e5ee4213239aa6c3e23aa60f688b73a44dcd81c989e55a8386",
 1063 ············"size_in_bytes":·12773
 1064 ········},
 1065 ········{
 1066 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js.map",
 1067 ············"path_type":·"hardlink",
 1068 ············"sha256":·"06035d4ca1bfb54cb10fb8a6346b9a63b253b44d3c61dd65bfe36c8d4c3a0580",
 1069 ············"size_in_bytes":·23233
 1070 ········},
 1071 ········{
 1072 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts",
 1073 ············"path_type":·"hardlink",
 1074 ············"sha256":·"00ad204c544b8766033ff28c96fbc3ce4f84a977307eba66db1afee018d80836",
 1075 ············"size_in_bytes":·82
 1076 ········},
 1077 ········{
 1078 ············"_path":·"lib/node_modules/tshy/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.d.ts.map",
 1079 ············"path_type":·"hardlink",
Max diff block lines reached; 61823/83737 bytes (73.83%) of diff not shown.