| Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
| 1 | Zip·file·size:·131 | 1 | Zip·file·size:·1318482·bytes,·number·of·entries:·3 |
| 2 | -rw-r--r--··4.5·unx·······30·bx·stor·26-Feb-20·21:28·metadata.json | 2 | -rw-r--r--··4.5·unx·······30·bx·stor·26-Feb-20·21:28·metadata.json |
| 3 | -rw-r--r--··4.5·unx··12 | 3 | -rw-r--r--··4.5·unx··1255609·bx·stor·26-Feb-20·21:28·pkg-eslint-10.0.1-hfa286de_0.tar.zst |
| 4 | -rw-r--r--··4.5·unx····62 | 4 | -rw-r--r--··4.5·unx····62301·bx·stor·26-Feb-20·21:28·info-eslint-10.0.1-hfa286de_0.tar.zst |
| 5 | 3·files,·131 | 5 | 3·files,·1317940·bytes·uncompressed,·1317940·bytes·compressed:··0.0% |
| Offset 19, 121 lines modified | Offset 19, 121 lines modified | ||
| 19 | 00005D·LOCAL·HEADER·#2·······04034B50 | 19 | 00005D·LOCAL·HEADER·#2·······04034B50 |
| 20 | 000061·Extract·Zip·Spec······2D·'4.5' | 20 | 000061·Extract·Zip·Spec······2D·'4.5' |
| 21 | 000062·Extract·OS············00·'MS-DOS' | 21 | 000062·Extract·OS············00·'MS-DOS' |
| 22 | 000063·General·Purpose·Flag··0000 | 22 | 000063·General·Purpose·Flag··0000 |
| 23 | 000065·Compression·Method····0000·'Stored' | 23 | 000065·Compression·Method····0000·'Stored' |
| 24 | 000067·Last·Mod·Time·········5C54AB86·'Fri·Feb·20·21:28:12·2026' | 24 | 000067·Last·Mod·Time·········5C54AB86·'Fri·Feb·20·21:28:12·2026' |
| 25 | 00006B·CRC··················· | 25 | 00006B·CRC···················2B3E2705 |
| 26 | 00006F·Compressed·Length·····FFFFFFFF | 26 | 00006F·Compressed·Length·····FFFFFFFF |
| 27 | 000073·Uncompressed·Length···FFFFFFFF | 27 | 000073·Uncompressed·Length···FFFFFFFF |
| 28 | 000077·Filename·Length·······0024 | 28 | 000077·Filename·Length·······0024 |
| 29 | 000079·Extra·Length··········0014 | 29 | 000079·Extra·Length··········0014 |
| 30 | 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | 30 | 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' |
| 31 | 00009F·Extra·ID·#0001········0001·'ZIP64' | 31 | 00009F·Extra·ID·#0001········0001·'ZIP64' |
| 32 | 0000A1···Length··············0010 | 32 | 0000A1···Length··············0010 |
| 33 | 0000A3···Uncompressed·Size···000000000013 | 33 | 0000A3···Uncompressed·Size···00000000001328B9 |
| 34 | 0000AB···Compressed·Size·····000000000013 | 34 | 0000AB···Compressed·Size·····00000000001328B9 |
| 35 | 0000B3·PAYLOAD | 35 | 0000B3·PAYLOAD |
| 36 | 13 | 36 | 13296C·LOCAL·HEADER·#3·······04034B50 |
| 37 | 13 | 37 | 132970·Extract·Zip·Spec······2D·'4.5' |
| 38 | 13 | 38 | 132971·Extract·OS············00·'MS-DOS' |
| 39 | 13 | 39 | 132972·General·Purpose·Flag··0000 |
| 40 | 13 | 40 | 132974·Compression·Method····0000·'Stored' |
| 41 | 13 | 41 | 132976·Last·Mod·Time·········5C54AB86·'Fri·Feb·20·21:28:12·2026' |
| 42 | 13 | 42 | 13297A·CRC···················14927A53 |
| 43 | 13 | 43 | 13297E·Compressed·Length·····FFFFFFFF |
| 44 | 13 | 44 | 132982·Uncompressed·Length···FFFFFFFF |
| 45 | 13 | 45 | 132986·Filename·Length·······0025 |
| 46 | 13 | 46 | 132988·Extra·Length··········0014 |
| 47 | 13 | 47 | 13298A·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' |
| 48 | 13 | 48 | 1329AF·Extra·ID·#0001········0001·'ZIP64' |
| 49 | 13 | 49 | 1329B1···Length··············0010 |
| 50 | 13 | 50 | 1329B3···Uncompressed·Size···000000000000F35D |
| 51 | 13 | 51 | 1329BB···Compressed·Size·····000000000000F35D |
| 52 | 13 | 52 | 1329C3·PAYLOAD |
| 53 | 14 | 53 | 141D20·CENTRAL·HEADER·#1·····02014B50 |
| 54 | 14 | 54 | 141D24·Created·Zip·Spec······2D·'4.5' |
| 55 | 14 | 55 | 141D25·Created·OS············03·'Unix' |
| 56 | 14 | 56 | 141D26·Extract·Zip·Spec······2D·'4.5' |
| 57 | 14 | 57 | 141D27·Extract·OS············00·'MS-DOS' |
| 58 | 14 | 58 | 141D28·General·Purpose·Flag··0000 |
| 59 | 14 | 59 | 141D2A·Compression·Method····0000·'Stored' |
| 60 | 14 | 60 | 141D2C·Last·Mod·Time·········5C54AB86·'Fri·Feb·20·21:28:12·2026' |
| 61 | 14 | 61 | 141D30·CRC···················2E6500CB |
| 62 | 14 | 62 | 141D34·Compressed·Length·····FFFFFFFF |
| 63 | 14 | 63 | 141D38·Uncompressed·Length···FFFFFFFF |
| 64 | 14 | 64 | 141D3C·Filename·Length·······000D |
| 65 | 14 | 65 | 141D3E·Extra·Length··········0014 |
| 66 | 14 | 66 | 141D40·Comment·Length········0000 |
| 67 | 14 | 67 | 141D42·Disk·Start············0000 |
| 68 | 14 | 68 | 141D44·Int·File·Attributes···0000 |
| 69 | ·······[Bit·0]···············0·'Binary·Data' | 69 | ·······[Bit·0]···············0·'Binary·Data' |
| 70 | 14 | 70 | 141D46·Ext·File·Attributes···81A40000 |
| 71 | 14 | 71 | 141D4A·Local·Header·Offset···00000000 |
| 72 | 14 | 72 | 141D4E·Filename··············'XXXXXXXXXXXXX' |
| 73 | 14 | 73 | 141D5B·Extra·ID·#0001········0001·'ZIP64' |
| 74 | 14 | 74 | 141D5D···Length··············0010 |
| 75 | 14 | 75 | 141D5F···Uncompressed·Size···000000000000001E |
| 76 | 14 | 76 | 141D67···Compressed·Size·····000000000000001E |
| 77 | 14 | 77 | 141D6F·CENTRAL·HEADER·#2·····02014B50 |
| 78 | 14 | 78 | 141D73·Created·Zip·Spec······2D·'4.5' |
| 79 | 14 | 79 | 141D74·Created·OS············03·'Unix' |
| 80 | 14 | 80 | 141D75·Extract·Zip·Spec······2D·'4.5' |
| 81 | 14 | 81 | 141D76·Extract·OS············00·'MS-DOS' |
| 82 | 14 | 82 | 141D77·General·Purpose·Flag··0000 |
| 83 | 14 | 83 | 141D79·Compression·Method····0000·'Stored' |
| 84 | 14 | 84 | 141D7B·Last·Mod·Time·········5C54AB86·'Fri·Feb·20·21:28:12·2026' |
| 85 | 14 | 85 | 141D7F·CRC···················2B3E2705 |
| 86 | 14 | 86 | 141D83·Compressed·Length·····FFFFFFFF |
| 87 | 14 | 87 | 141D87·Uncompressed·Length···FFFFFFFF |
| 88 | 14 | 88 | 141D8B·Filename·Length·······0024 |
| 89 | 14 | 89 | 141D8D·Extra·Length··········0014 |
| 90 | 14 | 90 | 141D8F·Comment·Length········0000 |
| 91 | 14 | 91 | 141D91·Disk·Start············0000 |
| 92 | 14 | 92 | 141D93·Int·File·Attributes···0000 |
| 93 | ·······[Bit·0]···············0·'Binary·Data' | 93 | ·······[Bit·0]···············0·'Binary·Data' |
| 94 | 14 | 94 | 141D95·Ext·File·Attributes···81A40000 |
| 95 | 14 | 95 | 141D99·Local·Header·Offset···0000005D |
| 96 | 14 | 96 | 141D9D·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' |
| 97 | 14 | 97 | 141DC1·Extra·ID·#0001········0001·'ZIP64' |
| 98 | 14 | 98 | 141DC3···Length··············0010 |
| 99 | 14 | 99 | 141DC5···Uncompressed·Size···00000000001328B9 |
| 100 | 14 | 100 | 141DCD···Compressed·Size·····00000000001328B9 |
| 101 | 14 | 101 | 141DD5·CENTRAL·HEADER·#3·····02014B50 |
| 102 | 14 | 102 | 141DD9·Created·Zip·Spec······2D·'4.5' |
| 103 | 14 | 103 | 141DDA·Created·OS············03·'Unix' |
| 104 | 14 | 104 | 141DDB·Extract·Zip·Spec······2D·'4.5' |
| 105 | 14 | 105 | 141DDC·Extract·OS············00·'MS-DOS' |
| 106 | 14 | 106 | 141DDD·General·Purpose·Flag··0000 |
| 107 | 14 | 107 | 141DDF·Compression·Method····0000·'Stored' |
| 108 | 14 | 108 | 141DE1·Last·Mod·Time·········5C54AB86·'Fri·Feb·20·21:28:12·2026' |
| 109 | 14 | 109 | 141DE5·CRC···················14927A53 |
| 110 | 14 | 110 | 141DE9·Compressed·Length·····FFFFFFFF |
| 111 | 14 | 111 | 141DED·Uncompressed·Length···FFFFFFFF |
| 112 | 14 | 112 | 141DF1·Filename·Length·······0025 |
| Max diff block lines reached; 1234/8718 bytes (14.15%) of diff not shown. | |||
| Offset 659, 28 lines modified | Offset 659, 28 lines modified | ||
| 659 | -rw-r--r--···0········0········0·····4189·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/commonjs/index.js.map | 659 | -rw-r--r--···0········0········0·····4189·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/commonjs/index.js.map |
| 660 | -rw-r--r--···0········0········0·······25·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/commonjs/package.json | 660 | -rw-r--r--···0········0········0·······25·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/commonjs/package.json |
| 661 | -rw-r--r--···0········0········0······334·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.d.ts | 661 | -rw-r--r--···0········0········0······334·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.d.ts |
| 662 | -rw-r--r--···0········0········0······323·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.d.ts.map | 662 | -rw-r--r--···0········0········0······323·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.d.ts.map |
| 663 | -rw-r--r--···0········0········0·····1608·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.js | 663 | -rw-r--r--···0········0········0·····1608·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.js |
| 664 | -rw-r--r--···0········0········0·····4155·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.js.map | 664 | -rw-r--r--···0········0········0·····4155·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/index.js.map |
| 665 | -rw-r--r--···0········0········0·······23·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/package.json | 665 | -rw-r--r--···0········0········0·······23·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/dist/esm/package.json |
| 666 | -rw-r--r--···0········0········0·····159 | 666 | -rw-r--r--···0········0········0·····1596·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/balanced-match/package.json |
| 667 | -rw-r--r--···0········0········0·····1144·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/LICENSE | 667 | -rw-r--r--···0········0········0·····1144·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/LICENSE |
| 668 | -rw-r--r--···0········0········0·····24 | 668 | -rw-r--r--···0········0········0·····2414·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/README.md |
| 669 | -rw-r--r--···0········0········0······227·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.d.ts | 669 | -rw-r--r--···0········0········0······227·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.d.ts |
| 670 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.d.ts.map | 670 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.d.ts.map |
| 671 | -rw-r--r--···0········0········0·····684 | 671 | -rw-r--r--···0········0········0·····6843·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.js |
| 672 | -rw-r--r--···0········0········0····1378 | 672 | -rw-r--r--···0········0········0····13783·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.js.map |
| 673 | -rw-r--r--···0········0········0·······25·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/package.json | 673 | -rw-r--r--···0········0········0·······25·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/package.json |
| 674 | -rw-r--r--···0········0········0······227·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.d.ts | 674 | -rw-r--r--···0········0········0······227·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.d.ts |
| 675 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.d.ts.map | 675 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.d.ts.map |
| 676 | -rw-r--r--···0········0········0·····66 | 676 | -rw-r--r--···0········0········0·····6660·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.js |
| 677 | -rw-r--r--···0········0········0····1379 | 677 | -rw-r--r--···0········0········0····13797·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.js.map |
| 678 | -rw-r--r--···0········0········0·······23·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/package.json | 678 | -rw-r--r--···0········0········0·······23·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/package.json |
| 679 | -rw-r--r--···0········0········0·····155 | 679 | -rw-r--r--···0········0········0·····1559·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/brace-expansion/package.json |
| 680 | -rw-r--r--···0········0········0·····1105·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/LICENSE | 680 | -rw-r--r--···0········0········0·····1105·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/LICENSE |
| 681 | -rw-r--r--···0········0········0·····4117·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/README.md | 681 | -rw-r--r--···0········0········0·····4117·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/README.md |
| 682 | -rw-r--r--···0········0········0·····1192·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/index.js | 682 | -rw-r--r--···0········0········0·····1192·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/index.js |
| 683 | -rw-r--r--···0········0········0·····1471·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/enoent.js | 683 | -rw-r--r--···0········0········0·····1471·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/enoent.js |
| 684 | -rw-r--r--···0········0········0·····3065·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/parse.js | 684 | -rw-r--r--···0········0········0·····3065·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/parse.js |
| 685 | -rw-r--r--···0········0········0·····1383·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/util/escape.js | 685 | -rw-r--r--···0········0········0·····1383·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/util/escape.js |
| 686 | -rw-r--r--···0········0········0······549·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/util/readShebang.js | 686 | -rw-r--r--···0········0········0······549·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/cross-spawn/lib/util/readShebang.js |
| Offset 911, 60 lines modified | Offset 911, 60 lines modified | ||
| 911 | -rw-r--r--···0········0········0······901·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/levn/package.json | 911 | -rw-r--r--···0········0········0······901·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/levn/package.json |
| 912 | -rw-r--r--···0········0········0·····1580·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/index.d.ts | 912 | -rw-r--r--···0········0········0·····1580·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/index.d.ts |
| 913 | -rw-r--r--···0········0········0·····1329·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/index.js | 913 | -rw-r--r--···0········0········0·····1329·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/index.js |
| 914 | -rw-r--r--···0········0········0·····1117·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/license | 914 | -rw-r--r--···0········0········0·····1117·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/license |
| 915 | -rw-r--r--···0········0········0······786·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/package.json | 915 | -rw-r--r--···0········0········0······786·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/package.json |
| 916 | -rw-r--r--···0········0········0·····2205·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/readme.md | 916 | -rw-r--r--···0········0········0·····2205·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/locate-path/readme.md |
| 917 | -rw-r--r--···0········0········0·····1550·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/LICENSE.md | 917 | -rw-r--r--···0········0········0·····1550·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/LICENSE.md |
| 918 | -rw-r--r--···0········0········0····1 | 918 | -rw-r--r--···0········0········0····19866·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/README.md |
| 919 | -rw-r--r--···0········0········0······11 | 919 | -rw-r--r--···0········0········0······119·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts |
| 920 | -rw-r--r--···0········0········0······199·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map | 920 | -rw-r--r--···0········0········0······199·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map |
| 921 | -rw-r--r--···0········0········0······492·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js | 921 | -rw-r--r--···0········0········0······492·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js |
| 922 | -rw-r--r--···0········0········0······8 | 922 | -rw-r--r--···0········0········0······832·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map |
| 923 | -rw-r--r--···0········0········0······ | 923 | -rw-r--r--···0········0········0······836·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/ast.d.ts |
| 924 | -rw-r--r--···0········0········0······ | 924 | -rw-r--r--···0········0········0······914·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/ast.d.ts.map |
| 925 | -rw-r--r--···0········0········0···· | 925 | -rw-r--r--···0········0········0····30629·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/ast.js |
| 926 | -rw-r--r--···0········0········0···· | 926 | -rw-r--r--···0········0········0····55977·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/ast.js.map |
| 927 | -rw-r--r--···0········0········0······251·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts | 927 | -rw-r--r--···0········0········0······251·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts |
| 928 | -rw-r--r--···0········0········0······319·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map | 928 | -rw-r--r--···0········0········0······319·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map |
| 929 | -rw-r--r--···0········0········0·····5743·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.js | 929 | -rw-r--r--···0········0········0·····5743·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.js |
| 930 | -rw-r--r--···0········0········0····10568·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.js.map | 930 | -rw-r--r--···0········0········0····10568·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/brace-expressions.js.map |
| 931 | -rw-r--r--···0········0········0······776·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.d.ts | 931 | -rw-r--r--···0········0········0······776·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.d.ts |
| 932 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.d.ts.map | 932 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.d.ts.map |
| 933 | -rw-r--r--···0········0········0·····1253·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.js | 933 | -rw-r--r--···0········0········0·····1253·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.js |
| 934 | -rw-r--r--···0········0········0·····1885·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.js.map | 934 | -rw-r--r--···0········0········0·····1885·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/escape.js.map |
| 935 | -rw-r--r--···0········0········0····· | 935 | -rw-r--r--···0········0········0·····7356·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/index.d.ts |
| 936 | -rw-r--r--···0········0········0·····3 | 936 | -rw-r--r--···0········0········0·····3722·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/index.d.ts.map |
| 937 | -rw-r--r--···0········0········0····4 | 937 | -rw-r--r--···0········0········0····44993·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/index.js |
| 938 | -rw-r--r--···0········0········0···· | 938 | -rw-r--r--···0········0········0····85259·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/index.js.map |
| 939 | -rw-r--r--···0········0········0·······25·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/package.json | 939 | -rw-r--r--···0········0········0·······25·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/package.json |
| 940 | -rw-r--r--···0········0········0······951·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.d.ts | 940 | -rw-r--r--···0········0········0······951·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.d.ts |
| 941 | -rw-r--r--···0········0········0······285·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.d.ts.map | 941 | -rw-r--r--···0········0········0······285·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.d.ts.map |
| 942 | -rw-r--r--···0········0········0·····1396·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.js | 942 | -rw-r--r--···0········0········0·····1396·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.js |
| 943 | -rw-r--r--···0········0········0·····2089·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.js.map | 943 | -rw-r--r--···0········0········0·····2089·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/unescape.js.map |
| 944 | -rw-r--r--···0········0········0······11 | 944 | -rw-r--r--···0········0········0······119·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts |
| 945 | -rw-r--r--···0········0········0······199·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map | 945 | -rw-r--r--···0········0········0······199·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map |
| 946 | -rw-r--r--···0········0········0······336·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/assert-valid-pattern.js | 946 | -rw-r--r--···0········0········0······336·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/assert-valid-pattern.js |
| 947 | -rw-r--r--···0········0········0······8 | 947 | -rw-r--r--···0········0········0······815·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map |
| 948 | -rw-r--r--···0········0········0······ | 948 | -rw-r--r--···0········0········0······836·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/ast.d.ts |
| 949 | -rw-r--r--···0········0········0······ | 949 | -rw-r--r--···0········0········0······914·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/ast.d.ts.map |
| 950 | -rw-r--r--···0········0········0···· | 950 | -rw-r--r--···0········0········0····30395·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/ast.js |
| 951 | -rw-r--r--···0········0········0···· | 951 | -rw-r--r--···0········0········0····55992·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/ast.js.map |
| 952 | -rw-r--r--···0········0········0······251·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.d.ts | 952 | -rw-r--r--···0········0········0······251·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.d.ts |
| 953 | -rw-r--r--···0········0········0······319·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map | 953 | -rw-r--r--···0········0········0······319·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map |
| 954 | -rw-r--r--···0········0········0·····5611·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.js | 954 | -rw-r--r--···0········0········0·····5611·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.js |
| 955 | -rw-r--r--···0········0········0····10552·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.js.map | 955 | -rw-r--r--···0········0········0····10552·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/brace-expressions.js.map |
| 956 | -rw-r--r--···0········0········0······776·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.d.ts | 956 | -rw-r--r--···0········0········0······776·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.d.ts |
| 957 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.d.ts.map | 957 | -rw-r--r--···0········0········0······273·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.d.ts.map |
| 958 | -rw-r--r--···0········0········0·····1133·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.js | 958 | -rw-r--r--···0········0········0·····1133·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.js |
| 959 | -rw-r--r--···0········0········0·····1869·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.js.map | 959 | -rw-r--r--···0········0········0·····1869·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/escape.js.map |
| 960 | -rw-r--r--···0········0········0····· | 960 | -rw-r--r--···0········0········0·····7356·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/index.d.ts |
| 961 | -rw-r--r--···0········0········0·····3 | 961 | -rw-r--r--···0········0········0·····3722·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/index.d.ts.map |
| 962 | -rw-r--r--···0········0········0····4 | 962 | -rw-r--r--···0········0········0····43663·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/index.js |
| 963 | -rw-r--r--···0········0········0···· | 963 | -rw-r--r--···0········0········0····85294·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/index.js.map |
| 964 | -rw-r--r--···0········0········0·······23·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/package.json | 964 | -rw-r--r--···0········0········0·······23·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/package.json |
| 965 | -rw-r--r--···0········0········0······951·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.d.ts | 965 | -rw-r--r--···0········0········0······951·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.d.ts |
| 966 | -rw-r--r--···0········0········0······285·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.d.ts.map | 966 | -rw-r--r--···0········0········0······285·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.d.ts.map |
| 967 | -rw-r--r--···0········0········0·····1270·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.js | 967 | -rw-r--r--···0········0········0·····1270·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.js |
| 968 | -rw-r--r--···0········0········0·····2073·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.js.map | 968 | -rw-r--r--···0········0········0·····2073·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/dist/esm/unescape.js.map |
| 969 | -rw-r--r--···0········0········0·····1624·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/package.json | 969 | -rw-r--r--···0········0········0·····1624·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/minimatch/package.json |
| 970 | -rw-r--r--···0········0········0·····3024·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/ms/index.js | 970 | -rw-r--r--···0········0········0·····3024·2026-02-20·21:28:13.000000·lib/node_modules/eslint/node_modules/ms/index.js |
| Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"description":·"Match·balanced·character·pairs,·like·\"{\"·and·\"}\"", | 2 | ····"description":·"Match·balanced·character·pairs,·like·\"{\"·and·\"}\"", |
| 3 | ····"devDependencies":·{ | 3 | ····"devDependencies":·{ |
| 4 | ········"@types/brace-expansion":·"^1.1.2", | 4 | ········"@types/brace-expansion":·"^1.1.2", |
| 5 | ········"@types/node":·"^25.2.1", | 5 | ········"@types/node":·"^25.2.1", |
| 6 | ········"mkdirp":·"^3.0.1", | 6 | ········"mkdirp":·"^3.0.1", |
| 7 | ········"prettier":·"^3.3.2", | 7 | ········"prettier":·"^3.3.2", |
| 8 | ········"tap":·"^21. | 8 | ········"tap":·"^21.6.2", |
| 9 | ········"tshy":·"^3.0.2", | 9 | ········"tshy":·"^3.0.2", |
| 10 | ········"typedoc":·"^0.28.5" | 10 | ········"typedoc":·"^0.28.5" |
| 11 | ····}, | 11 | ····}, |
| 12 | ····"engines":·{ | 12 | ····"engines":·{ |
| 13 | ········"node":·"20·||·>=22" | 13 | ········"node":·"18·||·20·||·>=22" |
| 14 | ····}, | 14 | ····}, |
| 15 | ····"exports":·{ | 15 | ····"exports":·{ |
| 16 | ········".":·{ | 16 | ········".":·{ |
| 17 | ············"import":·{ | 17 | ············"import":·{ |
| 18 | ················"default":·"./dist/esm/index.js", | 18 | ················"default":·"./dist/esm/index.js", |
| 19 | ················"types":·"./dist/esm/index.d.ts" | 19 | ················"types":·"./dist/esm/index.d.ts" |
| 20 | ············}, | 20 | ············}, |
| Offset 60, 9 lines modified | Offset 60, 9 lines modified | ||
| 60 | ········"exports":·{ | 60 | ········"exports":·{ |
| 61 | ············".":·"./src/index.ts", | 61 | ············".":·"./src/index.ts", |
| 62 | ············"./package.json":·"./package.json" | 62 | ············"./package.json":·"./package.json" |
| 63 | ········} | 63 | ········} |
| 64 | ····}, | 64 | ····}, |
| 65 | ····"type":·"module", | 65 | ····"type":·"module", |
| 66 | ····"types":·"./dist/commonjs/index.d.ts", | 66 | ····"types":·"./dist/commonjs/index.d.ts", |
| 67 | ····"version":·"4.0. | 67 | ····"version":·"4.0.4" |
| 68 | } | 68 | } |
| Offset 41, 15 lines modified | Offset 41, 15 lines modified | ||
| 41 | expand('ppp{,config,oe{,conf}}') | 41 | expand('ppp{,config,oe{,conf}}') |
| 42 | //·=>·['ppp',·'pppconfig',·'pppoe',·'pppoeconf'] | 42 | //·=>·['ppp',·'pppconfig',·'pppoe',·'pppoeconf'] |
| 43 | ``` | 43 | ``` |
| 44 | ##·API | 44 | ##·API |
| 45 | ```js | 45 | ```js |
| 46 | import·{·expand·}·from·' | 46 | import·{·expand·}·from·'brace-expansion' |
| 47 | ``` | 47 | ``` |
| 48 | ###·const·expanded·=·expand(str,·[options]) | 48 | ###·const·expanded·=·expand(str,·[options]) |
| 49 | Return·an·array·of·all·possible·and·valid·expansions·of·`str`.·If | 49 | Return·an·array·of·all·possible·and·valid·expansions·of·`str`.·If |
| 50 | none·are·found,·`[str]`·is·returned. | 50 | none·are·found,·`[str]`·is·returned. |
| Offset 46, 383 lines modified | Offset 46, 383 lines modified | ||
| 000002d0:·5c5c·2f67·3b0a·636f·6e73·7420·6f70·656e··\\/g;.const·open | 000002d0:·5c5c·2f67·3b0a·636f·6e73·7420·6f70·656e··\\/g;.const·open | ||
| 000002e0:·5061·7474·6572·6e20·3d20·2f5c·5c7b·2f67··Pattern·=·/\\{/g | 000002e0:·5061·7474·6572·6e20·3d20·2f5c·5c7b·2f67··Pattern·=·/\\{/g | ||
| 000002f0:·3b0a·636f·6e73·7420·636c·6f73·6550·6174··;.const·closePat | 000002f0:·3b0a·636f·6e73·7420·636c·6f73·6550·6174··;.const·closePat | ||
| 00000300:·7465·726e·203d·202f·5c5c·7d2f·673b·0a63··tern·=·/\\}/g;.c | 00000300:·7465·726e·203d·202f·5c5c·7d2f·673b·0a63··tern·=·/\\}/g;.c | ||
| 00000310:·6f6e·7374·2063·6f6d·6d61·5061·7474·6572··onst·commaPatter | 00000310:·6f6e·7374·2063·6f6d·6d61·5061·7474·6572··onst·commaPatter | ||
| 00000320:·6e20·3d20·2f5c·5c2c·2f67·3b0a·636f·6e73··n·=·/\\,/g;.cons | 00000320:·6e20·3d20·2f5c·5c2c·2f67·3b0a·636f·6e73··n·=·/\\,/g;.cons | ||
| 00000330:·7420·7065·7269·6f64·5061·7474·6572·6e20··t·periodPattern· | 00000330:·7420·7065·7269·6f64·5061·7474·6572·6e20··t·periodPattern· | ||
| 00000340:·3d20·2f5c·5c2e | 00000340:·3d20·2f5c·5c5c·2e2f·673b·0a65·7870·6f72··=·/\\\./g;.expor | ||
| 00000350:·732e | 00000350:·7473·2e45·5850·414e·5349·4f4e·5f4d·4158··ts.EXPANSION_MAX | ||
| 00000360:·3d20 | 00000360:·203d·2031·3030·5f30·3030·3b0a·6675·6e63···=·100_000;.func | ||
| 00000370:·696f·6e20·6e75·6d65·7269·6328·7374·7229··ion·numeric(str) | |||
| 00000380:·207b·0a20·2020·2072·6574·7572·6e20·2169···{.····return·!i | |||
| 00000390:·734e·614e·2873·7472·2920·3f20·7061·7273··sNaN(str)·?·pars | |||
| 000003a0:·6549·6e74·2873·7472·2c20·3130·2920·3a20··eInt(str,·10)·:· | |||
| 000003b0:·7374·722e·6368·6172·436f·6465·4174·2830··str.charCodeAt(0 | |||
| 000003c0:·293b·0a7d·0a66·756e·6374·696f·6e20·6573··);.}.function·es | |||
| 000003d0:·6361·7065·4272·6163·6573·2873·7472·2920··capeBraces(str)· | |||
| 000003e0:·7b0a·2020·2020·7265·7475·726e·2073·7472··{.····return·str | |||
| 000003f0:·0a20·2020·2020·2020·202e·7265·706c·6163··.········.replac | |||
| 00000400:·6528·736c·6173·6850·6174·7465·726e·2c20··e(slashPattern,· | |||
| 00000410:·6573·6353·6c61·7368·290a·2020·2020·2020··escSlash).······ | |||
| 00000420:·2020·2e72·6570·6c61·6365·286f·7065·6e50····.replace(openP | |||
| 00000430:·6174·7465·726e·2c20·6573·634f·7065·6e29··attern,·escOpen) | |||
| 00000440:·0a20·2020·2020·2020·202e·7265·706c·6163··.········.replac | |||
| 00000450:·6528·636c·6f73·6550·6174·7465·726e·2c20··e(closePattern,· | |||
| 00000460:·6573·6343·6c6f·7365·290a·2020·2020·2020··escClose).······ | |||
| 00000470:·2020·2e72·6570·6c61·6365·2863·6f6d·6d61····.replace(comma | |||
| 00000480:·5061·7474·6572·6e2c·2065·7363·436f·6d6d··Pattern,·escComm | |||
| 00000490:·6129·0a20·2020·2020·2020·202e·7265·706c··a).········.repl | |||
| 000004a0:·6163·6528·7065·7269·6f64·5061·7474·6572··ace(periodPatter | |||
| 000004b0:·6e2c·2065·7363·5065·7269·6f64·293b·0a7d··n,·escPeriod);.} | |||
| 000004c0:·0a66·756e·6374·696f·6e20·756e·6573·6361··.function·unesca | |||
| 000004d0:·7065·4272·6163·6573·2873·7472·2920·7b0a··peBraces(str)·{. | |||
| 000004e0:·2020·2020·7265·7475·726e·2073·7472·0a20······return·str.· | |||
| 000004f0:·2020·2020·2020·202e·7265·706c·6163·6528·········.replace( | |||
| 00000500:·6573·6353·6c61·7368·5061·7474·6572·6e2c··escSlashPattern, | |||
| 00000510:·2027·5c5c·2729·0a20·2020·2020·2020·202e···'\\').········. | |||
| 00000520:·7265·706c·6163·6528·6573·634f·7065·6e50··replace(escOpenP | |||
| 00000530:·6174·7465·726e·2c20·277b·2729·0a20·2020··attern,·'{').··· | |||
| 00000540:·2020·2020·202e·7265·706c·6163·6528·6573·······.replace(es | |||
| 00000550:·6343·6c6f·7365·5061·7474·6572·6e2c·2027··cClosePattern,·' | |||
| 00000560:·7d27·290a·2020·2020·2020·2020·2e72·6570··}').········.rep | |||
| 00000570:·6c61·6365·2865·7363·436f·6d6d·6150·6174··lace(escCommaPat | |||
| 00000580:·7465·726e·2c20·272c·2729·0a20·2020·2020··tern,·',').····· | |||
| 00000590:·2020·202e·7265·706c·6163·6528·6573·6350·····.replace(escP | |||
| 000005a0:·6572·696f·6450·6174·7465·726e·2c20·272e··eriodPattern,·'. | |||
| 000005b0:·2729·3b0a·7d0a·2f2a·2a0a·202a·2042·6173··');.}./**.·*·Bas | |||
| 000005c0:·6963·616c·6c79·206a·7573·7420·7374·722e··ically·just·str. | |||
| 000005d0:·7370·6c69·7428·222c·2229·2c20·6275·7420··split(","),·but· | |||
| 000005e0:·6861·6e64·6c69·6e67·2063·6173·6573·0a20··handling·cases.· | |||
| 000005f0:·2a20·7768·6572·6520·7765·2068·6176·6520··*·where·we·have· | |||
| 00000600:·6e65·7374·6564·2062·7261·6365·6420·7365··nested·braced·se | |||
| 00000610:·6374·696f·6e73·2c20·7768·6963·6820·7368··ctions,·which·sh | |||
| 00000620:·6f75·6c64·2062·650a·202a·2074·7265·6174··ould·be.·*·treat | |||
| 00000630:·6564·2061·7320·696e·6469·7669·6475·616c··ed·as·individual | |||
| 00000640:·206d·656d·6265·7273·2c20·6c69·6b65·207b···members,·like·{ | |||
| 00000650:·612c·7b62·2c63·7d2c·647d·0a20·2a2f·0a66··a,{b,c},d}.·*/.f | |||
| 00000660:·756e·6374·696f·6e20·7061·7273·6543·6f6d··unction·parseCom | |||
| 00000670:·6d61·5061·7274·7328·7374·7229·207b·0a20··maParts(str)·{.· | |||
| 00000680:·2020·2069·6620·2821·7374·7229·207b·0a20·····if·(!str)·{.· | |||
| 00000690:·2020·2020·2020·2072·6574·7572·6e20·5b27·········return·[' | |||
| 000006a0:·275d·3b0a·2020·2020·7d0a·2020·2020·636f··'];.····}.····co | |||
| 000006b0:·6e73·7420·7061·7274·7320·3d20·5b5d·3b0a··nst·parts·=·[];. | |||
| 000006c0:·2020·2020·636f·6e73·7420·6d20·3d20·2830······const·m·=·(0 | |||
| 000006d0:·2c20·6261·6c61·6e63·6564·5f6d·6174·6368··,·balanced_match | |||
| 000006e0:·5f31·2e62·616c·616e·6365·6429·2827·7b27··_1.balanced)('{' | |||
| 000006f0:·2c20·277d·272c·2073·7472·293b·0a20·2020··,·'}',·str);.··· | |||
| 00000700:·2069·6620·2821·6d29·207b·0a20·2020·2020···if·(!m)·{.····· | |||
| 00000710:·2020·2072·6574·7572·6e20·7374·722e·7370·····return·str.sp | |||
| 00000720:·6c69·7428·272c·2729·3b0a·2020·2020·7d0a··lit(',');.····}. | |||
| 00000730:·2020·2020·636f·6e73·7420·7b20·7072·652c······const·{·pre, | |||
| 00000740:·2062·6f64·792c·2070·6f73·7420·7d20·3d20···body,·post·}·=· | |||
| 00000750:·6d3b·0a20·2020·2063·6f6e·7374·2070·203d··m;.····const·p·= | |||
| 00000760:·2070·7265·2e73·706c·6974·2827·2c27·293b···pre.split(','); | |||
| 00000770:·0a20·2020·2070·5b70·2e6c·656e·6774·6820··.····p[p.length· | |||
| 00000780:·2d20·315d·202b·3d20·277b·2720·2b20·626f··-·1]·+=·'{'·+·bo | |||
| 00000790:·6479·202b·2027·7d27·3b0a·2020·2020·636f··dy·+·'}';.····co | |||
| 000007a0:·6e73·7420·706f·7374·5061·7274·7320·3d20··nst·postParts·=· | |||
| 000007b0:·7061·7273·6543·6f6d·6d61·5061·7274·7328··parseCommaParts( | |||
| 000007c0:·706f·7374·293b·0a20·2020·2069·6620·2870··post);.····if·(p | |||
| 000007d0:·6f73·742e·6c65·6e67·7468·2920·7b0a·2020··ost.length)·{.·· | |||
| 000007e0:·2020·2020·2020·3b0a·2020·2020·2020·2020········;.········ | |||
| 000007f0:·705b·702e·6c65·6e67·7468·202d·2031·5d20··p[p.length·-·1]· | |||
| 00000800:·2b3d·2070·6f73·7450·6172·7473·2e73·6869··+=·postParts.shi | |||
| 00000810:·6674·2829·3b0a·2020·2020·2020·2020·702e··ft();.········p. | |||
| 00000820:·7075·7368·2e61·7070·6c79·2870·2c20·706f··push.apply(p,·po | |||
| 00000830:·7374·5061·7274·7329·3b0a·2020·2020·7d0a··stParts);.····}. | |||
| 00000840:·2020·2020·7061·7274·732e·7075·7368·2e61······parts.push.a | |||
| 00000850:·7070·6c79·2870·6172·7473·2c20·7029·3b0a··pply(parts,·p);. | |||
| 00000860:·2020·2020·7265·7475·726e·2070·6172·7473······return·parts | |||
| 00000870:·3b0a·7d0a·6675·6e63·7469·6f6e·2065·7870··;.}.function·exp | |||
| 00000880:·616e·6428·7374·722c·206f·7074·696f·6e73··and(str,·options | |||
| 00000890:·203d·207b·7d29·207b·0a20·2020·2069·6620···=·{})·{.····if· | |||
| 000008a0:·2821·7374·7229·207b·0a20·2020·2020·2020··(!str)·{.······· | |||
| 000008b0:·2072·6574·7572·6e20·5b5d·3b0a·2020·2020···return·[];.···· | |||
| 000008c0:·7d0a·2020·2020·636f·6e73·7420·7b20·6d61··}.····const·{·ma | |||
| 000008d0:·7820·3d20·6578·706f·7274·732e·4558·5041··x·=·exports.EXPA | |||
| 000008e0:·4e53·494f·4e5f·4d41·5820·7d20·3d20·6f70··NSION_MAX·}·=·op | |||
| 000008f0:·7469·6f6e·733b·0a20·2020·202f·2f20·4920··tions;.····//·I· | |||
| Max diff block lines reached; 18343/51623 bytes (35.53%) of diff not shown. | |||
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"index.js", | 2 | ····"file":·"index.js", |
| 3 | ····"mappings":·";;;AA8EA,wBAkBC;AAhGD,mDAAyC;AAEzC,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AAC/C,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACnD,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAC/C,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,gBAAgB,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC,CAAA;AACnD,MAAM,YAAY,GAAG,OAAO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,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBACtC,IAAI,CAAC,KAAK,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC;oBACtC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;gBAC5B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC", |
| 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·{·balanced·}·from·'balanced-match'\n\nconst·escSlash·=·'\\0SLASH'·+·Math.random()·+·'\\0'\nconst·escOpen·=·'\\0OPEN'·+·Math.random()·+·'\\0'\nconst·escClose·=·'\\0CLOSE'·+·Math.random()·+·'\\0'\nconst·escComma·=·'\\0COMMA'·+·Math.random()·+·'\\0'\nconst·escPeriod·=·'\\0PERIOD'·+·Math.random()·+·'\\0'\nconst·escSlashPattern·=·new·RegExp(escSlash,·'g')\nconst·escOpenPattern·=·new·RegExp(escOpen,·'g')\nconst·escClosePattern·=·new·RegExp(escClose,·'g')\nconst·escCommaPattern·=·new·RegExp(escComma,·'g')\nconst·escPeriodPattern·=·new·RegExp(escPeriod,·'g')\nconst·slashPattern·=·/\\\\\\\\/g\nconst·openPattern·=·/\\\\{/g\nconst·closePattern·=·/\\\\}/g\nconst·commaPattern·=·/\\\\,/g\nconst·periodPattern·=·/\\\\./g\n\nexport·const·EXPANSION_MAX·=·100_000\n\nfunction·numeric(str:·string)·{\n··return·!isNaN(str·as·any)·?·parseInt(str,·10)·:·str.charCodeAt(0)\n}\n\nfunction·escapeBraces(str:·string)·{\n··return·str\n····.replace(slashPattern,·escSlash)\n····.replace(openPattern,·escOpen)\n····.replace(closePattern,·escClose)\n····.replace(commaPattern,·escComma)\n····.replace(periodPattern,·escPeriod)\n}\n\nfunction·unescapeBraces(str:·string)·{\n··return·str\n····.replace(escSlashPattern,·'\\\\')\n····.replace(escOpenPattern,·'{')\n····.replace(escClosePattern,·'}')\n····.replace(escCommaPattern,·',')\n····.replace(escPeriodPattern,·'.')\n}\n\n/**\n·*·Basically·just·str.split(\",\"),·but·handling·cases\n·*·where·we·have·nested·braced·sections,·which·should·be\n·*·treated·as·individual·members,·like·{a,{b,c},d}\n·*/\nfunction·parseCommaParts(str:·string)·{\n··if·(!str)·{\n····return·['']\n··}\n\n··const·parts:·string[]·=·[]\n··const·m·=·balanced('{',·'}',·str)\n\n··if·(!m)·{\n····return·str.split(',')\n··}\n\n··const·{·pre,·body,·post·}·=·m\n··const·p·=·pre.split(',')\n\n··p[p.length·-·1]·+=·'{'·+·body·+·'}'\n··const·postParts·=·parseCommaParts(post)\n··if·(post.length)·{\n····;(p[p.length·-·1]·as·string)·+=·postParts.shift()\n····p.push.apply(p,·postParts)\n··}\n\n··parts.push.apply(parts,·p)\n\n··return·parts\n}\n\nexport·type·BraceExpansionOptions·=·{\n··max?:·number\n}\n\nexport·function·expand(str:·string,·options:·BraceExpansionOptions·=·{})·{\n··if·(!str)·{\n····return·[]\n··}\n\n··const·{·max·=·EXPANSION_MAX·}·=·options\n\n··//·I·don't·know·why·Bash·4.3·does·this,·but·it·does.\n··//·Anything·starting·with·{}·will·have·the·first·two·bytes·preserved\n··//·but·*only*·at·the·top·level,·so·{},a}b·will·not·expand·to·anything,\n··//·but·a{},b}c·will·be·expanded·to·[a}c,abc].\n··//·One·could·argue·that·this·is·a·bug·in·Bash,·but·since·the·goal·of\n··//·this·module·is·to·match·Bash's·rules,·we·escape·a·leading·{}\n··if·(str.slice(0,·2)·===·'{}')·{\n····str·=·'\\\\{\\\\}'·+·str.slice(2)\n··}\n\n··return·expand_(escapeBraces(str),·max,·true).map(unescapeBraces)\n}\n\nfunction·embrace(str:·string)·{\n··return·'{'·+·str·+·'}'\n}\n\nfunction·isPadded(el:·string)·{\n··return·/^-?0\\d/.test(el)\n}\n\nfunction·lte(i:·number,·y:·number)·{\n··return·i·<=·y\n}\n\nfunction·gte(i:·number,·y:·number)·{\n··return·i·>=·y\n}\n\nfunction·expand_(str:·string,·max:·number,·isTop:·boolean):·string[]·{\n··/**·@type·{string[]}·*/\n··const·expansions:·string[]·=·[]\n\n··const·m·=·balanced('{',·'}',·str)\n··if·(!m)·return·[str]\n\n··//·no·need·to·expand·pre,·since·it·is·guaranteed·to·be·free·of·brace-sets\n··const·pre·=·m.pre\n··const·post:·string[]·=·m.post.length·?·expand_(m.post,·max,·false)·:·['']\n\n··if·(/\\$$/.test(m.pre))·{\n····for·(let·k·=·0;·k·<·post.length·&&·k·<·max;·k++)·{\n······const·expansion·=·pre·+·'{'·+·m.body·+·'}'·+·post[k]\n······expansions.push(expansion)\n····}\n··}·else·{\n····const·isNumericSequence·=·/^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n····const·isAlphaSequence·=·/^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n······m.body,\n····)\n····const·isSequence·=·isNumericSequence·||·isAlphaSequence\n····const·isOptions·=·m.body.indexOf(',')·>=·0\n····if·(!isSequence·&&·!isOptions)·{\n······//·{a},b}\n······if·(m.post.match(/,(?!,).*\\}/))·{\n········str·=·m.pre·+·'{'·+·m.body·+·escClose·+·m.post\n········return·expand_(str,·max,·true)\n······}\n······return·[str]\n····}\n\n····let·n:·string[]\n····if·(isSequence)·{\n······n·=·m.body.split(/\\.\\./)\n····}·else·{\n······n·=·parseCommaParts(m.body)\n······if·(n.length·===·1·&&·n[0]·!==·undefined)·{\n········//·x{{a,b}}y·==>·x{a}y·x{b}y\n········n·=·expand_(n[0],·max,·false).map(embrace)\n········//XXX·is·this·necessary?·Can't·seem·to·hit·it·in·tests.\n········/*·c8·ignore·start·*/\n········if·(n.length·===·1)·{\n··········return·post.map(p·=>·m.pre·+·n[0]·+·p)\n········}\n········/*·c8·ignore·stop·*/\n······}\n····}\n\n····//·at·this·point,·n·is·the·parts,·and·we·know·it's·not·a·comma·set\n····//·with·a·single·entry.\n····let·N:·string[]\n\n····if·(isSequence·&&·n[0]·!==·undefined·&&·n[1]·!==·undefined)·{\n······const·x·=·numeric(n[0])\n······const·y·=·numeric(n[1])\n······const·width·=·Math.max(n[0].length,·n[1].length)\n······let·incr·=\n········n.length·===·3·&&·n[2]·!==·undefined·?·Math.abs(numeric(n[2]))·:·1\n······let·test·=·lte\n······const·reverse·=·y·<·x\n······if·(reverse)·{\n········incr·*=·-1\n········test·=·gte\n······}\n······const·pad·=·n.some(isPadded)\n\n······N·=·[]\n\n······for·(let·i·=·x;·test(i,·y);·i·+=·incr)·{\n········let·c\n········if·(isAlphaSequence)·{\n··········c·=·String.fromCharCode(i)\n··········if·(c·===·'\\\\')·{\n············c·=·''\n··········}\n········}·else·{\n··········c·=·String(i)\n··········if·(pad)·{\n············const·need·=·width·-·c.length\n············if·(need·>·0)·{\n··············const·z·=·new·Array(need·+·1).join('0')\n··············if·(i·<·0)·{\n················c·=·'-'·+·z·+·c.slice(1)\n··············}·else·{\n················c·=·z·+·c\n··············}\n············}\n··········}\n········}\n········N.push(c)\n······}\n····}·else·{\n······N·=·[]\n\n······for·(let·j·=·0;·j·<·n.length;·j++)·{\n········N.push.apply(N,·expand_(n[j]·as·string,·max,·false))\n······}\n····}\n\n····for·(let·j·=·0;·j·<·N.length;·j++)·{\n······for·(let·k·=·0;·k·<·post.length·&&·expansions.length·<·max;·k++)·{\n········const·expansion·=·pre·+·N[j]·+·post[k]\n········if·(!isTop·||·isSequence·||·expansion)·{\n··········expansions.push(expansion)\n········}\n······}\n····}\n··}\n\n··return·expansions\n}\n" | 10 | ········"import·{·balanced·}·from·'balanced-match'\n\nconst·escSlash·=·'\\0SLASH'·+·Math.random()·+·'\\0'\nconst·escOpen·=·'\\0OPEN'·+·Math.random()·+·'\\0'\nconst·escClose·=·'\\0CLOSE'·+·Math.random()·+·'\\0'\nconst·escComma·=·'\\0COMMA'·+·Math.random()·+·'\\0'\nconst·escPeriod·=·'\\0PERIOD'·+·Math.random()·+·'\\0'\nconst·escSlashPattern·=·new·RegExp(escSlash,·'g')\nconst·escOpenPattern·=·new·RegExp(escOpen,·'g')\nconst·escClosePattern·=·new·RegExp(escClose,·'g')\nconst·escCommaPattern·=·new·RegExp(escComma,·'g')\nconst·escPeriodPattern·=·new·RegExp(escPeriod,·'g')\nconst·slashPattern·=·/\\\\\\\\/g\nconst·openPattern·=·/\\\\{/g\nconst·closePattern·=·/\\\\}/g\nconst·commaPattern·=·/\\\\,/g\nconst·periodPattern·=·/\\\\\\./g\n\nexport·const·EXPANSION_MAX·=·100_000\n\nfunction·numeric(str:·string)·{\n··return·!isNaN(str·as·any)·?·parseInt(str,·10)·:·str.charCodeAt(0)\n}\n\nfunction·escapeBraces(str:·string)·{\n··return·str\n····.replace(slashPattern,·escSlash)\n····.replace(openPattern,·escOpen)\n····.replace(closePattern,·escClose)\n····.replace(commaPattern,·escComma)\n····.replace(periodPattern,·escPeriod)\n}\n\nfunction·unescapeBraces(str:·string)·{\n··return·str\n····.replace(escSlashPattern,·'\\\\')\n····.replace(escOpenPattern,·'{')\n····.replace(escClosePattern,·'}')\n····.replace(escCommaPattern,·',')\n····.replace(escPeriodPattern,·'.')\n}\n\n/**\n·*·Basically·just·str.split(\",\"),·but·handling·cases\n·*·where·we·have·nested·braced·sections,·which·should·be\n·*·treated·as·individual·members,·like·{a,{b,c},d}\n·*/\nfunction·parseCommaParts(str:·string)·{\n··if·(!str)·{\n····return·['']\n··}\n\n··const·parts:·string[]·=·[]\n··const·m·=·balanced('{',·'}',·str)\n\n··if·(!m)·{\n····return·str.split(',')\n··}\n\n··const·{·pre,·body,·post·}·=·m\n··const·p·=·pre.split(',')\n\n··p[p.length·-·1]·+=·'{'·+·body·+·'}'\n··const·postParts·=·parseCommaParts(post)\n··if·(post.length)·{\n····;(p[p.length·-·1]·as·string)·+=·postParts.shift()\n····p.push.apply(p,·postParts)\n··}\n\n··parts.push.apply(parts,·p)\n\n··return·parts\n}\n\nexport·type·BraceExpansionOptions·=·{\n··max?:·number\n}\n\nexport·function·expand(str:·string,·options:·BraceExpansionOptions·=·{})·{\n··if·(!str)·{\n····return·[]\n··}\n\n··const·{·max·=·EXPANSION_MAX·}·=·options\n\n··//·I·don't·know·why·Bash·4.3·does·this,·but·it·does.\n··//·Anything·starting·with·{}·will·have·the·first·two·bytes·preserved\n··//·but·*only*·at·the·top·level,·so·{},a}b·will·not·expand·to·anything,\n··//·but·a{},b}c·will·be·expanded·to·[a}c,abc].\n··//·One·could·argue·that·this·is·a·bug·in·Bash,·but·since·the·goal·of\n··//·this·module·is·to·match·Bash's·rules,·we·escape·a·leading·{}\n··if·(str.slice(0,·2)·===·'{}')·{\n····str·=·'\\\\{\\\\}'·+·str.slice(2)\n··}\n\n··return·expand_(escapeBraces(str),·max,·true).map(unescapeBraces)\n}\n\nfunction·embrace(str:·string)·{\n··return·'{'·+·str·+·'}'\n}\n\nfunction·isPadded(el:·string)·{\n··return·/^-?0\\d/.test(el)\n}\n\nfunction·lte(i:·number,·y:·number)·{\n··return·i·<=·y\n}\n\nfunction·gte(i:·number,·y:·number)·{\n··return·i·>=·y\n}\n\nfunction·expand_(str:·string,·max:·number,·isTop:·boolean):·string[]·{\n··/**·@type·{string[]}·*/\n··const·expansions:·string[]·=·[]\n\n··const·m·=·balanced('{',·'}',·str)\n··if·(!m)·return·[str]\n\n··//·no·need·to·expand·pre,·since·it·is·guaranteed·to·be·free·of·brace-sets\n··const·pre·=·m.pre\n··const·post:·string[]·=·m.post.length·?·expand_(m.post,·max,·false)·:·['']\n\n··if·(/\\$$/.test(m.pre))·{\n····for·(let·k·=·0;·k·<·post.length·&&·k·<·max;·k++)·{\n······const·expansion·=·pre·+·'{'·+·m.body·+·'}'·+·post[k]\n······expansions.push(expansion)\n····}\n··}·else·{\n····const·isNumericSequence·=·/^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n····const·isAlphaSequence·=·/^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n······m.body,\n····)\n····const·isSequence·=·isNumericSequence·||·isAlphaSequence\n····const·isOptions·=·m.body.indexOf(',')·>=·0\n····if·(!isSequence·&&·!isOptions)·{\n······//·{a},b}\n······if·(m.post.match(/,(?!,).*\\}/))·{\n········str·=·m.pre·+·'{'·+·m.body·+·escClose·+·m.post\n········return·expand_(str,·max,·true)\n······}\n······return·[str]\n····}\n\n····let·n:·string[]\n····if·(isSequence)·{\n······n·=·m.body.split(/\\.\\./)\n····}·else·{\n······n·=·parseCommaParts(m.body)\n······if·(n.length·===·1·&&·n[0]·!==·undefined)·{\n········//·x{{a,b}}y·==>·x{a}y·x{b}y\n········n·=·expand_(n[0],·max,·false).map(embrace)\n········//XXX·is·this·necessary?·Can't·seem·to·hit·it·in·tests.\n········/*·c8·ignore·start·*/\n········if·(n.length·===·1)·{\n··········return·post.map(p·=>·m.pre·+·n[0]·+·p)\n········}\n········/*·c8·ignore·stop·*/\n······}\n····}\n\n····//·at·this·point,·n·is·the·parts,·and·we·know·it's·not·a·comma·set\n····//·with·a·single·entry.\n····let·N:·string[]\n\n····if·(isSequence·&&·n[0]·!==·undefined·&&·n[1]·!==·undefined)·{\n······const·x·=·numeric(n[0])\n······const·y·=·numeric(n[1])\n······const·width·=·Math.max(n[0].length,·n[1].length)\n······let·incr·=\n········n.length·===·3·&&·n[2]·!==·undefined·?·Math.abs(numeric(n[2]))·:·1\n······let·test·=·lte\n······const·reverse·=·y·<·x\n······if·(reverse)·{\n········incr·*=·-1\n········test·=·gte\n······}\n······const·pad·=·n.some(isPadded)\n\n······N·=·[]\n\n······for·(let·i·=·x;·test(i,·y);·i·+=·incr)·{\n········let·c\n········if·(isAlphaSequence)·{\n··········c·=·String.fromCharCode(i)\n··········if·(c·===·'\\\\')·{\n············c·=·''\n··········}\n········}·else·{\n··········c·=·String(i)\n··········if·(pad)·{\n············const·need·=·width·-·c.length\n············if·(need·>·0)·{\n··············const·z·=·new·Array(need·+·1).join('0')\n··············if·(i·<·0)·{\n················c·=·'-'·+·z·+·c.slice(1)\n··············}·else·{\n················c·=·z·+·c\n··············}\n············}\n··········}\n········}\n········N.push(c)\n······}\n····}·else·{\n······N·=·[]\n\n······for·(let·j·=·0;·j·<·n.length;·j++)·{\n········N.push.apply(N,·expand_(n[j]·as·string,·max,·false))\n······}\n····}\n\n····for·(let·j·=·0;·j·<·N.length;·j++)·{\n······for·(let·k·=·0;·k·<·post.length·&&·expansions.length·<·max;·k++)·{\n········const·expansion·=·pre·+·N[j]·+·post[k]\n········if·(!isTop·||·isSequence·||·expansion)·{\n··········expansions.push(expansion)\n········}\n······}\n····}\n··}\n\n··return·expansions\n}\n" |
| 11 | ····], | 11 | ····], |
| 12 | ····"version":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 37, 381 lines modified | Offset 37, 381 lines modified | ||
| 00000240:·5c5c·5c2f·673b·0a63·6f6e·7374·206f·7065··\\\/g;.const·ope | 00000240:·5c5c·5c2f·673b·0a63·6f6e·7374·206f·7065··\\\/g;.const·ope | ||
| 00000250:·6e50·6174·7465·726e·203d·202f·5c5c·7b2f··nPattern·=·/\\{/ | 00000250:·6e50·6174·7465·726e·203d·202f·5c5c·7b2f··nPattern·=·/\\{/ | ||
| 00000260:·673b·0a63·6f6e·7374·2063·6c6f·7365·5061··g;.const·closePa | 00000260:·673b·0a63·6f6e·7374·2063·6c6f·7365·5061··g;.const·closePa | ||
| 00000270:·7474·6572·6e20·3d20·2f5c·5c7d·2f67·3b0a··ttern·=·/\\}/g;. | 00000270:·7474·6572·6e20·3d20·2f5c·5c7d·2f67·3b0a··ttern·=·/\\}/g;. | ||
| 00000280:·636f·6e73·7420·636f·6d6d·6150·6174·7465··const·commaPatte | 00000280:·636f·6e73·7420·636f·6d6d·6150·6174·7465··const·commaPatte | ||
| 00000290:·726e·203d·202f·5c5c·2c2f·673b·0a63·6f6e··rn·=·/\\,/g;.con | 00000290:·726e·203d·202f·5c5c·2c2f·673b·0a63·6f6e··rn·=·/\\,/g;.con | ||
| 000002a0:·7374·2070·6572·696f·6450·6174·7465·726e··st·periodPattern | 000002a0:·7374·2070·6572·696f·6450·6174·7465·726e··st·periodPattern | ||
| 000002b0:·203d·202f·5c5c·2e2f | 000002b0:·203d·202f·5c5c·5c2e·2f67·3b0a·6578·706f···=·/\\\./g;.expo | ||
| 000002c0:·7420 | 000002c0:·7274·2063·6f6e·7374·2045·5850·414e·5349··rt·const·EXPANSI | ||
| 000002d0:·4e5f | 000002d0:·4f4e·5f4d·4158·203d·2031·3030·5f30·3030··ON_MAX·=·100_000 | ||
| 000002e0:·0a | 000002e0:·3b0a·6675·6e63·7469·6f6e·206e·756d·6572··;.function·numer | ||
| 000002f0:·6963·2873·7472·2920·7b0a·2020·2020·7265··ic(str)·{.····re | |||
| 00000300:·7475·726e·2021·6973·4e61·4e28·7374·7229··turn·!isNaN(str) | |||
| 00000310:·203f·2070·6172·7365·496e·7428·7374·722c···?·parseInt(str, | |||
| 00000320:·2031·3029·203a·2073·7472·2e63·6861·7243···10)·:·str.charC | |||
| 00000330:·6f64·6541·7428·3029·3b0a·7d0a·6675·6e63··odeAt(0);.}.func | |||
| 00000340:·7469·6f6e·2065·7363·6170·6542·7261·6365··tion·escapeBrace | |||
| 00000 | 00000350:·7328·7374·7229·207b·0a20·2020·2072·6574··s(str)·{.····ret | ||
| 00000300:·7572·6e20·2169·734e·614e·2873·7472·2920··urn·!isNaN(str)· | |||
| 00000310:·3f20·7061·7273·6549·6e74·2873·7472·2c20··?·parseInt(str,· | |||
| 00000320:·3130·2920·3a20·7374·722e·6368·6172·436f··10)·:·str.charCo | |||
| 00000330:·6465·4174·2830·293b·0a7d·0a66·756e·6374··deAt(0);.}.funct | |||
| 00000340:·696f·6e20·6573·6361·7065·4272·6163·6573··ion·escapeBraces | |||
| 00000350:·2873·7472·2920·7b0a·2020·2020·7265·7475··(str)·{.····retu | |||
| 00000360:·726e | 00000360:·7572·6e20·7374·720a·2020·2020·2020·2020··urn·str.········ | ||
| 00000370:·2e72·6570·6c61·6365·2873·6c61·7368·5061··.replace(slashPa | |||
| 00000370:·7265·706c·6163·6528·736c·6173·6850·6174··replace(slashPat | |||
| 00000380:·7465·726e·2c20·6573·6353·6c61·7368·290a··tern,·escSlash). | |||
| 00000390:·2020·2020·2020·2020·2e72·6570·6c61·6365··········.replace | |||
| 000003a0:·286f·7065·6e50·6174·7465·726e·2c20·6573··(openPattern,·es | |||
| 000003b0:·634f·7065·6e29·0a20·2020·2020·2020·202e··cOpen).········. | |||
| 000003c0:·7265·706c·6163·6528·636c·6f73·6550·6174··replace(closePat | |||
| 000003d0:·7465·726e·2c20·6573·6343·6c6f·7365·290a··tern,·escClose). | |||
| 000003e0:·2020·2020·2020·2020·2e72·6570·6c61·6365··········.replace | |||
| 000003f0:·2863·6f6d·6d61·5061·7474·6572·6e2c·2065··(commaPattern,·e | |||
| 00000400:·7363·436f·6d6d·6129·0a20·2020·2020·2020··scComma).······· | |||
| 00000410:·202e·7265·706c·6163·6528·7065·7269·6f64···.replace(period | |||
| 00000 | 00000380:·7474·6572·6e2c·2065·7363·536c·6173·6829··ttern,·escSlash) | ||
| 00000430:·6f64·293b·0a7d·0a66·756e·6374·696f·6e20··od);.}.function· | |||
| 00000440:·756e·6573·6361·7065·4272·6163·6573·2873··unescapeBraces(s | |||
| 00000450:·7472·2920·7b0a·2020·2020·7265·7475·726e··tr)·{.····return | |||
| 00000460:·2073·7472·0a20·2020·2020·2020·202e·7265···str.········.re | |||
| 00000470:·706c·6163·6528·6573·6353·6c61·7368·5061··place(escSlashPa | |||
| 00000480:·7474·6572·6e2c·2027·5c5c·2729·0a20·2020··ttern,·'\\').··· | |||
| 00000490:·2020·2020·202e·7265·706c·6163·6528·6573·······.replace(es | |||
| 000004a0:·634f·7065·6e50·6174·7465·726e·2c20·277b··cOpenPattern,·'{ | |||
| 000004b0:·2729·0a20·2020·2020·2020·202e·7265·706c··').········.repl | |||
| 000004c0:·6163·6528·6573·6343·6c6f·7365·5061·7474··ace(escClosePatt | |||
| 000004d0:·6572·6e2c·2027·7d27·290a·2020·2020·2020··ern,·'}').······ | |||
| 000004e0:·2020·2e72·6570·6c61·6365·2865·7363·436f····.replace(escCo | |||
| 000004f0:·6d6d·6150·6174·7465·726e·2c20·272c·2729··mmaPattern,·',') | |||
| 00000 | 00000390:·0a20·2020·2020·2020·202e·7265·706c·6163··.········.replac | ||
| 00000 | 000003a0:·6528·6f70·656e·5061·7474·6572·6e2c·2065··e(openPattern,·e | ||
| 000003b0:·7363·4f70·656e·290a·2020·2020·2020·2020··scOpen).········ | |||
| 000003c0:·2e72·6570·6c61·6365·2863·6c6f·7365·5061··.replace(closePa | |||
| 000003d0:·7474·6572·6e2c·2065·7363·436c·6f73·6529··ttern,·escClose) | |||
| 000003e0:·0a20·2020·2020·2020·202e·7265·706c·6163··.········.replac | |||
| 000003f0:·6528·636f·6d6d·6150·6174·7465·726e·2c20··e(commaPattern,· | |||
| 00000400:·6573·6343·6f6d·6d61·290a·2020·2020·2020··escComma).······ | |||
| 00000410:·2020·2e72·6570·6c61·6365·2870·6572·696f····.replace(perio | |||
| 00000420:·6450·6174·7465·726e·2c20·6573·6350·6572··dPattern,·escPer | |||
| 00000430:·696f·6429·3b0a·7d0a·6675·6e63·7469·6f6e··iod);.}.function | |||
| 00000440:·2075·6e65·7363·6170·6542·7261·6365·7328···unescapeBraces( | |||
| 00000450:·7374·7229·207b·0a20·2020·2072·6574·7572··str)·{.····retur | |||
| 00000460:·6e20·7374·720a·2020·2020·2020·2020·2e72··n·str.········.r | |||
| 00000470:·6570·6c61·6365·2865·7363·536c·6173·6850··eplace(escSlashP | |||
| 00000480:·6174·7465·726e·2c20·275c·5c27·290a·2020··attern,·'\\').·· | |||
| 00000490:·2020·2020·2020·2e72·6570·6c61·6365·2865········.replace(e | |||
| 000004a0:·7363·4f70·656e·5061·7474·6572·6e2c·2027··scOpenPattern,·' | |||
| 000004b0:·7b27·290a·2020·2020·2020·2020·2e72·6570··{').········.rep | |||
| 000004c0:·6c61·6365·2865·7363·436c·6f73·6550·6174··lace(escClosePat | |||
| 000004d0:·7465·726e·2c20·277d·2729·0a20·2020·2020··tern,·'}').····· | |||
| 000004e0:·2020·202e·7265·706c·6163·6528·6573·6343·····.replace(escC | |||
| 000004f0:·6f6d·6d61·5061·7474·6572·6e2c·2027·2c27··ommaPattern,·',' | |||
| 00000500:·290a·2020·2020·2020·2020·2e72·6570·6c61··).········.repla | |||
| 00000510:·6365·2865·7363·5065·7269·6f64·5061·7474··ce(escPeriodPatt | |||
| 00000520:·726e | 00000520:·6572·6e2c·2027·2e27·293b·0a7d·0a2f·2a2a··ern,·'.');.}./** | ||
| 00000530:·202a | 00000530:·0a20·2a20·4261·7369·6361·6c6c·7920·6a75··.·*·Basically·ju | ||
| 00000540:·7420·7374·722e·7370·6c69·7428·222c·2229··t·str.split(",") | |||
| 00000550:·2c20·6275·7420·6861·6e64·6c69·6e67·2063··,·but·handling·c | |||
| 00000560:·6173·6573·0a20·2a20·7768·6572·6520·7765··ases.·*·where·we | |||
| 00000570:·2068·6176·6520·6e65·7374·6564·2062·7261···have·nested·bra | |||
| 00000580:·6365·6420·7365·6374·696f·6e73·2c20·7768··ced·sections,·wh | |||
| 00000590:·6963·6820·7368·6f75·6c64·2062·650a·202a··ich·should·be.·* | |||
| 000005a0:·2074·7265·6174·6564·2061·7320·696e·6469···treated·as·indi | |||
| 000005b0:·7669·6475·616c·206d·656d·6265·7273·2c20··vidual·members,· | |||
| 000005c0:·6c69·6b65·207b·612c·7b62·2c63·7d2c·647d··like·{a,{b,c},d} | |||
| 000005d0:·0a20·2a2f·0a66·756e·6374·696f·6e20·7061··.·*/.function·pa | |||
| 000005e0:·7273·6543·6f6d·6d61·5061·7274·7328·7374··rseCommaParts(st | |||
| 000005 | 00000540:·7374·2073·7472·2e73·706c·6974·2822·2c22··st·str.split("," | ||
| 00000550:·292c·2062·7574·2068·616e·646c·696e·6720··),·but·handling· | |||
| 00000560:·6361·7365·730a·202a·2077·6865·7265·2077··cases.·*·where·w | |||
| 00000570:·6520·6861·7665·206e·6573·7465·6420·6272··e·have·nested·br | |||
| 00000580:·6163·6564·2073·6563·7469·6f6e·732c·2077··aced·sections,·w | |||
| 00000590:·6869·6368·2073·686f·756c·6420·6265·0a20··hich·should·be.· | |||
| 000005a0:·2a20·7472·6561·7465·6420·6173·2069·6e64··*·treated·as·ind | |||
| 000005b0:·6976·6964·7561·6c20·6d65·6d62·6572·732c··ividual·members, | |||
| 000005c0:·206c·696b·6520·7b61·2c7b·622c·637d·2c64···like·{a,{b,c},d | |||
| 000005d0:·7d0a·202a·2f0a·6675·6e63·7469·6f6e·2070··}.·*/.function·p | |||
| Max diff block lines reached; 9980/51402 bytes (19.42%) of diff not shown. | |||
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"index.js", | 2 | ····"file":·"index.js", |
| 3 | ····"mappings":·"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AAC/C,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACnD,MAAM,eAAe,GAAG,IAAI,MAAM,CA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,OAAO,CAAC,CAAC,CAAC,CAAC,CAAW,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAA;YACtD,CAAC;QACH,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,UAAU,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBAChE,MAAM,SAAS,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBACtC,IAAI,CAAC,KAAK,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC;oBACtC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;gBAC5B,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC", |
| 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·{·balanced·}·from·'balanced-match'\n\nconst·escSlash·=·'\\0SLASH'·+·Math.random()·+·'\\0'\nconst·escOpen·=·'\\0OPEN'·+·Math.random()·+·'\\0'\nconst·escClose·=·'\\0CLOSE'·+·Math.random()·+·'\\0'\nconst·escComma·=·'\\0COMMA'·+·Math.random()·+·'\\0'\nconst·escPeriod·=·'\\0PERIOD'·+·Math.random()·+·'\\0'\nconst·escSlashPattern·=·new·RegExp(escSlash,·'g')\nconst·escOpenPattern·=·new·RegExp(escOpen,·'g')\nconst·escClosePattern·=·new·RegExp(escClose,·'g')\nconst·escCommaPattern·=·new·RegExp(escComma,·'g')\nconst·escPeriodPattern·=·new·RegExp(escPeriod,·'g')\nconst·slashPattern·=·/\\\\\\\\/g\nconst·openPattern·=·/\\\\{/g\nconst·closePattern·=·/\\\\}/g\nconst·commaPattern·=·/\\\\,/g\nconst·periodPattern·=·/\\\\./g\n\nexport·const·EXPANSION_MAX·=·100_000\n\nfunction·numeric(str:·string)·{\n··return·!isNaN(str·as·any)·?·parseInt(str,·10)·:·str.charCodeAt(0)\n}\n\nfunction·escapeBraces(str:·string)·{\n··return·str\n····.replace(slashPattern,·escSlash)\n····.replace(openPattern,·escOpen)\n····.replace(closePattern,·escClose)\n····.replace(commaPattern,·escComma)\n····.replace(periodPattern,·escPeriod)\n}\n\nfunction·unescapeBraces(str:·string)·{\n··return·str\n····.replace(escSlashPattern,·'\\\\')\n····.replace(escOpenPattern,·'{')\n····.replace(escClosePattern,·'}')\n····.replace(escCommaPattern,·',')\n····.replace(escPeriodPattern,·'.')\n}\n\n/**\n·*·Basically·just·str.split(\",\"),·but·handling·cases\n·*·where·we·have·nested·braced·sections,·which·should·be\n·*·treated·as·individual·members,·like·{a,{b,c},d}\n·*/\nfunction·parseCommaParts(str:·string)·{\n··if·(!str)·{\n····return·['']\n··}\n\n··const·parts:·string[]·=·[]\n··const·m·=·balanced('{',·'}',·str)\n\n··if·(!m)·{\n····return·str.split(',')\n··}\n\n··const·{·pre,·body,·post·}·=·m\n··const·p·=·pre.split(',')\n\n··p[p.length·-·1]·+=·'{'·+·body·+·'}'\n··const·postParts·=·parseCommaParts(post)\n··if·(post.length)·{\n····;(p[p.length·-·1]·as·string)·+=·postParts.shift()\n····p.push.apply(p,·postParts)\n··}\n\n··parts.push.apply(parts,·p)\n\n··return·parts\n}\n\nexport·type·BraceExpansionOptions·=·{\n··max?:·number\n}\n\nexport·function·expand(str:·string,·options:·BraceExpansionOptions·=·{})·{\n··if·(!str)·{\n····return·[]\n··}\n\n··const·{·max·=·EXPANSION_MAX·}·=·options\n\n··//·I·don't·know·why·Bash·4.3·does·this,·but·it·does.\n··//·Anything·starting·with·{}·will·have·the·first·two·bytes·preserved\n··//·but·*only*·at·the·top·level,·so·{},a}b·will·not·expand·to·anything,\n··//·but·a{},b}c·will·be·expanded·to·[a}c,abc].\n··//·One·could·argue·that·this·is·a·bug·in·Bash,·but·since·the·goal·of\n··//·this·module·is·to·match·Bash's·rules,·we·escape·a·leading·{}\n··if·(str.slice(0,·2)·===·'{}')·{\n····str·=·'\\\\{\\\\}'·+·str.slice(2)\n··}\n\n··return·expand_(escapeBraces(str),·max,·true).map(unescapeBraces)\n}\n\nfunction·embrace(str:·string)·{\n··return·'{'·+·str·+·'}'\n}\n\nfunction·isPadded(el:·string)·{\n··return·/^-?0\\d/.test(el)\n}\n\nfunction·lte(i:·number,·y:·number)·{\n··return·i·<=·y\n}\n\nfunction·gte(i:·number,·y:·number)·{\n··return·i·>=·y\n}\n\nfunction·expand_(str:·string,·max:·number,·isTop:·boolean):·string[]·{\n··/**·@type·{string[]}·*/\n··const·expansions:·string[]·=·[]\n\n··const·m·=·balanced('{',·'}',·str)\n··if·(!m)·return·[str]\n\n··//·no·need·to·expand·pre,·since·it·is·guaranteed·to·be·free·of·brace-sets\n··const·pre·=·m.pre\n··const·post:·string[]·=·m.post.length·?·expand_(m.post,·max,·false)·:·['']\n\n··if·(/\\$$/.test(m.pre))·{\n····for·(let·k·=·0;·k·<·post.length·&&·k·<·max;·k++)·{\n······const·expansion·=·pre·+·'{'·+·m.body·+·'}'·+·post[k]\n······expansions.push(expansion)\n····}\n··}·else·{\n····const·isNumericSequence·=·/^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n····const·isAlphaSequence·=·/^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n······m.body,\n····)\n····const·isSequence·=·isNumericSequence·||·isAlphaSequence\n····const·isOptions·=·m.body.indexOf(',')·>=·0\n····if·(!isSequence·&&·!isOptions)·{\n······//·{a},b}\n······if·(m.post.match(/,(?!,).*\\}/))·{\n········str·=·m.pre·+·'{'·+·m.body·+·escClose·+·m.post\n········return·expand_(str,·max,·true)\n······}\n······return·[str]\n····}\n\n····let·n:·string[]\n····if·(isSequence)·{\n······n·=·m.body.split(/\\.\\./)\n····}·else·{\n······n·=·parseCommaParts(m.body)\n······if·(n.length·===·1·&&·n[0]·!==·undefined)·{\n········//·x{{a,b}}y·==>·x{a}y·x{b}y\n········n·=·expand_(n[0],·max,·false).map(embrace)\n········//XXX·is·this·necessary?·Can't·seem·to·hit·it·in·tests.\n········/*·c8·ignore·start·*/\n········if·(n.length·===·1)·{\n··········return·post.map(p·=>·m.pre·+·n[0]·+·p)\n········}\n········/*·c8·ignore·stop·*/\n······}\n····}\n\n····//·at·this·point,·n·is·the·parts,·and·we·know·it's·not·a·comma·set\n····//·with·a·single·entry.\n····let·N:·string[]\n\n····if·(isSequence·&&·n[0]·!==·undefined·&&·n[1]·!==·undefined)·{\n······const·x·=·numeric(n[0])\n······const·y·=·numeric(n[1])\n······const·width·=·Math.max(n[0].length,·n[1].length)\n······let·incr·=\n········n.length·===·3·&&·n[2]·!==·undefined·?·Math.abs(numeric(n[2]))·:·1\n······let·test·=·lte\n······const·reverse·=·y·<·x\n······if·(reverse)·{\n········incr·*=·-1\n········test·=·gte\n······}\n······const·pad·=·n.some(isPadded)\n\n······N·=·[]\n\n······for·(let·i·=·x;·test(i,·y);·i·+=·incr)·{\n········let·c\n········if·(isAlphaSequence)·{\n··········c·=·String.fromCharCode(i)\n··········if·(c·===·'\\\\')·{\n············c·=·''\n··········}\n········}·else·{\n··········c·=·String(i)\n··········if·(pad)·{\n············const·need·=·width·-·c.length\n············if·(need·>·0)·{\n··············const·z·=·new·Array(need·+·1).join('0')\n··············if·(i·<·0)·{\n················c·=·'-'·+·z·+·c.slice(1)\n··············}·else·{\n················c·=·z·+·c\n··············}\n············}\n··········}\n········}\n········N.push(c)\n······}\n····}·else·{\n······N·=·[]\n\n······for·(let·j·=·0;·j·<·n.length;·j++)·{\n········N.push.apply(N,·expand_(n[j]·as·string,·max,·false))\n······}\n····}\n\n····for·(let·j·=·0;·j·<·N.length;·j++)·{\n······for·(let·k·=·0;·k·<·post.length·&&·expansions.length·<·max;·k++)·{\n········const·expansion·=·pre·+·N[j]·+·post[k]\n········if·(!isTop·||·isSequence·||·expansion)·{\n··········expansions.push(expansion)\n········}\n······}\n····}\n··}\n\n··return·expansions\n}\n" | 10 | ········"import·{·balanced·}·from·'balanced-match'\n\nconst·escSlash·=·'\\0SLASH'·+·Math.random()·+·'\\0'\nconst·escOpen·=·'\\0OPEN'·+·Math.random()·+·'\\0'\nconst·escClose·=·'\\0CLOSE'·+·Math.random()·+·'\\0'\nconst·escComma·=·'\\0COMMA'·+·Math.random()·+·'\\0'\nconst·escPeriod·=·'\\0PERIOD'·+·Math.random()·+·'\\0'\nconst·escSlashPattern·=·new·RegExp(escSlash,·'g')\nconst·escOpenPattern·=·new·RegExp(escOpen,·'g')\nconst·escClosePattern·=·new·RegExp(escClose,·'g')\nconst·escCommaPattern·=·new·RegExp(escComma,·'g')\nconst·escPeriodPattern·=·new·RegExp(escPeriod,·'g')\nconst·slashPattern·=·/\\\\\\\\/g\nconst·openPattern·=·/\\\\{/g\nconst·closePattern·=·/\\\\}/g\nconst·commaPattern·=·/\\\\,/g\nconst·periodPattern·=·/\\\\\\./g\n\nexport·const·EXPANSION_MAX·=·100_000\n\nfunction·numeric(str:·string)·{\n··return·!isNaN(str·as·any)·?·parseInt(str,·10)·:·str.charCodeAt(0)\n}\n\nfunction·escapeBraces(str:·string)·{\n··return·str\n····.replace(slashPattern,·escSlash)\n····.replace(openPattern,·escOpen)\n····.replace(closePattern,·escClose)\n····.replace(commaPattern,·escComma)\n····.replace(periodPattern,·escPeriod)\n}\n\nfunction·unescapeBraces(str:·string)·{\n··return·str\n····.replace(escSlashPattern,·'\\\\')\n····.replace(escOpenPattern,·'{')\n····.replace(escClosePattern,·'}')\n····.replace(escCommaPattern,·',')\n····.replace(escPeriodPattern,·'.')\n}\n\n/**\n·*·Basically·just·str.split(\",\"),·but·handling·cases\n·*·where·we·have·nested·braced·sections,·which·should·be\n·*·treated·as·individual·members,·like·{a,{b,c},d}\n·*/\nfunction·parseCommaParts(str:·string)·{\n··if·(!str)·{\n····return·['']\n··}\n\n··const·parts:·string[]·=·[]\n··const·m·=·balanced('{',·'}',·str)\n\n··if·(!m)·{\n····return·str.split(',')\n··}\n\n··const·{·pre,·body,·post·}·=·m\n··const·p·=·pre.split(',')\n\n··p[p.length·-·1]·+=·'{'·+·body·+·'}'\n··const·postParts·=·parseCommaParts(post)\n··if·(post.length)·{\n····;(p[p.length·-·1]·as·string)·+=·postParts.shift()\n····p.push.apply(p,·postParts)\n··}\n\n··parts.push.apply(parts,·p)\n\n··return·parts\n}\n\nexport·type·BraceExpansionOptions·=·{\n··max?:·number\n}\n\nexport·function·expand(str:·string,·options:·BraceExpansionOptions·=·{})·{\n··if·(!str)·{\n····return·[]\n··}\n\n··const·{·max·=·EXPANSION_MAX·}·=·options\n\n··//·I·don't·know·why·Bash·4.3·does·this,·but·it·does.\n··//·Anything·starting·with·{}·will·have·the·first·two·bytes·preserved\n··//·but·*only*·at·the·top·level,·so·{},a}b·will·not·expand·to·anything,\n··//·but·a{},b}c·will·be·expanded·to·[a}c,abc].\n··//·One·could·argue·that·this·is·a·bug·in·Bash,·but·since·the·goal·of\n··//·this·module·is·to·match·Bash's·rules,·we·escape·a·leading·{}\n··if·(str.slice(0,·2)·===·'{}')·{\n····str·=·'\\\\{\\\\}'·+·str.slice(2)\n··}\n\n··return·expand_(escapeBraces(str),·max,·true).map(unescapeBraces)\n}\n\nfunction·embrace(str:·string)·{\n··return·'{'·+·str·+·'}'\n}\n\nfunction·isPadded(el:·string)·{\n··return·/^-?0\\d/.test(el)\n}\n\nfunction·lte(i:·number,·y:·number)·{\n··return·i·<=·y\n}\n\nfunction·gte(i:·number,·y:·number)·{\n··return·i·>=·y\n}\n\nfunction·expand_(str:·string,·max:·number,·isTop:·boolean):·string[]·{\n··/**·@type·{string[]}·*/\n··const·expansions:·string[]·=·[]\n\n··const·m·=·balanced('{',·'}',·str)\n··if·(!m)·return·[str]\n\n··//·no·need·to·expand·pre,·since·it·is·guaranteed·to·be·free·of·brace-sets\n··const·pre·=·m.pre\n··const·post:·string[]·=·m.post.length·?·expand_(m.post,·max,·false)·:·['']\n\n··if·(/\\$$/.test(m.pre))·{\n····for·(let·k·=·0;·k·<·post.length·&&·k·<·max;·k++)·{\n······const·expansion·=·pre·+·'{'·+·m.body·+·'}'·+·post[k]\n······expansions.push(expansion)\n····}\n··}·else·{\n····const·isNumericSequence·=·/^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n····const·isAlphaSequence·=·/^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n······m.body,\n····)\n····const·isSequence·=·isNumericSequence·||·isAlphaSequence\n····const·isOptions·=·m.body.indexOf(',')·>=·0\n····if·(!isSequence·&&·!isOptions)·{\n······//·{a},b}\n······if·(m.post.match(/,(?!,).*\\}/))·{\n········str·=·m.pre·+·'{'·+·m.body·+·escClose·+·m.post\n········return·expand_(str,·max,·true)\n······}\n······return·[str]\n····}\n\n····let·n:·string[]\n····if·(isSequence)·{\n······n·=·m.body.split(/\\.\\./)\n····}·else·{\n······n·=·parseCommaParts(m.body)\n······if·(n.length·===·1·&&·n[0]·!==·undefined)·{\n········//·x{{a,b}}y·==>·x{a}y·x{b}y\n········n·=·expand_(n[0],·max,·false).map(embrace)\n········//XXX·is·this·necessary?·Can't·seem·to·hit·it·in·tests.\n········/*·c8·ignore·start·*/\n········if·(n.length·===·1)·{\n··········return·post.map(p·=>·m.pre·+·n[0]·+·p)\n········}\n········/*·c8·ignore·stop·*/\n······}\n····}\n\n····//·at·this·point,·n·is·the·parts,·and·we·know·it's·not·a·comma·set\n····//·with·a·single·entry.\n····let·N:·string[]\n\n····if·(isSequence·&&·n[0]·!==·undefined·&&·n[1]·!==·undefined)·{\n······const·x·=·numeric(n[0])\n······const·y·=·numeric(n[1])\n······const·width·=·Math.max(n[0].length,·n[1].length)\n······let·incr·=\n········n.length·===·3·&&·n[2]·!==·undefined·?·Math.abs(numeric(n[2]))·:·1\n······let·test·=·lte\n······const·reverse·=·y·<·x\n······if·(reverse)·{\n········incr·*=·-1\n········test·=·gte\n······}\n······const·pad·=·n.some(isPadded)\n\n······N·=·[]\n\n······for·(let·i·=·x;·test(i,·y);·i·+=·incr)·{\n········let·c\n········if·(isAlphaSequence)·{\n··········c·=·String.fromCharCode(i)\n··········if·(c·===·'\\\\')·{\n············c·=·''\n··········}\n········}·else·{\n··········c·=·String(i)\n··········if·(pad)·{\n············const·need·=·width·-·c.length\n············if·(need·>·0)·{\n··············const·z·=·new·Array(need·+·1).join('0')\n··············if·(i·<·0)·{\n················c·=·'-'·+·z·+·c.slice(1)\n··············}·else·{\n················c·=·z·+·c\n··············}\n············}\n··········}\n········}\n········N.push(c)\n······}\n····}·else·{\n······N·=·[]\n\n······for·(let·j·=·0;·j·<·n.length;·j++)·{\n········N.push.apply(N,·expand_(n[j]·as·string,·max,·false))\n······}\n····}\n\n····for·(let·j·=·0;·j·<·N.length;·j++)·{\n······for·(let·k·=·0;·k·<·post.length·&&·expansions.length·<·max;·k++)·{\n········const·expansion·=·pre·+·N[j]·+·post[k]\n········if·(!isTop·||·isSequence·||·expansion)·{\n··········expansions.push(expansion)\n········}\n······}\n····}\n··}\n\n··return·expansions\n}\n" |
| 11 | ····], | 11 | ····], |
| 12 | ····"version":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 4, 20 lines modified | Offset 4, 20 lines modified | ||
| 4 | ····}, | 4 | ····}, |
| 5 | ····"description":·"Brace·expansion·as·known·from·sh/bash", | 5 | ····"description":·"Brace·expansion·as·known·from·sh/bash", |
| 6 | ····"devDependencies":·{ | 6 | ····"devDependencies":·{ |
| 7 | ········"@types/brace-expansion":·"^1.1.2", | 7 | ········"@types/brace-expansion":·"^1.1.2", |
| 8 | ········"@types/node":·"^25.2.1", | 8 | ········"@types/node":·"^25.2.1", |
| 9 | ········"mkdirp":·"^3.0.1", | 9 | ········"mkdirp":·"^3.0.1", |
| 10 | ········"prettier":·"^3.3.2", | 10 | ········"prettier":·"^3.3.2", |
| 11 | ········"tap":·"^21. | 11 | ········"tap":·"^21.6.2", |
| 12 | ········"tshy":·"^3.0.2", | 12 | ········"tshy":·"^3.0.2", |
| 13 | ········"typedoc":·"^0.28.5" | 13 | ········"typedoc":·"^0.28.5" |
| 14 | ····}, | 14 | ····}, |
| 15 | ····"engines":·{ | 15 | ····"engines":·{ |
| 16 | ········"node":·"20·||·>=22" | 16 | ········"node":·"18·||·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.js", |
| 22 | ················"types":·"./dist/esm/index.d.ts" | 22 | ················"types":·"./dist/esm/index.d.ts" |
| 23 | ············}, | 23 | ············}, |
| Offset 56, 9 lines modified | Offset 56, 9 lines modified | ||
| 56 | ········"exports":·{ | 56 | ········"exports":·{ |
| 57 | ············".":·"./src/index.ts", | 57 | ············".":·"./src/index.ts", |
| 58 | ············"./package.json":·"./package.json" | 58 | ············"./package.json":·"./package.json" |
| 59 | ········} | 59 | ········} |
| 60 | ····}, | 60 | ····}, |
| 61 | ····"type":·"module", | 61 | ····"type":·"module", |
| 62 | ····"types":·"./dist/commonjs/index.d.ts", | 62 | ····"types":·"./dist/commonjs/index.d.ts", |
| 63 | ····"version":·"5.0. | 63 | ····"version":·"5.0.4" |
| 64 | } | 64 | } |
| Offset 3, 14 lines modified | Offset 3, 51 lines modified | ||
| 3 | A·minimal·matching·utility. | 3 | A·minimal·matching·utility. |
| 4 | This·is·the·matching·library·used·internally·by·npm. | 4 | This·is·the·matching·library·used·internally·by·npm. |
| 5 | It·works·by·converting·glob·expressions·into·JavaScript·`RegExp` | 5 | It·works·by·converting·glob·expressions·into·JavaScript·`RegExp` |
| 6 | objects. | 6 | objects. |
| 7 | ##·Important·Security·Consideration! | ||
| 8 | >·[!WARNING]·· | ||
| 9 | >·This·library·uses·JavaScript·regular·expressions.·Please·read | ||
| 10 | >·the·following·warning·carefully,·and·be·thoughtful·about·what | ||
| 11 | >·you·provide·to·this·library·in·production·systems. | ||
| 12 | _Any_·library·in·JavaScript·that·deals·with·matching·string | ||
| 13 | patterns·using·regular·expressions·will·be··subject·to | ||
| 14 | [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) | ||
| 15 | if·the·pattern·is·generated·using·untrusted·input. | ||
| 16 | Efforts·have·been·made·to·mitigate·risk·as·much·as·is·feasible·in | ||
| 17 | such·a·library,·providing·maximum·recursion·depths·and·so·forth, | ||
| 18 | but·these·measures·can·only·ultimately·protect·against·accidents, | ||
| 19 | not·malice.·A·dedicated·attacker·can·_always_·find·patterns·that | ||
| 20 | cannot·be·defended·against·by·a·bash-compatible·glob·pattern | ||
| 21 | matching·system·that·uses·JavaScript·regular·expressions. | ||
| 22 | To·be·extremely·clear: | ||
| 23 | >·[!WARNING]·· | ||
| 24 | >·**If·you·create·a·system·where·you·take·user·input,·and·use | ||
| 25 | >·that·input·as·the·source·of·a·Regular·Expression·pattern,·in | ||
| 26 | >·this·or·any·extant·glob·matcher·in·JavaScript,·you·will·be | ||
| 27 | >·pwned.** | ||
| 28 | A·future·version·of·this·library·_may_·use·a·different·matching | ||
| 29 | algorithm·which·does·not·exhibit·backtracking·problems.·If·and | ||
| 30 | when·that·happens,·it·will·likely·be·a·sweeping·change,·and·those | ||
| 31 | improvements·will·**not**·be·backported·to·legacy·versions. | ||
| 32 | In·the·near·term,·it·is·not·reasonable·to·continue·to·play | ||
| 33 | whack-a-mole·with·security·advisories,·and·so·any·future·ReDoS | ||
| 34 | reports·will·be·considered·"working·as·intended",·and·resolved | ||
| 35 | entirely·by·this·warning. | ||
| 7 | ##·Usage | 36 | ##·Usage |
| 8 | ```js | 37 | ```js |
| 9 | //·hybrid·module,·load·with·require()·or·import | 38 | //·hybrid·module,·load·with·require()·or·import |
| 10 | import·{·minimatch·}·from·'minimatch' | 39 | import·{·minimatch·}·from·'minimatch' |
| 11 | //·or: | 40 | //·or: |
| 12 | const·{·minimatch·}·=·require('minimatch') | 41 | const·{·minimatch·}·=·require('minimatch') |
| Offset 392, 14 lines modified | Offset 429, 50 lines modified | ||
| 392 | When·set·to·`win32`,·this·will·trigger·all·windows-specific | 429 | When·set·to·`win32`,·this·will·trigger·all·windows-specific |
| 393 | behaviors·(special·handling·for·UNC·paths,·and·treating·`\`·as | 430 | behaviors·(special·handling·for·UNC·paths,·and·treating·`\`·as |
| 394 | separators·in·file·paths·for·comparison.) | 431 | separators·in·file·paths·for·comparison.) |
| 395 | Defaults·to·the·value·of·`process.platform`. | 432 | Defaults·to·the·value·of·`process.platform`. |
| 433 | ###·maxGlobstarRecursion | ||
| 434 | Max·number·of·non-adjacent·`**`·patterns·to·recursively·walk | ||
| 435 | down. | ||
| 436 | The·default·of·`200`·is·almost·certainly·high·enough·for·most | ||
| 437 | purposes,·and·can·handle·absurdly·excessive·patterns. | ||
| 438 | If·the·limit·is·exceeded·(which·would·require·very·excessively | ||
| 439 | long·patterns·and·paths·containing·lots·of·`**`·patterns!),·then | ||
| 440 | it·is·treated·as·non-matching,·even·if·the·path·would·normally | ||
| 441 | match·the·pattern·provided. | ||
| 442 | That·is,·this·is·an·intentional·false·negative,·deemed·an | ||
| 443 | acceptable·break·in·correctness·for·security·and·performance. | ||
| 444 | ###·maxExtglobRecursion | ||
| 445 | Max·depth·to·traverse·for·nested·extglobs·like·`*(a|b|c)` | ||
| 446 | Default·is·2,·which·is·quite·low,·but·any·higher·value·swiftly | ||
| 447 | results·in·punishing·performance·impacts.·Note·that·this·is·_not_ | ||
| 448 | relevant·when·the·globstar·types·can·be·safely·coalesced·into·a | ||
| 449 | single·set. | ||
| 450 | For·example,·`*(a|@(b|c)|d)`·would·be·flattened·into | ||
| 451 | `*(a|b|c|d)`.·Thus,·many·common·extglobs·will·retain·good | ||
| 452 | performance·and·never·hit·this·limit,·even·if·they·are | ||
| 453 | excessively·deep·and·complicated. | ||
| 454 | If·the·limit·is·hit,·then·the·extglob·characters·are·simply·not | ||
| 455 | parsed,·and·the·pattern·effectively·switches·into·`noextglob: | ||
| 456 | true`·mode·for·the·contents·of·that·nested·sub-pattern.·This·will | ||
| 457 | typically·_not_·result·in·a·match,·but·is·considered·a·valid | ||
| 458 | trade-off·for·security·and·performance. | ||
| 396 | ##·Comparisons·to·other·fnmatch/glob·implementations | 459 | ##·Comparisons·to·other·fnmatch/glob·implementations |
| 397 | While·strict·compliance·with·the·existing·standards·is·a | 460 | While·strict·compliance·with·the·existing·standards·is·a |
| 398 | worthwhile·goal,·some·discrepancies·exist·between·minimatch·and | 461 | worthwhile·goal,·some·discrepancies·exist·between·minimatch·and |
| Max diff block lines reached; 16/3829 bytes (0.42%) of diff not shown. | |||
| Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
| 1 | export·declare·const·assertValidPattern:·(pattern:· | 1 | export·declare·const·assertValidPattern:·(pattern:·unknown)·=>·void; |
| 2 | //#·sourceMappingURL=assert-valid-pattern.d.ts.map | 2 | //#·sourceMappingURL=assert-valid-pattern.d.ts.map |
| Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"assert-valid-pattern.d.ts", | 2 | ····"file":·"assert-valid-pattern.d.ts", |
| 3 | ····"mappings":·"AACA,eAAO,MAAM,kBAAkB,EAAE,CAAC,OAAO,EAAE, | 3 | ····"mappings":·"AACA,eAAO,MAAM,kBAAkB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAUtD,CAAA", |
| 4 | ····"names":·[], | 4 | ····"names":·[], |
| 5 | ····"sourceRoot":·"", | 5 | ····"sourceRoot":·"", |
| 6 | ····"sources":·[ | 6 | ····"sources":·[ |
| 7 | ········"../../src/assert-valid-pattern.ts" | 7 | ········"../../src/assert-valid-pattern.ts" |
| 8 | ····], | 8 | ····], |
| 9 | ····"version":·3 | 9 | ····"version":·3 |
| 10 | } | 10 | } |
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"assert-valid-pattern.js", | 2 | ····"file":·"assert-valid-pattern.js", |
| 3 | ····"mappings":·";;;AAAA,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAA;AAC7B,MAAM,kBAAkB,GAA | 3 | ····"mappings":·";;;AAAA,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAA;AAC7B,MAAM,kBAAkB,GAA+B,CAC5D,OAAgB,EACW,EAAE;IAC7B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,SAAS,CAAC,iBAAiB,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,GAAG,kBAAkB,EAAE,CAAC;QACxC,MAAM,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAA;IAC5C,CAAC;AACH,CAAC,CAAA;AAVY,QAAA,kBAAkB,sBAU9B", |
| 4 | ····"names":·[], | 4 | ····"names":·[], |
| 5 | ····"sourceRoot":·"", | 5 | ····"sourceRoot":·"", |
| 6 | ····"sources":·[ | 6 | ····"sources":·[ |
| 7 | ········"../../src/assert-valid-pattern.ts" | 7 | ········"../../src/assert-valid-pattern.ts" |
| 8 | ····], | 8 | ····], |
| 9 | ····"sourcesContent":·[ | 9 | ····"sourcesContent":·[ |
| 10 | ········"const·MAX_PATTERN_LENGTH·=·1024·*·64\nexport·const·assertValidPattern:·(pattern:· | 10 | ········"const·MAX_PATTERN_LENGTH·=·1024·*·64\nexport·const·assertValidPattern:·(pattern:·unknown)·=>·void·=·(\n··pattern:·unknown,\n):·asserts·pattern·is·string·=>·{\n··if·(typeof·pattern·!==·'string')·{\n····throw·new·TypeError('invalid·pattern')\n··}\n\n··if·(pattern.length·>·MAX_PATTERN_LENGTH)·{\n····throw·new·TypeError('pattern·is·too·long')\n··}\n}\n" |
| 11 | ····], | 11 | ····], |
| 12 | ····"version":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 1, 12 lines modified | Offset 1, 14 lines modified | ||
| 1 | import·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'; | 1 | import·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'; |
| 2 | export·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'; | 2 | export·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'; |
| 3 | export·declare·class·AST·{ | 3 | export·declare·class·AST·{ |
| 4 | ····#private; | 4 | ····#private; |
| 5 | ····type:·ExtglobType·|·null; | 5 | ····type:·ExtglobType·|·null; |
| 6 | ····id:·number; | ||
| 7 | ····get·depth():·number; | ||
| 6 | ····constructor(type:·ExtglobType·|·null,·parent?:·AST,·options?:·MinimatchOptions); | 8 | ····constructor(type:·ExtglobType·|·null,·parent?:·AST,·options?:·MinimatchOptions); |
| 7 | ····get·hasMagic():·boolean·|·undefined; | 9 | ····get·hasMagic():·boolean·|·undefined; |
| 8 | ····toString():·string; | 10 | ····toString():·string; |
| 9 | ····push(...parts:·(string·|·AST)[]):·void; | 11 | ····push(...parts:·(string·|·AST)[]):·void; |
| 10 | ····toJSON():·any[]; | 12 | ····toJSON():·any[]; |
| 11 | ····isStart():·boolean; | 13 | ····isStart():·boolean; |
| 12 | ····isEnd():·boolean; | 14 | ····isEnd():·boolean; |
| Offset 1, 10 lines modified | Offset 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;AA | 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;AA6IrD,qBAAa,GAAG;;IACd,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;IAexB,EAAE,SAAO;IAET,IAAI,KAAK,IAAI,MAAM,CAElB;gBAgBC,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,CAA[·...·truncated·by·diffoscope;·len:·422,·SHA:·300cd9cd3bdbec8bc8beec92db61014103d422ccb19453e32b5d9763d3e2c46c·...·]jE", |
| 4 | ····"names":·[], | 4 | ····"names":·[], |
| 5 | ····"sourceRoot":·"", | 5 | ····"sourceRoot":·"", |
| 6 | ····"sources":·[ | 6 | ····"sources":·[ |
| 7 | ········"../../src/ast.ts" | 7 | ········"../../src/ast.ts" |
| 8 | ····], | 8 | ····], |
| 9 | ····"version":·3 | 9 | ····"version":·3 |
| 10 | } | 10 | } |
| Offset 1, 1445 lines modified | Offset 1, 1915 lines modified | ||
| 00000000:·2275·7365·2073·7472·6963·7422·3b0a·2f2f··"use·strict";.// | 00000000:·2275·7365·2073·7472·6963·7422·3b0a·2f2f··"use·strict";.// | Diff chunk too large, falling back to line-by-line diff (457 lines added, 457 lines removed) | |
| 00000010:·2070·6172·7365·2061·2073·696e·676c·6520···parse·a·single· | 00000010:·2070·6172·7365·2061·2073·696e·676c·6520···parse·a·single· | ||
| 00000020:·7061·7468·2070·6f72·7469·6f6e·0a | 00000020:·7061·7468·2070·6f72·7469·6f6e·0a76·6172··path·portion.var | ||
| 00000030:· | 00000030:·205f·613b·0a4f·626a·6563·742e·6465·6669···_a;.Object.defi | ||
| 00000040:· | 00000040:·6e65·5072·6f70·6572·7479·2865·7870·6f72··neProperty(expor | ||
| 00000050:·7 | 00000050:·7473·2c20·225f·5f65·734d·6f64·756c·6522··ts,·"__esModule" | ||
| 00000060:· | 00000060:·2c20·7b20·7661·6c75·653a·2074·7275·6520··,·{·value:·true· | ||
| 00000070:·7 | 00000070:·7d29·3b0a·6578·706f·7274·732e·4153·5420··});.exports.AST· | ||
| 00000080:·3 | 00000080:·3d20·766f·6964·2030·3b0a·636f·6e73·7420··=·void·0;.const· | ||
| 00000090:· | 00000090:·6272·6163·655f·6578·7072·6573·7369·6f6e··brace_expression | ||
| 000000a0:· | 000000a0:·735f·6a73·5f31·203d·2072·6571·7569·7265··s_js_1·=·require | ||
| 000000b0:· | 000000b0:·2822·2e2f·6272·6163·652d·6578·7072·6573··("./brace-expres | ||
| 000000c0:· | 000000c0:·7369·6f6e·732e·6a73·2229·3b0a·636f·6e73··sions.js");.cons | ||
| 000000d0:·7 | 000000d0:·7420·756e·6573·6361·7065·5f6a·735f·3120··t·unescape_js_1· | ||
| 000000e0:· | 000000e0:·3d20·7265·7175·6972·6528·222e·2f75·6e65··=·require("./une | ||
| 000000f0:· | 000000f0:·7363·6170·652e·6a73·2229·3b0a·636f·6e73··scape.js");.cons | ||
| 00000100:· | 00000100:·7420·7479·7065·7320·3d20·6e65·7720·5365··t·types·=·new·Se | ||
| 00000110:· | 00000110:·7428·5b27·2127·2c20·273f·272c·2027·2b27··t(['!',·'?',·'+' | ||
| 00000120:· | 00000120:·2c20·272a·272c·2027·4027·5d29·3b0a·636f··,·'*',·'@']);.co | ||
| 00000130:· | 00000130:·6e73·7420·6973·4578·7467·6c6f·6254·7970··nst·isExtglobTyp | ||
| 00000140:·3d | 00000140:·6520·3d20·2863·2920·3d3e·2074·7970·6573··e·=·(c)·=>·types | ||
| 00000150:· | 00000150:·2e68·6173·2863·293b·0a63·6f6e·7374·2069··.has(c);.const·i | ||
| 00000160:·7 | 00000160:·7345·7874·676c·6f62·4153·5420·3d20·2863··sExtglobAST·=·(c | ||
| 00000170:· | 00000170:·2920·3d3e·2069·7345·7874·676c·6f62·5479··)·=>·isExtglobTy | ||
| 00000180:·7 | 00000180:·7065·2863·2e74·7970·6529·3b0a·2f2f·204d··pe(c.type);.//·M | ||
| 00000190:·6 | 00000190:·6170·206f·6620·7768·6963·6820·6578·7467··ap·of·which·extg | ||
| 000001a0:·6 | 000001a0:·6c6f·6220·7479·7065·7320·6361·6e20·6164··lob·types·can·ad | ||
| 000001b0:·6 | 000001b0:·6f70·7420·7468·6520·6368·696c·6472·656e··opt·the·children | ||
| 000001c0:· | 000001c0:·206f·6620·6120·6e65·7374·6564·2065·7874···of·a·nested·ext | ||
| 000001d0:·6 | 000001d0:·676c·6f62·0a2f·2f0a·2f2f·2061·6e79·7468··glob.//.//·anyth | ||
| 000001e0:·6 | 000001e0:·696e·6720·6275·7420·2120·6361·6e20·6164··ing·but·!·can·ad | ||
| 000001f0:· | 000001f0:·6f70·7420·6120·6d61·7463·6869·6e67·2074··opt·a·matching·t | ||
| 00000200:· | 00000200:·7970·653a·0a2f·2f20·2b28·617c·2b28·627c··ype:.//·+(a|+(b| | ||
| 00000210:·6 | 00000210:·6329·7c64·2920·3d3e·202b·2861·7c62·7c63··c)|d)·=>·+(a|b|c | ||
| 00000220:· | 00000220:·7c64·290a·2f2f·202a·2861·7c2a·2862·7c63··|d).//·*(a|*(b|c | ||
| 00000230:· | 00000230:·297c·6429·203d·3e20·2a28·617c·627c·637c··)|d)·=>·*(a|b|c| | ||
| 00000240:· | 00000240:·6429·0a2f·2f20·4028·617c·4028·627c·6329··d).//·@(a|@(b|c) | ||
| 00000250:·7 | 00000250:·7c64·2920·3d3e·2040·2861·7c62·7c63·7c64··|d)·=>·@(a|b|c|d | ||
| 00000260:·2 | 00000260:·290a·2f2f·203f·2861·7c3f·2862·7c63·297c··).//·?(a|?(b|c)| | ||
| 00000270:· | 00000270:·6429·203d·3e20·3f28·617c·627c·637c·6429··d)·=>·?(a|b|c|d) | ||
| 00000280:· | 00000280:·0a2f·2f0a·2f2f·202a·2063·616e·2061·646f··.//.//·*·can·ado | ||
| 00000290:· | 00000290:·7074·2061·6e79·7468·696e·672c·2062·6563··pt·anything,·bec | ||
| 000002a0:·617 | 000002a0:·6175·7365·2030·206f·7220·7265·7065·7469··ause·0·or·repeti | ||
| 000002b0:· | 000002b0:·7469·6f6e·2069·7320·616c·6c6f·7765·640a··tion·is·allowed. | ||
| 000002c0:· | 000002c0:·2f2f·202a·2861·7c3f·2862·7c63·297c·6429··//·*(a|?(b|c)|d) | ||
| 000002d0:· | 000002d0:·203d·3e20·2a28·617c·627c·637c·6429·0a2f···=>·*(a|b|c|d)./ | ||
| 000002e0:· | 000002e0:·2f20·2a28·617c·2b28·627c·6329·7c64·2920··/·*(a|+(b|c)|d)· | ||
| 000002f0:· | 000002f0:·3d3e·202a·2861·7c62·7c63·7c64·290a·2f2f··=>·*(a|b|c|d).// | ||
| 00000300:· | 00000300:·202a·2861·7c40·2862·7c63·297c·6429·203d···*(a|@(b|c)|d)·= | ||
| 00000310:· | 00000310:·3e20·2a28·617c·627c·637c·6429·0a2f·2f0a··>·*(a|b|c|d).//. | ||
| 00000320:· | 00000320:·2f2f·202b·2063·616e·2061·646f·7074·2040··//·+·can·adopt·@ | ||
| 00000330:· | 00000330:·2c20·6265·6361·7573·6520·3120·6f72·2072··,·because·1·or·r | ||
| 00000340:·657 | 00000340:·6570·6574·6974·696f·6e20·6973·2061·6c6c··epetition·is·all | ||
| 00000350:· | 00000350:·6f77·6564·0a2f·2f20·2b28·617c·4028·627c··owed.//·+(a|@(b| | ||
| 00000360:·6 | 00000360:·6329·7c64·2920·3d3e·202b·2861·7c62·7c63··c)|d)·=>·+(a|b|c | ||
| 00000370:· | 00000370:·7c64·290a·2f2f·0a2f·2f20·2b20·616e·6420··|d).//.//·+·and· | ||
| 00000380:· | 00000380:·4020·4341·4e4e·4f54·2061·646f·7074·202a··@·CANNOT·adopt·* | ||
| 00000390:·2 | 00000390:·2c20·6265·6361·7573·6520·3020·776f·756c··,·because·0·woul | ||
| 000003a0:·6 | 000003a0:·6420·6265·2061·6c6c·6f77·6564·0a2f·2f20··d·be·allowed.//· | ||
| 000003b0:· | 000003b0:·2b28·617c·2a28·627c·6329·7c64·2920·3d3e··+(a|*(b|c)|d)·=> | ||
| 000003c0:·20 | 000003c0:·2077·6f75·6c64·206d·6174·6368·2022·222c···would·match·"", | ||
| 000003d0:· | 000003d0:·206f·6e20·2a28·627c·6329·0a2f·2f20·4028···on·*(b|c).//·@( | ||
| 000003e0:· | 000003e0:·617c·2a28·627c·6329·7c64·2920·3d3e·2077··a|*(b|c)|d)·=>·w | ||
| 000003f0:· | 000003f0:·6f75·6c64·206d·6174·6368·2022·222c·206f··ould·match·"",·o | ||
| 00000400:·6e | 00000400:·6e20·2a28·627c·6329·0a2f·2f0a·2f2f·202b··n·*(b|c).//.//·+ | ||
| 00000410:·206 | 00000410:·2061·6e64·2040·2043·414e·4e4f·5420·6164···and·@·CANNOT·ad | ||
| 00000420:· | 00000420:·6f70·7420·3f2c·2062·6563·6175·7365·2030··opt·?,·because·0 | ||
| 00000430:· | 00000430:·2077·6f75·6c64·2062·6520·616c·6c6f·7765···would·be·allowe | ||
| 00000440:· | 00000440:·640a·2f2f·202b·2861·7c3f·2862·7c63·297c··d.//·+(a|?(b|c)| | ||
| 00000450:·6 | 00000450:·6429·203d·3e20·776f·756c·6420·6d61·7463··d)·=>·would·matc | ||
| 00000460:· | 00000460:·6820·2222·2c20·6f6e·203f·2862·7c63·290a··h·"",·on·?(b|c). | ||
| 00000470:· | 00000470:·2f2f·2040·2861·7c3f·2862·7c63·297c·6429··//·@(a|?(b|c)|d) | ||
| 00000480:· | 00000480:·203d·3e20·776f·756c·6420·6d61·7463·6820···=>·would·match· | ||
| 00000490:· | 00000490:·2222·2c20·6f6e·203f·2862·7c63·290a·2f2f··"",·on·?(b|c).// | ||
| 000004a0:· | 000004a0:·0a2f·2f20·3f20·6361·6e20·6164·6f70·7420··.//·?·can·adopt· | ||
| 000004b0:· | 000004b0:·402c·2062·6563·6175·7365·2030·206f·7220··@,·because·0·or· | ||
| 000004c0:· | 000004c0:·3120·6973·2061·6c6c·6f77·6564·0a2f·2f20··1·is·allowed.//· | ||
| 000004d0:· | 000004d0:·3f28·617c·4028·627c·6329·7c64·2920·3d3e··?(a|@(b|c)|d)·=> | ||
| 000004e0:· | 000004e0:·203f·2861·7c62·7c63·7c64·290a·2f2f·0a2f···?(a|b|c|d).//./ | ||
| 000004f0:· | 000004f0:·2f20·3f20·616e·6420·4020·4341·4e4e·4f54··/·?·and·@·CANNOT | ||
| 00000500:·20 | 00000500:·2061·646f·7074·202a·206f·7220·2b2c·2062···adopt·*·or·+,·b | ||
| 00000510:· | 00000510:·6563·6175·7365·203e·3120·776f·756c·6420··ecause·>1·would· | ||
| 00000520:·6 | 00000520:·6265·2061·6c6c·6f77·6564·0a2f·2f20·3f28··be·allowed.//·?( | ||
| 00000530:· | 00000530:·617c·2a28·627c·6329·7c64·2920·3d3e·2077··a|*(b|c)|d)·=>·w | ||
| 00000540:· | 00000540:·6f75·6c64·206d·6174·6368·2062·6262·206f··ould·match·bbb·o | ||
| 00000550:·6 | 00000550:·6e20·2a28·627c·6329·0a2f·2f20·4028·617c··n·*(b|c).//·@(a| | ||
| 00000560:· | 00000560:·2a28·627c·6329·7c64·2920·3d3e·2077·6f75··*(b|c)|d)·=>·wou | ||
| 00000570:· | 00000570:·6c64·206d·6174·6368·2062·6262·206f·6e20··ld·match·bbb·on· | ||
| 00000580:·2 | 00000580:·2a28·627c·6329·0a2f·2f20·3f28·617c·2b28··*(b|c).//·?(a|+( | ||
| 00000590:·6 | 00000590:·627c·6329·7c64·2920·3d3e·2077·6f75·6c64··b|c)|d)·=>·would | ||
| 000005a0:· | 000005a0:·206d·6174·6368·2062·6262·206f·6e20·2b28···match·bbb·on·+( | ||
| 000005b0:·6 | 000005b0:·627c·6329·0a2f·2f20·4028·617c·2b28·627c··b|c).//·@(a|+(b| | ||
| 000005c0:· | 000005c0:·6329·7c64·2920·3d3e·2077·6f75·6c64·206d··c)|d)·=>·would·m | ||
| 000005d0:· | 000005d0:·6174·6368·2062·6262·206f·6e20·2b28·627c··atch·bbb·on·+(b| | ||
| 000005e0:· | 000005e0:·6329·0a2f·2f0a·2f2f·2021·2043·414e·4e4f··c).//.//·!·CANNO | ||
| 000005f0:· | 000005f0:·5420·6164·6f70·7420·2120·286e·6f74·6869··T·adopt·!·(nothi | ||
| 00000600:· | 00000600:·6e67·2065·6c73·6520·6361·6e20·6569·7468··ng·else·can·eith | ||
| 00000610:· | 00000610:·6572·290a·2f2f·2021·2861·7c21·2862·7c63··er).//·!(a|!(b|c | ||
| Max diff block lines reached; 168208/231503 bytes (72.66%) of diff not shown. | |||
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"ast.js", | 2 | ····"file":·"ast.js", |
| 3 | ····"mappings":·";AAAA,8BAA8B;;;AAE9B,iEAAmD;AAEnD,+CAAwC;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,CAA | 3 | ····"mappings":·";AAAA,8BAA8B;;;;AAE9B,iEAAmD;AAEnD,+CAAwC;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,CAAgB,EAAoB,EAAE,CAC3D,KAAK,CAAC,GAAG,CAAC,CAAgB,CAAC,CAAA;AAC7B,MAAM,YAAY,GAAG,CAAC,CAAM,EAAoC,EAAE,[·...·truncated·by·diffoscope;·len:·25078,·SHA:·3e96befd511518d405f29a6eac65ad68df515151614e852945a1897cdc2d3043·...·]BC", |
| 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 | 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·|·null):·c·is·ExtglobType·=>\n··types.has(c·as·ExtglobType)\nconst·isExtglobAST·=·(c:·AST):·c·is·AST·&·{·type:·ExtglobType·}·=>\n··isExtglobType(c.type)\n\n//·Map·of·which·extglob·types·can·adopt·the·children·of·a·nested·extglob\n//\n//·anything·but·!·can[·...·truncated·by·diffoscope;·len:·26286,·SHA:·d810c50ff9c953b500cc57e7268567e131885f1886bcd50e352f5dc5b750f3d7·...·]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····//·multiple·stars·that·aren't·globstars·coalesce·into·one·*\n····let·inStar·=·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·(inStar)·continue\n········inStar·=·true\n········re·+=·noEmpty·&&·/^[*]+$/.test(glob)·?·starNoEmpty·:·star\n········hasMagic·=·true\n········continue\n······}·else·{\n········inStar·=·false\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·+=·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":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 67, 14 lines modified | Offset 67, 42 lines modified | ||
| 67 | ·····*·`nocase:true`·is·set. | 67 | ·····*·`nocase:true`·is·set. |
| 68 | ·····*/ | 68 | ·····*/ |
| 69 | ····windowsNoMagicRoot?:·boolean; | 69 | ····windowsNoMagicRoot?:·boolean; |
| 70 | ····/** | 70 | ····/** |
| 71 | ·····*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000. | 71 | ·····*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000. |
| 72 | ·····*/ | 72 | ·····*/ |
| 73 | ····braceExpandMax?:·number; | 73 | ····braceExpandMax?:·number; |
| 74 | ····/** | ||
| 75 | ·····*·Max·number·of·non-adjacent·`**`·patterns·to·recursively·walk·down. | ||
| 76 | ·····* | ||
| 77 | ·····*·The·default·of·200·is·almost·certainly·high·enough·for·most·purposes, | ||
| 78 | ·····*·and·can·handle·absurdly·excessive·patterns. | ||
| 79 | ·····*/ | ||
| 80 | ····maxGlobstarRecursion?:·number; | ||
| 81 | ····/** | ||
| 82 | ·····*·Max·depth·to·traverse·for·nested·extglobs·like·`*(a|b|c)` | ||
| 83 | ·····* | ||
| 84 | ·····*·Default·is·2,·which·is·quite·low,·but·any·higher·value | ||
| 85 | ·····*·swiftly·results·in·punishing·performance·impacts.·Note | ||
| 86 | ·····*·that·this·is·*not*··relevant·when·the·globstar·types·can | ||
| 87 | ·····*·be·safely·coalesced·into·a·single·set. | ||
| 88 | ·····* | ||
| 89 | ·····*·For·example,·`*(a|@(b|c)|d)`·would·be·flattened·into | ||
| 90 | ·····*·`*(a|b|c|d)`.·Thus,·many·common·extglobs·will·retain·good | ||
| 91 | ·····*·performance·and··never·hit·this·limit,·even·if·they·are | ||
| 92 | ·····*·excessively·deep·and·complicated. | ||
| 93 | ·····* | ||
| 94 | ·····*·If·the·limit·is·hit,·then·the·extglob·characters·are·simply | ||
| 95 | ·····*·not·parsed,·and·the·pattern·effectively·switches·into | ||
| 96 | ·····*·`noextglob:·true`·mode·for·the·contents·of·that·nested | ||
| 97 | ·····*·sub-pattern.·This·will·typically·_not_·result·in·a·match, | ||
| 98 | ·····*·but·is·considered·a·valid·trade-off·for·security·and | ||
| 99 | ·····*·performance. | ||
| 100 | ·····*/ | ||
| 101 | ····maxExtglobRecursion?:·number; | ||
| 74 | } | 102 | } |
| 75 | export·declare·const·minimatch:·{ | 103 | export·declare·const·minimatch:·{ |
| 76 | ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean; | 104 | ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean; |
| 77 | ····sep:·Sep; | 105 | ····sep:·Sep; |
| 78 | ····GLOBSTAR:·typeof·GLOBSTAR; | 106 | ····GLOBSTAR:·typeof·GLOBSTAR; |
| 79 | ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean; | 107 | ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean; |
| 80 | ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch; | 108 | ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch; |
| Offset 97, 14 lines modified | Offset 125, 15 lines modified | ||
| 97 | export·type·MMRegExp·=·RegExp·&·{ | 125 | export·type·MMRegExp·=·RegExp·&·{ |
| 98 | ····_src?:·string; | 126 | ····_src?:·string; |
| 99 | ····_glob?:·string; | 127 | ····_glob?:·string; |
| 100 | }; | 128 | }; |
| 101 | export·type·ParseReturnFiltered·=·string·|·MMRegExp·|·typeof·GLOBSTAR; | 129 | export·type·ParseReturnFiltered·=·string·|·MMRegExp·|·typeof·GLOBSTAR; |
| 102 | export·type·ParseReturn·=·ParseReturnFiltered·|·false; | 130 | export·type·ParseReturn·=·ParseReturnFiltered·|·false; |
| 103 | export·declare·class·Minimatch·{ | 131 | export·declare·class·Minimatch·{ |
| 132 | ····#private; | ||
| 104 | ····options:·MinimatchOptions; | 133 | ····options:·MinimatchOptions; |
| 105 | ····set:·ParseReturnFiltered[][]; | 134 | ····set:·ParseReturnFiltered[][]; |
| 106 | ····pattern:·string; | 135 | ····pattern:·string; |
| 107 | ····windowsPathsNoEscape:·boolean; | 136 | ····windowsPathsNoEscape:·boolean; |
| 108 | ····nonegate:·boolean; | 137 | ····nonegate:·boolean; |
| 109 | ····negate:·boolean; | 138 | ····negate:·boolean; |
| 110 | ····comment:·boolean; | 139 | ····comment:·boolean; |
| Offset 113, 14 lines modified | Offset 142, 15 lines modified | ||
| 113 | ····partial:·boolean; | 142 | ····partial:·boolean; |
| 114 | ····globSet:·string[]; | 143 | ····globSet:·string[]; |
| 115 | ····globParts:·string[][]; | 144 | ····globParts:·string[][]; |
| 116 | ····nocase:·boolean; | 145 | ····nocase:·boolean; |
| 117 | ····isWindows:·boolean; | 146 | ····isWindows:·boolean; |
| 118 | ····platform:·Platform; | 147 | ····platform:·Platform; |
| 119 | ····windowsNoMagicRoot:·boolean; | 148 | ····windowsNoMagicRoot:·boolean; |
| 149 | ····maxGlobstarRecursion:·number; | ||
| 120 | ····regexp:·false·|·null·|·MMRegExp; | 150 | ····regexp:·false·|·null·|·MMRegExp; |
| 121 | ····constructor(pattern:·string,·options?:·MinimatchOptions); | 151 | ····constructor(pattern:·string,·options?:·MinimatchOptions); |
| 122 | ····hasMagic():·boolean; | 152 | ····hasMagic():·boolean; |
| 123 | ····debug(..._:·any[]):·void; | 153 | ····debug(..._:·any[]):·void; |
| 124 | ····make():·void; | 154 | ····make():·void; |
| 125 | ····preprocess(globParts:·string[][]):·string[][]; | 155 | ····preprocess(globParts:·string[][]):·string[][]; |
| 126 | ····adjascentGlobstarOptimize(globParts:·string[][]):·string[][]; | 156 | ····adjascentGlobstarOptimize(globParts:·string[][]):·string[][]; |
| Offset 1, 10 lines modified | Offset 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,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2DAA2D;IAC3D,SAAS,CAAC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,MAAM,CAAA;CAC7B;AAED,eAAO,MAAM,SAAS;QACjB,MAAM,WACA,MAAM,YACN,gBAAgB;;;sBA4Gf,MAAM,YAAW,gBAAgB,MAC1C,GAAG,MAAM;oBAOkB,gBAAgB,KAAG,OAAO,SAAS;2BAuFtD,MAAM,YACN[·...·truncated·by·diffoscope;·len:·1917,·SHA:·a656b81be75dc96aacd5dde5f44cc3fad5985b6adb2b28470b90e7c16298ceed·...·]1B,WAAW;IAIX,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW;IA6CnC,MAAM;IAuGN,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":·3 | 9 | ····"version":·3 |
| 10 | } | 10 | } |
| Offset 503, 2084 lines modified | Offset 503, 2311 lines modified | ||
| 00001f60:·706c·6553·6c61·7368·6573·3b0a·2020·2020··pleSlashes;.···· | 00001f60:·706c·6553·6c61·7368·6573·3b0a·2020·2020··pleSlashes;.···· | ||
| 00001f70:·7061·7274·6961·6c3b·0a20·2020·2067·6c6f··partial;.····glo | 00001f70:·7061·7274·6961·6c3b·0a20·2020·2067·6c6f··partial;.····glo | ||
| 00001f80:·6253·6574·3b0a·2020·2020·676c·6f62·5061··bSet;.····globPa | 00001f80:·6253·6574·3b0a·2020·2020·676c·6f62·5061··bSet;.····globPa | ||
| 00001f90:·7274·733b·0a20·2020·206e·6f63·6173·653b··rts;.····nocase; | 00001f90:·7274·733b·0a20·2020·206e·6f63·6173·653b··rts;.····nocase; | ||
| 00001fa0:·0a20·2020·2069·7357·696e·646f·7773·3b0a··.····isWindows;. | 00001fa0:·0a20·2020·2069·7357·696e·646f·7773·3b0a··.····isWindows;. | ||
| 00001fb0:·2020·2020·706c·6174·666f·726d·3b0a·2020······platform;.·· | 00001fb0:·2020·2020·706c·6174·666f·726d·3b0a·2020······platform;.·· | ||
| 00001fc0:·2020·7769·6e64·6f77·734e·6f4d·6167·6963····windowsNoMagic | 00001fc0:·2020·7769·6e64·6f77·734e·6f4d·6167·6963····windowsNoMagic | ||
| 00001fd0:·526f·6f74·3b0a·2020·2020· | 00001fd0:·526f·6f74·3b0a·2020·2020·6d61·7847·6c6f··Root;.····maxGlo | ||
| 00001fe0:·3b0a·2020·2020·636f·6e73·7472·7563·746f··;.····constructo | |||
| 00001ff0:·7228·7061·7474·6572·6e2c·206f·7074·696f··r(pattern,·optio | |||
| 00002000:·6e73·203d·207b·7d29·207b·0a20·2020·2020··ns·=·{})·{.····· | |||
| 00002010:·2020·2028·302c·2061·7373·6572·745f·7661·····(0,·assert_va | |||
| 0000 | 00001fe0:·6273·7461·7252·6563·7572·7369·6f6e·3b0a··bstarRecursion;. | ||
| 00001ff0:·2020·2020·7265·6765·7870·3b0a·2020·2020······regexp;.···· | |||
| 00002000:·636f·6e73·7472·7563·746f·7228·7061·7474··constructor(patt | |||
| 00002010:·6572·6e2c·206f·7074·696f·6e73·203d·207b··ern,·options·=·{ | |||
| 00002020:·7d29·207b·0a20·2020·2020·2020·2028·302c··})·{.········(0, | |||
| 00002030:·2 | 00002030:·2061·7373·6572·745f·7661·6c69·645f·7061···assert_valid_pa | ||
| 00002040:· | 00002040:·7474·6572·6e5f·6a73·5f31·2e61·7373·6572··ttern_js_1.asser | ||
| 00002050:·7456·616c·6964·5061·7474·6572·6e29·2870··tValidPattern)(p | |||
| 00002060:·6174·7465·726e·293b·0a20·2020·2020·2020··attern);.······· | |||
| 00002070:·206f·7074·696f·6e73·203d·206f·7074·696f···options·=·optio | |||
| 00002080:·6e73·207c·7c20·7b7d·3b0a·2020·2020·2020··ns·||·{};.······ | |||
| 000020 | 00002090:·2020·7468·6973·2e6f·7074·696f·6e73·203d····this.options·= | ||
| 000020 | 000020a0:·206f·7074·696f·6e73·3b0a·2020·2020·2020···options;.······ | ||
| 000020b0:·2020·7468·6973·2e6d·6178·476c·6f62·7374····this.maxGlobst | |||
| 000020c0:·6172·5265·6375·7273·696f·6e20·3d20·6f70··arRecursion·=·op | |||
| 000020d0:·7469·6f6e·732e·6d61·7847·6c6f·6273·7461··tions.maxGlobsta | |||
| 000020e0:·7252·6563·7572·7369·6f6e·203f·3f20·3230··rRecursion·??·20 | |||
| 000020f0:·303b·0a20·2020·2020·2020·2074·6869·732e··0;.········this. | |||
| 00002100:·7061·7474·6572·6e20·3d20·7061·7474·6572··pattern·=·patter | |||
| 00002110:·6e3b·0a20·2020·2020·2020·2074·6869·732e··n;.········this. | |||
| 00002120:·706c·6174·666f·726d·203d·206f·7074·696f··platform·=·optio | |||
| 00002130:·6e73·2e70·6c61·7466·6f72·6d20·7c7c·2064··ns.platform·||·d | |||
| 00002140:·6566·6175·6c74·506c·6174·666f·726d·3b0a··efaultPlatform;. | |||
| 00002 | 00002150:·2020·2020·2020·2020·7468·6973·2e69·7357··········this.isW | ||
| 00002160:·696e·646f·7773·203d·2074·6869·732e·706c··indows·=·this.pl | |||
| 00002170:·6174·666f·726d·203d·3d3d·2027·7769·6e33··atform·===·'win3 | |||
| 00002080:·696f·6e73·203d·206f·7074·696f·6e73·3b0a··ions·=·options;. | |||
| 00002090:·2020·2020·2020·2020·7468·6973·2e70·6174··········this.pat | |||
| 000020a0:·7465·726e·203d·2070·6174·7465·726e·3b0a··tern·=·pattern;. | |||
| 000020b0:·2020·2020·2020·2020·7468·6973·2e70·6c61··········this.pla | |||
| 000020c0:·7466·6f72·6d20·3d20·6f70·7469·6f6e·732e··tform·=·options. | |||
| 000020d0:·706c·6174·666f·726d·207c·7c20·6465·6661··platform·||·defa | |||
| 000020e0:·756c·7450·6c61·7466·6f72·6d3b·0a20·2020··ultPlatform;.··· | |||
| 000020f0:·2020·2020·2074·6869·732e·6973·5769·6e64·······this.isWind | |||
| 00002100:·6f77·7320·3d20·7468·6973·2e70·6c61·7466··ows·=·this.platf | |||
| 00002110:·6f72·6d20·3d3d·3d20·2777·696e·3332·273b··orm·===·'win32'; | |||
| 000021 | 00002180:·3227·3b0a·2020·2020·2020·2020·2f2f·2061··2';.········//·a | ||
| 00002130:·6420·7468·6520·616e·6e6f·7969·6e67·2064··d·the·annoying·d | |||
| 000021 | 00002190:·766f·6964·2074·6865·2061·6e6e·6f79·696e··void·the·annoyin | ||
| 000021a0:·6720·6465·7072·6563·6174·696f·6e20·666c··g·deprecation·fl | |||
| 000021 | 000021b0:·6167·206c·6f6c·0a20·2020·2020·2020·2063··ag·lol.········c | ||
| 00002160:·7420·6177·6520·3d20·2827·616c·6c6f·7757··t·awe·=·('allowW | |||
| 00002170:·696e·646f·7727·202b·2027·7345·7363·6170··indow'·+·'sEscap | |||
| 000021 | 000021c0:·6f6e·7374·2061·7765·203d·2028·2761·6c6c··onst·awe·=·('all | ||
| 000021d0:·6f77·5769·6e64·6f77·2720·2b20·2773·4573··owWindow'·+·'sEs | |||
| 000021e0:·6361·7065·2729·3b0a·2020·2020·2020·2020··cape');.········ | |||
| 000021f0:·7468·6973·2e77·696e·646f·7773·5061·7468··this.windowsPath | |||
| 00002200:·734e·6f45·7363·6170·6520·3d0a·2020·2020··sNoEscape·=.···· | |||
| 00002210:·2020·2020·2020·2020·2121·6f70·7469·6f6e··········!!option | |||
| 00002 | 00002220:·732e·7769·6e64·6f77·7350·6174·6873·4e6f··s.windowsPathsNo | ||
| 00002230:·4573·6361·7065·207c·7c20·6f70·7469·6f6e··Escape·||·option | |||
| 00002240:·735b·6177·655d·203d·3d3d·2066·616c·7365··s[awe]·===·false | |||
| 00002250:·3b0a·2020·2020·2020·2020·6966·2028·7468··;.········if·(th | |||
| 00002260:·6973·2e77·696e·646f·7773·5061·7468·734e··is.windowsPathsN | |||
| 00002 | 00002270:·6f45·7363·6170·6529·207b·0a20·2020·2020··oEscape)·{.····· | ||
| 000021b0:·2020·2020·2021·216f·7074·696f·6e73·2e77·······!!options.w | |||
| 000021c0:·696e·646f·7773·5061·7468·734e·6f45·7363··indowsPathsNoEsc | |||
| 000021d0:·6170·6520·7c7c·206f·7074·696f·6e73·5b61··ape·||·options[a | |||
| 000021e0:·7765·5d20·3d3d·3d20·6661·6c73·653b·0a20··we]·===·false;.· | |||
| 000021f0:·2020·2020·2020·2069·6620·2874·6869·732e·········if·(this. | |||
| 00002200:·7769·6e64·6f77·7350·6174·6873·4e6f·4573··windowsPathsNoEs | |||
| 00002210:·6361·7065·2920·7b0a·2020·2020·2020·2020··cape)·{.········ | |||
| 00002220:·2020·2020·7468·6973·2e70·6174·7465·726e······this.pattern | |||
| 00002230:·203d·2074·6869·732e·7061·7474·6572·6e2e···=·this.pattern. | |||
| 00002240:·7265·706c·6163·6528·2f5c·5c2f·672c·2027··replace(/\\/g,·' | |||
| 00002250:·2f27·293b·0a20·2020·2020·2020·207d·0a20··/');.········}.· | |||
| 000022 | 00002280:·2020·2020·2020·2074·6869·732e·7061·7474·········this.patt | ||
| 00002270:·6572·7665·4d75·6c74·6970·6c65·536c·6173··erveMultipleSlas | |||
| 00002280:·6865·7320·3d20·2121·6f70·7469·6f6e·732e··hes·=·!!options. | |||
| 00002290:·7072·6573·6572·7665·4d75·6c74·6970·6c65··preserveMultiple | |||
| 000022a0:·536c·6173·6865·733b·0a20·2020·2020·2020··Slashes;.······· | |||
| 000022 | 00002290:·6572·6e20·3d20·7468·6973·2e70·6174·7465··ern·=·this.patte | ||
| 000022a0:·726e·2e72·6570·6c61·6365·282f·5c5c·2f67··rn.replace(/\\/g | |||
| 000022b0:·2c20·272f·2729·3b0a·2020·2020·2020·2020··,·'/');.········ | |||
| 000022c0:·7d0a·2020·2020·2020·2020·7468·6973·2e70··}.········this.p | |||
| 000022d0:·7265·7365·7276·654d·756c·7469·706c·6553··reserveMultipleS | |||
| 000022e0:·6c61·7368·6573·203d·2021·216f·7074·696f··lashes·=·!!optio | |||
| 000022f0:·6e73·2e70·7265·7365·7276·654d·756c·7469··ns.preserveMulti | |||
| 00002300:·706c·6553·6c61·7368·6573·3b0a·2020·2020··pleSlashes;.···· | |||
| 00002310:·2020·2020·7468·6973·2e72·6567·6578·7020······this.regexp· | |||
| 00002320:·3d20·6e75·6c6c·3b0a·2020·2020·2020·2020··=·null;.········ | |||
| 00002330:·7468·6973·2e6e·6567·6174·6520·3d20·6661··this.negate·=·fa | |||
| 00002 | 00002340:·6c73·653b·0a20·2020·2020·2020·2074·6869··lse;.········thi | ||
| 00002 | 00002350:·732e·6e6f·6e65·6761·7465·203d·2021·216f··s.nonegate·=·!!o | ||
| 00002360:·7074·696f·6e73·2e6e·6f6e·6567·6174·653b··ptions.nonegate; | |||
| 00002370:·0a20·2020·2020·2020·2074·6869·732e·636f··.········this.co | |||
| 00002380:·6d6d·656e·7420·3d20·6661·6c73·653b·0a20··mment·=·false;.· | |||
| Max diff block lines reached; 269980/302298 bytes (89.31%) of diff not shown. | |||
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"index.js", | 2 | ····"file":·"index.js", |
| 3 | ····"mappings":·";;;AAAA,qDAAwC;AACxC,uEAA8D;AAC9D,qCAA2C;AAC3C,2CAAoC;AACpC,+CAAwC;AA | 3 | ····"mappings":·";;;AAAA,qDAAwC;AACxC,uEAA8D;AAC9D,qCAA2C;AAC3C,2CAAoC;AACpC,+CAAwC;AAqHjC,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,EAAE,CAAC;QACpD,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,IAAI,SAAS,C[·...·truncated·by·diffoscope;·len:·38343,·SHA:·252006b40acf164e28eb4187b03875decee4ce82d3695087c1c7bfda0fbc5b8e·...·]C;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·'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'\n··|·'darwin'\n··|·'freebsd'\n··|·'haiku'\n··|·'linux'\n··|·'openbsd'\n··|·'sunos'\n··|·'win32'\n··|·'cygwin'\n··|·'netbsd'\n\nexport·interface·MinimatchOptions·{\n··/**·do·not·expand·`{x,y}`·style·braces·*/\n··nobrace?:·boolean\n··/**·do·not·treat·patterns·starting·with·`#`·as·a·comment·*/\n··nocomment?:·boolean\n··/**·do·not·treat·patterns·starting·with·`!`·as·a·negation·*/\n··nonegate?:·boolean\n··/**·print·LOTS·of·debugging·output·*/\n··debug?:·boolean\n··/**·treat·`**`·the·same·as·`*`·*/\n··noglobstar?:·boolean\n··/**·do·not·expand·extglobs·like·`+(a|b)`·*/\n··noext?:·boolean\n··/**·return·the·pattern·if·nothing·matches·*/\n··nonull?:·boolean\n··/**·treat·`\\\\`·as·a·path·separator,·not·an·escape·character·*/\n··windowsPathsNoEscape?:·boolean\n··/**\n···*·inverse·of·{@link·MinimatchOptions.windowsPathsNoEscape}\n···*·@deprecated\n···*/\n··allowWindowsEscape?:·boolean\n··/**\n···*·Compare·a·partial·path·to·a·pattern.·As·long·as·the·parts\n···*·of·the·path·that·are·present·are·not·contradicted·by·the\n···*·pattern,·it·will·be·treated·as·a·match.·This·is·useful·in\n···*·applications·where·you're·walking·through·a·folder·structure,\n···*·and·don't·yet·have·the·full·path,·but·want·to·ensure·that·you\n···*·do·not·walk·down·paths·that·can·never·be·a·match.\n···*/\n··partial?:·boolean\n··/**·allow·matches·that·start·with·`.`·even·if·the·pattern·does·not·*/\n··dot?:·boolean\n··/**·ignore·case·*/\n··nocase?:·boolean\n··/**·ignore·case·only·in·wildcard·patterns·*/\n··nocaseMagicOnly?:·boolean\n··/**·consider·braces·to·be·\"magic\"·for·the·purpose·of·`hasMagic`·*/\n··magicalBraces?:·boolean\n··/**\n···*·If·set,·then·patterns·without·slashes·will·be·matched\n···*·against·the·basename·of·the·path·if·it·contains·slashes.\n···*·For·example,·`a?b`·would·match·the·path·`/xyz/123/acb`,·but\n···*·not·`/xyz/acb/123`.\n···*/\n··matchBase?:·boolean\n··/**·invert·the·results·of·negated·matches·*/\n··flipNegate?:·boolean\n··/**·do·not·collapse·multiple·`/`·into·a·single·`/`·*/\n··preserveMultipleSlashes?:·boolean\n··/**\n···*·A·number·indicating·the·level·of·optimization·that·should·be·done\n···*·to·the·pattern·prior·to·parsing·and·using·it·for·matches.\n···*/\n··optimizationLevel?:·number\n··/**·operating·system·platform·*/\n··platform?:·Platform\n··/**\n···*·When·a·pattern·starts·with·a·UNC·path·or·drive·letter,·and·in\n···*·`nocase:true`·mode,·do·not·convert·the·root·portions·of·the\n···*·pattern·into·a·case-insensitive·regular·expression,·and·instead\n···*·leave·them·as·strings.\n···*\n···*·This·is·the·default·when·the·platform·is·`win32`·and\n···*·`nocase:true`·is·set.\n···*/\n··windowsNoMagicRoot?:·boolean\n··/**\n···*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000.\n···*/\n··braceExpandMax?:·number\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'\n··|·'darwin'\n··|·'freebsd'\n··|·'haiku'\n··|·'linux'\n··|·'openbsd'\n··|·'sunos'\n··|·'win32'\n··|·'cygwin'\n··|·'netbsd'\n\nexport·interface·MinimatchOptions·{\n··/**·do·not·expand·`{x,y}`·style·braces·*/\n··nobrace?:·boolean\n··/**·do·not·treat·patterns·starting·with·`#`·as·a·comment·*/\n··nocomment?:·boolean\n··/**·do·not·treat·patterns·starting·with·`!`·as·a·negation·*/\n··nonegate?:·boolean\n··/**·print·LOTS·of·debugging·output·*/\n··debug?:·boolean\n··/**·treat·`**`·the·same·as·`*`·*/\n··noglobstar?:·boolean\n··/**·do·not·expand·extglobs·like·`+(a|b)`·*/\n··noext?:·boolean\n··/**·return·the·pattern·if·nothing·matches·*/\n··nonull?:·boolean\n··/**·treat·`\\\\`·as·a·path·separator,·not·an·escape·character·*/\n··windowsPathsNoEscape?:·boolean\n··/**\n···*·inverse·of·{@link·MinimatchOptions.windowsPathsNoEscape}\n···*·@deprecated\n···*/\n··allowWindowsEscape?:·boolean\n··/**\n···*·Compare·a·partial·path·to·a·pattern.·As·long·as·the·parts\n···*·of·the·path·that·are·present·are·not·contradicted·by·the\n···*·pattern,·it·will·be·treated·as·a·match.·This·is·useful·in\n···*·applications·where·you're·walking·through·a·folder·structure,\n···*·and·don't·yet·have·the·full·path,·but·want·to·ensure·that·you\n···*·do·not·walk·down·paths·that·can·never·be·a·match.\n···*/\n··partial?:·boolean\n··/**·allow·matches·that·start·with·`.`·even·if·the·pattern·does·not·*/\n··dot?:·boolean\n··/**·ignore·case·*/\n··nocase?:·boolean\n··/**·ignore·case·only·in·wildcard·patterns·*/\n··nocaseMagicOnly?:·boolean\n··/**·consider·braces·to·be·\"magic\"·for·the·purpose·of·`hasMagic`·*/\n··magicalBraces?:·boolean\n··/**\n···*·If·set,·then·patterns·without·slashes·will·be·matched\n···*·against·the·basename·of·the·path·if·it·contains·slashes.\n···*·For·example,·`a?b`·would·match·the·path·`/xyz/123/acb`,·but\n···*·not·`/xyz/acb/123`.\n···*/\n··matchBase?:·boolean\n··/**·invert·the·results·of·negated·matches·*/\n··flipNegate?:·boolean\n··/**·do·not·collapse·multiple·`/`·into·a·single·`/`·*/\n··preserveMultipleSlashes?:·boolean\n··/**\n···*·A·number·indicating·the·level·of·optimization·that·should·be·done\n···*·to·the·pattern·prior·to·parsing·and·using·it·for·matches.\n···*/\n··optimizationLevel?:·number\n··/**·operating·system·platform·*/\n··platform?:·Platform\n··/**\n···*·When·a·pattern·starts·with·a·UNC·path·or·drive·letter,·and·in\n···*·`nocase:true`·mode,·do·not·convert·the·root·portions·of·the\n···*·pattern·into·a·case-insensitive·regular·expression,·and·instead\n···*·leave·them·as·strings.\n···*\n···*·This·is·the·default·when·the·platform·is·`win32`·and\n···*·`nocase:true`·is·set.\n···*/\n··windowsNoMagicRoot?:·boolean\n··/**\n···*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000.\n···*/\n··braceExpandMax?:·number\n··/**\n···*·Max·number·of·non-adjacent·`**`·patterns·to·recursively·walk·down.\n···*\n···*·The·default·of·200·is·almost·certainly·high·enough·for·most·purposes,\n···*·and·can·handle·absurdly·excessive·patterns.\n···*/\n··maxGlobstarRecursion?:·number\n\n··[·...·truncated·by·diffoscope;·len:·33266,·SHA:·cedca16f589a32d30fb660de7a46dfac5d622967fa50ced2660d4d9104f076ec·...·]\n\n······//·something·other·than·**\n······//·non-magic·patterns·just·have·to·match·exactly\n······//·patterns·with·magic·have·been·turned·into·regexps.\n······let·hit:·boolean\n······if·(typeof·p·===·'string')·{\n········hit·=·f·===·p\n········this.debug('string·match',·p,·f,·hit)\n······}·else·{\n········hit·=·p.test(f)\n········this.debug('pattern·match',·p,·f,·hit)\n······}\n\n······if·(!hit)·return·false\n····}\n\n····//·Note:·ending·in·/·means·that·we'll·get·a·final·\"\"\n····//·at·the·end·of·the·pattern.··This·can·only·match·a\n····//·corresponding·\"\"·at·the·end·of·the·file.\n····//·If·the·file·ends·in·/,·then·it·can·only·match·a\n····//·a·pattern·that·ends·in·/,·unless·the·pattern·just\n····//·doesn't·have·any·more·for·it.·But,·a/b/·should·*not*\n····//·match·\"a/b/*\",·even·though·\"\"·matches·against·the\n····//·[^/]*?·pattern,·except·in·partial·mode,·where·it·might\n····//·simply·not·be·reached·yet.\n····//·However,·a/b/·should·still·satisfy·a/*\n\n····//·now·either·we·fell·off·the·end·of·the·pattern,·or·we're·done.\n····if·(fi·===·fl·&&·pi·===·pl)·{\n······//·ran·out·of·pattern·and·filename·at·the·same·time.\n······//·an·exact·hit!\n······return·true\n····}·else·if·(fi·===·fl)·{\n······//·ran·out·of·file,·but·still·had·pattern·left.\n······//·this·is·ok·if·we're·doing·the·match·as·part·of\n······//·a·glob·fs·traversal.\n······return·partial\n····}·else·if·(pi·===·pl)·{\n······//·ran·out·of·pattern,·still·have·file·left.\n······//·this·is·only·acceptable·if·we're·on·the·very·last\n······//·empty·segment·of·a·file·with·a·trailing·slash.\n······//·a/*·should·match·a/b/\n······return·fi·===·fl·-·1·&&·file[fi]·===·''\n\n······/*·c8·ignore·start·*/\n····}·else·{\n······//·should·be·unreachable.\n······throw·new·Error('wtf?')\n····}\n····/*·c8·ignore·stop·*/\n··}\n\n··braceExpand()·{\n····return·braceExpand(this.pattern,·this.options)\n··}\n\n··parse(pattern:·string):·ParseReturn·{\n····assertValidPattern(pattern)\n\n····const·options·=·this.options\n\n····//·shortcuts\n····if·(pattern·===·'**')·return·GLOBSTAR\n····if·(pattern·===·'')·return·''\n\n····//·far·and·away,·the·most·common·glob·pattern·parts·are\n····//·*,·*.*,·and·*.<ext>··Add·a·fast·check·method·for·those.\n····let·m:·RegExpMatchArray·|·null\n····let·fastTest:·null·|·((f:·string)·=>·boolean)·=·null\n····if·((m·=·pattern.match(starRE)))·{\n······fastTest·=·options.dot·?·starTestDot·:·starTest\n····}·else·if·((m·=·pattern.match(starDotExtRE)))·{\n······fastTest·=·(\n········options.nocase·?\n··········options.dot·?\n············starDotExtTestNocaseDot\n··········:·starDotExtTestNocase\n········:·options.dot·?·starDotExtTestDot\n········:·starDotExtTest)(m[1])\n····}·else·if·((m·=·pattern.match(qmarksRE)))·{\n······fastTest·=·(\n········options.nocase·?\n··········options.dot·?\n············qmarksTestNocaseDot\n··········:·qmarksTestNocase\n········:·options.dot·?·qmarksTestDot\n········:·qmarksTest)(m)\n····}·else·if·((m·=·pattern.match(starDotStarRE)))·{\n······fastTest·=·options.dot·?·starDotStarTestDot·:·starDotStarTest\n····}·else·if·((m·=·pattern.match(dotStarRE)))·{\n······fastTest·=·dotStarTest\n····}\n\n····const·re·=·AST.fromGlob(pattern,·this.options).toMMPattern()\n····if·(fastTest·&&·typeof·re·===·'object')·{\n······//·Avoids·overriding·in·frozen·environments\n······Reflect.defineProperty(re,·'test',·{·value:·fastTest·})\n····}\n····return·re\n··}\n\n··makeRe()·{\n····if·(this.regexp·||·this.regexp·===·false)·return·this.regexp\n\n····//·at·this·point,·this.set·is·a·2d·array·of·partial\n····//·pattern·strings,·or·\"**\".\n····//\n····//·It's·better·to·use·.match().··This·function·shouldn't\n····//·be·used,·really,·but·it's·pretty·convenient·sometimes,\n····//·when·you·just·want·to·work·with·a·regex.\n····const·set·=·this.set\n\n····if·(!set.length)·{\n······this.regexp·=·false\n······return·this.regexp\n····}\n····const·options·=·this.options\n\n····const·twoStar·=\n······options.noglobstar·?·star\n······:·options.dot·?·twoStarDot\n······:·twoStarNoDot\n····const·flags·=·new·Set(options.nocase·?·['i']·:·[])\n\n····//·regexpify·non-globstar·patterns\n····//·if·**·is·only·item,·then·we·just·do·one·twoStar\n····//·if·**·is·first,·and·there·are·more,·prepend·(\\/|twoStar\\/)?·to·next\n····//·if·**·is·last,·append·(\\/twoStar|)·to·previous\n····//·if·**·is·in·the·middle,·append·(\\/|\\/twoStar\\/)·to·previous\n····//·then·filter·out·GLOBSTAR·symbols\n····let·re·=·set\n······.map(pattern·=>·{\n········const·pp:·(string·|·typeof·GLOBSTAR)[]·=·pattern.map(p·=>·{\n··········if·(p·instanceof·RegExp)·{\n············for·(const·f·of·p.flags.split(''))·flags.add(f)\n··········}\n··········return·(\n············typeof·p·===·'string'·?·regExpEscape(p)\n············:·p·===·GLOBSTAR·?·GLOBSTAR\n············:·p._src\n··········)\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":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
| 1 | export·declare·const·assertValidPattern:·(pattern:· | 1 | export·declare·const·assertValidPattern:·(pattern:·unknown)·=>·void; |
| 2 | //#·sourceMappingURL=assert-valid-pattern.d.ts.map | 2 | //#·sourceMappingURL=assert-valid-pattern.d.ts.map |
| Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"assert-valid-pattern.d.ts", | 2 | ····"file":·"assert-valid-pattern.d.ts", |
| 3 | ····"mappings":·"AACA,eAAO,MAAM,kBAAkB,EAAE,CAAC,OAAO,EAAE, | 3 | ····"mappings":·"AACA,eAAO,MAAM,kBAAkB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAUtD,CAAA", |
| 4 | ····"names":·[], | 4 | ····"names":·[], |
| 5 | ····"sourceRoot":·"", | 5 | ····"sourceRoot":·"", |
| 6 | ····"sources":·[ | 6 | ····"sources":·[ |
| 7 | ········"../../src/assert-valid-pattern.ts" | 7 | ········"../../src/assert-valid-pattern.ts" |
| 8 | ····], | 8 | ····], |
| 9 | ····"version":·3 | 9 | ····"version":·3 |
| 10 | } | 10 | } |
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"assert-valid-pattern.js", | 2 | ····"file":·"assert-valid-pattern.js", |
| 3 | ····"mappings":·"AAAA,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAA;AACpC,MAAM,CAAC,MAAM,kBAAkB,GAA | 3 | ····"mappings":·"AAAA,MAAM,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAA;AACpC,MAAM,CAAC,MAAM,kBAAkB,GAA+B,CAC5D,OAAgB,EACW,EAAE;IAC7B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,SAAS,CAAC,iBAAiB,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,GAAG,kBAAkB,EAAE,CAAC;QACxC,MAAM,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAA;IAC5C,CAAC;AACH,CAAC,CAAA", |
| 4 | ····"names":·[], | 4 | ····"names":·[], |
| 5 | ····"sourceRoot":·"", | 5 | ····"sourceRoot":·"", |
| 6 | ····"sources":·[ | 6 | ····"sources":·[ |
| 7 | ········"../../src/assert-valid-pattern.ts" | 7 | ········"../../src/assert-valid-pattern.ts" |
| 8 | ····], | 8 | ····], |
| 9 | ····"sourcesContent":·[ | 9 | ····"sourcesContent":·[ |
| 10 | ········"const·MAX_PATTERN_LENGTH·=·1024·*·64\nexport·const·assertValidPattern:·(pattern:· | 10 | ········"const·MAX_PATTERN_LENGTH·=·1024·*·64\nexport·const·assertValidPattern:·(pattern:·unknown)·=>·void·=·(\n··pattern:·unknown,\n):·asserts·pattern·is·string·=>·{\n··if·(typeof·pattern·!==·'string')·{\n····throw·new·TypeError('invalid·pattern')\n··}\n\n··if·(pattern.length·>·MAX_PATTERN_LENGTH)·{\n····throw·new·TypeError('pattern·is·too·long')\n··}\n}\n" |
| 11 | ····], | 11 | ····], |
| 12 | ····"version":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 1, 12 lines modified | Offset 1, 14 lines modified | ||
| 1 | import·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'; | 1 | import·{·MinimatchOptions,·MMRegExp·}·from·'./index.js'; |
| 2 | export·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'; | 2 | export·type·ExtglobType·=·'!'·|·'?'·|·'+'·|·'*'·|·'@'; |
| 3 | export·declare·class·AST·{ | 3 | export·declare·class·AST·{ |
| 4 | ····#private; | 4 | ····#private; |
| 5 | ····type:·ExtglobType·|·null; | 5 | ····type:·ExtglobType·|·null; |
| 6 | ····id:·number; | ||
| 7 | ····get·depth():·number; | ||
| 6 | ····constructor(type:·ExtglobType·|·null,·parent?:·AST,·options?:·MinimatchOptions); | 8 | ····constructor(type:·ExtglobType·|·null,·parent?:·AST,·options?:·MinimatchOptions); |
| 7 | ····get·hasMagic():·boolean·|·undefined; | 9 | ····get·hasMagic():·boolean·|·undefined; |
| 8 | ····toString():·string; | 10 | ····toString():·string; |
| 9 | ····push(...parts:·(string·|·AST)[]):·void; | 11 | ····push(...parts:·(string·|·AST)[]):·void; |
| 10 | ····toJSON():·any[]; | 12 | ····toJSON():·any[]; |
| 11 | ····isStart():·boolean; | 13 | ····isStart():·boolean; |
| 12 | ····isEnd():·boolean; | 14 | ····isEnd():·boolean; |
| Offset 1, 10 lines modified | Offset 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;AA | 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;AA6IrD,qBAAa,GAAG;;IACd,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;IAexB,EAAE,SAAO;IAET,IAAI,KAAK,IAAI,MAAM,CAElB;gBAgBC,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,CAA[·...·truncated·by·diffoscope;·len:·422,·SHA:·300cd9cd3bdbec8bc8beec92db61014103d422ccb19453e32b5d9763d3e2c46c·...·]jE", |
| 4 | ····"names":·[], | 4 | ····"names":·[], |
| 5 | ····"sourceRoot":·"", | 5 | ····"sourceRoot":·"", |
| 6 | ····"sources":·[ | 6 | ····"sources":·[ |
| 7 | ········"../../src/ast.ts" | 7 | ········"../../src/ast.ts" |
| 8 | ····], | 8 | ····], |
| 9 | ····"version":·3 | 9 | ····"version":·3 |
| 10 | } | 10 | } |
| Offset 1, 1431 lines modified | Offset 1, 1900 lines modified | Diff chunk too large, falling back to line-by-line diff (464 lines added, 464 lines removed) | |
| 00000000:·2f2f·2070·6172·7365·2061·2073·696e·676c··//·parse·a·singl | 00000000:·2f2f·2070·6172·7365·2061·2073·696e·676c··//·parse·a·singl | ||
| 00000010:·6520·7061·7468·2070·6f72·7469·6f6e·0a | 00000010:·6520·7061·7468·2070·6f72·7469·6f6e·0a76··e·path·portion.v | ||
| 00000020:·6 | 00000020:·6172·205f·613b·0a69·6d70·6f72·7420·7b20··ar·_a;.import·{· | ||
| 00000030:·7 | 00000030:·7061·7273·6543·6c61·7373·207d·2066·726f··parseClass·}·fro | ||
| 00000040:·6 | 00000040:·6d20·272e·2f62·7261·6365·2d65·7870·7265··m·'./brace-expre | ||
| 00000050:·73 | 00000050:·7373·696f·6e73·2e6a·7327·3b0a·696d·706f··ssions.js';.impo | ||
| 00000060:·7 | 00000060:·7274·207b·2075·6e65·7363·6170·6520·7d20··rt·{·unescape·}· | ||
| 00000070:· | 00000070:·6672·6f6d·2027·2e2f·756e·6573·6361·7065··from·'./unescape | ||
| 00000080:· | 00000080:·2e6a·7327·3b0a·636f·6e73·7420·7479·7065··.js';.const·type | ||
| 00000090:· | 00000090:·7320·3d20·6e65·7720·5365·7428·5b27·2127··s·=·new·Set(['!' | ||
| 000000a0:·2 | 000000a0:·2c20·273f·272c·2027·2b27·2c20·272a·272c··,·'?',·'+',·'*', | ||
| 000000b0:· | 000000b0:·2027·4027·5d29·3b0a·636f·6e73·7420·6973···'@']);.const·is | ||
| 000000c0:·7 | 000000c0:·4578·7467·6c6f·6254·7970·6520·3d20·2863··ExtglobType·=·(c | ||
| 000000d0:· | 000000d0:·2920·3d3e·2074·7970·6573·2e68·6173·2863··)·=>·types.has(c | ||
| 000000e0:· | 000000e0:·293b·0a63·6f6e·7374·2069·7345·7874·676c··);.const·isExtgl | ||
| 000000f0:· | 000000f0:·6f62·4153·5420·3d20·2863·2920·3d3e·2069··obAST·=·(c)·=>·i | ||
| 00000100:· | 00000100:·7345·7874·676c·6f62·5479·7065·2863·2e74··sExtglobType(c.t | ||
| 00000110:· | 00000110:·7970·6529·3b0a·2f2f·204d·6170·206f·6620··ype);.//·Map·of· | ||
| 00000120:· | 00000120:·7768·6963·6820·6578·7467·6c6f·6220·7479··which·extglob·ty | ||
| 00000130:·7 | 00000130:·7065·7320·6361·6e20·6164·6f70·7420·7468··pes·can·adopt·th | ||
| 00000140:· | 00000140:·6520·6368·696c·6472·656e·206f·6620·6120··e·children·of·a· | ||
| 00000150:· | 00000150:·6e65·7374·6564·2065·7874·676c·6f62·0a2f··nested·extglob./ | ||
| 00000160:·2 | 00000160:·2f0a·2f2f·2061·6e79·7468·696e·6720·6275··/.//·anything·bu | ||
| 00000170:· | 00000170:·7420·2120·6361·6e20·6164·6f70·7420·6120··t·!·can·adopt·a· | ||
| 00000180:· | 00000180:·6d61·7463·6869·6e67·2074·7970·653a·0a2f··matching·type:./ | ||
| 00000190:·2 | 00000190:·2f20·2b28·617c·2b28·627c·6329·7c64·2920··/·+(a|+(b|c)|d)· | ||
| 000001a0:· | 000001a0:·3d3e·202b·2861·7c62·7c63·7c64·290a·2f2f··=>·+(a|b|c|d).// | ||
| 000001b0:· | 000001b0:·202a·2861·7c2a·2862·7c63·297c·6429·203d···*(a|*(b|c)|d)·= | ||
| 000001c0:· | 000001c0:·3e20·2a28·617c·627c·637c·6429·0a2f·2f20··>·*(a|b|c|d).//· | ||
| 000001d0:· | 000001d0:·4028·617c·4028·627c·6329·7c64·2920·3d3e··@(a|@(b|c)|d)·=> | ||
| 000001e0:· | 000001e0:·2040·2861·7c62·7c63·7c64·290a·2f2f·203f···@(a|b|c|d).//·? | ||
| 000001f0:· | 000001f0:·2861·7c3f·2862·7c63·297c·6429·203d·3e20··(a|?(b|c)|d)·=>· | ||
| 00000200:· | 00000200:·3f28·617c·627c·637c·6429·0a2f·2f0a·2f2f··?(a|b|c|d).//.// | ||
| 00000210:· | 00000210:·202a·2063·616e·2061·646f·7074·2061·6e79···*·can·adopt·any | ||
| 00000220:· | 00000220:·7468·696e·672c·2062·6563·6175·7365·2030··thing,·because·0 | ||
| 00000230:· | 00000230:·206f·7220·7265·7065·7469·7469·6f6e·2069···or·repetition·i | ||
| 00000240:·2061· | 00000240:·7320·616c·6c6f·7765·640a·2f2f·202a·2861··s·allowed.//·*(a | ||
| 00000250:· | 00000250:·7c3f·2862·7c63·297c·6429·203d·3e20·2a28··|?(b|c)|d)·=>·*( | ||
| 00000260:·6 | 00000260:·617c·627c·637c·6429·0a2f·2f20·2a28·617c··a|b|c|d).//·*(a| | ||
| 00000270:· | 00000270:·2b28·627c·6329·7c64·2920·3d3e·202a·2861··+(b|c)|d)·=>·*(a | ||
| 00000280:· | 00000280:·7c62·7c63·7c64·290a·2f2f·202a·2861·7c40··|b|c|d).//·*(a|@ | ||
| 00000290:·2 | 00000290:·2862·7c63·297c·6429·203d·3e20·2a28·617c··(b|c)|d)·=>·*(a| | ||
| 000002a0:·6 | 000002a0:·627c·637c·6429·0a2f·2f0a·2f2f·202b·2063··b|c|d).//.//·+·c | ||
| 000002b0:·6 | 000002b0:·616e·2061·646f·7074·2040·2c20·6265·6361··an·adopt·@,·beca | ||
| 000002c0:· | 000002c0:·7573·6520·3120·6f72·2072·6570·6574·6974··use·1·or·repetit | ||
| 000002d0:·6 | 000002d0:·696f·6e20·6973·2061·6c6c·6f77·6564·0a2f··ion·is·allowed./ | ||
| 000002e0:· | 000002e0:·2f20·2b28·617c·4028·627c·6329·7c64·2920··/·+(a|@(b|c)|d)· | ||
| 000002f0:· | 000002f0:·3d3e·202b·2861·7c62·7c63·7c64·290a·2f2f··=>·+(a|b|c|d).// | ||
| 00000300:· | 00000300:·0a2f·2f20·2b20·616e·6420·4020·4341·4e4e··.//·+·and·@·CANN | ||
| 00000310:· | 00000310:·4f54·2061·646f·7074·202a·2c20·6265·6361··OT·adopt·*,·beca | ||
| 00000320:· | 00000320:·7573·6520·3020·776f·756c·6420·6265·2061··use·0·would·be·a | ||
| 00000330:·6 | 00000330:·6c6c·6f77·6564·0a2f·2f20·2b28·617c·2a28··llowed.//·+(a|*( | ||
| 00000340:· | 00000340:·627c·6329·7c64·2920·3d3e·2077·6f75·6c64··b|c)|d)·=>·would | ||
| 00000350:· | 00000350:·206d·6174·6368·2022·222c·206f·6e20·2a28···match·"",·on·*( | ||
| 00000360:· | 00000360:·627c·6329·0a2f·2f20·4028·617c·2a28·627c··b|c).//·@(a|*(b| | ||
| 00000370:· | 00000370:·6329·7c64·2920·3d3e·2077·6f75·6c64·206d··c)|d)·=>·would·m | ||
| 00000380:· | 00000380:·6174·6368·2022·222c·206f·6e20·2a28·627c··atch·"",·on·*(b| | ||
| 00000390:· | 00000390:·6329·0a2f·2f0a·2f2f·202b·2061·6e64·2040··c).//.//·+·and·@ | ||
| 000003a0:· | 000003a0:·2043·414e·4e4f·5420·6164·6f70·7420·3f2c···CANNOT·adopt·?, | ||
| 000003b0:· | 000003b0:·2062·6563·6175·7365·2030·2077·6f75·6c64···because·0·would | ||
| 000003c0:· | 000003c0:·2062·6520·616c·6c6f·7765·640a·2f2f·202b···be·allowed.//·+ | ||
| 000003d0:· | 000003d0:·2861·7c3f·2862·7c63·297c·6429·203d·3e20··(a|?(b|c)|d)·=>· | ||
| 000003e0:· | 000003e0:·776f·756c·6420·6d61·7463·6820·2222·2c20··would·match·"",· | ||
| 000003f0:· | 000003f0:·6f6e·203f·2862·7c63·290a·2f2f·2040·2861··on·?(b|c).//·@(a | ||
| 00000400:· | 00000400:·7c3f·2862·7c63·297c·6429·203d·3e20·776f··|?(b|c)|d)·=>·wo | ||
| 00000410:·7 | 00000410:·756c·6420·6d61·7463·6820·2222·2c20·6f6e··uld·match·"",·on | ||
| 00000420:·20 | 00000420:·203f·2862·7c63·290a·2f2f·0a2f·2f20·3f20···?(b|c).//.//·?· | ||
| 00000430:· | 00000430:·6361·6e20·6164·6f70·7420·402c·2062·6563··can·adopt·@,·bec | ||
| 00000440:· | 00000440:·6175·7365·2030·206f·7220·3120·6973·2061··ause·0·or·1·is·a | ||
| 00000450:·6 | 00000450:·6c6c·6f77·6564·0a2f·2f20·3f28·617c·4028··llowed.//·?(a|@( | ||
| 00000460:· | 00000460:·627c·6329·7c64·2920·3d3e·203f·2861·7c62··b|c)|d)·=>·?(a|b | ||
| 00000470:· | 00000470:·7c63·7c64·290a·2f2f·0a2f·2f20·3f20·616e··|c|d).//.//·?·an | ||
| 00000480:·6 | 00000480:·6420·4020·4341·4e4e·4f54·2061·646f·7074··d·@·CANNOT·adopt | ||
| 00000490:· | 00000490:·202a·206f·7220·2b2c·2062·6563·6175·7365···*·or·+,·because | ||
| 000004a0:· | 000004a0:·203e·3120·776f·756c·6420·6265·2061·6c6c···>1·would·be·all | ||
| 000004b0:·6 | 000004b0:·6f77·6564·0a2f·2f20·3f28·617c·2a28·627c··owed.//·?(a|*(b| | ||
| 000004c0:· | 000004c0:·6329·7c64·2920·3d3e·2077·6f75·6c64·206d··c)|d)·=>·would·m | ||
| 000004d0:·6 | 000004d0:·6174·6368·2062·6262·206f·6e20·2a28·627c··atch·bbb·on·*(b| | ||
| 000004e0:· | 000004e0:·6329·0a2f·2f20·4028·617c·2a28·627c·6329··c).//·@(a|*(b|c) | ||
| 000004f0:·7 | 000004f0:·7c64·2920·3d3e·2077·6f75·6c64·206d·6174··|d)·=>·would·mat | ||
| 00000500:· | 00000500:·6368·2062·6262·206f·6e20·2a28·627c·6329··ch·bbb·on·*(b|c) | ||
| 00000510:· | 00000510:·0a2f·2f20·3f28·617c·2b28·627c·6329·7c64··.//·?(a|+(b|c)|d | ||
| 00000520:· | 00000520:·2920·3d3e·2077·6f75·6c64·206d·6174·6368··)·=>·would·match | ||
| 00000530:· | 00000530:·2062·6262·206f·6e20·2b28·627c·6329·0a2f···bbb·on·+(b|c)./ | ||
| 00000540:· | 00000540:·2f20·4028·617c·2b28·627c·6329·7c64·2920··/·@(a|+(b|c)|d)· | ||
| 00000550:· | 00000550:·3d3e·2077·6f75·6c64·206d·6174·6368·2062··=>·would·match·b | ||
| 00000560:·6 | 00000560:·6262·206f·6e20·2b28·627c·6329·0a2f·2f0a··bb·on·+(b|c).//. | ||
| 00000570:·2 | 00000570:·2f2f·2021·2043·414e·4e4f·5420·6164·6f70··//·!·CANNOT·adop | ||
| 00000580:· | 00000580:·7420·2120·286e·6f74·6869·6e67·2065·6c73··t·!·(nothing·els | ||
| 00000590:· | 00000590:·6520·6361·6e20·6569·7468·6572·290a·2f2f··e·can·either).// | ||
| 000005a0:· | 000005a0:·2021·2861·7c21·2862·7c63·297c·6429·203d···!(a|!(b|c)|d)·= | ||
| 000005b0:· | 000005b0:·3e20·2128·617c·627c·637c·6429·2077·6f75··>·!(a|b|c|d)·wou | ||
| 000005c0:·6 | 000005c0:·6c64·2066·6169·6c20·746f·206d·6174·6368··ld·fail·to·match | ||
| 000005d0:·20 | 000005d0:·206f·6e20·6220·286e·6f74·206e·6f74·2062···on·b·(not·not·b | ||
| 000005e0:· | 000005e0:·7c63·290a·2f2f·0a2f·2f20·2120·6361·6e20··|c).//.//·!·can· | ||
| 000005f0:· | 000005f0:·6164·6f70·7420·400a·2f2f·2021·2861·7c40··adopt·@.//·!(a|@ | ||
| 00000600:· | 00000600:·2862·7c63·297c·6429·203d·3e20·2128·617c··(b|c)|d)·=>·!(a| | ||
| 00000610:·6 | 00000610:·627c·637c·6429·0a2f·2f0a·2f2f·2021·2043··b|c|d).//.//·!·C | ||
| Max diff block lines reached; 165513/229705 bytes (72.05%) of diff not shown. | |||
| Offset 1, 13 lines modified | Offset 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,CAA | 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,CAAgB,EAAoB,EAAE,CAC3D,KAAK,CAAC,GAAG,CAAC,[·...·truncated·by·diffoscope;·len:·22959,·SHA:·b7cc5289ab3c941e84f39f49a252c0045e33061fdd6dc42aa8fcb4b87d64d383·...·],OAAO,IAAI,CAAC,MAAM;aACf,GAAG,CAAC,CAAC,CAAC,EAAE;YACP,+CAA+C;YAC/C,qBAAqB;YACrB,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;gBAC1B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;YACjD,CAAC;YACD,oBAAoB;YACp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AW,CAAC,CAAC,CAAC,IAAI,CAAA;gBACzD,QAAQ,GAAG,IAAI,CAAA;gBACf,SAAQ;YACV,CAAC;iBAAM,CAAC;gBACN,MAAM,GAAG,KAAK,CAAA;YAChB,CAAC;YACD,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;gBACf,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBAC1B,EAAE,IAAI,MAAM,CAAA;gBACd,CAAC;qBAAM,CAAC;oBACN,QAAQ,GAAG,IAAI,CAAA;gBACjB,CAAC;gBACD,SAAQ;YACV,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;gBACd,MAAM,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;gBAC7D,IAAI,QAAQ,EAAE,CAAC;oBACb,EAAE,IAAI,GAAG,CAAA;oBACT,KAAK,GAAG,KAAK,IAAI,SAAS,CAAA;oBAC1B,CAAC,IAAI,QAAQ,GAAG,CAAC,CAAA;oBACjB,QAAQ,GAAG,QAAQ,IAAI,KAAK,CAAA;oBAC5B,SAAQ;gBACV,CAAC;YACH,CAAC;YACD,IAAI,CAAC,KAAK,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 | 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·|·null):·c·is·ExtglobType·=>\n··types.has(c·as·ExtglobType)\nconst·isExtglobAST·=·(c:·AST):·c·is·AST·&·{·type:·ExtglobType·}·=>\n··isExtglobType(c.type)\n\n//·Map·of·which·extglob·types·can·adopt·the·children·of·a·nested·extglob\n//\n//·anything·but·!·can[·...·truncated·by·diffoscope;·len:·26286,·SHA:·d810c50ff9c953b500cc57e7268567e131885f1886bcd50e352f5dc5b750f3d7·...·]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····//·multiple·stars·that·aren't·globstars·coalesce·into·one·*\n····let·inStar·=·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·(inStar)·continue\n········inStar·=·true\n········re·+=·noEmpty·&&·/^[*]+$/.test(glob)·?·starNoEmpty·:·star\n········hasMagic·=·true\n········continue\n······}·else·{\n········inStar·=·false\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·+=·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":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 67, 14 lines modified | Offset 67, 42 lines modified | ||
| 67 | ·····*·`nocase:true`·is·set. | 67 | ·····*·`nocase:true`·is·set. |
| 68 | ·····*/ | 68 | ·····*/ |
| 69 | ····windowsNoMagicRoot?:·boolean; | 69 | ····windowsNoMagicRoot?:·boolean; |
| 70 | ····/** | 70 | ····/** |
| 71 | ·····*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000. | 71 | ·····*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000. |
| 72 | ·····*/ | 72 | ·····*/ |
| 73 | ····braceExpandMax?:·number; | 73 | ····braceExpandMax?:·number; |
| 74 | ····/** | ||
| 75 | ·····*·Max·number·of·non-adjacent·`**`·patterns·to·recursively·walk·down. | ||
| 76 | ·····* | ||
| 77 | ·····*·The·default·of·200·is·almost·certainly·high·enough·for·most·purposes, | ||
| 78 | ·····*·and·can·handle·absurdly·excessive·patterns. | ||
| 79 | ·····*/ | ||
| 80 | ····maxGlobstarRecursion?:·number; | ||
| 81 | ····/** | ||
| 82 | ·····*·Max·depth·to·traverse·for·nested·extglobs·like·`*(a|b|c)` | ||
| 83 | ·····* | ||
| 84 | ·····*·Default·is·2,·which·is·quite·low,·but·any·higher·value | ||
| 85 | ·····*·swiftly·results·in·punishing·performance·impacts.·Note | ||
| 86 | ·····*·that·this·is·*not*··relevant·when·the·globstar·types·can | ||
| 87 | ·····*·be·safely·coalesced·into·a·single·set. | ||
| 88 | ·····* | ||
| 89 | ·····*·For·example,·`*(a|@(b|c)|d)`·would·be·flattened·into | ||
| 90 | ·····*·`*(a|b|c|d)`.·Thus,·many·common·extglobs·will·retain·good | ||
| 91 | ·····*·performance·and··never·hit·this·limit,·even·if·they·are | ||
| 92 | ·····*·excessively·deep·and·complicated. | ||
| 93 | ·····* | ||
| 94 | ·····*·If·the·limit·is·hit,·then·the·extglob·characters·are·simply | ||
| 95 | ·····*·not·parsed,·and·the·pattern·effectively·switches·into | ||
| 96 | ·····*·`noextglob:·true`·mode·for·the·contents·of·that·nested | ||
| 97 | ·····*·sub-pattern.·This·will·typically·_not_·result·in·a·match, | ||
| 98 | ·····*·but·is·considered·a·valid·trade-off·for·security·and | ||
| 99 | ·····*·performance. | ||
| 100 | ·····*/ | ||
| 101 | ····maxExtglobRecursion?:·number; | ||
| 74 | } | 102 | } |
| 75 | export·declare·const·minimatch:·{ | 103 | export·declare·const·minimatch:·{ |
| 76 | ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean; | 104 | ····(p:·string,·pattern:·string,·options?:·MinimatchOptions):·boolean; |
| 77 | ····sep:·Sep; | 105 | ····sep:·Sep; |
| 78 | ····GLOBSTAR:·typeof·GLOBSTAR; | 106 | ····GLOBSTAR:·typeof·GLOBSTAR; |
| 79 | ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean; | 107 | ····filter:·(pattern:·string,·options?:·MinimatchOptions)·=>·(p:·string)·=>·boolean; |
| 80 | ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch; | 108 | ····defaults:·(def:·MinimatchOptions)·=>·typeof·minimatch; |
| Offset 97, 14 lines modified | Offset 125, 15 lines modified | ||
| 97 | export·type·MMRegExp·=·RegExp·&·{ | 125 | export·type·MMRegExp·=·RegExp·&·{ |
| 98 | ····_src?:·string; | 126 | ····_src?:·string; |
| 99 | ····_glob?:·string; | 127 | ····_glob?:·string; |
| 100 | }; | 128 | }; |
| 101 | export·type·ParseReturnFiltered·=·string·|·MMRegExp·|·typeof·GLOBSTAR; | 129 | export·type·ParseReturnFiltered·=·string·|·MMRegExp·|·typeof·GLOBSTAR; |
| 102 | export·type·ParseReturn·=·ParseReturnFiltered·|·false; | 130 | export·type·ParseReturn·=·ParseReturnFiltered·|·false; |
| 103 | export·declare·class·Minimatch·{ | 131 | export·declare·class·Minimatch·{ |
| 132 | ····#private; | ||
| 104 | ····options:·MinimatchOptions; | 133 | ····options:·MinimatchOptions; |
| 105 | ····set:·ParseReturnFiltered[][]; | 134 | ····set:·ParseReturnFiltered[][]; |
| 106 | ····pattern:·string; | 135 | ····pattern:·string; |
| 107 | ····windowsPathsNoEscape:·boolean; | 136 | ····windowsPathsNoEscape:·boolean; |
| 108 | ····nonegate:·boolean; | 137 | ····nonegate:·boolean; |
| 109 | ····negate:·boolean; | 138 | ····negate:·boolean; |
| 110 | ····comment:·boolean; | 139 | ····comment:·boolean; |
| Offset 113, 14 lines modified | Offset 142, 15 lines modified | ||
| 113 | ····partial:·boolean; | 142 | ····partial:·boolean; |
| 114 | ····globSet:·string[]; | 143 | ····globSet:·string[]; |
| 115 | ····globParts:·string[][]; | 144 | ····globParts:·string[][]; |
| 116 | ····nocase:·boolean; | 145 | ····nocase:·boolean; |
| 117 | ····isWindows:·boolean; | 146 | ····isWindows:·boolean; |
| 118 | ····platform:·Platform; | 147 | ····platform:·Platform; |
| 119 | ····windowsNoMagicRoot:·boolean; | 148 | ····windowsNoMagicRoot:·boolean; |
| 149 | ····maxGlobstarRecursion:·number; | ||
| 120 | ····regexp:·false·|·null·|·MMRegExp; | 150 | ····regexp:·false·|·null·|·MMRegExp; |
| 121 | ····constructor(pattern:·string,·options?:·MinimatchOptions); | 151 | ····constructor(pattern:·string,·options?:·MinimatchOptions); |
| 122 | ····hasMagic():·boolean; | 152 | ····hasMagic():·boolean; |
| 123 | ····debug(..._:·any[]):·void; | 153 | ····debug(..._:·any[]):·void; |
| 124 | ····make():·void; | 154 | ····make():·void; |
| 125 | ····preprocess(globParts:·string[][]):·string[][]; | 155 | ····preprocess(globParts:·string[][]):·string[][]; |
| 126 | ····adjascentGlobstarOptimize(globParts:·string[][]):·string[][]; | 156 | ····adjascentGlobstarOptimize(globParts:·string[][]):·string[][]; |
| Offset 1, 10 lines modified | Offset 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,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;IACf,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,8DAA8D;IAC9D,oBAAoB,CAAC,EAAE,OAA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M,GAAG,WAAW;IA6CnC,MAAM;IAuGN,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":·3 | 9 | ····"version":·3 |
| 10 | } | 10 | } |
| Offset 461, 2045 lines modified | Offset 461, 2269 lines modified | ||
| 00001cc0:·6573·3b0a·2020·2020·7061·7274·6961·6c3b··es;.····partial; | 00001cc0:·6573·3b0a·2020·2020·7061·7274·6961·6c3b··es;.····partial; | ||
| 00001cd0:·0a20·2020·2067·6c6f·6253·6574·3b0a·2020··.····globSet;.·· | 00001cd0:·0a20·2020·2067·6c6f·6253·6574·3b0a·2020··.····globSet;.·· | ||
| 00001ce0:·2020·676c·6f62·5061·7274·733b·0a20·2020····globParts;.··· | 00001ce0:·2020·676c·6f62·5061·7274·733b·0a20·2020····globParts;.··· | ||
| 00001cf0:·206e·6f63·6173·653b·0a20·2020·2069·7357···nocase;.····isW | 00001cf0:·206e·6f63·6173·653b·0a20·2020·2069·7357···nocase;.····isW | ||
| 00001d00:·696e·646f·7773·3b0a·2020·2020·706c·6174··indows;.····plat | 00001d00:·696e·646f·7773·3b0a·2020·2020·706c·6174··indows;.····plat | ||
| 00001d10:·666f·726d·3b0a·2020·2020·7769·6e64·6f77··form;.····window | 00001d10:·666f·726d·3b0a·2020·2020·7769·6e64·6f77··form;.····window | ||
| 00001d20:·734e·6f4d·6167·6963·526f·6f74·3b0a·2020··sNoMagicRoot;.·· | 00001d20:·734e·6f4d·6167·6963·526f·6f74·3b0a·2020··sNoMagicRoot;.·· | ||
| 00001d30:·2020·7265·6765·7870·3b0a·2020·2020·636f····regexp;.····co | |||
| 00001d40:·6e73·7472·7563·746f·7228·7061·7474·6572··nstructor(patter | |||
| 00001d | 00001d30:·2020·6d61·7847·6c6f·6273·7461·7252·6563····maxGlobstarRec | ||
| 00001d40:·7572·7369·6f6e·3b0a·2020·2020·7265·6765··ursion;.····rege | |||
| 00001d50:·7870·3b0a·2020·2020·636f·6e73·7472·7563··xp;.····construc | |||
| 00001d60:·746f·7228·7061·7474·6572·6e2c·206f·7074··tor(pattern,·opt | |||
| 00001d70:·696f·6e73·203d·207b·7d29·207b·0a20·2020··ions·=·{})·{.··· | |||
| 00001d80:·2020·2020·2061·7373·6572·7456·616c·6964·······assertValid | |||
| 00001d90:·5061·7474·6572·6e28·7061·7474·6572·6e29··Pattern(pattern) | |||
| 00001da0:·3b0a·2020·2020·2020·2020·6f70·7469·6f6e··;.········option | |||
| 00001db0:·7320·3d20·6f70·7469·6f6e·7320·7c7c·207b··s·=·options·||·{ | |||
| 00001d | 00001dc0:·7d3b·0a20·2020·2020·2020·2074·6869·732e··};.········this. | ||
| 00001d70:·7456·616c·6964·5061·7474·6572·6e28·7061··tValidPattern(pa | |||
| 00001d80:·7474·6572·6e29·3b0a·2020·2020·2020·2020··ttern);.········ | |||
| 00001d | 00001dd0:·6f70·7469·6f6e·7320·3d20·6f70·7469·6f6e··options·=·option | ||
| 00001da0:·7320·7c7c·207b·7d3b·0a20·2020·2020·2020··s·||·{};.······· | |||
| 00001db0:·2074·6869·732e·6f70·7469·6f6e·7320·3d20···this.options·=· | |||
| 00001dc0:·6f70·7469·6f6e·733b·0a20·2020·2020·2020··options;.······· | |||
| 00001d | 00001de0:·733b·0a20·2020·2020·2020·2074·6869·732e··s;.········this. | ||
| 00001df0:·6d61·7847·6c6f·6273·7461·7252·6563·7572··maxGlobstarRecur | |||
| 00001e00:·7369·6f6e·203d·206f·7074·696f·6e73·2e6d··sion·=·options.m | |||
| 00001e10:·6178·476c·6f62·7374·6172·5265·6375·7273··axGlobstarRecurs | |||
| 00001e20:·696f·6e20·3f3f·2032·3030·3b0a·2020·2020··ion·??·200;.···· | |||
| 00001e30:·2020·2020·7468·6973·2e70·6174·7465·726e······this.pattern | |||
| 00001e40:·203d·2070·6174·7465·726e·3b0a·2020·2020···=·pattern;.···· | |||
| 00001e50:·2020·2020·7468·6973·2e70·6c61·7466·6f72······this.platfor | |||
| 00001e60:·6d20·3d20·6f70·7469·6f6e·732e·706c·6174··m·=·options.plat | |||
| 00001e70:·666f·726d·207c·7c20·6465·6661·756c·7450··form·||·defaultP | |||
| 00001 | 00001e80:·6c61·7466·6f72·6d3b·0a20·2020·2020·2020··latform;.······· | ||
| 00001 | 00001e90:·2074·6869·732e·6973·5769·6e64·6f77·7320···this.isWindows· | ||
| 00001e | 00001ea0:·3d20·7468·6973·2e70·6c61·7466·6f72·6d20··=·this.platform· | ||
| 00001eb0:·3d3d·3d20·2777·696e·3332·273b·0a20·2020··===·'win32';.··· | |||
| 00001ec0:·2020·2020·202f·2f20·6176·6f69·6420·7468·······//·avoid·th | |||
| 00001ed0:·6520·616e·6e6f·7969·6e67·2064·6570·7265··e·annoying·depre | |||
| 00001ee0:·6361·7469·6f6e·2066·6c61·6720·6c6f·6c0a··cation·flag·lol. | |||
| 00001ef0:·2020·2020·2020·2020·636f·6e73·7420·6177··········const·aw | |||
| 00001f00:·6520·3d20·2827·616c·6c6f·7757·696e·646f··e·=·('allowWindo | |||
| 00001f10:·7727·202b·2027·7345·7363·6170·6527·293b··w'·+·'sEscape'); | |||
| 00001e10:·6d20·7c7c·2064·6566·6175·6c74·506c·6174··m·||·defaultPlat | |||
| 00001e20:·666f·726d·3b0a·2020·2020·2020·2020·7468··form;.········th | |||
| 00001e30:·6973·2e69·7357·696e·646f·7773·203d·2074··is.isWindows·=·t | |||
| 00001e40:·6869·732e·706c·6174·666f·726d·203d·3d3d··his.platform·=== | |||
| 00001e50:·2027·7769·6e33·3227·3b0a·2020·2020·2020···'win32';.······ | |||
| 00001e60:·2020·2f2f·2061·766f·6964·2074·6865·2061····//·avoid·the·a | |||
| 00001e70:·6e6e·6f79·696e·6720·6465·7072·6563·6174··nnoying·deprecat | |||
| 00001e80:·696f·6e20·666c·6167·206c·6f6c·0a20·2020··ion·flag·lol.··· | |||
| 00001e90:·2020·2020·2063·6f6e·7374·2061·7765·203d·······const·awe·= | |||
| 00001ea0:·2028·2761·6c6c·6f77·5769·6e64·6f77·2720···('allowWindow'· | |||
| 00001eb0:·2b20·2773·4573·6361·7065·2729·3b0a·2020··+·'sEscape');.·· | |||
| 00001 | 00001f20:·0a20·2020·2020·2020·2074·6869·732e·7769··.········this.wi | ||
| 00001f30:·6e64·6f77·7350·6174·6873·4e6f·4573·6361··ndowsPathsNoEsca | |||
| 00001f40:·7065·203d·0a20·2020·2020·2020·2020·2020··pe·=.··········· | |||
| 00001f50:·2021·216f·7074·696f·6e73·2e77·696e·646f···!!options.windo | |||
| 00001 | 00001f60:·7773·5061·7468·734e·6f45·7363·6170·6520··wsPathsNoEscape· | ||
| 00001f70:·7c7c·206f·7074·696f·6e73·5b61·7765·5d20··||·options[awe]· | |||
| 00001f80:·3d3d·3d20·6661·6c73·653b·0a20·2020·2020··===·false;.····· | |||
| 00001f90:·2020·2069·6620·2874·6869·732e·7769·6e64·····if·(this.wind | |||
| 00001fa0:·6f77·7350·6174·6873·4e6f·4573·6361·7065··owsPathsNoEscape | |||
| 00001 | 00001fb0:·2920·7b0a·2020·2020·2020·2020·2020·2020··)·{.············ | ||
| 00001ef0:·6f70·7469·6f6e·732e·7769·6e64·6f77·7350··options.windowsP | |||
| 00001f00:·6174·6873·4e6f·4573·6361·7065·207c·7c20··athsNoEscape·||· | |||
| 00001f | 00001fc0:·7468·6973·2e70·6174·7465·726e·203d·2074··this.pattern·=·t | ||
| 00001fd0:·6869·732e·7061·7474·6572·6e2e·7265·706c··his.pattern.repl | |||
| 00001fe0:·6163·6528·2f5c·5c2f·672c·2027·2f27·293b··ace(/\\/g,·'/'); | |||
| 00001ff0:·0a20·2020·2020·2020·207d·0a20·2020·2020··.········}.····· | |||
| 00002000:·2020·2074·6869·732e·7072·6573·6572·7665·····this.preserve | |||
| 00002010:·4d75·6c74·6970·6c65·536c·6173·6865·7320··MultipleSlashes· | |||
| 00002020:·3d20·2121·6f70·7469·6f6e·732e·7072·6573··=·!!options.pres | |||
| 00002030:·6572·7665·4d75·6c74·6970·6c65·536c·6173··erveMultipleSlas | |||
| 00002040:·6865·733b·0a20·2020·2020·2020·2074·6869··hes;.········thi | |||
| 00002050:·732e·7265·6765·7870·203d·206e·756c·6c3b··s.regexp·=·null; | |||
| 00002060:·0a20·2020·2020·2020·2074·6869·732e·6e65··.········this.ne | |||
| 00002070:·6761·7465·203d·2066·616c·7365·3b0a·2020··gate·=·false;.·· | |||
| 00002080:·2020·2020·2020·7468·6973·2e6e·6f6e·6567········this.noneg | |||
| 00002090:·6174·6520·3d20·2121·6f70·7469·6f6e·732e··ate·=·!!options. | |||
| 000020a0:·6e6f·6e65·6761·7465·3b0a·2020·2020·2020··nonegate;.······ | |||
| 000020b0:·2020·7468·6973·2e63·6f6d·6d65·6e74·203d····this.comment·= | |||
| 0000 | 000020c0:·2066·616c·7365·3b0a·2020·2020·2020·2020···false;.········ | ||
| 000020d0:·7468·6973·2e65·6d70·7479·203d·2066·616c··this.empty·=·fal | |||
| 00001f30:·6966·2028·7468·6973·2e77·696e·646f·7773··if·(this.windows | |||
| 00001f40:·5061·7468·734e·6f45·7363·6170·6529·207b··PathsNoEscape)·{ | |||
| 00001f50:·0a20·2020·2020·2020·2020·2020·2074·6869··.············thi | |||
| 00001f60:·732e·7061·7474·6572·6e20·3d20·7468·6973··s.pattern·=·this | |||
| 00001f70:·2e70·6174·7465·726e·2e72·6570·6c61·6365··.pattern.replace | |||
| 00001f80:·282f·5c5c·2f67·2c20·272f·2729·3b0a·2020··(/\\/g,·'/');.·· | |||
| 00001f90:·2020·2020·2020·7d0a·2020·2020·2020·2020········}.········ | |||
| 00001fa0:·7468·6973·2e70·7265·7365·7276·654d·756c··this.preserveMul | |||
| 00001fb0:·7469·706c·6553·6c61·7368·6573·203d·2021··tipleSlashes·=·! | |||
| 00001fc0:·216f·7074·696f·6e73·2e70·7265·7365·7276··!options.preserv | |||
| 00001fd0:·654d·756c·7469·706c·6553·6c61·7368·6573··eMultipleSlashes | |||
| 0000 | 000020e0:·7365·3b0a·2020·2020·2020·2020·7468·6973··se;.········this | ||
| 0000 | 000020f0:·2e70·6172·7469·616c·203d·2021·216f·7074··.partial·=·!!opt | ||
| Max diff block lines reached; 265024/296652 bytes (89.34%) of diff not shown. | |||
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"file":·"index.js", | 2 | ····"file":·"index.js", |
| 3 | ····"mappings":·"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AA | 3 | ····"mappings":·"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,GAAG,EAAe,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAqHxC,MAAM,CAAC,MAAM,SAAS,GAAG,CACvB,CAAS,EACT,OAAe,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AC;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·'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'\n··|·'darwin'\n··|·'freebsd'\n··|·'haiku'\n··|·'linux'\n··|·'openbsd'\n··|·'sunos'\n··|·'win32'\n··|·'cygwin'\n··|·'netbsd'\n\nexport·interface·MinimatchOptions·{\n··/**·do·not·expand·`{x,y}`·style·braces·*/\n··nobrace?:·boolean\n··/**·do·not·treat·patterns·starting·with·`#`·as·a·comment·*/\n··nocomment?:·boolean\n··/**·do·not·treat·patterns·starting·with·`!`·as·a·negation·*/\n··nonegate?:·boolean\n··/**·print·LOTS·of·debugging·output·*/\n··debug?:·boolean\n··/**·treat·`**`·the·same·as·`*`·*/\n··noglobstar?:·boolean\n··/**·do·not·expand·extglobs·like·`+(a|b)`·*/\n··noext?:·boolean\n··/**·return·the·pattern·if·nothing·matches·*/\n··nonull?:·boolean\n··/**·treat·`\\\\`·as·a·path·separator,·not·an·escape·character·*/\n··windowsPathsNoEscape?:·boolean\n··/**\n···*·inverse·of·{@link·MinimatchOptions.windowsPathsNoEscape}\n···*·@deprecated\n···*/\n··allowWindowsEscape?:·boolean\n··/**\n···*·Compare·a·partial·path·to·a·pattern.·As·long·as·the·parts\n···*·of·the·path·that·are·present·are·not·contradicted·by·the\n···*·pattern,·it·will·be·treated·as·a·match.·This·is·useful·in\n···*·applications·where·you're·walking·through·a·folder·structure,\n···*·and·don't·yet·have·the·full·path,·but·want·to·ensure·that·you\n···*·do·not·walk·down·paths·that·can·never·be·a·match.\n···*/\n··partial?:·boolean\n··/**·allow·matches·that·start·with·`.`·even·if·the·pattern·does·not·*/\n··dot?:·boolean\n··/**·ignore·case·*/\n··nocase?:·boolean\n··/**·ignore·case·only·in·wildcard·patterns·*/\n··nocaseMagicOnly?:·boolean\n··/**·consider·braces·to·be·\"magic\"·for·the·purpose·of·`hasMagic`·*/\n··magicalBraces?:·boolean\n··/**\n···*·If·set,·then·patterns·without·slashes·will·be·matched\n···*·against·the·basename·of·the·path·if·it·contains·slashes.\n···*·For·example,·`a?b`·would·match·the·path·`/xyz/123/acb`,·but\n···*·not·`/xyz/acb/123`.\n···*/\n··matchBase?:·boolean\n··/**·invert·the·results·of·negated·matches·*/\n··flipNegate?:·boolean\n··/**·do·not·collapse·multiple·`/`·into·a·single·`/`·*/\n··preserveMultipleSlashes?:·boolean\n··/**\n···*·A·number·indicating·the·level·of·optimization·that·should·be·done\n···*·to·the·pattern·prior·to·parsing·and·using·it·for·matches.\n···*/\n··optimizationLevel?:·number\n··/**·operating·system·platform·*/\n··platform?:·Platform\n··/**\n···*·When·a·pattern·starts·with·a·UNC·path·or·drive·letter,·and·in\n···*·`nocase:true`·mode,·do·not·convert·the·root·portions·of·the\n···*·pattern·into·a·case-insensitive·regular·expression,·and·instead\n···*·leave·them·as·strings.\n···*\n···*·This·is·the·default·when·the·platform·is·`win32`·and\n···*·`nocase:true`·is·set.\n···*/\n··windowsNoMagicRoot?:·boolean\n··/**\n···*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000.\n···*/\n··braceExpandMax?:·number\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'\n··|·'darwin'\n··|·'freebsd'\n··|·'haiku'\n··|·'linux'\n··|·'openbsd'\n··|·'sunos'\n··|·'win32'\n··|·'cygwin'\n··|·'netbsd'\n\nexport·interface·MinimatchOptions·{\n··/**·do·not·expand·`{x,y}`·style·braces·*/\n··nobrace?:·boolean\n··/**·do·not·treat·patterns·starting·with·`#`·as·a·comment·*/\n··nocomment?:·boolean\n··/**·do·not·treat·patterns·starting·with·`!`·as·a·negation·*/\n··nonegate?:·boolean\n··/**·print·LOTS·of·debugging·output·*/\n··debug?:·boolean\n··/**·treat·`**`·the·same·as·`*`·*/\n··noglobstar?:·boolean\n··/**·do·not·expand·extglobs·like·`+(a|b)`·*/\n··noext?:·boolean\n··/**·return·the·pattern·if·nothing·matches·*/\n··nonull?:·boolean\n··/**·treat·`\\\\`·as·a·path·separator,·not·an·escape·character·*/\n··windowsPathsNoEscape?:·boolean\n··/**\n···*·inverse·of·{@link·MinimatchOptions.windowsPathsNoEscape}\n···*·@deprecated\n···*/\n··allowWindowsEscape?:·boolean\n··/**\n···*·Compare·a·partial·path·to·a·pattern.·As·long·as·the·parts\n···*·of·the·path·that·are·present·are·not·contradicted·by·the\n···*·pattern,·it·will·be·treated·as·a·match.·This·is·useful·in\n···*·applications·where·you're·walking·through·a·folder·structure,\n···*·and·don't·yet·have·the·full·path,·but·want·to·ensure·that·you\n···*·do·not·walk·down·paths·that·can·never·be·a·match.\n···*/\n··partial?:·boolean\n··/**·allow·matches·that·start·with·`.`·even·if·the·pattern·does·not·*/\n··dot?:·boolean\n··/**·ignore·case·*/\n··nocase?:·boolean\n··/**·ignore·case·only·in·wildcard·patterns·*/\n··nocaseMagicOnly?:·boolean\n··/**·consider·braces·to·be·\"magic\"·for·the·purpose·of·`hasMagic`·*/\n··magicalBraces?:·boolean\n··/**\n···*·If·set,·then·patterns·without·slashes·will·be·matched\n···*·against·the·basename·of·the·path·if·it·contains·slashes.\n···*·For·example,·`a?b`·would·match·the·path·`/xyz/123/acb`,·but\n···*·not·`/xyz/acb/123`.\n···*/\n··matchBase?:·boolean\n··/**·invert·the·results·of·negated·matches·*/\n··flipNegate?:·boolean\n··/**·do·not·collapse·multiple·`/`·into·a·single·`/`·*/\n··preserveMultipleSlashes?:·boolean\n··/**\n···*·A·number·indicating·the·level·of·optimization·that·should·be·done\n···*·to·the·pattern·prior·to·parsing·and·using·it·for·matches.\n···*/\n··optimizationLevel?:·number\n··/**·operating·system·platform·*/\n··platform?:·Platform\n··/**\n···*·When·a·pattern·starts·with·a·UNC·path·or·drive·letter,·and·in\n···*·`nocase:true`·mode,·do·not·convert·the·root·portions·of·the\n···*·pattern·into·a·case-insensitive·regular·expression,·and·instead\n···*·leave·them·as·strings.\n···*\n···*·This·is·the·default·when·the·platform·is·`win32`·and\n···*·`nocase:true`·is·set.\n···*/\n··windowsNoMagicRoot?:·boolean\n··/**\n···*·max·number·of·`{...}`·patterns·to·expand.·Default·100_000.\n···*/\n··braceExpandMax?:·number\n··/**\n···*·Max·number·of·non-adjacent·`**`·patterns·to·recursively·walk·down.\n···*\n···*·The·default·of·200·is·almost·certainly·high·enough·for·most·purposes,\n···*·and·can·handle·absurdly·excessive·patterns.\n···*/\n··maxGlobstarRecursion?:·number\n\n··[·...·truncated·by·diffoscope;·len:·33266,·SHA:·cedca16f589a32d30fb660de7a46dfac5d622967fa50ced2660d4d9104f076ec·...·]\n\n······//·something·other·than·**\n······//·non-magic·patterns·just·have·to·match·exactly\n······//·patterns·with·magic·have·been·turned·into·regexps.\n······let·hit:·boolean\n······if·(typeof·p·===·'string')·{\n········hit·=·f·===·p\n········this.debug('string·match',·p,·f,·hit)\n······}·else·{\n········hit·=·p.test(f)\n········this.debug('pattern·match',·p,·f,·hit)\n······}\n\n······if·(!hit)·return·false\n····}\n\n····//·Note:·ending·in·/·means·that·we'll·get·a·final·\"\"\n····//·at·the·end·of·the·pattern.··This·can·only·match·a\n····//·corresponding·\"\"·at·the·end·of·the·file.\n····//·If·the·file·ends·in·/,·then·it·can·only·match·a\n····//·a·pattern·that·ends·in·/,·unless·the·pattern·just\n····//·doesn't·have·any·more·for·it.·But,·a/b/·should·*not*\n····//·match·\"a/b/*\",·even·though·\"\"·matches·against·the\n····//·[^/]*?·pattern,·except·in·partial·mode,·where·it·might\n····//·simply·not·be·reached·yet.\n····//·However,·a/b/·should·still·satisfy·a/*\n\n····//·now·either·we·fell·off·the·end·of·the·pattern,·or·we're·done.\n····if·(fi·===·fl·&&·pi·===·pl)·{\n······//·ran·out·of·pattern·and·filename·at·the·same·time.\n······//·an·exact·hit!\n······return·true\n····}·else·if·(fi·===·fl)·{\n······//·ran·out·of·file,·but·still·had·pattern·left.\n······//·this·is·ok·if·we're·doing·the·match·as·part·of\n······//·a·glob·fs·traversal.\n······return·partial\n····}·else·if·(pi·===·pl)·{\n······//·ran·out·of·pattern,·still·have·file·left.\n······//·this·is·only·acceptable·if·we're·on·the·very·last\n······//·empty·segment·of·a·file·with·a·trailing·slash.\n······//·a/*·should·match·a/b/\n······return·fi·===·fl·-·1·&&·file[fi]·===·''\n\n······/*·c8·ignore·start·*/\n····}·else·{\n······//·should·be·unreachable.\n······throw·new·Error('wtf?')\n····}\n····/*·c8·ignore·stop·*/\n··}\n\n··braceExpand()·{\n····return·braceExpand(this.pattern,·this.options)\n··}\n\n··parse(pattern:·string):·ParseReturn·{\n····assertValidPattern(pattern)\n\n····const·options·=·this.options\n\n····//·shortcuts\n····if·(pattern·===·'**')·return·GLOBSTAR\n····if·(pattern·===·'')·return·''\n\n····//·far·and·away,·the·most·common·glob·pattern·parts·are\n····//·*,·*.*,·and·*.<ext>··Add·a·fast·check·method·for·those.\n····let·m:·RegExpMatchArray·|·null\n····let·fastTest:·null·|·((f:·string)·=>·boolean)·=·null\n····if·((m·=·pattern.match(starRE)))·{\n······fastTest·=·options.dot·?·starTestDot·:·starTest\n····}·else·if·((m·=·pattern.match(starDotExtRE)))·{\n······fastTest·=·(\n········options.nocase·?\n··········options.dot·?\n············starDotExtTestNocaseDot\n··········:·starDotExtTestNocase\n········:·options.dot·?·starDotExtTestDot\n········:·starDotExtTest)(m[1])\n····}·else·if·((m·=·pattern.match(qmarksRE)))·{\n······fastTest·=·(\n········options.nocase·?\n··········options.dot·?\n············qmarksTestNocaseDot\n··········:·qmarksTestNocase\n········:·options.dot·?·qmarksTestDot\n········:·qmarksTest)(m)\n····}·else·if·((m·=·pattern.match(starDotStarRE)))·{\n······fastTest·=·options.dot·?·starDotStarTestDot·:·starDotStarTest\n····}·else·if·((m·=·pattern.match(dotStarRE)))·{\n······fastTest·=·dotStarTest\n····}\n\n····const·re·=·AST.fromGlob(pattern,·this.options).toMMPattern()\n····if·(fastTest·&&·typeof·re·===·'object')·{\n······//·Avoids·overriding·in·frozen·environments\n······Reflect.defineProperty(re,·'test',·{·value:·fastTest·})\n····}\n····return·re\n··}\n\n··makeRe()·{\n····if·(this.regexp·||·this.regexp·===·false)·return·this.regexp\n\n····//·at·this·point,·this.set·is·a·2d·array·of·partial\n····//·pattern·strings,·or·\"**\".\n····//\n····//·It's·better·to·use·.match().··This·function·shouldn't\n····//·be·used,·really,·but·it's·pretty·convenient·sometimes,\n····//·when·you·just·want·to·work·with·a·regex.\n····const·set·=·this.set\n\n····if·(!set.length)·{\n······this.regexp·=·false\n······return·this.regexp\n····}\n····const·options·=·this.options\n\n····const·twoStar·=\n······options.noglobstar·?·star\n······:·options.dot·?·twoStarDot\n······:·twoStarNoDot\n····const·flags·=·new·Set(options.nocase·?·['i']·:·[])\n\n····//·regexpify·non-globstar·patterns\n····//·if·**·is·only·item,·then·we·just·do·one·twoStar\n····//·if·**·is·first,·and·there·are·more,·prepend·(\\/|twoStar\\/)?·to·next\n····//·if·**·is·last,·append·(\\/twoStar|)·to·previous\n····//·if·**·is·in·the·middle,·append·(\\/|\\/twoStar\\/)·to·previous\n····//·then·filter·out·GLOBSTAR·symbols\n····let·re·=·set\n······.map(pattern·=>·{\n········const·pp:·(string·|·typeof·GLOBSTAR)[]·=·pattern.map(p·=>·{\n··········if·(p·instanceof·RegExp)·{\n············for·(const·f·of·p.flags.split(''))·flags.add(f)\n··········}\n··········return·(\n············typeof·p·===·'string'·?·regExpEscape(p)\n············:·p·===·GLOBSTAR·?·GLOBSTAR\n············:·p._src\n··········)\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":·3 | 12 | ····"version":·3 |
| 13 | } | 13 | } |
| Offset 4, 15 lines modified | Offset 4, 15 lines modified | ||
| 4 | ········"brace-expansion":·"^5.0.2" | 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":·"^25.3.0", | 8 | ········"@types/node":·"^25.3.0", |
| 9 | ········"mkdirp":·"^3.0.1", | 9 | ········"mkdirp":·"^3.0.1", |
| 10 | ········"prettier":·"^3.6.2", | 10 | ········"prettier":·"^3.6.2", |
| 11 | ········"tap":·"^21.6. | 11 | ········"tap":·"^21.6.2", |
| 12 | ········"tshy":·"^3.0.2", | 12 | ········"tshy":·"^3.0.2", |
| 13 | ········"typedoc":·"^0.28.5" | 13 | ········"typedoc":·"^0.28.5" |
| 14 | ····}, | 14 | ····}, |
| 15 | ····"engines":·{ | 15 | ····"engines":·{ |
| 16 | ········"node":·"18·||·20·||·>=22" | 16 | ········"node":·"18·||·20·||·>=22" |
| 17 | ····}, | 17 | ····}, |
| 18 | ····"exports":·{ | 18 | ····"exports":·{ |
| Offset 59, 9 lines modified | Offset 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.2. | 66 | ····"version":·"10.2.4" |
| 67 | } | 67 | } |
| Offset 210, 15 lines modified | Offset 210, 15 lines modified | ||
| 210 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER | 210 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER |
| 211 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, | 211 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, |
| 212 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE | 212 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE |
| 213 | SOFTWARE. | 213 | SOFTWARE. |
| 214 | --- | 214 | --- |
| 215 | The·following·software·may·be·included·in·this·product:·balanced-match·(4.0. | 215 | The·following·software·may·be·included·in·this·product:·balanced-match·(4.0.4) |
| 216 | This·software·contains·the·following·license·and·notice·below: | 216 | This·software·contains·the·following·license·and·notice·below: |
| 217 | (MIT) | 217 | (MIT) |
| 218 | Original·code·Copyright·Julian·Gruber·<[email protected]> | 218 | Original·code·Copyright·Julian·Gruber·<[email protected]> |
| 219 | Port·to·TypeScript·Copyright·Isaac·Z.·Schlueter·<[email protected]> | 219 | Port·to·TypeScript·Copyright·Isaac·Z.·Schlueter·<[email protected]> |
| Offset 239, 15 lines modified | Offset 239, 15 lines modified | ||
| 239 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER | 239 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER |
| 240 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, | 240 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, |
| 241 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE | 241 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE |
| 242 | SOFTWARE. | 242 | SOFTWARE. |
| 243 | --- | 243 | --- |
| 244 | The·following·software·may·be·included·in·this·product:·brace-expansion·(5.0. | 244 | The·following·software·may·be·included·in·this·product:·brace-expansion·(5.0.4) |
| 245 | This·software·contains·the·following·license·and·notice·below: | 245 | This·software·contains·the·following·license·and·notice·below: |
| 246 | MIT·License | 246 | MIT·License |
| 247 | Copyright·Julian·Gruber·<[email protected]> | 247 | Copyright·Julian·Gruber·<[email protected]> |
| 248 | TypeScript·port·Copyright·Isaac·Z.·Schlueter·<[email protected]> | 248 | TypeScript·port·Copyright·Isaac·Z.·Schlueter·<[email protected]> |
| Offset 363, 15 lines modified | Offset 363, 15 lines modified | ||
| 363 | The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all·copies·or·substantial·portions·of·the·Software. | 363 | The·above·copyright·notice·and·this·permission·notice·shall·be·included·in·all·copies·or·substantial·portions·of·the·Software. |
| 364 | THE·SOFTWARE·IS·PROVIDED·"AS·IS",·WITHOUT·WARRANTY·OF·ANY·KIND,·EXPRESS·OR·IMPLIED,·INCLUDING·BUT·NOT·LIMITED·TO·THE·WARRANTIES·OF·MERCHANTABILITY,·FITNESS·FOR·A·PARTICULAR·PURPOSE·AND·NONINFRINGEMENT.·IN·NO·EVENT·SHALL·THE·AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER·LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE·SOFTWARE. | 364 | THE·SOFTWARE·IS·PROVIDED·"AS·IS",·WITHOUT·WARRANTY·OF·ANY·KIND,·EXPRESS·OR·IMPLIED,·INCLUDING·BUT·NOT·LIMITED·TO·THE·WARRANTIES·OF·MERCHANTABILITY,·FITNESS·FOR·A·PARTICULAR·PURPOSE·AND·NONINFRINGEMENT.·IN·NO·EVENT·SHALL·THE·AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER·LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE·SOFTWARE. |
| 365 | --- | 365 | --- |
| 366 | The·following·software·may·be·included·in·this·product:·eslint·(10.0. | 366 | The·following·software·may·be·included·in·this·product:·eslint·(10.0.2) |
| 367 | This·software·contains·the·following·license·and·notice·below: | 367 | This·software·contains·the·following·license·and·notice·below: |
| 368 | Copyright·OpenJS·Foundation·and·other·contributors,·<www.openjsf.org> | 368 | Copyright·OpenJS·Foundation·and·other·contributors,·<www.openjsf.org> |
| 369 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy | 369 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy |
| 370 | of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal | 370 | of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal |
| 371 | in·the·Software·without·restriction,·including·without·limitation·the·rights | 371 | in·the·Software·without·restriction,·including·without·limitation·the·rights |
| Offset 3658, 15 lines modified | Offset 3658, 15 lines modified | ||
| 3658 | ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES | 3658 | ANY·SPECIAL,·DIRECT,·INDIRECT,·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES |
| 3659 | WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN | 3659 | WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN |
| 3660 | ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF·OR | 3660 | ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT·OF·OR |
| 3661 | IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. | 3661 | IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. |
| 3662 | --- | 3662 | --- |
| 3663 | The·following·software·may·be·included·in·this·product:·minimatch·(10.2. | 3663 | The·following·software·may·be·included·in·this·product:·minimatch·(10.2.4) |
| 3664 | This·software·contains·the·following·license·and·notice·below: | 3664 | This·software·contains·the·following·license·and·notice·below: |
| 3665 | #·Blue·Oak·Model·License | 3665 | #·Blue·Oak·Model·License |
| 3666 | Version·1.0.0 | 3666 | Version·1.0.0 |
| 3667 | ##·Purpose | 3667 | ##·Purpose |
| Offset 3989, 28 lines modified | Offset 3989, 28 lines modified | ||
| 3989 | ············"path_type":·"hardlink", | 3989 | ············"path_type":·"hardlink", |
| 3990 | ············"sha256":·"3ca9d4afd21425087cf31893b8f9f63c81b0b8408db5e343ca76e5f8aa26ab9a", | 3990 | ············"sha256":·"3ca9d4afd21425087cf31893b8f9f63c81b0b8408db5e343ca76e5f8aa26ab9a", |
| 3991 | ············"size_in_bytes":·23 | 3991 | ············"size_in_bytes":·23 |
| 3992 | ········}, | 3992 | ········}, |
| 3993 | ········{ | 3993 | ········{ |
| 3994 | ············"_path":·"lib/node_modules/eslint/node_modules/balanced-match/package.json", | 3994 | ············"_path":·"lib/node_modules/eslint/node_modules/balanced-match/package.json", |
| 3995 | ············"path_type":·"hardlink", | 3995 | ············"path_type":·"hardlink", |
| 3996 | ············"sha256":·" | 3996 | ············"sha256":·"c984e6ae5c41fac085a07a732b665b22e0a26f28b61c692ba18ff458a8ecc95a", |
| 3997 | ············"size_in_bytes":·159 | 3997 | ············"size_in_bytes":·1596 |
| 3998 | ········}, | 3998 | ········}, |
| 3999 | ········{ | 3999 | ········{ |
| 4000 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/LICENSE", | 4000 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/LICENSE", |
| 4001 | ············"path_type":·"hardlink", | 4001 | ············"path_type":·"hardlink", |
| 4002 | ············"sha256":·"9c63a23124d68cd30cd316a94a1a0bca34f032786df6df69fc4b5f136bac8d2e", | 4002 | ············"sha256":·"9c63a23124d68cd30cd316a94a1a0bca34f032786df6df69fc4b5f136bac8d2e", |
| 4003 | ············"size_in_bytes":·1144 | 4003 | ············"size_in_bytes":·1144 |
| 4004 | ········}, | 4004 | ········}, |
| 4005 | ········{ | 4005 | ········{ |
| 4006 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/README.md", | 4006 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/README.md", |
| 4007 | ············"path_type":·"hardlink", | 4007 | ············"path_type":·"hardlink", |
| 4008 | ············"sha256":·" | 4008 | ············"sha256":·"380979803c5f1019261f95732861e06b59c4b6999e9909a0776894d3e32f3121", |
| 4009 | ············"size_in_bytes":·24 | 4009 | ············"size_in_bytes":·2414 |
| 4010 | ········}, | 4010 | ········}, |
| 4011 | ········{ | 4011 | ········{ |
| 4012 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.d.ts", | 4012 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.d.ts", |
| 4013 | ············"path_type":·"hardlink", | 4013 | ············"path_type":·"hardlink", |
| 4014 | ············"sha256":·"0dfcde9f9993859e16152a1f8fd313051bc549076a665d2db4329d32f2ed8cde", | 4014 | ············"sha256":·"0dfcde9f9993859e16152a1f8fd313051bc549076a665d2db4329d32f2ed8cde", |
| 4015 | ············"size_in_bytes":·227 | 4015 | ············"size_in_bytes":·227 |
| 4016 | ········}, | 4016 | ········}, |
| Offset 4019, 22 lines modified | Offset 4019, 22 lines modified | ||
| 4019 | ············"path_type":·"hardlink", | 4019 | ············"path_type":·"hardlink", |
| 4020 | ············"sha256":·"c40f0175247b3ea550f146f2a1f3e8a4a5303bf9469b4d824cd4d68c8c568e93", | 4020 | ············"sha256":·"c40f0175247b3ea550f146f2a1f3e8a4a5303bf9469b4d824cd4d68c8c568e93", |
| 4021 | ············"size_in_bytes":·273 | 4021 | ············"size_in_bytes":·273 |
| 4022 | ········}, | 4022 | ········}, |
| 4023 | ········{ | 4023 | ········{ |
| 4024 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.js", | 4024 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.js", |
| 4025 | ············"path_type":·"hardlink", | 4025 | ············"path_type":·"hardlink", |
| 4026 | ············"sha256":·" | 4026 | ············"sha256":·"9e3148c52071f0b86119c0b0fbdea33ae221599be81a4b33f0554c3c5322b7a0", |
| 4027 | ············"size_in_bytes":·684 | 4027 | ············"size_in_bytes":·6843 |
| 4028 | ········}, | 4028 | ········}, |
| 4029 | ········{ | 4029 | ········{ |
| 4030 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.js.map", | 4030 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/index.js.map", |
| 4031 | ············"path_type":·"hardlink", | 4031 | ············"path_type":·"hardlink", |
| 4032 | ············"sha256":·" | 4032 | ············"sha256":·"e3f8cebe01db45c4cc448b6dff15d54af8d679a2d9d9f55eceacee6c3050babc", |
| 4033 | ············"size_in_bytes":·1378 | 4033 | ············"size_in_bytes":·13783 |
| 4034 | ········}, | 4034 | ········}, |
| 4035 | ········{ | 4035 | ········{ |
| 4036 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/package.json", | 4036 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/commonjs/package.json", |
| 4037 | ············"path_type":·"hardlink", | 4037 | ············"path_type":·"hardlink", |
| 4038 | ············"sha256":·"8005a3491db7d92f36ac66369861589f9c47123d3a7c71e643fc2c06168cd45a", | 4038 | ············"sha256":·"8005a3491db7d92f36ac66369861589f9c47123d3a7c71e643fc2c06168cd45a", |
| 4039 | ············"size_in_bytes":·25 | 4039 | ············"size_in_bytes":·25 |
| 4040 | ········}, | 4040 | ········}, |
| Offset 4049, 34 lines modified | Offset 4049, 34 lines modified | ||
| 4049 | ············"path_type":·"hardlink", | 4049 | ············"path_type":·"hardlink", |
| 4050 | ············"sha256":·"c40f0175247b3ea550f146f2a1f3e8a4a5303bf9469b4d824cd4d68c8c568e93", | 4050 | ············"sha256":·"c40f0175247b3ea550f146f2a1f3e8a4a5303bf9469b4d824cd4d68c8c568e93", |
| 4051 | ············"size_in_bytes":·273 | 4051 | ············"size_in_bytes":·273 |
| 4052 | ········}, | 4052 | ········}, |
| 4053 | ········{ | 4053 | ········{ |
| 4054 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.js", | 4054 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.js", |
| 4055 | ············"path_type":·"hardlink", | 4055 | ············"path_type":·"hardlink", |
| 4056 | ············"sha256":·" | 4056 | ············"sha256":·"e32f75e1e91dec2521f85b596f430b787ec6fbcfb7b54a7eeace16d4b4828f40", |
| 4057 | ············"size_in_bytes":·66 | 4057 | ············"size_in_bytes":·6660 |
| 4058 | ········}, | 4058 | ········}, |
| 4059 | ········{ | 4059 | ········{ |
| 4060 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.js.map", | 4060 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/index.js.map", |
| 4061 | ············"path_type":·"hardlink", | 4061 | ············"path_type":·"hardlink", |
| 4062 | ············"sha256":·" | 4062 | ············"sha256":·"a634645e2e5e005bcc182c018968886b063371c204e4ac7e9027c58f3446f86d", |
| 4063 | ············"size_in_bytes":·1379 | 4063 | ············"size_in_bytes":·13797 |
| 4064 | ········}, | 4064 | ········}, |
| 4065 | ········{ | 4065 | ········{ |
| 4066 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/package.json", | 4066 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/dist/esm/package.json", |
| 4067 | ············"path_type":·"hardlink", | 4067 | ············"path_type":·"hardlink", |
| 4068 | ············"sha256":·"3ca9d4afd21425087cf31893b8f9f63c81b0b8408db5e343ca76e5f8aa26ab9a", | 4068 | ············"sha256":·"3ca9d4afd21425087cf31893b8f9f63c81b0b8408db5e343ca76e5f8aa26ab9a", |
| 4069 | ············"size_in_bytes":·23 | 4069 | ············"size_in_bytes":·23 |
| 4070 | ········}, | 4070 | ········}, |
| 4071 | ········{ | 4071 | ········{ |
| 4072 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/package.json", | 4072 | ············"_path":·"lib/node_modules/eslint/node_modules/brace-expansion/package.json", |
| 4073 | ············"path_type":·"hardlink", | 4073 | ············"path_type":·"hardlink", |
| 4074 | ············"sha256":·"f | 4074 | ············"sha256":·"ff15b1632fae8dedc1f10f3299cd780c8515f0c8e59f774069773c238a4eead1", |
| 4075 | ············"size_in_bytes":·155 | 4075 | ············"size_in_bytes":·1559 |
| 4076 | ········}, | 4076 | ········}, |
| 4077 | ········{ | 4077 | ········{ |
| 4078 | ············"_path":·"lib/node_modules/eslint/node_modules/cross-spawn/LICENSE", | 4078 | ············"_path":·"lib/node_modules/eslint/node_modules/cross-spawn/LICENSE", |
| 4079 | ············"path_type":·"hardlink", | 4079 | ············"path_type":·"hardlink", |
| 4080 | ············"sha256":·"aaa78451b6fecd1b9c4594c796c133c0e90cad100372ff8bc6de615e9ef9adf1", | 4080 | ············"sha256":·"aaa78451b6fecd1b9c4594c796c133c0e90cad100372ff8bc6de615e9ef9adf1", |
| 4081 | ············"size_in_bytes":·1105 | 4081 | ············"size_in_bytes":·1105 |
| 4082 | ········}, | 4082 | ········}, |
| Offset 5501, 64 lines modified | Offset 5501, 64 lines modified | ||
| 5501 | ············"path_type":·"hardlink", | 5501 | ············"path_type":·"hardlink", |
| 5502 | ············"sha256":·"2c7c5d22ed5a8ee968c64757710979afcd77438c48b4a265b94e615babd8a901", | 5502 | ············"sha256":·"2c7c5d22ed5a8ee968c64757710979afcd77438c48b4a265b94e615babd8a901", |
| 5503 | ············"size_in_bytes":·1550 | 5503 | ············"size_in_bytes":·1550 |
| 5504 | ········}, | 5504 | ········}, |
| 5505 | ········{ | 5505 | ········{ |
| 5506 | ············"_path":·"lib/node_modules/eslint/node_modules/minimatch/README.md", | 5506 | ············"_path":·"lib/node_modules/eslint/node_modules/minimatch/README.md", |
| 5507 | ············"path_type":·"hardlink", | 5507 | ············"path_type":·"hardlink", |
| 5508 | ············"sha256":·" | 5508 | ············"sha256":·"75b9ae1da95bd13e7bc43b3cb22c239eadc4369b1665925552c675d6d2f2bf33", |
| 5509 | ············"size_in_bytes":·1 | 5509 | ············"size_in_bytes":·19866 |
| 5510 | ········}, | 5510 | ········}, |
| 5511 | ········{ | 5511 | ········{ |
| 5512 | ············"_path":·"lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts", | 5512 | ············"_path":·"lib/node_modules/eslint/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts", |
| Max diff block lines reached; 11981/17607 bytes (68.05%) of diff not shown. | |||