90.1 KB
/tmp/tmp91vhchso/downloads/lockfile-lint-5.0.0-hee61e0b_0.conda vs.
/tmp/tmp91vhchso/rebuild/lockfile-lint/lockfile-lint-5.0.0-hee61e0b_0-rebuilt-20260205-035055.conda
732 B
zipinfo {}
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 Zip·file·size:·591484·bytes,·number·of·entries:·31 Zip·file·size:·591763·bytes,·number·of·entries:·3
2 -rw-r--r--··4.5·unx·······30·bx·stor·26-Jan-26·21:35·metadata.json2 -rw-r--r--··4.5·unx·······30·bx·stor·26-Jan-26·21:35·metadata.json
3 -rw-r--r--··4.5·unx···542879·bx·stor·26-Jan-26·21:35·pkg-lockfile-lint-5.0.0-hee61e0b_0.tar.zst3 -rw-r--r--··4.5·unx···543151·bx·stor·26-Jan-26·21:35·pkg-lockfile-lint-5.0.0-hee61e0b_0.tar.zst
4 -rw-r--r--··4.5·unx····48009·bx·stor·26-Jan-26·21:35·info-lockfile-lint-5.0.0-hee61e0b_0.tar.zst4 -rw-r--r--··4.5·unx····48016·bx·stor·26-Jan-26·21:35·info-lockfile-lint-5.0.0-hee61e0b_0.tar.zst
5 3·files,·590918·bytes·uncompressed,·590918·bytes·compressed:··0.0%5 3·files,·591197·bytes·uncompressed,·591197·bytes·compressed:··0.0%
8.51 KB
zipdetails --redact --utc {}
    
Offset 19, 125 lines modifiedOffset 19, 125 lines modified
  
19 0005D·LOCAL·HEADER·#2·······04034B5019 0005D·LOCAL·HEADER·#2·······04034B50
20 00061·Extract·Zip·Spec······2D·'4.5'20 00061·Extract·Zip·Spec······2D·'4.5'
21 00062·Extract·OS············00·'MS-DOS'21 00062·Extract·OS············00·'MS-DOS'
22 00063·General·Purpose·Flag··000022 00063·General·Purpose·Flag··0000
23 00065·Compression·Method····0000·'Stored'23 00065·Compression·Method····0000·'Stored'
24 00067·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'24 00067·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'
25 0006B·CRC···················44360E0E25 0006B·CRC···················46BF52C8
26 0006F·Compressed·Length·····FFFFFFFF26 0006F·Compressed·Length·····FFFFFFFF
27 00073·Uncompressed·Length···FFFFFFFF27 00073·Uncompressed·Length···FFFFFFFF
28 00077·Filename·Length·······002A28 00077·Filename·Length·······002A
29 00079·Extra·Length··········001429 00079·Extra·Length··········0014
30 0007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX30 0007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
31 ····························XXX'31 ····························XXX'
32 000A5·Extra·ID·#0001········0001·'ZIP64'32 000A5·Extra·ID·#0001········0001·'ZIP64'
33 000A7···Length··············001033 000A7···Length··············0010
34 000A9···Uncompressed·Size···000000000008489F34 000A9···Uncompressed·Size···00000000000849AF
35 000B1···Compressed·Size·····000000000008489F35 000B1···Compressed·Size·····00000000000849AF
36 000B9·PAYLOAD36 000B9·PAYLOAD
  
37 84958·LOCAL·HEADER·#3·······04034B5037 84A68·LOCAL·HEADER·#3·······04034B50
38 8495C·Extract·Zip·Spec······2D·'4.5'38 84A6C·Extract·Zip·Spec······2D·'4.5'
39 8495D·Extract·OS············00·'MS-DOS'39 84A6D·Extract·OS············00·'MS-DOS'
40 8495E·General·Purpose·Flag··000040 84A6E·General·Purpose·Flag··0000
41 84960·Compression·Method····0000·'Stored'41 84A70·Compression·Method····0000·'Stored'
42 84962·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'42 84A72·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'
43 84966·CRC···················EF37578743 84A76·CRC···················9FAF6A31
44 8496A·Compressed·Length·····FFFFFFFF44 84A7A·Compressed·Length·····FFFFFFFF
45 8496E·Uncompressed·Length···FFFFFFFF45 84A7E·Uncompressed·Length···FFFFFFFF
46 84972·Filename·Length·······002B46 84A82·Filename·Length·······002B
47 84974·Extra·Length··········001447 84A84·Extra·Length··········0014
48 84976·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX48 84A86·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
49 ····························XXXX'49 ····························XXXX'
50 849A1·Extra·ID·#0001········0001·'ZIP64'50 84AB1·Extra·ID·#0001········0001·'ZIP64'
51 849A3···Length··············001051 84AB3···Length··············0010
52 849A5···Uncompressed·Size···000000000000BB8952 84AB5···Uncompressed·Size···000000000000BB90
53 849AD···Compressed·Size·····000000000000BB8953 84ABD···Compressed·Size·····000000000000BB90
54 849B5·PAYLOAD54 84AC5·PAYLOAD
  
55 9053E·CENTRAL·HEADER·#1·····02014B5055 90655·CENTRAL·HEADER·#1·····02014B50
56 90542·Created·Zip·Spec······2D·'4.5'56 90659·Created·Zip·Spec······2D·'4.5'
57 90543·Created·OS············03·'Unix'57 9065A·Created·OS············03·'Unix'
58 90544·Extract·Zip·Spec······2D·'4.5'58 9065B·Extract·Zip·Spec······2D·'4.5'
59 90545·Extract·OS············00·'MS-DOS'59 9065C·Extract·OS············00·'MS-DOS'
60 90546·General·Purpose·Flag··000060 9065D·General·Purpose·Flag··0000
61 90548·Compression·Method····0000·'Stored'61 9065F·Compression·Method····0000·'Stored'
62 9054A·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'62 90661·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'
63 9054E·CRC···················2E6500CB63 90665·CRC···················2E6500CB
64 90552·Compressed·Length·····FFFFFFFF64 90669·Compressed·Length·····FFFFFFFF
65 90556·Uncompressed·Length···FFFFFFFF65 9066D·Uncompressed·Length···FFFFFFFF
66 9055A·Filename·Length·······000D66 90671·Filename·Length·······000D
67 9055C·Extra·Length··········001467 90673·Extra·Length··········0014
68 9055E·Comment·Length········000068 90675·Comment·Length········0000
69 90560·Disk·Start············000069 90677·Disk·Start············0000
70 90562·Int·File·Attributes···000070 90679·Int·File·Attributes···0000
71 ······[Bit·0]···············0·'Binary·Data'71 ······[Bit·0]···············0·'Binary·Data'
72 90564·Ext·File·Attributes···81A4000072 9067B·Ext·File·Attributes···81A40000
73 90568·Local·Header·Offset···0000000073 9067F·Local·Header·Offset···00000000
74 9056C·Filename··············'XXXXXXXXXXXXX'74 90683·Filename··············'XXXXXXXXXXXXX'
75 90579·Extra·ID·#0001········0001·'ZIP64'75 90690·Extra·ID·#0001········0001·'ZIP64'
76 9057B···Length··············001076 90692···Length··············0010
77 9057D···Uncompressed·Size···000000000000001E77 90694···Uncompressed·Size···000000000000001E
78 90585···Compressed·Size·····000000000000001E78 9069C···Compressed·Size·····000000000000001E
  
79 9058D·CENTRAL·HEADER·#2·····02014B5079 906A4·CENTRAL·HEADER·#2·····02014B50
80 90591·Created·Zip·Spec······2D·'4.5'80 906A8·Created·Zip·Spec······2D·'4.5'
81 90592·Created·OS············03·'Unix'81 906A9·Created·OS············03·'Unix'
82 90593·Extract·Zip·Spec······2D·'4.5'82 906AA·Extract·Zip·Spec······2D·'4.5'
83 90594·Extract·OS············00·'MS-DOS'83 906AB·Extract·OS············00·'MS-DOS'
84 90595·General·Purpose·Flag··000084 906AC·General·Purpose·Flag··0000
85 90597·Compression·Method····0000·'Stored'85 906AE·Compression·Method····0000·'Stored'
86 90599·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'86 906B0·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'
87 9059D·CRC···················44360E0E87 906B4·CRC···················46BF52C8
88 905A1·Compressed·Length·····FFFFFFFF88 906B8·Compressed·Length·····FFFFFFFF
89 905A5·Uncompressed·Length···FFFFFFFF89 906BC·Uncompressed·Length···FFFFFFFF
90 905A9·Filename·Length·······002A90 906C0·Filename·Length·······002A
91 905AB·Extra·Length··········001491 906C2·Extra·Length··········0014
92 905AD·Comment·Length········000092 906C4·Comment·Length········0000
93 905AF·Disk·Start············000093 906C6·Disk·Start············0000
94 905B1·Int·File·Attributes···000094 906C8·Int·File·Attributes···0000
95 ······[Bit·0]···············0·'Binary·Data'95 ······[Bit·0]···············0·'Binary·Data'
96 905B3·Ext·File·Attributes···81A4000096 906CA·Ext·File·Attributes···81A40000
97 905B7·Local·Header·Offset···0000005D97 906CE·Local·Header·Offset···0000005D
98 905BB·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX98 906D2·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
99 ····························XXX'99 ····························XXX'
100 905E5·Extra·ID·#0001········0001·'ZIP64'100 906FC·Extra·ID·#0001········0001·'ZIP64'
101 905E7···Length··············0010101 906FE···Length··············0010
102 905E9···Uncompressed·Size···000000000008489F102 90700···Uncompressed·Size···00000000000849AF
103 905F1···Compressed·Size·····000000000008489F103 90708···Compressed·Size·····00000000000849AF
  
104 905F9·CENTRAL·HEADER·#3·····02014B50104 90710·CENTRAL·HEADER·#3·····02014B50
105 905FD·Created·Zip·Spec······2D·'4.5'105 90714·Created·Zip·Spec······2D·'4.5'
106 905FE·Created·OS············03·'Unix'106 90715·Created·OS············03·'Unix'
107 905FF·Extract·Zip·Spec······2D·'4.5'107 90716·Extract·Zip·Spec······2D·'4.5'
108 90600·Extract·OS············00·'MS-DOS'108 90717·Extract·OS············00·'MS-DOS'
109 90601·General·Purpose·Flag··0000109 90718·General·Purpose·Flag··0000
110 90603·Compression·Method····0000·'Stored'110 9071A·Compression·Method····0000·'Stored'
111 90605·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'111 9071C·Last·Mod·Time·········5C3AAC68·'Mon·Jan·26·21:35:16·2026'
112 90609·CRC···················EF375787112 90720·CRC···················9FAF6A31
Max diff block lines reached; 1241/8655 bytes (14.34%) of diff not shown.
78.2 KB
pkg-lockfile-lint-5.0.0-hee61e0b_0.tar.zst
78.1 KB
pkg-lockfile-lint-5.0.0-hee61e0b_0.tar
2.5 KB
file list
    
Offset 1, 16 lines modifiedOffset 1, 16 lines modified
1 -rwxr-xr-x···0········0········0·······88·2026-01-26·21:35:17.000000·bin/lockfile-lint1 -rwxr-xr-x···0········0········0·······88·2026-01-26·21:35:17.000000·bin/lockfile-lint
2 -rw-r--r--···0········0········0·······99·2026-01-26·21:35:17.000000·bin/lockfile-lint.cmd2 -rw-r--r--···0········0········0·······99·2026-01-26·21:35:17.000000·bin/lockfile-lint.cmd
3 -rw-r--r--···0········0········0····10779·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/LICENSE3 -rw-r--r--···0········0········0····10779·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/LICENSE
4 -rw-r--r--···0········0········0····10255·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/README.md4 -rw-r--r--···0········0········0····10255·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/README.md
5 -rwxr-xr-x···0········0········0·····4264·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/bin/lockfile-lint.js5 -rwxr-xr-x···0········0········0·····4264·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/bin/lockfile-lint.js
6 -rw-r--r--···0········0········0·····1106·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/LICENSE6 -rw-r--r--···0········0········0·····1106·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/LICENSE
7 -rw-r--r--···0········0········0······334·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/README.md7 -rw-r--r--···0········0········0······334·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/README.md
8 -rw-r--r--···0········0········0·····7020·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js8 -rw-r--r--···0········0········0·····7193·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js
9 -rw-r--r--···0········0········0····24580·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js.map9 -rw-r--r--···0········0········0····25092·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js.map
10 -rw-r--r--···0········0········0······907·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/package.json10 -rw-r--r--···0········0········0······907·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/package.json
11 -rw-r--r--···0········0········0·····1106·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/LICENSE11 -rw-r--r--···0········0········0·····1106·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/LICENSE
12 -rw-r--r--···0········0········0······369·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/README.md12 -rw-r--r--···0········0········0······369·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/README.md
13 -rw-r--r--···0········0········0····12543·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/identifier.js13 -rw-r--r--···0········0········0····12543·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/identifier.js
14 -rw-r--r--···0········0········0····26771·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map14 -rw-r--r--···0········0········0····26771·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map
15 -rw-r--r--···0········0········0·····1362·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/index.js15 -rw-r--r--···0········0········0·····1362·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/index.js
16 -rw-r--r--···0········0········0······505·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/index.js.map16 -rw-r--r--···0········0········0······505·2026-01-26·21:35:17.000000·lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/lib/index.js.map
36.2 KB
lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js
'js-beautify' not available in path. Falling back to binary comparison.
    
Offset 175, 265 lines modifiedOffset 175, 276 lines modified
00000ae0:·0a0a·6c65·7420·6465·7072·6563·6174·696f··..let·deprecatio00000ae0:·0a0a·6c65·7420·6465·7072·6563·6174·696f··..let·deprecatio
00000af0:·6e57·6172·6e69·6e67·5368·6f77·6e20·3d20··nWarningShown·=·00000af0:·6e57·6172·6e69·6e67·5368·6f77·6e20·3d20··nWarningShown·=·
00000b00:·6661·6c73·653b·0a63·6f6e·7374·204e·4557··false;.const·NEW00000b00:·6661·6c73·653b·0a63·6f6e·7374·204e·4557··false;.const·NEW
00000b10:·4c49·4e45·203d·202f·5c72·5c6e·7c5b·5c6e··LINE·=·/\r\n|[\n00000b10:·4c49·4e45·203d·202f·5c72·5c6e·7c5b·5c6e··LINE·=·/\r\n|[\n
00000b20:·5c72·5c75·3230·3238·5c75·3230·3239·5d2f··\r\u2028\u2029]/00000b20:·5c72·5c75·3230·3238·5c75·3230·3239·5d2f··\r\u2028\u2029]/
00000b30:·3b0a·6675·6e63·7469·6f6e·2067·6574·4d61··;.function·getMa00000b30:·3b0a·6675·6e63·7469·6f6e·2067·6574·4d61··;.function·getMa
00000b40:·726b·6572·4c69·6e65·7328·6c6f·632c·2073··rkerLines(loc,·s00000b40:·726b·6572·4c69·6e65·7328·6c6f·632c·2073··rkerLines(loc,·s
00000b50:·6f75·7263·652c·206f·7074·7329·207b·0a20··ource,·opts)·{.·00000b50:·6f75·7263·652c·206f·7074·732c·2073·7461··ource,·opts,·sta
 00000b60:·7274·4c69·6e65·4261·7365·5a65·726f·2920··rtLineBaseZero)·
 00000b70:·7b0a·2020·636f·6e73·7420·7374·6172·744c··{.··const·startL
 00000b80:·6f63·203d·204f·626a·6563·742e·6173·7369··oc·=·Object.assi
 00000b90:·676e·287b·0a20·2020·2063·6f6c·756d·6e3a··gn({.····column:
00000b60:·2063·6f6e·7374·2073·7461·7274·4c6f·6320···const·startLoc· 
00000b70:·3d20·4f62·6a65·6374·2e61·7373·6967·6e28··=·Object.assign( 
00000b80:·7b0a·2020·2020·636f·6c75·6d6e·3a20·302c··{.····column:·0, 
00000b90:·0a20·2020·206c·696e·653a·202d·310a·2020··.····line:·-1.·· 
00000ba0:·7d2c·206c·6f63·2e73·7461·7274·293b·0a20··},·loc.start);.· 
00000bb0:·2063·6f6e·7374·2065·6e64·4c6f·6320·3d20···const·endLoc·=· 
00000bc0:·4f62·6a65·6374·2e61·7373·6967·6e28·7b7d··Object.assign({} 
00000bd0:·2c20·7374·6172·744c·6f63·2c20·6c6f·632e··,·startLoc,·loc. 
00000be0:·656e·6429·3b0a·2020·636f·6e73·7420·7b0a··end);.··const·{. 
00000bf0:·2020·2020·6c69·6e65·7341·626f·7665·203d······linesAbove·= 
00000c00:·2032·2c0a·2020·2020·6c69·6e65·7342·656c···2,.····linesBel00000ba0:·2030·2c0a·2020·2020·6c69·6e65·3a20·2d31···0,.····line:·-1
 00000bb0:·0a20·207d·2c20·6c6f·632e·7374·6172·7429··.··},·loc.start)
00000c10:·6f77·203d·2033·0a20·207d·203d·206f·7074··ow·=·3.··}·=·opt 
00000c20:·7320·7c7c·207b·7d3b·0a20·2063·6f6e·7374··s·||·{};.··const 
00000c30:·2073·7461·7274·4c69·6e65·203d·2073·7461···startLine·=·sta 
00000c40:·7274·4c6f·632e·6c69·6e65·3b0a·2020·636f··rtLoc.line;.··co 
00000c50:·6e73·7420·7374·6172·7443·6f6c·756d·6e20··nst·startColumn· 
00000c60:·3d20·7374·6172·744c·6f63·2e63·6f6c·756d··=·startLoc.colum 
00000c70:·6e3b·0a20·2063·6f6e·7374·2065·6e64·4c69··n;.··const·endLi 
00000c80:·6e65·203d·2065·6e64·4c6f·632e·6c69·6e65··ne·=·endLoc.line 
00000c90:·3b0a·2020·636f·6e73·7420·656e·6443·6f6c··;.··const·endCol00000bc0:·3b0a·2020·636f·6e73·7420·656e·644c·6f63··;.··const·endLoc
00000ca0:·756d·6e20·3d20·656e·644c·6f63·2e63·6f6c··umn·=·endLoc.col00000bd0:·203d·204f·626a·6563·742e·6173·7369·676e···=·Object.assign
 00000be0:·287b·7d2c·2073·7461·7274·4c6f·632c·206c··({},·startLoc,·l
 00000bf0:·6f63·2e65·6e64·293b·0a20·2063·6f6e·7374··oc.end);.··const
 00000c00:·207b·0a20·2020·206c·696e·6573·4162·6f76···{.····linesAbov
 00000c10:·6520·3d20·322c·0a20·2020·206c·696e·6573··e·=·2,.····lines
 00000c20:·4265·6c6f·7720·3d20·330a·2020·7d20·3d20··Below·=·3.··}·=·
 00000c30:·6f70·7473·207c·7c20·7b7d·3b0a·2020·636f··opts·||·{};.··co
 00000c40:·6e73·7420·7374·6172·744c·696e·6520·3d20··nst·startLine·=·
 00000c50:·7374·6172·744c·6f63·2e6c·696e·6520·2d20··startLoc.line·-·
 00000c60:·7374·6172·744c·696e·6542·6173·655a·6572··startLineBaseZer
00000cb0:·756d·6e3b·0a20·206c·6574·2073·7461·7274··umn;.··let·start00000c70:·6f3b·0a20·2063·6f6e·7374·2073·7461·7274··o;.··const·start
 00000c80:·436f·6c75·6d6e·203d·2073·7461·7274·4c6f··Column·=·startLo
 00000c90:·632e·636f·6c75·6d6e·3b0a·2020·636f·6e73··c.column;.··cons
00000cc0:·203d·204d·6174·682e·6d61·7828·7374·6172···=·Math.max(star 
00000cd0:·744c·696e·6520·2d20·286c·696e·6573·4162··tLine·-·(linesAb 
00000ce0:·6f76·6520·2b20·3129·2c20·3029·3b0a·2020··ove·+·1),·0);.·· 
00000cf0:·6c65·7420·656e·6420·3d20·4d61·7468·2e6d··let·end·=·Math.m 
00000d00:·696e·2873·6f75·7263·652e·6c65·6e67·7468··in(source.length 
00000d10:·2c20·656e·644c·696e·6520·2b20·6c69·6e65··,·endLine·+·line00000ca0:·7420·656e·644c·696e·6520·3d20·656e·644c··t·endLine·=·endL
00000d20:·7342·656c·6f77·293b·0a20·2069·6620·2873··sBelow);.··if·(s 
00000d30:·7461·7274·4c69·6e65·203d·3d3d·202d·3129··tartLine·===·-1) 
00000d40:·207b·0a20·2020·2073·7461·7274·203d·2030···{.····start·=·0 
00000d50:·3b0a·2020·7d0a·2020·6966·2028·656e·644c··;.··}.··if·(endL00000cb0:·6f63·2e6c·696e·6520·2d20·7374·6172·744c··oc.line·-·startL
 00000cc0:·696e·6542·6173·655a·6572·6f3b·0a20·2063··ineBaseZero;.··c
 00000cd0:·6f6e·7374·2065·6e64·436f·6c75·6d6e·203d··onst·endColumn·=
 00000ce0:·2065·6e64·4c6f·632e·636f·6c75·6d6e·3b0a···endLoc.column;.
 00000cf0:·2020·6c65·7420·7374·6172·7420·3d20·4d61····let·start·=·Ma
 00000d00:·7468·2e6d·6178·2873·7461·7274·4c69·6e65··th.max(startLine
 00000d10:·202d·2028·6c69·6e65·7341·626f·7665·202b···-·(linesAbove·+
 00000d20:·2031·292c·2030·293b·0a20·206c·6574·2065···1),·0);.··let·e
 00000d30:·6e64·203d·204d·6174·682e·6d69·6e28·736f··nd·=·Math.min(so
 00000d40:·7572·6365·2e6c·656e·6774·682c·2065·6e64··urce.length,·end
 00000d50:·4c69·6e65·202b·206c·696e·6573·4265·6c6f··Line·+·linesBelo
 00000d60:·7729·3b0a·2020·6966·2028·7374·6172·744c··w);.··if·(startL
00000d60:·696e·6520·3d3d·3d20·2d31·2920·7b0a·2020··ine·===·-1)·{.··00000d70:·696e·6520·3d3d·3d20·2d31·2920·7b0a·2020··ine·===·-1)·{.··
 00000d80:·2020·7374·6172·7420·3d20·303b·0a20·207d····start·=·0;.··}
 00000d90:·0a20·2069·6620·2865·6e64·4c69·6e65·203d··.··if·(endLine·=
 00000da0:·3d3d·202d·3129·207b·0a20·2020·2065·6e64··==·-1)·{.····end
 00000db0:·203d·2073·6f75·7263·652e·6c65·6e67·7468···=·source.length
 00000dc0:·3b0a·2020·7d0a·2020·636f·6e73·7420·6c69··;.··}.··const·li
 00000dd0:·6e65·4469·6666·203d·2065·6e64·4c69·6e65··neDiff·=·endLine
 00000de0:·202d·2073·7461·7274·4c69·6e65·3b0a·2020···-·startLine;.··
 00000df0:·636f·6e73·7420·6d61·726b·6572·4c69·6e65··const·markerLine
 00000e00:·7320·3d20·7b7d·3b0a·2020·6966·2028·6c69··s·=·{};.··if·(li
 00000e10:·6e65·4469·6666·2920·7b0a·2020·2020·666f··neDiff)·{.····fo
 00000e20:·7220·286c·6574·2069·203d·2030·3b20·6920··r·(let·i·=·0;·i·
 00000e30:·3c3d·206c·696e·6544·6966·663b·2069·2b2b··<=·lineDiff;·i++
 00000e40:·2920·7b0a·2020·2020·2020·636f·6e73·7420··)·{.······const·
 00000e50:·6c69·6e65·4e75·6d62·6572·203d·2069·202b··lineNumber·=·i·+
 00000e60:·2073·7461·7274·4c69·6e65·3b0a·2020·2020···startLine;.····
 00000e70:·2020·6966·2028·2173·7461·7274·436f·6c75····if·(!startColu
 00000e80:·6d6e·2920·7b0a·2020·2020·2020·2020·6d61··mn)·{.········ma
 00000e90:·726b·6572·4c69·6e65·735b·6c69·6e65·4e75··rkerLines[lineNu
 00000ea0:·6d62·6572·5d20·3d20·7472·7565·3b0a·2020··mber]·=·true;.··
00000d70:·2020·656e·6420·3d20·736f·7572·6365·2e6c····end·=·source.l 
00000d80:·656e·6774·683b·0a20·207d·0a20·2063·6f6e··ength;.··}.··con 
00000d90:·7374·206c·696e·6544·6966·6620·3d20·656e··st·lineDiff·=·en 
00000da0:·644c·696e·6520·2d20·7374·6172·744c·696e··dLine·-·startLin 
00000db0:·653b·0a20·2063·6f6e·7374·206d·6172·6b65··e;.··const·marke 
00000dc0:·724c·696e·6573·203d·207b·7d3b·0a20·2069··rLines·=·{};.··i 
00000dd0:·6620·286c·696e·6544·6966·6629·207b·0a20··f·(lineDiff)·{.· 
00000de0:·2020·2066·6f72·2028·6c65·7420·6920·3d20·····for·(let·i·=· 
00000df0:·303b·2069·203c·3d20·6c69·6e65·4469·6666··0;·i·<=·lineDiff 
00000e00:·3b20·692b·2b29·207b·0a20·2020·2020·2063··;·i++)·{.······c 
00000e10:·6f6e·7374·206c·696e·654e·756d·6265·7220··onst·lineNumber· 
00000e20:·3d20·6920·2b20·7374·6172·744c·696e·653b··=·i·+·startLine; 
Max diff block lines reached; -1/36859 bytes (-0.00%) of diff not shown.
38.9 KB
lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js.map
38.8 KB
Pretty-printed
    
Offset 1, 10 lines modifiedOffset 1, 10 lines modified
1 {1 {
2 ····"file":·"index.js",2 ····"file":·"index.js",
3 ····"mappings":·";;;;;;;;AAGO,SAASA,gBAAgBA,GAAG;EACjC,QAEE,OAAOC,OAAO,KAAK,QAAQ,KACxBA,OAAO,CAACC,GAAG,CAACC,WAAW,KAAK,GAAG,IAAIF,OAAO,CAACC,GAAG,CAACC,WAAW,KAAK,OAAO,CAAC,GACtE,KAAK,GACLC,UAAU,CAACJ,gBAAAA;AAAgB,IAAA;AAEnC,CAAA;AAiBA,MAAMK,OAAkE,GACtEA,CAACC,CAAC,EAAEC,CAAC,KAAKC,CAAC,IACTF,CAAC,CAACC,CAAC,CAACC,CAAC,CAAC,CAAC,CAAA;AAKX,SAASC,SAASA,CAACC,MAAc,EAAQ;EACvC,OAAO;IACLC,OAAO,EAAED,MAAM,CAACE,IAAI;IACpBC,WAAW,EAAEH,MAAM,CAACI,MAAM;IAC1BC,aAAa,EAAEL,MAAM,CAACI,MAAM;IAC5BE,UAAU,EAAEN,MAAM,CAACI,MAAM;IACzBG,MAAM,EAAEP,MAAM,CAACQ,OAAO;IACtBC,MAAM,EAAET,MAAM,CAACU,KAAK;IACpBC,KAAK,EAAEX,MAAM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AIR,QAAQ,CAACK,IAAI,CAAC,EAAE;IAC5C,IAAIC,IAAI,IAAIoB,IAAI,EAAE;MAChBC,WAAW,IAAInB,KAAK,CACjBoB,KAAK,CAAC9B,SAAO,CAAC,CACd+B,GAAG,CAACC,GAAG,IAAIJ,IAAI,CAACpB,IAAI,CAAsB,CAACwB,GAAG,CAAC,CAAC,CAChDC,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,KAAC,MAAM;AACLJ,MAAAA,WAAW,IAAInB,KAAK,CAAA;AACtB,KAAA;AACF,GAAA;AAEA,EAAA,OAAOmB,WAAW,CAAA;AACpB;;AC5NA,IAAIK,uBAAuB,GAAG,KAAK,CAAA;AAwCnC,MAAMlC,OAAO,GAAG,yBAAyB,CAAA;AAQzC,SAASmC,cAAcA,CACrBC,GAAiB,EACjBC,MAAgB,EAChBC,IAAa,EACbC,iBAAyB,EAKzB;AACA,EAAA,MAAMC,QAAkB,GAAAC,MAAA,CAAAC,MAAA,CAAA;AACtBC,IAAAA,MAAM,EAAE,CAAC;AACTC,IAAAA,IAAI,EAAE,CAAC,CAAA;GACJR,EAAAA,GAAG,CAACS,KAAK,CACb,CAAA[·...·truncated·by·diffoscope;·len:·5531,·SHA:·9b65cbb91e8a4c12d724ccb3ad57fe96fcd74a37beae1c93a2ba4541a5f372c7·...·]D,IAAI,CAAC,CAAA;AACnD;;;;;;",
4 ····"names":·[4 ····"names":·[
5 ········"isColorSupported",5 ········"isColorSupported",
6 ········"process",6 ········"process",
7 ········"env",7 ········"env",
8 ········"FORCE_COLOR",8 ········"FORCE_COLOR",
9 ········"picocolors",9 ········"picocolors",
10 ········"compose",10 ········"compose",
Offset 77, 14 lines modifiedOffset 77, 15 lines modified
77 ········"str",77 ········"str",
78 ········"join",78 ········"join",
79 ········"deprecationWarningShown",79 ········"deprecationWarningShown",
80 ········"getMarkerLines",80 ········"getMarkerLines",
81 ········"loc",81 ········"loc",
82 ········"source",82 ········"source",
83 ········"opts",83 ········"opts",
 84 ········"startLineBaseZero",
84 ········"startLoc",85 ········"startLoc",
85 ········"Object",86 ········"Object",
86 ········"assign",87 ········"assign",
87 ········"column",88 ········"column",
88 ········"line",89 ········"line",
89 ········"start",90 ········"start",
90 ········"endLoc",91 ········"endLoc",
Offset 137, 11 lines modifiedOffset 138, 11 lines modified
137 ········"../src/defs.ts",138 ········"../src/defs.ts",
138 ········"../src/highlight.ts",139 ········"../src/highlight.ts",
139 ········"../src/index.ts"140 ········"../src/index.ts"
140 ····],141 ····],
141 ····"sourcesContent":·[142 ····"sourcesContent":·[
142 ········"import·picocolors,·{·createColors·}·from·\"picocolors\";\nimport·type·{·Colors,·Formatter·}·from·\"picocolors/types\";\n\nexport·function·isColorSupported()·{\n··return·(\n····//·See·https://github.com/alexeyraspopov/picocolors/issues/62\n····typeof·process·===·\"object\"·&&\n······(process.env.FORCE_COLOR·===·\"0\"·||·process.env.FORCE_COLOR·===·\"false\")\n······?·false\n······:·picocolors.isColorSupported\n··);\n}\n\nexport·type·InternalTokenType·=\n··|·\"keyword\"\n··|·\"capitalized\"\n··|·\"jsxIdentifier\"\n··|·\"punctuator\"\n··|·\"number\"\n··|·\"string\"\n··|·\"regex\"\n··|·\"comment\"\n··|·\"invalid\";\n\ntype·UITokens·=·\"gutter\"·|·\"marker\"·|·\"message\";\n\nexport·type·Defs·=·Record<InternalTokenType·|·UITokens·|·\"reset\",·Formatter>;\n\nconst·compose:·<T,·U,·V>(f:·(gv:·U)·=>·V,·g:·(v:·T)·=>·U)·=>·(v:·T)·=>·V·=\n··(f,·g)·=>·v·=>\n····f(g(v));\n\n/**\n·*·Styles·for·token·types.\n·*/\nfunction·buildDefs(colors:·Colors):·Defs·{\n··return·{\n····keyword:·colors.cyan,\n····capitalized:·colors.yellow,\n····jsxIdentifier:·colors.yellow,\n····punctuator:·colors.yellow,\n····number:·colors.magenta,\n····string:·colors.green,\n····regex:·colors.magenta,\n····comment:·colors.gray,\n····invalid:·compose(compose(colors.white,·colors.bgRed),·colors.bold),\n\n····gutter:·colors.gray,\n····marker:·compose(colors.red,·colors.bold),\n····message:·compose(colors.red,·colors.bold),\n\n····reset:·colors.reset,\n··};\n}\n\nconst·defsOn·=·buildDefs(createColors(true));\nconst·defsOff·=·buildDefs(createColors(false));\n\nexport·function·getDefs(enabled:·boolean):·Defs·{\n··return·enabled·?·defsOn·:·defsOff;\n}\n",143 ········"import·picocolors,·{·createColors·}·from·\"picocolors\";\nimport·type·{·Colors,·Formatter·}·from·\"picocolors/types\";\n\nexport·function·isColorSupported()·{\n··return·(\n····//·See·https://github.com/alexeyraspopov/picocolors/issues/62\n····typeof·process·===·\"object\"·&&\n······(process.env.FORCE_COLOR·===·\"0\"·||·process.env.FORCE_COLOR·===·\"false\")\n······?·false\n······:·picocolors.isColorSupported\n··);\n}\n\nexport·type·InternalTokenType·=\n··|·\"keyword\"\n··|·\"capitalized\"\n··|·\"jsxIdentifier\"\n··|·\"punctuator\"\n··|·\"number\"\n··|·\"string\"\n··|·\"regex\"\n··|·\"comment\"\n··|·\"invalid\";\n\ntype·UITokens·=·\"gutter\"·|·\"marker\"·|·\"message\";\n\nexport·type·Defs·=·Record<InternalTokenType·|·UITokens·|·\"reset\",·Formatter>;\n\nconst·compose:·<T,·U,·V>(f:·(gv:·U)·=>·V,·g:·(v:·T)·=>·U)·=>·(v:·T)·=>·V·=\n··(f,·g)·=>·v·=>\n····f(g(v));\n\n/**\n·*·Styles·for·token·types.\n·*/\nfunction·buildDefs(colors:·Colors):·Defs·{\n··return·{\n····keyword:·colors.cyan,\n····capitalized:·colors.yellow,\n····jsxIdentifier:·colors.yellow,\n····punctuator:·colors.yellow,\n····number:·colors.magenta,\n····string:·colors.green,\n····regex:·colors.magenta,\n····comment:·colors.gray,\n····invalid:·compose(compose(colors.white,·colors.bgRed),·colors.bold),\n\n····gutter:·colors.gray,\n····marker:·compose(colors.red,·colors.bold),\n····message:·compose(colors.red,·colors.bold),\n\n····reset:·colors.reset,\n··};\n}\n\nconst·defsOn·=·buildDefs(createColors(true));\nconst·defsOff·=·buildDefs(createColors(false));\n\nexport·function·getDefs(enabled:·boolean):·Defs·{\n··return·enabled·?·defsOn·:·defsOff;\n}\n",
143 ········"import·type·{·Token·as·JSToken,·JSXToken·}·from·\"js-tokens\";\nimport·jsTokens·from·\"js-tokens\";\n//·We·inline·this·package\n//·eslint-disable-next-line·import/no-extraneous-dependencies\nimport·*·as·charCodes·from·\"charcodes\";\n\nimport·{\n··isStrictReservedWord,\n··isKeyword,\n}·from·\"@babel/helper-validator-identifier\";\n\nimport·{·getDefs,·type·InternalTokenType·}·from·\"./defs.ts\";\n\n/**\n·*·Names·that·are·always·allowed·as·identifiers,·but·also·appear·as·keywords\n·*·within·certain·syntactic·productions.\n·*\n·*·https://tc39.es/ecma262/#sec-keywords-and-reserved-words\n·*\n·*·`target`·has·been·omitted·since·it·is·very·likely·going·to·be·a·false\n·*·positive.\n·*/\nconst·sometimesKeywords·=·new·Set([\"as\",·\"async\",·\"from\",·\"get\",·\"of\",·\"set\"]);\n\ntype·Token·=·{\n··type:·InternalTokenType·|·\"uncolored\";\n··value:·string;\n};\n\n/**\n·*·RegExp·to·test·for·newlines·in·terminal.\n·*/\nconst·NEWLINE·=·/\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n·*·RegExp·to·test·for·the·three·types·of·brackets.\n·*/\nconst·BRACKET·=·/^[()[\\]{}]$/;\n\nlet·tokenize:·(\n··text:·string,\n)·=>·Generator<{·type:·InternalTokenType·|·\"uncolored\";·value:·string·}>;\n\nif·(process.env.BABEL_8_BREAKING)·{\n··/**\n···*·Get·the·type·of·token,·specifying·punctuator·type.\n···*/\n··const·getTokenType·=·function·(\n····token:·JSToken·|·JSXToken,\n··):·InternalTokenType·|·\"uncolored\"·{\n····if·(token.type·===·\"IdentifierName\")·{\n······const·tokenValue·=·token.value;\n······if·(\n········isKeyword(tokenValue)·||\n········isStrictReservedWord(tokenValue,·true)·||\n········sometimesKeywords.has(tokenValue)\n······)·{\n········return·\"keyword\";\n······}\n\n······const·firstChar·=·tokenValue.charCodeAt(0);\n······if·(firstChar·<·128)·{\n········//·ASCII·characters\n········if·(\n··········firstChar·>=·charCodes.uppercaseA·&&\n··········firstChar·<=·charCodes.uppercaseZ\n········)·{\n··········return·\"capitalized\";\n········}\n······}·else·{\n········const·firstChar·=·String.fromCodePoint(tokenValue.codePointAt(0));\n········if·(firstChar·!==·firstChar.toLowerCase())·{\n··········return·\"capitalized\";\n········}\n······}\n····}\n\n····if·(token.type·===·\"Punctuator\"·&&·BRACKET.test(token.value))·{\n······return·\"uncolored\";\n····}\n\n····if·(token.type·===·\"Invalid\"·&&·token.value·===·\"@\")·{\n······return·\"punctuator\";\n····}\n\n····switch·(token.type)·{\n······case·\"NumericLiteral\":\n········return·\"number\";\n\n······case·\"StringLiteral\":\n······case·\"JSXString\":\n······case·\"NoSubstitutionTemplate\":\n········return·\"string\";\n\n······case·\"RegularExpressionLiteral\":\n········return·\"regex\";\n\n······case·\"Punctuator\":\n······case·\"JSXPunctuator\":\n········return·\"punctuator\";\n\n······case·\"MultiLineComment\":\n······case·\"SingleLineComment\":\n········return·\"comment\";\n\n······case·\"Invalid\":\n······case·\"JSXInvalid\":\n········return·\"invalid\";\n\n······case·\"JSXIdentifier\":\n········return·\"jsxIdentifier\";\n\n······default:\n········return·\"uncolored\";\n····}\n··};\n\n··/**\n···*·Turn·a·string·of·JS·into·an·array·of·objects.\n···*/\n··tokenize·=·function*·(text:·string):·Generator<Token>·{\n····for·(const·token·of·jsTokens(text,·{·jsx:·true·}))·{\n······switch·(token.type)·{\n········case·\"TemplateHead\":\n··········yield·{·type:·\"string\",·value:·token.value.slice(0,·-2)·};\n··········yield·{·type:·\"punctuator\",·value:·\"${\"·};\n··········break;\n\n········case·\"TemplateMiddle\":\n··········yield·{·type:·\"punctuator\",·value:·\"}\"·};\n··········yield·{·type:·\"string\",·value:·token.value.slice(1,·-2)·};\n··········yield·{·type:·\"punctuator\",·value:·\"${\"·};\n··········break;\n\n········case·\"TemplateTail\":\n··········yield·{·type:·\"punctuator\",·value:·\"}\"·};\n··········yield·{·type:·\"string\",·value:·token.value.slice(1)·};\n··········break;\n\n········default:\n··········yield·{\n············type:·getTokenType(token),\n············value:·token.value,\n··········};\n······}\n····}\n··};\n}·else·{\n··/**\n···*·RegExp·to·test·for·what·seems·to·be·a·JSX·tag·name.\n···*/\n··const·JSX_TAG·=·/^[a-z][\\w-]*$/i;\n\n··//·The·token·here·is·defined·in·js-tokens@4.·However·we·don't·bother\n··//·typing·it·since·the·whole·block·will·be·removed·in·Babel·8\n··const·getTokenType·=·function·(token:·any,·offset:·number,·text:·string)·{\n····if·(token.type·===·\"name\")·{\n······const·tokenValue·=·token.value;\n······if·(\n········isKeyword(tokenValue)·||\n········isStrictReservedWord(tokenValue,·true)·||\n········sometimesKeywords.has(tokenValue)\n······)·{\n········return·\"keyword\";\n······}\n\n······if·(\n········JSX_TAG.test(tokenValue)·&&\n········(text[offset·-·1]·===·\"<\"·||·text.slice(offset·-·2,·offset)·===·\"</\")\n······)·{\n········return·\"jsxIdentifier\";\n······}\n\n······const·firstChar·=·String.fromCodePoint(tokenValue.codePointAt(0));\n······if·(firstChar·!==·firstChar.toLowerCase())·{\n········return·\"capitalized\";\n······}\n····}\n\n····if·(token.type·===·\"punctuator\"·&&·BRACKET.test(token.value))·{\n······return·\"bracket\";\n····}\n\n····if·(\n······token.type·===·\"invalid\"·&&\n······(token.value·===·\"@\"·||·token.value·===·\"#\")\n····)·{\n······return·\"punctuator\";\n····}\n\n····return·token.type;\n··};\n\n··tokenize·=·function*·(text:·string)·{\n····let·match;\n····while·((match·=·(jsTokens·as·any).default.exec(text)))·{\n······const·token·=·(jsTokens·as·any).matchToToken(match);\n\n······yield·{\n········type:·getTokenType(token,·match.index,·text),\n········value:·token.value,\n······};\n····}\n··};\n}\n\nexport·function·highlight(text:·string)·{\n··if·(text·===·\"\")·return·\"\";\n\n··const·defs·=·getDefs(true);\n\n··let·highlighted·=·\"\";\n\n··for·(const·{·type,·value·}·of·tokenize(text))·{\n····if·(type·in·defs)·{\n······highlighted·+=·value\n········.split(NEWLINE)\n········.map(str·=>·defs[type·as·InternalTokenType](str))\n········.join(\"\\n\");\n····}·else·{\n······highlighted·+=·value;\n····}\n··}\n\n··return·highlighted;\n}\n",144 ········"import·type·{·Token·as·JSToken,·JSXToken·}·from·\"js-tokens\";\nimport·jsTokens·from·\"js-tokens\";\n//·We·inline·this·package\n//·eslint-disable-next-line·import/no-extraneous-dependencies\nimport·*·as·charCodes·from·\"charcodes\";\n\nimport·{\n··isStrictReservedWord,\n··isKeyword,\n}·from·\"@babel/helper-validator-identifier\";\n\nimport·{·getDefs,·type·InternalTokenType·}·from·\"./defs.ts\";\n\n/**\n·*·Names·that·are·always·allowed·as·identifiers,·but·also·appear·as·keywords\n·*·within·certain·syntactic·productions.\n·*\n·*·https://tc39.es/ecma262/#sec-keywords-and-reserved-words\n·*\n·*·`target`·has·been·omitted·since·it·is·very·likely·going·to·be·a·false\n·*·positive.\n·*/\nconst·sometimesKeywords·=·new·Set([\"as\",·\"async\",·\"from\",·\"get\",·\"of\",·\"set\"]);\n\ntype·Token·=·{\n··type:·InternalTokenType·|·\"uncolored\";\n··value:·string;\n};\n\n/**\n·*·RegExp·to·test·for·newlines·in·terminal.\n·*/\nconst·NEWLINE·=·/\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n·*·RegExp·to·test·for·the·three·types·of·brackets.\n·*/\nconst·BRACKET·=·/^[()[\\]{}]$/;\n\nlet·tokenize:·(\n··text:·string,\n)·=>·Generator<{·type:·InternalTokenType·|·\"uncolored\";·value:·string·}>;\n\nif·(process.env.BABEL_8_BREAKING)·{\n··/**\n···*·Get·the·type·of·token,·specifying·punctuator·type.\n···*/\n··const·getTokenType·=·function·(\n····token:·JSToken·|·JSXToken,\n··):·InternalTokenType·|·\"uncolored\"·{\n····if·(token.type·===·\"IdentifierName\")·{\n······const·tokenValue·=·token.value;\n······if·(\n········isKeyword(tokenValue)·||\n········isStrictReservedWord(tokenValue,·true)·||\n········sometimesKeywords.has(tokenValue)\n······)·{\n········return·\"keyword\";\n······}\n\n······const·firstChar·=·tokenValue.charCodeAt(0);\n······if·(firstChar·<·128)·{\n········//·ASCII·characters\n········if·(\n··········firstChar·>=·charCodes.uppercaseA·&&\n··········firstChar·<=·charCodes.uppercaseZ\n········)·{\n··········return·\"capitalized\";\n········}\n······}·else·{\n········const·firstChar·=·String.fromCodePoint(tokenValue.codePointAt(0));\n········if·(firstChar·!==·firstChar.toLowerCase())·{\n··········return·\"capitalized\";\n········}\n······}\n····}\n\n····if·(token.type·===·\"Punctuator\"·&&·BRACKET.test(token.value))·{\n······return·\"uncolored\";\n····}\n\n····if·(token.type·===·\"Invalid\"·&&·token.value·===·\"@\")·{\n······return·\"punctuator\";\n····}\n\n····switch·(token.type)·{\n······case·\"NumericLiteral\":\n········return·\"number\";\n\n······case·\"StringLiteral\":\n······case·\"JSXString\":\n······case·\"NoSubstitutionTemplate\":\n········return·\"string\";\n\n······case·\"RegularExpressionLiteral\":\n········return·\"regex\";\n\n······case·\"Punctuator\":\n······case·\"JSXPunctuator\":\n········return·\"punctuator\";\n\n······case·\"MultiLineComment\":\n······case·\"SingleLineComment\":\n········return·\"comment\";\n\n······case·\"Invalid\":\n······case·\"JSXInvalid\":\n········return·\"invalid\";\n\n······case·\"JSXIdentifier\":\n········return·\"jsxIdentifier\";\n\n······default:\n········return·\"uncolored\";\n····}\n··};\n\n··/**\n···*·Turn·a·string·of·JS·into·an·array·of·objects.\n···*/\n··tokenize·=·function*·(text:·string):·Generator<Token>·{\n····for·(const·token·of·jsTokens(text,·{·jsx:·true·}))·{\n······switch·(token.type)·{\n········case·\"TemplateHead\":\n··········yield·{·type:·\"string\",·value:·token.value.slice(0,·-2)·};\n··········yield·{·type:·\"punctuator\",·value:·\"${\"·};\n··········break;\n\n········case·\"TemplateMiddle\":\n··········yield·{·type:·\"punctuator\",·value:·\"}\"·};\n··········yield·{·type:·\"string\",·value:·token.value.slice(1,·-2)·};\n··········yield·{·type:·\"punctuator\",·value:·\"${\"·};\n··········break;\n\n········case·\"TemplateTail\":\n··········yield·{·type:·\"punctuator\",·value:·\"}\"·};\n··········yield·{·type:·\"string\",·value:·token.value.slice(1)·};\n··········break;\n\n········default:\n··········yield·{\n············type:·getTokenType(token),\n············value:·token.value,\n··········};\n······}\n····}\n··};\n}·else·{\n··/**\n···*·RegExp·to·test·for·what·seems·to·be·a·JSX·tag·name.\n···*/\n··const·JSX_TAG·=·/^[a-z][\\w-]*$/i;\n\n··//·The·token·here·is·defined·in·js-tokens@4.·However·we·don't·bother\n··//·typing·it·since·the·whole·block·will·be·removed·in·Babel·8\n··const·getTokenType·=·function·(token:·any,·offset:·number,·text:·string)·{\n····if·(token.type·===·\"name\")·{\n······const·tokenValue·=·token.value;\n······if·(\n········isKeyword(tokenValue)·||\n········isStrictReservedWord(tokenValue,·true)·||\n········sometimesKeywords.has(tokenValue)\n······)·{\n········return·\"keyword\";\n······}\n\n······if·(\n········JSX_TAG.test(tokenValue)·&&\n········(text[offset·-·1]·===·\"<\"·||·text.slice(offset·-·2,·offset)·===·\"</\")\n······)·{\n········return·\"jsxIdentifier\";\n······}\n\n······const·firstChar·=·String.fromCodePoint(tokenValue.codePointAt(0));\n······if·(firstChar·!==·firstChar.toLowerCase())·{\n········return·\"capitalized\";\n······}\n····}\n\n····if·(token.type·===·\"punctuator\"·&&·BRACKET.test(token.value))·{\n······return·\"bracket\";\n····}\n\n····if·(\n······token.type·===·\"invalid\"·&&\n······(token.value·===·\"@\"·||·token.value·===·\"#\")\n····)·{\n······return·\"punctuator\";\n····}\n\n····return·token.type;\n··};\n\n··tokenize·=·function*·(text:·string)·{\n····let·match;\n····while·((match·=·(jsTokens·as·any).default.exec(text)))·{\n······const·token·=·(jsTokens·as·any).matchToToken(match);\n\n······yield·{\n········type:·getTokenType(token,·match.index,·text),\n········value:·token.value,\n······};\n····}\n··};\n}\n\nexport·function·highlight(text:·string)·{\n··if·(text·===·\"\")·return·\"\";\n\n··const·defs·=·getDefs(true);\n\n··let·highlighted·=·\"\";\n\n··for·(const·{·type,·value·}·of·tokenize(text))·{\n····if·(type·in·defs)·{\n······highlighted·+=·value\n········.split(NEWLINE)\n········.map(str·=>·defs[type·as·InternalTokenType](str))\n········.join(\"\\n\");\n····}·else·{\n······highlighted·+=·value;\n····}\n··}\n\n··return·highlighted;\n}\n",
144 ········"import·{·getDefs,·isColorSupported·}·from·\"./defs.ts\";\nimport·{·highlight·}·from·\"./highlight.ts\";\n\nexport·{·highlight·};\n\nlet·deprecationWarningShown·=·false;\n\ntype·Location·=·{\n··column:·number;\n··line:·number;\n};\n\ntype·NodeLocation·=·{\n··end?:·Location;\n··start:·Location;\n};\n\nexport·interface·Options·{\n··/**·Syntax·highlight·the·code·as·JavaScript·for·terminals.·default:·false·*/\n··highlightCode?:·boolean;\n··/**··The·number·of·lines·to·show·above·the·error.·default:·2·*/\n··linesAbove?:·number;\n··/**··The·number·of·lines·to·show·below·the·error.·default:·3·*/\n··linesBelow?:·number;\n··/**\n···*·Forcibly·syntax·highlight·the·code·as·JavaScript·(for·non-terminals);\n···*·overrides·highlightCode.\n···*·default:·false\n···*/\n··forceColor?:·boolean;\n··/**\n···*·Pass·in·a·string·to·be·displayed·inline·(if·possible)·next·to·the\n···*·highlighte[·...·truncated·by·diffoscope;·len:·2943,·SHA:·0619065d140f779969ecf847b94204bef20c44612cbf4d9cab4dc08d7bedf406·...·]);\n······const·gutter·=·`·${paddedNumber}·|`;\n······const·hasMarker·=·markerLines[number];\n······const·lastMarkerLine·=·!markerLines[number·+·1];\n······if·(hasMarker)·{\n········let·markerLine·=·\"\";\n········if·(Array.isArray(hasMarker))·{\n··········const·markerSpacing·=·line\n············.slice(0,·Math.max(hasMarker[0]·-·1,·0))\n············.replace(/[^\\t]/g,·\"·\");\n··········const·numberOfMarkers·=·hasMarker[1]·||·1;\n\n··········markerLine·=·[\n············\"\\n·\",\n············defs.gutter(gutter.replace(/\\d/g,·\"·\")),\n············\"·\",\n············markerSpacing,\n············defs.marker(\"^\").repeat(numberOfMarkers),\n··········].join(\"\");\n\n··········if·(lastMarkerLine·&&·opts.message)·{\n············markerLine·+=·\"·\"·+·defs.message(opts.message);\n··········}\n········}\n········return·[\n··········defs.marker(\">\"),\n··········defs.gutter(gutter),\n··········line.length·>·0·?·`·${line}`·:·\"\",\n··········markerLine,\n········].join(\"\");\n······}·else·{\n········return·`·${defs.gutter(gutter)}${line.length·>·0·?·`·${line}`·:·\"\"}`;\n······}\n····})\n····.join(\"\\n\");\n\n··if·(opts.message·&&·!hasColumns)·{\n····frame·=·`${\"·\".repeat(numberMaxWidth·+·1)}${opts.message}\\n${frame}`;\n··}\n\n··if·(shouldHighlight)·{\n····return·defs.reset(frame);\n··}·else·{\n····return·frame;\n··}\n}\n\n/**\n·*·Create·a·code·frame,·adding·line·numbers,·code·highlighting,·and·pointing·to·a·given·position.\n·*/\n\nexport·default·function·(\n··rawLines:·string,\n··lineNumber:·number,\n··colNumber?:·number·|·null,\n··opts:·Options·=·{},\n):·string·{\n··if·(!deprecationWarningShown)·{\n····deprecationWarningShown·=·true;\n\n····const·message·=\n······\"Passing·lineNumber·and·colNumber·is·deprecated·to·@babel/code-frame.·Please·use·`codeFrameColumns`.\";\n\n····if·(process.emitWarning)·{\n······//·A·string·is·directly·supplied·to·emitWarning,·because·when·supplying·an\n······//·Error·object·node·throws·in·the·tests·because·of·different·contexts\n······process.emitWarning(message,·\"DeprecationWarning\");\n····}·else·{\n······const·deprecationError·=·new·Error(message);\n······deprecationError.name·=·\"DeprecationWarning\";\n······console.warn(new·Error(message));\n····}\n··}\n\n··colNumber·=·Math.max(colNumber,·0);\n\n··const·location:·NodeLocation·=·{\n····start:·{·column:·colNumber,·line:·lineNumber·},\n··};\n\n··return·codeFrameColumns(rawLines,·location,·opts);\n}\n"145 ········"import·{·getDefs,·isColorSupported·}·from·\"./defs.ts\";\nimport·{·highlight·}·from·\"./highlight.ts\";\n\nexport·{·highlight·};\n\nlet·deprecationWarningShown·=·false;\n\ntype·Location·=·{\n··column:·number;\n··line:·number;\n};\n\ntype·NodeLocation·=·{\n··end?:·Location;\n··start:·Location;\n};\n\nexport·interface·Options·{\n··/**·Syntax·highlight·the·code·as·JavaScript·for·terminals.·default:·false·*/\n··highlightCode?:·boolean;\n··/**··The·number·of·lines·to·show·above·the·error.·default:·2·*/\n··linesAbove?:·number;\n··/**··The·number·of·lines·to·show·below·the·error.·default:·3·*/\n··linesBelow?:·number;\n··/**·The·line·number·corresponding·to·the·first·line·in·`rawLines`.·default:·1·*/\n··startLine?:·number;\n··/**\n···*·Forcibly·syntax·highlight·the·code·as·JavaScript·(for·non-terminals);\n···*·overrides·highlightCode.\n···*·default:·false\n···*/\n··forceColor[·...·truncated·by·diffoscope;·len:·3280,·SHA:·f196e1d99851d5b28a21758084b77e36922242b618dc282b1e7c0a5fdefb433c·...·]);\n······const·gutter·=·`·${paddedNumber}·|`;\n······const·hasMarker·=·markerLines[number];\n······const·lastMarkerLine·=·!markerLines[number·+·1];\n······if·(hasMarker)·{\n········let·markerLine·=·\"\";\n········if·(Array.isArray(hasMarker))·{\n··········const·markerSpacing·=·line\n············.slice(0,·Math.max(hasMarker[0]·-·1,·0))\n············.replace(/[^\\t]/g,·\"·\");\n··········const·numberOfMarkers·=·hasMarker[1]·||·1;\n\n··········markerLine·=·[\n············\"\\n·\",\n············defs.gutter(gutter.replace(/\\d/g,·\"·\")),\n············\"·\",\n············markerSpacing,\n············defs.marker(\"^\").repeat(numberOfMarkers),\n··········].join(\"\");\n\n··········if·(lastMarkerLine·&&·opts.message)·{\n············markerLine·+=·\"·\"·+·defs.message(opts.message);\n··········}\n········}\n········return·[\n··········defs.marker(\">\"),\n··········defs.gutter(gutter),\n··········line.length·>·0·?·`·${line}`·:·\"\",\n··········markerLine,\n········].join(\"\");\n······}·else·{\n········return·`·${defs.gutter(gutter)}${line.length·>·0·?·`·${line}`·:·\"\"}`;\n······}\n····})\n····.join(\"\\n\");\n\n··if·(opts.message·&&·!hasColumns)·{\n····frame·=·`${\"·\".repeat(numberMaxWidth·+·1)}${opts.message}\\n${frame}`;\n··}\n\n··if·(shouldHighlight)·{\n····return·defs.reset(frame);\n··}·else·{\n····return·frame;\n··}\n}\n\n/**\n·*·Create·a·code·frame,·adding·line·numbers,·code·highlighting,·and·pointing·to·a·given·position.\n·*/\n\nexport·default·function·(\n··rawLines:·string,\n··lineNumber:·number,\n··colNumber?:·number·|·null,\n··opts:·Options·=·{},\n):·string·{\n··if·(!deprecationWarningShown)·{\n····deprecationWarningShown·=·true;\n\n····const·message·=\n······\"Passing·lineNumber·and·colNumber·is·deprecated·to·@babel/code-frame.·Please·use·`codeFrameColumns`.\";\n\n····if·(process.emitWarning)·{\n······//·A·string·is·directly·supplied·to·emitWarning,·because·when·supplying·an\n······//·Error·object·node·throws·in·the·tests·because·of·different·contexts\n······process.emitWarning(message,·\"DeprecationWarning\");\n····}·else·{\n······const·deprecationError·=·new·Error(message);\n······deprecationError.name·=·\"DeprecationWarning\";\n······console.warn(new·Error(message));\n····}\n··}\n\n··colNumber·=·Math.max(colNumber,·0);\n\n··const·location:·NodeLocation·=·{\n····start:·{·column:·colNumber,·line:·lineNumber·},\n··};\n\n··return·codeFrameColumns(rawLines,·location,·opts);\n}\n"
145 ····],146 ····],
146 ····"version":·3147 ····"version":·3
147 }148 }
437 B
lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/package.json
289 B
Pretty-printed
    
Offset 24, 9 lines modifiedOffset 24, 9 lines modified
24 ····},24 ····},
25 ····"repository":·{25 ····"repository":·{
26 ········"directory":·"packages/babel-code-frame",26 ········"directory":·"packages/babel-code-frame",
27 ········"type":·"git",27 ········"type":·"git",
28 ········"url":·"https://github.com/babel/babel.git"28 ········"url":·"https://github.com/babel/babel.git"
29 ····},29 ····},
30 ····"type":·"commonjs",30 ····"type":·"commonjs",
31 ····"version":·"7.28.6"31 ····"version":·"7.29.0"
32 }32 }
2.46 KB
info-lockfile-lint-5.0.0-hee61e0b_0.tar.zst
2.38 KB
info-lockfile-lint-5.0.0-hee61e0b_0.tar
609 B
info/licenses/third-party-licenses.txt
    
Offset 1, 10 lines modifiedOffset 1, 10 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:·@babel/code-frame·(7.28.6)2 The·following·software·may·be·included·in·this·product:·@babel/code-frame·(7.29.0)
3 This·software·contains·the·following·license·and·notice·below:3 This·software·contains·the·following·license·and·notice·below:
  
4 MIT·License4 MIT·License
  
5 Copyright·(c)·2014-present·Sebastian·McKenzie·and·other·contributors5 Copyright·(c)·2014-present·Sebastian·McKenzie·and·other·contributors
  
6 Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining6 Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining
1.71 KB
info/paths.json
1.68 KB
Pretty-printed
    
Offset 41, 27 lines modifiedOffset 41, 27 lines modified
41 ············"path_type":·"hardlink",41 ············"path_type":·"hardlink",
42 ············"sha256":·"c8695ddb503d13b5a671b01f855c8badef445b250105c2d84e7fff502db59c27",42 ············"sha256":·"c8695ddb503d13b5a671b01f855c8badef445b250105c2d84e7fff502db59c27",
43 ············"size_in_bytes":·33443 ············"size_in_bytes":·334
44 ········},44 ········},
45 ········{45 ········{
46 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js",46 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js",
47 ············"path_type":·"hardlink",47 ············"path_type":·"hardlink",
48 ············"sha256":·"f65e2a13a3d01efd795370c4606275ea0152ddebd13eb3b4b6a76e3200a41bae",48 ············"sha256":·"313711c78293dfc83beb2ce5d6846a539235fc48fdd507361b59db8aaba2b186",
49 ············"size_in_bytes":·702049 ············"size_in_bytes":·7193
50 ········},50 ········},
51 ········{51 ········{
52 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js.map",52 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/lib/index.js.map",
53 ············"path_type":·"hardlink",53 ············"path_type":·"hardlink",
54 ············"sha256":·"ca609c61c67764d07e52d35aeac1f11c1704a6430cfbde5c6c5d3206c37e729a",54 ············"sha256":·"1694cdf5e607583c1628d9317e0456d36837972615dad351599a05eafcb14576",
55 ············"size_in_bytes":·2458055 ············"size_in_bytes":·25092
56 ········},56 ········},
57 ········{57 ········{
58 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/package.json",58 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/code-frame/package.json",
59 ············"path_type":·"hardlink",59 ············"path_type":·"hardlink",
60 ············"sha256":·"7b4cd9f9430e2dd559eeccbdb14bcc68a8bd1fa8b55dd24c6608d1162a8ce3c6",60 ············"sha256":·"f1edbd801d5f52c81d692ce6d3b6b678722a123e484c697c92f58a5e79b63cb5",
61 ············"size_in_bytes":·90761 ············"size_in_bytes":·907
62 ········},62 ········},
63 ········{63 ········{
64 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/LICENSE",64 ············"_path":·"lib/node_modules/lockfile-lint/node_modules/@babel/helper-validator-identifier/LICENSE",
65 ············"path_type":·"hardlink",65 ············"path_type":·"hardlink",
66 ············"sha256":·"117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76",66 ············"sha256":·"117da2af0d4ce0fe1c8e19b5cff9dcd806adf973d328d27b11d4448c4ff24f76",
67 ············"size_in_bytes":·110667 ············"size_in_bytes":·1106