| Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
| 1 | Zip·file·size:·16 | 1 | Zip·file·size:·1613957·bytes,·number·of·entries:·3 |
| 2 | -rw-r--r--··4.5·unx·······30·bx·stor·26-May-05·02:51·metadata.json | 2 | -rw-r--r--··4.5·unx·······30·bx·stor·26-May-05·02:51·metadata.json |
| 3 | -rw-r--r--··4.5·unx··14 | 3 | -rw-r--r--··4.5·unx··1490033·bx·stor·26-May-05·02:51·pkg-stylelint-17.10.0-hee61e0b_0.tar.zst |
| 4 | -rw-r--r--··4.5·unx···1233 | 4 | -rw-r--r--··4.5·unx···123336·bx·stor·26-May-05·02:51·info-stylelint-17.10.0-hee61e0b_0.tar.zst |
| 5 | 3·files,·16 | 5 | 3·files,·1613399·bytes·uncompressed,·1613399·bytes·compressed:··0.0% |
| Offset 19, 125 lines modified | Offset 19, 125 lines modified | ||
| 19 | 00005D·LOCAL·HEADER·#2·······04034B50 | 19 | 00005D·LOCAL·HEADER·#2·······04034B50 |
| 20 | 000061·Extract·Zip·Spec······2D·'4.5' | 20 | 000061·Extract·Zip·Spec······2D·'4.5' |
| 21 | 000062·Extract·OS············00·'MS-DOS' | 21 | 000062·Extract·OS············00·'MS-DOS' |
| 22 | 000063·General·Purpose·Flag··0000 | 22 | 000063·General·Purpose·Flag··0000 |
| 23 | 000065·Compression·Method····0000·'Stored' | 23 | 000065·Compression·Method····0000·'Stored' |
| 24 | 000067·Last·Mod·Time·········5CA51671·'Tue·May··5·02:51:34·2026' | 24 | 000067·Last·Mod·Time·········5CA51671·'Tue·May··5·02:51:34·2026' |
| 25 | 00006B·CRC···················27 | 25 | 00006B·CRC···················F27D4EB1 |
| 26 | 00006F·Compressed·Length·····FFFFFFFF | 26 | 00006F·Compressed·Length·····FFFFFFFF |
| 27 | 000073·Uncompressed·Length···FFFFFFFF | 27 | 000073·Uncompressed·Length···FFFFFFFF |
| 28 | 000077·Filename·Length·······0028 | 28 | 000077·Filename·Length·······0028 |
| 29 | 000079·Extra·Length··········0014 | 29 | 000079·Extra·Length··········0014 |
| 30 | 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | 30 | 00007B·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| 31 | ·····························X' | 31 | ·····························X' |
| 32 | 0000A3·Extra·ID·#0001········0001·'ZIP64' | 32 | 0000A3·Extra·ID·#0001········0001·'ZIP64' |
| 33 | 0000A5···Length··············0010 | 33 | 0000A5···Length··············0010 |
| 34 | 0000A7···Uncompressed·Size···000000000016 | 34 | 0000A7···Uncompressed·Size···000000000016BC71 |
| 35 | 0000AF···Compressed·Size·····000000000016 | 35 | 0000AF···Compressed·Size·····000000000016BC71 |
| 36 | 0000B7·PAYLOAD | 36 | 0000B7·PAYLOAD |
| 37 | 16 | 37 | 16BD28·LOCAL·HEADER·#3·······04034B50 |
| 38 | 16 | 38 | 16BD2C·Extract·Zip·Spec······2D·'4.5' |
| 39 | 16 | 39 | 16BD2D·Extract·OS············00·'MS-DOS' |
| 40 | 16 | 40 | 16BD2E·General·Purpose·Flag··0000 |
| 41 | 16 | 41 | 16BD30·Compression·Method····0000·'Stored' |
| 42 | 16 | 42 | 16BD32·Last·Mod·Time·········5CA51671·'Tue·May··5·02:51:34·2026' |
| 43 | 16 | 43 | 16BD36·CRC···················34895483 |
| 44 | 16 | 44 | 16BD3A·Compressed·Length·····FFFFFFFF |
| 45 | 16 | 45 | 16BD3E·Uncompressed·Length···FFFFFFFF |
| 46 | 16 | 46 | 16BD42·Filename·Length·······0029 |
| 47 | 16 | 47 | 16BD44·Extra·Length··········0014 |
| 48 | 16 | 48 | 16BD46·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| 49 | ·····························XX' | 49 | ·····························XX' |
| 50 | 16 | 50 | 16BD6F·Extra·ID·#0001········0001·'ZIP64' |
| 51 | 16 | 51 | 16BD71···Length··············0010 |
| 52 | 16 | 52 | 16BD73···Uncompressed·Size···000000000001E1C8 |
| 53 | 16 | 53 | 16BD7B···Compressed·Size·····000000000001E1C8 |
| 54 | 16 | 54 | 16BD83·PAYLOAD |
| 55 | 18 | 55 | 189F4B·CENTRAL·HEADER·#1·····02014B50 |
| 56 | 18 | 56 | 189F4F·Created·Zip·Spec······2D·'4.5' |
| 57 | 18 | 57 | 189F50·Created·OS············03·'Unix' |
| 58 | 18 | 58 | 189F51·Extract·Zip·Spec······2D·'4.5' |
| 59 | 18 | 59 | 189F52·Extract·OS············00·'MS-DOS' |
| 60 | 18 | 60 | 189F53·General·Purpose·Flag··0000 |
| 61 | 18 | 61 | 189F55·Compression·Method····0000·'Stored' |
| 62 | 18 | 62 | 189F57·Last·Mod·Time·········5CA51671·'Tue·May··5·02:51:34·2026' |
| 63 | 18 | 63 | 189F5B·CRC···················2E6500CB |
| 64 | 18 | 64 | 189F5F·Compressed·Length·····FFFFFFFF |
| 65 | 18 | 65 | 189F63·Uncompressed·Length···FFFFFFFF |
| 66 | 18 | 66 | 189F67·Filename·Length·······000D |
| 67 | 18 | 67 | 189F69·Extra·Length··········0014 |
| 68 | 18 | 68 | 189F6B·Comment·Length········0000 |
| 69 | 18 | 69 | 189F6D·Disk·Start············0000 |
| 70 | 18 | 70 | 189F6F·Int·File·Attributes···0000 |
| 71 | ·······[Bit·0]···············0·'Binary·Data' | 71 | ·······[Bit·0]···············0·'Binary·Data' |
| 72 | 18 | 72 | 189F71·Ext·File·Attributes···81A40000 |
| 73 | 18 | 73 | 189F75·Local·Header·Offset···00000000 |
| 74 | 18 | 74 | 189F79·Filename··············'XXXXXXXXXXXXX' |
| 75 | 18 | 75 | 189F86·Extra·ID·#0001········0001·'ZIP64' |
| 76 | 18 | 76 | 189F88···Length··············0010 |
| 77 | 18 | 77 | 189F8A···Uncompressed·Size···000000000000001E |
| 78 | 18 | 78 | 189F92···Compressed·Size·····000000000000001E |
| 79 | 18 | 79 | 189F9A·CENTRAL·HEADER·#2·····02014B50 |
| 80 | 189 | 80 | 189F9E·Created·Zip·Spec······2D·'4.5' |
| 81 | 189 | 81 | 189F9F·Created·OS············03·'Unix' |
| 82 | 189 | 82 | 189FA0·Extract·Zip·Spec······2D·'4.5' |
| 83 | 189 | 83 | 189FA1·Extract·OS············00·'MS-DOS' |
| 84 | 189 | 84 | 189FA2·General·Purpose·Flag··0000 |
| 85 | 189 | 85 | 189FA4·Compression·Method····0000·'Stored' |
| 86 | 189 | 86 | 189FA6·Last·Mod·Time·········5CA51671·'Tue·May··5·02:51:34·2026' |
| 87 | 189 | 87 | 189FAA·CRC···················F27D4EB1 |
| 88 | 189 | 88 | 189FAE·Compressed·Length·····FFFFFFFF |
| 89 | 189 | 89 | 189FB2·Uncompressed·Length···FFFFFFFF |
| 90 | 189 | 90 | 189FB6·Filename·Length·······0028 |
| 91 | 189 | 91 | 189FB8·Extra·Length··········0014 |
| 92 | 189 | 92 | 189FBA·Comment·Length········0000 |
| 93 | 189 | 93 | 189FBC·Disk·Start············0000 |
| 94 | 189 | 94 | 189FBE·Int·File·Attributes···0000 |
| 95 | ·······[Bit·0]···············0·'Binary·Data' | 95 | ·······[Bit·0]···············0·'Binary·Data' |
| 96 | 189 | 96 | 189FC0·Ext·File·Attributes···81A40000 |
| 97 | 189 | 97 | 189FC4·Local·Header·Offset···0000005D |
| 98 | 189 | 98 | 189FC8·Filename··············'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| 99 | ·····························X' | 99 | ·····························X' |
| 100 | 189 | 100 | 189FF0·Extra·ID·#0001········0001·'ZIP64' |
| 101 | 189 | 101 | 189FF2···Length··············0010 |
| 102 | 189 | 102 | 189FF4···Uncompressed·Size···000000000016BC71 |
| 103 | 189 | 103 | 189FFC···Compressed·Size·····000000000016BC71 |
| 104 | 18 | 104 | 18A004·CENTRAL·HEADER·#3·····02014B50 |
| 105 | 18 | 105 | 18A008·Created·Zip·Spec······2D·'4.5' |
| 106 | 18 | 106 | 18A009·Created·OS············03·'Unix' |
| 107 | 18 | 107 | 18A00A·Extract·Zip·Spec······2D·'4.5' |
| 108 | 18 | 108 | 18A00B·Extract·OS············00·'MS-DOS' |
| 109 | 18 | 109 | 18A00C·General·Purpose·Flag··0000 |
| 110 | 18 | 110 | 18A00E·Compression·Method····0000·'Stored' |
| 111 | 18 | 111 | 18A010·Last·Mod·Time·········5CA51671·'Tue·May··5·02:51:34·2026' |
| 112 | 18 | 112 | 18A014·CRC···················34895483 |
| Max diff block lines reached; 1270/8862 bytes (14.33%) of diff not shown. | |||
| Offset 1000, 20 lines modified | Offset 1000, 20 lines modified | ||
| 1000 | -rw-r--r--···0········0········0·····1589·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/constants.js | 1000 | -rw-r--r--···0········0········0·····1589·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/constants.js |
| 1001 | -rw-r--r--···0········0········0·····2797·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/expand.js | 1001 | -rw-r--r--···0········0········0·····2797·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/expand.js |
| 1002 | -rw-r--r--···0········0········0·····6899·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/parse.js | 1002 | -rw-r--r--···0········0········0·····6899·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/parse.js |
| 1003 | -rw-r--r--···0········0········0······708·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/stringify.js | 1003 | -rw-r--r--···0········0········0······708·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/stringify.js |
| 1004 | -rw-r--r--···0········0········0·····2518·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/utils.js | 1004 | -rw-r--r--···0········0········0·····2518·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/lib/utils.js |
| 1005 | -rw-r--r--···0········0········0·····1647·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/package.json | 1005 | -rw-r--r--···0········0········0·····1647·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/braces/package.json |
| 1006 | -rw-r--r--···0········0········0·····1053·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/LICENSE | 1006 | -rw-r--r--···0········0········0·····1053·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/LICENSE |
| 1007 | -rw-r--r--···0········0········0····38 | 1007 | -rw-r--r--···0········0········0····38408·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/README.md |
| 1008 | -rw-r--r--···0········0········0····4 | 1008 | -rw-r--r--···0········0········0····41303·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/dist/index.cjs |
| 1009 | -rw-r--r--···0········0········0····22462·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/dist/index.d.cts | 1009 | -rw-r--r--···0········0········0····22462·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/dist/index.d.cts |
| 1010 | -rw-r--r--···0········0········0····22462·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/dist/index.d.ts | 1010 | -rw-r--r--···0········0········0····22462·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/dist/index.d.ts |
| 1011 | -rw-r--r--···0········0········0····39 | 1011 | -rw-r--r--···0········0········0····39519·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/dist/index.js |
| 1012 | -rw-r--r--···0········0········0·····200 | 1012 | -rw-r--r--···0········0········0·····2007·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/cacheable/package.json |
| 1013 | -rw-r--r--···0········0········0·····2351·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/index.d.ts | 1013 | -rw-r--r--···0········0········0·····2351·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/index.d.ts |
| 1014 | -rw-r--r--···0········0········0······363·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/index.js | 1014 | -rw-r--r--···0········0········0······363·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/index.js |
| 1015 | -rw-r--r--···0········0········0·····1109·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/license | 1015 | -rw-r--r--···0········0········0·····1109·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/license |
| 1016 | -rw-r--r--···0········0········0······622·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/package.json | 1016 | -rw-r--r--···0········0········0······622·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/package.json |
| 1017 | -rw-r--r--···0········0········0·····1887·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/readme.md | 1017 | -rw-r--r--···0········0········0·····1887·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/callsites/readme.md |
| 1018 | -rw-r--r--···0········0········0·····1417·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/color-convert/CHANGELOG.md | 1018 | -rw-r--r--···0········0········0·····1417·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/color-convert/CHANGELOG.md |
| 1019 | -rw-r--r--···0········0········0·····1087·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/color-convert/LICENSE | 1019 | -rw-r--r--···0········0········0·····1087·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/color-convert/LICENSE |
| Offset 1488, 34 lines modified | Offset 1488, 35 lines modified | ||
| 1488 | -rw-r--r--···0········0········0·····2800·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-glob/package.json | 1488 | -rw-r--r--···0········0········0·····2800·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-glob/package.json |
| 1489 | -rw-r--r--···0········0········0·······80·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.gitattributes | 1489 | -rw-r--r--···0········0········0·······80·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.gitattributes |
| 1490 | -rw-r--r--···0········0········0······274·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/dependabot.yml | 1490 | -rw-r--r--···0········0········0······274·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/dependabot.yml |
| 1491 | -rw-r--r--···0········0········0·····2592·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/workflows/ci.yml | 1491 | -rw-r--r--···0········0········0·····2592·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/workflows/ci.yml |
| 1492 | -rw-r--r--···0········0········0······293·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/workflows/lock-threads.yml | 1492 | -rw-r--r--···0········0········0······293·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/workflows/lock-threads.yml |
| 1493 | -rw-r--r--···0········0········0······370·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/workflows/package-manager-ci.yml | 1493 | -rw-r--r--···0········0········0······370·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/.github/workflows/package-manager-ci.yml |
| 1494 | -rw-r--r--···0········0········0·····1813·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/LICENSE | 1494 | -rw-r--r--···0········0········0·····1813·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/LICENSE |
| 1495 | -rw-r--r--···0········0········0····11 | 1495 | -rw-r--r--···0········0········0····11726·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/README.md |
| 1496 | -rw-r--r--···0········0········0·····4421·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/benchmark.mjs | 1496 | -rw-r--r--···0········0········0·····4421·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/benchmark.mjs |
| 1497 | -rw-r--r--···0········0········0·····1305·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/equal.mjs | 1497 | -rw-r--r--···0········0········0·····1305·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/equal.mjs |
| 1498 | -rw-r--r--···0········0········0······838·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/non-simple-domain.mjs | 1498 | -rw-r--r--···0········0········0······838·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/non-simple-domain.mjs |
| 1499 | -rw-r--r--···0········0········0······293·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/package.json | 1499 | -rw-r--r--···0········0········0······293·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/package.json |
| 1500 | -rw-r--r--···0········0········0······819·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs | 1500 | -rw-r--r--···0········0········0······819·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs |
| 1501 | -rw-r--r--···0········0········0·····1891·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/ws-is-secure.mjs | 1501 | -rw-r--r--···0········0········0·····1891·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/benchmark/ws-is-secure.mjs |
| 1502 | -rw-r--r--···0········0········0······135·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/eslint.config.js | 1502 | -rw-r--r--···0········0········0······135·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/eslint.config.js |
| 1503 | -rw-r--r--···0········0········0····1 | 1503 | -rw-r--r--···0········0········0····12232·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/index.js |
| 1504 | -rw-r--r--···0········0········0·····7122·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/lib/schemes.js | 1504 | -rw-r--r--···0········0········0·····7122·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/lib/schemes.js |
| 1505 | -rw-r--r--···0········0········0···· | 1505 | -rw-r--r--···0········0········0····10762·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/lib/utils.js |
| 1506 | -rw-r--r--···0········0········0·····1983·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/package.json | 1506 | -rw-r--r--···0········0········0·····1983·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/package.json |
| 1507 | -rw-r--r--···0········0········0······752·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/ajv.test.js | 1507 | -rw-r--r--···0········0········0······752·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/ajv.test.js |
| 1508 | -rw-r--r--···0········0········0·····3 | 1508 | -rw-r--r--···0········0········0·····3649·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/equal.test.js |
| 1509 | -rw-r--r--···0········0········0·····9806·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/fixtures/uri-js-parse.json | 1509 | -rw-r--r--···0········0········0·····9806·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/fixtures/uri-js-parse.json |
| 1510 | -rw-r--r--···0········0········0·····1688·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/fixtures/uri-js-serialize.json | 1510 | -rw-r--r--···0········0········0·····1688·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/fixtures/uri-js-serialize.json |
| 1511 | -rw-r--r--···0········0········0····1 | 1511 | -rw-r--r--···0········0········0····14260·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/parse.test.js |
| 1512 | -rw-r--r--···0········0········0·····4 | 1512 | -rw-r--r--···0········0········0·····4480·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/resolve.test.js |
| 1513 | -rw-r--r--···0········0········0·····5279·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/rfc-3986.test.js | 1513 | -rw-r--r--···0········0········0·····5279·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/rfc-3986.test.js |
| 1514 | -rw-r--r--···0········0········0······931·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/security-normalization.test.js | 1514 | -rw-r--r--···0········0········0······931·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/security-normalization.test.js |
| 1515 | -rw-r--r--···0········0········0·····4338·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/security.test.js | ||
| 1515 | -rw-r--r--···0········0········0·····6283·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/serialize.test.js | 1516 | -rw-r--r--···0········0········0·····6283·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/serialize.test.js |
| 1516 | -rw-r--r--···0········0········0·····1019·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/uri-js-compatibility.test.js | 1517 | -rw-r--r--···0········0········0·····1019·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/uri-js-compatibility.test.js |
| 1517 | -rw-r--r--···0········0········0····42039·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/uri-js.test.js | 1518 | -rw-r--r--···0········0········0····42039·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/uri-js.test.js |
| 1518 | -rw-r--r--···0········0········0·····1147·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/util.test.js | 1519 | -rw-r--r--···0········0········0·····1147·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/test/util.test.js |
| 1519 | -rw-r--r--···0········0········0······166·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/tsconfig.json | 1520 | -rw-r--r--···0········0········0······166·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/tsconfig.json |
| 1520 | -rw-r--r--···0········0········0·····1608·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/types/index.d.ts | 1521 | -rw-r--r--···0········0········0·····1608·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/types/index.d.ts |
| 1521 | -rw-r--r--···0········0········0······479·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/types/index.test-d.ts | 1522 | -rw-r--r--···0········0········0······479·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fast-uri/types/index.test-d.ts |
| Offset 1544, 20 lines modified | Offset 1545, 20 lines modified | ||
| 1544 | -rw-r--r--···0········0········0·····1318·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/package.json | 1545 | -rw-r--r--···0········0········0·····1318·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/package.json |
| 1545 | -rw-r--r--···0········0········0·····7014·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/queue.js | 1546 | -rw-r--r--···0········0········0·····7014·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/queue.js |
| 1546 | -rw-r--r--···0········0········0·····1462·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/example.ts | 1547 | -rw-r--r--···0········0········0·····1462·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/example.ts |
| 1547 | -rw-r--r--···0········0········0·····7136·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/promise.js | 1548 | -rw-r--r--···0········0········0·····7136·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/promise.js |
| 1548 | -rw-r--r--···0········0········0····15797·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/test.js | 1549 | -rw-r--r--···0········0········0····15797·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/test.js |
| 1549 | -rw-r--r--···0········0········0······154·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/tsconfig.json | 1550 | -rw-r--r--···0········0········0······154·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fastq/test/tsconfig.json |
| 1550 | -rw-r--r--···0········0········0·····1053·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/LICENSE | 1551 | -rw-r--r--···0········0········0·····1053·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/LICENSE |
| 1551 | -rw-r--r--···0········0········0····279 | 1552 | -rw-r--r--···0········0········0····27929·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/README.md |
| 1552 | -rw-r--r--···0········0········0····18005·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.cjs | 1553 | -rw-r--r--···0········0········0····18005·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.cjs |
| 1553 | -rw-r--r--···0········0········0····11412·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.d.cts | 1554 | -rw-r--r--···0········0········0····11412·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.d.cts |
| 1554 | -rw-r--r--···0········0········0····11412·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.d.ts | 1555 | -rw-r--r--···0········0········0····11412·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.d.ts |
| 1555 | -rw-r--r--···0········0········0····15923·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.js | 1556 | -rw-r--r--···0········0········0····15923·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/dist/index.js |
| 1556 | -rw-r--r--···0········0········0·····1 | 1557 | -rw-r--r--···0········0········0·····1488·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/file-entry-cache/package.json |
| 1557 | -rw-r--r--···0········0········0·····1091·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/LICENSE | 1558 | -rw-r--r--···0········0········0·····1091·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/LICENSE |
| 1558 | -rw-r--r--···0········0········0·····7486·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/README.md | 1559 | -rw-r--r--···0········0········0·····7486·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/README.md |
| 1559 | -rw-r--r--···0········0········0·····6406·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/index.js | 1560 | -rw-r--r--···0········0········0·····6406·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/index.js |
| 1560 | -rw-r--r--···0········0········0·····1760·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/package.json | 1561 | -rw-r--r--···0········0········0·····1760·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/fill-range/package.json |
| 1561 | -rw-r--r--···0········0········0·····1053·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flat-cache/LICENSE | 1562 | -rw-r--r--···0········0········0·····1053·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flat-cache/LICENSE |
| 1562 | -rw-r--r--···0········0········0····11723·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flat-cache/README.md | 1563 | -rw-r--r--···0········0········0····11723·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flat-cache/README.md |
| 1563 | -rw-r--r--···0········0········0····14868·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flat-cache/dist/index.cjs | 1564 | -rw-r--r--···0········0········0····14868·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flat-cache/dist/index.cjs |
| Offset 1579, 16 lines modified | Offset 1580, 16 lines modified | ||
| 1579 | -rw-r--r--···0········0········0·····2444·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/package.json | 1580 | -rw-r--r--···0········0········0·····2444·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/package.json |
| 1580 | -rw-r--r--···0········0········0·····4613·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/php/flatted.php | 1581 | -rw-r--r--···0········0········0·····4613·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/php/flatted.php |
| 1581 | -rw-r--r--···0········0········0·····3773·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/python/flatted.py | 1582 | -rw-r--r--···0········0········0·····3773·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/python/flatted.py |
| 1582 | -rw-r--r--···0········0········0······345·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/types/index.d.ts | 1583 | -rw-r--r--···0········0········0······345·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/flatted/types/index.d.ts |
| 1583 | -rw-r--r--···0········0········0·····1542·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/index.d.ts | 1584 | -rw-r--r--···0········0········0·····1542·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/index.d.ts |
| 1584 | -rw-r--r--···0········0········0······730·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/index.js | 1585 | -rw-r--r--···0········0········0······730·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/index.js |
| 1585 | -rw-r--r--···0········0········0·····1117·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/license | 1586 | -rw-r--r--···0········0········0·····1117·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/license |
| 1586 | -rw-r--r--···0········0········0·····4 | 1587 | -rw-r--r--···0········0········0·····4734·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/lookup-data.js |
| 1587 | -rw-r--r--···0········0········0·····2 | 1588 | -rw-r--r--···0········0········0·····2671·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/lookup.js |
| 1588 | -rw-r--r--···0········0········0·····1281·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/package.json | 1589 | -rw-r--r--···0········0········0·····1281·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/package.json |
| 1589 | -rw-r--r--···0········0········0·····1867·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/readme.md | 1590 | -rw-r--r--···0········0········0·····1867·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/readme.md |
| 1590 | -rw-r--r--···0········0········0······650·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/utilities.js | 1591 | -rw-r--r--···0········0········0······650·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/get-east-asian-width/utilities.js |
| 1591 | -rw-r--r--···0········0········0·····4510·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/CHANGELOG.md | 1592 | -rw-r--r--···0········0········0·····4510·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/CHANGELOG.md |
| 1592 | -rw-r--r--···0········0········0······753·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/LICENSE | 1593 | -rw-r--r--···0········0········0······753·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/LICENSE |
| 1593 | -rw-r--r--···0········0········0·····4646·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/README.md | 1594 | -rw-r--r--···0········0········0·····4646·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/README.md |
| 1594 | -rw-r--r--···0········0········0·····1120·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/index.js | 1595 | -rw-r--r--···0········0········0·····1120·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/glob-parent/index.js |
| Offset 2014, 31 lines modified | Offset 2015, 31 lines modified | ||
| 2014 | -rw-r--r--···0········0········0······607·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/index.js | 2015 | -rw-r--r--···0········0········0······607·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/index.js |
| 2015 | -rw-r--r--···0········0········0·····8344·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/parse.js | 2016 | -rw-r--r--···0········0········0·····8344·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/parse.js |
| 2016 | -rw-r--r--···0········0········0·····1185·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/stringify.js | 2017 | -rw-r--r--···0········0········0·····1185·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/stringify.js |
| 2017 | -rw-r--r--···0········0········0·····2283·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/unit.js | 2018 | -rw-r--r--···0········0········0·····2283·2026-05-05·02:51:35.000000·lib/node_modules/stylelint/node_modules/postcss-value-parser/lib/unit.js |
| Max diff block lines reached; 4568/19782 bytes (23.09%) of diff not shown. | |||
| Offset 167, 16 lines modified | Offset 167, 17 lines modified | ||
| 167 | *·`Deleting·Data`:·Deletes·the·value·from·the·primary·store·and·secondary·store·at·the·same·time·waiting·for·both·to·respond. | 167 | *·`Deleting·Data`:·Deletes·the·value·from·the·primary·store·and·secondary·store·at·the·same·time·waiting·for·both·to·respond. |
| 168 | *·`Clearing·Data`:·Clears·the·primary·store·and·secondary·store·at·the·same·time·waiting·for·both·to·respond. | 168 | *·`Clearing·Data`:·Clears·the·primary·store·and·secondary·store·at·the·same·time·waiting·for·both·to·respond. |
| 169 | When·`Getting·Data`·if·the·value·does·not·exist·in·the·primary·store·it·will·try·to·get·it·from·the·secondary·store.·If·the·secondary·store·returns·the·value·it·will·set·it·in·the·primary·store.·Because·we·use·[TTL·Propagation](#ttl-propagation-and-storage-tiering)·the·value·will·be·set·in·the·primary·store·with·the·TTL·of·the·secondary·store·unless·the·time·to·live·(TTL)·is·greater·than·the·primary·store·which·will·then·use·the·TTL·of·the·primary·store.·An·example·of·this·is: | 169 | When·`Getting·Data`·if·the·value·does·not·exist·in·the·primary·store·it·will·try·to·get·it·from·the·secondary·store.·If·the·secondary·store·returns·the·value·it·will·set·it·in·the·primary·store.·Because·we·use·[TTL·Propagation](#ttl-propagation-and-storage-tiering)·the·value·will·be·set·in·the·primary·store·with·the·TTL·of·the·secondary·store·unless·the·time·to·live·(TTL)·is·greater·than·the·primary·store·which·will·then·use·the·TTL·of·the·primary·store.·An·example·of·this·is: |
| 170 | ```javascript | 170 | ```javascript |
| 171 | import·{·Cacheable·}·from·'cacheable'; | 171 | import·{·Cacheable·}·from·'cacheable'; |
| 172 | import·{Keyv}·from·'keyv'; | ||
| 172 | import·KeyvRedis·from·'@keyv/redis'; | 173 | import·KeyvRedis·from·'@keyv/redis'; |
| 173 | const·secondary·=·new·KeyvRedis('redis://user:pass@localhost:6379' | 174 | const·secondary·=·new·Keyv({·store:·new·KeyvRedis('redis://user:pass@localhost:6379'),·ttl:·1000·}); |
| 174 | const·cache·=·new·Cacheable({secondary,·ttl:·100}); | 175 | const·cache·=·new·Cacheable({secondary,·ttl:·100}); |
| 175 | await·cache.set('key',·'value');·//·sets·the·value·in·the·primary·store·with·a·ttl·of·100·ms·and·secondary·store·with·a·ttl·of·1000·ms | 176 | await·cache.set('key',·'value');·//·sets·the·value·in·the·primary·store·with·a·ttl·of·100·ms·and·secondary·store·with·a·ttl·of·1000·ms |
| 176 | await·sleep(500);·//·wait·for·.5·seconds | 177 | await·sleep(500);·//·wait·for·.5·seconds |
| 177 | const·value·=·await·cache.get('key');·//·gets·the·value·from·the·secondary·store·and·now·sets·the·value·in·the·primary·store·with·a·ttl·of·500·ms·which·is·what·is·left·from·the·secondary·store | 178 | const·value·=·await·cache.get('key');·//·gets·the·value·from·the·secondary·store·and·now·sets·the·value·in·the·primary·store·with·a·ttl·of·500·ms·which·is·what·is·left·from·the·secondary·store |
| Offset 185, 18 lines modified | Offset 186, 18 lines modified | ||
| 185 | In·this·example·the·primary·store·has·a·ttl·of·`100·ms`·and·the·secondary·store·has·a·ttl·of·`1000·ms`.·Because·the·ttl·is·greater·in·the·secondary·store·it·will·default·to·setting·ttl·value·in·the·primary·store. | 186 | In·this·example·the·primary·store·has·a·ttl·of·`100·ms`·and·the·secondary·store·has·a·ttl·of·`1000·ms`.·Because·the·ttl·is·greater·in·the·secondary·store·it·will·default·to·setting·ttl·value·in·the·primary·store. |
| 186 | ```javascript | 187 | ```javascript |
| 187 | import·{·Cacheable·}·from·'cacheable'; | 188 | import·{·Cacheable·}·from·'cacheable'; |
| 188 | import·{Keyv}·from·'keyv'; | 189 | import·{Keyv}·from·'keyv'; |
| 189 | import·KeyvRedis·from·'@keyv/redis'; | 190 | import·KeyvRedis·from·'@keyv/redis'; |
| 190 | const·primary·=·new·Keyv({·ttl:·200·}); | 191 | const·primary·=·new·Keyv({·ttl:·200·}); |
| 191 | const·secondary·=·new·KeyvRedis('redis://user:pass@localhost:6379' | 192 | const·secondary·=·new·Keyv({·store:·new·KeyvRedis('redis://user:pass@localhost:6379'),·ttl:·1000·}); |
| 192 | const·cache·=·new·Cacheable({primary,·secondary}); | 193 | const·cache·=·new·Cacheable({primary,·secondary}); |
| 193 | await·cache.set('key',·'value');·//·sets·the·value·in·the·primary·store·with·a·ttl·of· | 194 | await·cache.set('key',·'value');·//·sets·the·value·in·the·primary·store·with·a·ttl·of·200·ms·and·secondary·store·with·a·ttl·of·1000·ms |
| 194 | await·sleep(200);·//·wait·for·.2·seconds | 195 | await·sleep(200);·//·wait·for·.2·seconds |
| 195 | const·value·=·await·cache.get('key');·//·gets·the·value·from·the·secondary·store·and·now·sets·the·value·in·the·primary·store·with·a·ttl·of·200·ms·which·is·what·the·primary·store·is·set·with | 196 | const·value·=·await·cache.get('key');·//·gets·the·value·from·the·secondary·store·and·now·sets·the·value·in·the·primary·store·with·a·ttl·of·200·ms·which·is·what·the·primary·store·is·set·with |
| 196 | ``` | 197 | ``` |
| 197 | #·TTL·Propagation·and·Storage·Tiering | 198 | #·TTL·Propagation·and·Storage·Tiering |
| Offset 115, 16 lines modified | Offset 115, 16 lines modified | ||
| 115 | ···*·Sets·the·namespace·for·sync·events·and·resubscribes·if·needed | 115 | ···*·Sets·the·namespace·for·sync·events·and·resubscribes·if·needed |
| 116 | ···*·@param·namespace·-·The·namespace·string·or·function | 116 | ···*·@param·namespace·-·The·namespace·string·or·function |
| 117 | ···*/ | 117 | ···*/ |
| 118 | ··set·namespace(namespace)·{ | 118 | ··set·namespace(namespace)·{ |
| 119 | ····if·(this._storage·&&·this._cacheId)·{ | 119 | ····if·(this._storage·&&·this._cacheId)·{ |
| 120 | ······const·oldSetEvent·=·this.getPrefixedEvent("cache:set"·/*·SET·*/); | 120 | ······const·oldSetEvent·=·this.getPrefixedEvent("cache:set"·/*·SET·*/); |
| 121 | ······const·oldDeleteEvent·=·this.getPrefixedEvent("cache:delete"·/*·DELETE·*/); | 121 | ······const·oldDeleteEvent·=·this.getPrefixedEvent("cache:delete"·/*·DELETE·*/); |
| 122 | ······void·this._qified.unsubscribe(oldSetEvent); | 122 | ······void·this._qified.unsubscribeMessage(oldSetEvent); |
| 123 | ······void·this._qified.unsubscribe(oldDeleteEvent); | 123 | ······void·this._qified.unsubscribeMessage(oldDeleteEvent); |
| 124 | ····} | 124 | ····} |
| 125 | ····this._namespace·=·namespace; | 125 | ····this._namespace·=·namespace; |
| 126 | ····if·(this._storage·&&·this._cacheId)·{ | 126 | ····if·(this._storage·&&·this._cacheId)·{ |
| 127 | ······this.subscribe(this._storage,·this._cacheId); | 127 | ······this.subscribe(this._storage,·this._cacheId); |
| 128 | ····} | 128 | ····} |
| 129 | ··} | 129 | ··} |
| 130 | ··/** | 130 | ··/** |
| Offset 601, 22 lines modified | Offset 601, 29 lines modified | ||
| 601 | ···*·@param·{T}·value·The·value·to·set | 601 | ···*·@param·{T}·value·The·value·to·set |
| 602 | ···*·@param·{number·|·string}·[ttl]·set·a·number·it·is·miliseconds,·set·a·string·it·is·a·human-readable | 602 | ···*·@param·{number·|·string}·[ttl]·set·a·number·it·is·miliseconds,·set·a·string·it·is·a·human-readable |
| 603 | ···*·format·such·as·`1s`·for·1·second·or·`1h`·for·1·hour.·Setting·undefined·means·that·it·will·use·the·default·time-to-live. | 603 | ···*·format·such·as·`1s`·for·1·second·or·`1h`·for·1·hour.·Setting·undefined·means·that·it·will·use·the·default·time-to-live. |
| 604 | ···*·@returns·{boolean}·Whether·the·value·was·set | 604 | ···*·@returns·{boolean}·Whether·the·value·was·set |
| 605 | ···*/ | 605 | ···*/ |
| 606 | ··async·set(key,·value,·ttl)·{ | 606 | ··async·set(key,·value,·ttl)·{ |
| 607 | ····let·result·=·false; | 607 | ····let·result·=·false; |
| 608 | ····const· | 608 | ····const·explicitTtl·=·(0,·import_utils.shorthandToMilliseconds)(ttl); |
| 609 | ····try·{ | 609 | ····try·{ |
| 610 | ······const·primaryTtl·=·(0,·import_utils.getCascadingTtl)( | ||
| 611 | ········this._ttl, | ||
| 612 | ········this._primary.ttl, | ||
| 613 | ········explicitTtl | ||
| 614 | ······); | ||
| 610 | ······const·item·=·{·key,·value,·ttl:· | 615 | ······const·item·=·{·key,·value,·ttl:·primaryTtl·}; |
| 611 | ······await·this.hook("BEFORE_SET"·/*·BEFORE_SET·*/,·item); | 616 | ······await·this.hook("BEFORE_SET"·/*·BEFORE_SET·*/,·item); |
| 617 | ······const·hookOverridden·=·item.ttl·!==·primaryTtl; | ||
| 612 | ······const·promises·=·[]; | 618 | ······const·promises·=·[]; |
| 613 | ······promises.push(this._primary.set(item.key,·item.value,·item.ttl)); | 619 | ······promises.push(this._primary.set(item.key,·item.value,·item.ttl)); |
| 614 | ······if·(this._secondary)·{ | 620 | ······if·(this._secondary)·{ |
| 621 | ········const·secondaryTtl·=·hookOverridden·?·item.ttl·:·(0,·import_utils.getCascadingTtl)(this._ttl,·this._secondary.ttl,·explicitTtl); | ||
| 615 | ········promises.push(this._secondary.set(item.key,·item.value,· | 622 | ········promises.push(this._secondary.set(item.key,·item.value,·secondaryTtl)); |
| 616 | ······} | 623 | ······} |
| 617 | ······if·(this._nonBlocking)·{ | 624 | ······if·(this._nonBlocking)·{ |
| 618 | ········result·=·await·Promise.race(promises); | 625 | ········result·=·await·Promise.race(promises); |
| 619 | ········for·(const·promise·of·promises)·{ | 626 | ········for·(const·promise·of·promises)·{ |
| 620 | ··········promise.catch((error)·=>·{ | 627 | ··········promise.catch((error)·=>·{ |
| 621 | ············this.emit("error"·/*·ERROR·*/,·error); | 628 | ············this.emit("error"·/*·ERROR·*/,·error); |
| 622 | ··········}); | 629 | ··········}); |
| Offset 944, 15 lines modified | Offset 951, 19 lines modified | ||
| 944 | ···*/ | 951 | ···*/ |
| 945 | ··hashSync(object,·algorithm·=·import_utils.HashAlgorithm.DJB2)·{ | 952 | ··hashSync(object,·algorithm·=·import_utils.HashAlgorithm.DJB2)·{ |
| 946 | ····return·(0,·import_utils.hashSync)(object,·{·algorithm·}); | 953 | ····return·(0,·import_utils.hashSync)(object,·{·algorithm·}); |
| 947 | ··} | 954 | ··} |
| 948 | ··async·setManyKeyv(keyv,·items)·{ | 955 | ··async·setManyKeyv(keyv,·items)·{ |
| 949 | ····const·entries·=·[]; | 956 | ····const·entries·=·[]; |
| 950 | ····for·(const·item·of·items)·{ | 957 | ····for·(const·item·of·items)·{ |
| 958 | ······const·finalTtl·=·(0,·import_utils.getCascadingTtl)( | ||
| 959 | ········this._ttl, | ||
| 960 | ········keyv.ttl, | ||
| 951 | ······ | 961 | ········(0,·import_utils.shorthandToMilliseconds)(item.ttl) |
| 962 | ······); | ||
| 952 | ······entries.push({·key:·item.key,·value:·item.value,·ttl:·finalTtl·}); | 963 | ······entries.push({·key:·item.key,·value:·item.value,·ttl:·finalTtl·}); |
| 953 | ····} | 964 | ····} |
| 954 | ····await·keyv.setMany(entries); | 965 | ····await·keyv.setMany(entries); |
| 955 | ····return·true; | 966 | ····return·true; |
| 956 | ··} | 967 | ··} |
| 957 | ··/** | 968 | ··/** |
| 958 | ···*·Processes·a·single·key·from·secondary·store·for·getRaw·operation | 969 | ···*·Processes·a·single·key·from·secondary·store·for·getRaw·operation |
| Offset 174, 2275 lines modified | Offset 174, 2297 lines modified | ||
| 00000ad0:·2f29·3b0a·2020·2020·2020·636f·6e73·7420··/);.······const· | 00000ad0:·2f29·3b0a·2020·2020·2020·636f·6e73·7420··/);.······const· | ||
| 00000ae0:·6f6c·6444·656c·6574·6545·7665·6e74·203d··oldDeleteEvent·= | 00000ae0:·6f6c·6444·656c·6574·6545·7665·6e74·203d··oldDeleteEvent·= | ||
| 00000af0:·2074·6869·732e·6765·7450·7265·6669·7865···this.getPrefixe | 00000af0:·2074·6869·732e·6765·7450·7265·6669·7865···this.getPrefixe | ||
| 00000b00:·6445·7665·6e74·2822·6361·6368·653a·6465··dEvent("cache:de | 00000b00:·6445·7665·6e74·2822·6361·6368·653a·6465··dEvent("cache:de | ||
| 00000b10:·6c65·7465·2220·2f2a·2044·454c·4554·4520··lete"·/*·DELETE· | 00000b10:·6c65·7465·2220·2f2a·2044·454c·4554·4520··lete"·/*·DELETE· | ||
| 00000b20:·2a2f·293b·0a20·2020·2020·2076·6f69·6420··*/);.······void· | 00000b20:·2a2f·293b·0a20·2020·2020·2076·6f69·6420··*/);.······void· | Diff chunk too large, falling back to line-by-line diff (2290 lines added, 2268 lines removed) | |
| 00000b30:·7468·6973·2e5f·7169·6669·6564·2e75·6e73··this._qified.uns | 00000b30:·7468·6973·2e5f·7169·6669·6564·2e75·6e73··this._qified.uns | ||
| 00000b40:·7562·7363·7269·6265· | 00000b40:·7562·7363·7269·6265·4d65·7373·6167·6528··ubscribeMessage( | ||
| 00000b50:· | 00000b50:·6f6c·6453·6574·4576·656e·7429·3b0a·2020··oldSetEvent);.·· | ||
| 00000b60:· | 00000b60:·2020·2020·766f·6964·2074·6869·732e·5f71······void·this._q | ||
| 00000b70:·6 | 00000b70:·6966·6965·642e·756e·7375·6273·6372·6962··ified.unsubscrib | ||
| 00000b80:·6 | 00000b80:·654d·6573·7361·6765·286f·6c64·4465·6c65··eMessage(oldDele | ||
| 00000b90:·7 | 00000b90:·7465·4576·656e·7429·3b0a·2020·2020·7d0a··teEvent);.····}. | ||
| 00000ba0:· | 00000ba0:·2020·2020·7468·6973·2e5f·6e61·6d65·7370······this._namesp | ||
| 00000bb0:·6 | 00000bb0:·6163·6520·3d20·6e61·6d65·7370·6163·653b··ace·=·namespace; | ||
| 00000bc0:· | 00000bc0:·0a20·2020·2069·6620·2874·6869·732e·5f73··.····if·(this._s | ||
| 00000bd0:· | 00000bd0:·746f·7261·6765·2026·2620·7468·6973·2e5f··torage·&&·this._ | ||
| 00000be0:· | 00000be0:·6361·6368·6549·6429·207b·0a20·2020·2020··cacheId)·{.····· | ||
| 00000bf0:· | 00000bf0:·2074·6869·732e·7375·6273·6372·6962·6528···this.subscribe( | ||
| 00000c00:· | 00000c00:·7468·6973·2e5f·7374·6f72·6167·652c·2074··this._storage,·t | ||
| 00000c10:· | 00000c10:·6869·732e·5f63·6163·6865·4964·293b·0a20··his._cacheId);.· | ||
| 00000c20:· | 00000c20:·2020·207d·0a20·207d·0a20·202f·2a2a·0a20·····}.··}.··/**.· | ||
| 00000c30:· | 00000c30:·2020·2a20·5075·626c·6973·6865·7320·6120····*·Publishes·a· | ||
| 00000c40:· | 00000c40:·6361·6368·6520·6576·656e·7420·746f·2061··cache·event·to·a | ||
| 00000c50:·6 | 00000c50:·6c6c·2074·6865·2063·6163·6865·2069·6e73··ll·the·cache·ins | ||
| 00000c60:· | 00000c60:·7461·6e63·6573·0a20·2020·2a20·4070·6172··tances.···*·@par | ||
| 00000c70:·6 | 00000c70:·616d·2064·6174·6120·2d20·5468·6520·6361··am·data·-·The·ca | ||
| 00000c80:·636 | 00000c80:·6368·6520·6974·656d·2064·6174·6120·636f··che·item·data·co | ||
| 00000c90:· | 00000c90:·6e74·6169·6e69·6e67·2063·6163·6865·4964··ntaining·cacheId | ||
| 00000ca0:· | 00000ca0:·2c20·6b65·792c·2076·616c·7565·2c20·616e··,·key,·value,·an | ||
| 00000cb0:· | 00000cb0:·6420·6f70·7469·6f6e·616c·2074·746c·0a20··d·optional·ttl.· | ||
| 00000cc0:· | 00000cc0:·2020·2a2f·0a20·2061·7379·6e63·2070·7562····*/.··async·pub | ||
| 00000cd0:·7 | 00000cd0:·6c69·7368·2865·7665·6e74·2c20·6461·7461··lish(event,·data | ||
| 00000ce0:· | 00000ce0:·2920·7b0a·2020·2020·636f·6e73·7420·6576··)·{.····const·ev | ||
| 00000cf0:· | 00000cf0:·656e·744e·616d·6520·3d20·7468·6973·2e67··entName·=·this.g | ||
| 00000d00:· | 00000d00:·6574·5072·6566·6978·6564·4576·656e·7428··etPrefixedEvent( | ||
| 00000d10:·6 | 00000d10:·6576·656e·7429·3b0a·2020·2020·6177·6169··event);.····awai | ||
| 00000d20:· | 00000d20:·7420·7468·6973·2e5f·7169·6669·6564·2e70··t·this._qified.p | ||
| 00000d30:· | 00000d30:·7562·6c69·7368·2865·7665·6e74·4e61·6d65··ublish(eventName | ||
| 00000d40:· | 00000d40:·2c20·7b0a·2020·2020·2020·6964·3a20·6372··,·{.······id:·cr | ||
| 00000d50:· | 00000d50:·7970·746f·2e72·616e·646f·6d55·5549·4428··ypto.randomUUID( | ||
| 00000d60:·2020·2020· | 00000d60:·292c·0a20·2020·2020·2064·6174·610a·2020··),.······data.·· | ||
| 00000d70:·2 | 00000d70:·2020·7d29·3b0a·2020·7d0a·2020·2f2a·2a0a····});.··}.··/**. | ||
| 00000d80:· | 00000d80:·2020·202a·2053·7562·7363·7269·6265·7320·····*·Subscribes· | ||
| 00000d90:· | 00000d90:·746f·2073·796e·6320·6576·656e·7473·2061··to·sync·events·a | ||
| 00000da0:· | 00000da0:·6e64·2075·7064·6174·6573·2074·6865·2070··nd·updates·the·p | ||
| 00000db0:· | 00000db0:·726f·7669·6465·6420·7374·6f72·6167·650a··rovided·storage. | ||
| 00000dc0:· | 00000dc0:·2020·202a·2040·7061·7261·6d20·7374·6f72·····*·@param·stor | ||
| 00000dd0:· | 00000dd0:·6167·6520·2d20·5468·6520·4b65·7976·2073··age·-·The·Keyv·s | ||
| 00000de0:· | 00000de0:·746f·7261·6765·2069·6e73·7461·6e63·6520··torage·instance· | ||
| 00000df0:· | 00000df0:·746f·2075·7064·6174·650a·2020·202a·2040··to·update.···*·@ | ||
| 00000e00:· | 00000e00:·7061·7261·6d20·6361·6368·6549·6420·2d20··param·cacheId·-· | ||
| 00000e10:· | 00000e10:·5468·6520·6361·6368·6520·4944·2074·6f20··The·cache·ID·to· | ||
| 00000e20:·696 | 00000e20:·6964·656e·7469·6679·2074·6869·7320·696e··identify·this·in | ||
| 00000e30:· | 00000e30:·7374·616e·6365·0a20·2020·2a2f·0a20·2073··stance.···*/.··s | ||
| 00000e40:· | 00000e40:·7562·7363·7269·6265·2873·746f·7261·6765··ubscribe(storage | ||
| 00000e50:·2 | 00000e50:·2c20·6361·6368·6549·6429·207b·0a20·2020··,·cacheId)·{.··· | ||
| 00000e60:·203 | 00000e60:·2074·6869·732e·5f73·746f·7261·6765·203d···this._storage·= | ||
| 00000e70:· | 00000e70:·2073·746f·7261·6765·3b0a·2020·2020·7468···storage;.····th | ||
| 00000e80:·6361·6368·6549·64 | 00000e80:·6973·2e5f·6361·6368·6549·6420·3d20·6361··is._cacheId·=·ca | ||
| 00000e90:· | 00000e90:·6368·6549·643b·0a20·2020·2063·6f6e·7374··cheId;.····const | ||
| 00000ea0:· | 00000ea0:·2073·6574·4576·656e·7420·3d20·7468·6973···setEvent·=·this | ||
| 00000eb0:· | 00000eb0:·2e67·6574·5072·6566·6978·6564·4576·656e··.getPrefixedEven | ||
| 00000ec0:· | 00000ec0:·7428·2263·6163·6865·3a73·6574·2220·2f2a··t("cache:set"·/* | ||
| 00000ed0:· | 00000ed0:·2053·4554·202a·2f29·3b0a·2020·2020·636f···SET·*/);.····co | ||
| 00000ee0:· | 00000ee0:·6e73·7420·6465·6c65·7465·4576·656e·7420··nst·deleteEvent· | ||
| 00000ef0:· | 00000ef0:·3d20·7468·6973·2e67·6574·5072·6566·6978··=·this.getPrefix | ||
| 00000f00:· | 00000f00:·6564·4576·656e·7428·2263·6163·6865·3a64··edEvent("cache:d | ||
| 00000f10:· | 00000f10:·656c·6574·6522·202f·2a20·4445·4c45·5445··elete"·/*·DELETE | ||
| 00000f20:·2 | 00000f20:·202a·2f29·3b0a·2020·2020·7468·6973·2e5f···*/);.····this._ | ||
| 00000f30:· | 00000f30:·7169·6669·6564·2e73·7562·7363·7269·6265··qified.subscribe | ||
| 00000f40:·2 | 00000f40:·2873·6574·4576·656e·742c·207b·0a20·2020··(setEvent,·{.··· | ||
| 00000f50:· | 00000f50:·2020·2068·616e·646c·6572·3a20·6173·796e·····handler:·asyn | ||
| 00000f60:· | 00000f60:·6320·286d·6573·7361·6765·2920·3d3e·207b··c·(message)·=>·{ | ||
| 00000f70:·20 | 00000f70:·0a20·2020·2020·2020·2063·6f6e·7374·2064··.········const·d | ||
| 00000f80:·6 | 00000f80:·6174·6120·3d20·6d65·7373·6167·652e·6461··ata·=·message.da | ||
| 00000f90:· | 00000f90:·7461·3b0a·2020·2020·2020·2020·6966·2028··ta;.········if·( | ||
| 00000fa0:· | 00000fa0:·6461·7461·2e63·6163·6865·4964·2021·3d3d··data.cacheId·!== | ||
| 00000fb0:·20 | 00000fb0:·2063·6163·6865·4964·2920·7b0a·2020·2020···cacheId)·{.···· | ||
| 00000fc0:· | 00000fc0:·2020·2020·2020·6177·6169·7420·7374·6f72········await·stor | ||
| 00000fd0:·6 | 00000fd0:·6167·652e·7365·7428·6461·7461·2e6b·6579··age.set(data.key | ||
| 00000fe0:·6461·7461·2e7 | 00000fe0:·2c20·6461·7461·2e76·616c·7565·2c20·6461··,·data.value,·da | ||
| 00000ff0:· | 00000ff0:·7461·2e74·746c·293b·0a20·2020·2020·2020··ta.ttl);.······· | ||
| 00001000:·207d· | 00001000:·207d·0a20·2020·2020·207d·0a20·2020·207d···}.······}.····} | ||
| 00001010:· | 00001010:·293b·0a20·2020·2074·6869·732e·5f71·6966··);.····this._qif | ||
| 00001020:·6 | 00001020:·6965·642e·7375·6273·6372·6962·6528·6465··ied.subscribe(de | ||
| 00001030:· | 00001030:·6c65·7465·4576·656e·742c·207b·0a20·2020··leteEvent,·{.··· | ||
| 00001040:· | 00001040:·2020·2068·616e·646c·6572·3a20·6173·796e·····handler:·asyn | ||
| 00001050:· | 00001050:·6320·286d·6573·7361·6765·2920·3d3e·207b··c·(message)·=>·{ | ||
| 00001060:·20 | 00001060:·0a20·2020·2020·2020·2063·6f6e·7374·2064··.········const·d | ||
| 00001070:·6 | 00001070:·6174·6120·3d20·6d65·7373·6167·652e·6461··ata·=·message.da | ||
| 00001080:· | 00001080:·7461·3b0a·2020·2020·2020·2020·6966·2028··ta;.········if·( | ||
| 00001090:· | 00001090:·6461·7461·2e63·6163·6865·4964·2021·3d3d··data.cacheId·!== | ||
| 000010a0:·20 | 000010a0:·2063·6163·6865·4964·2920·7b0a·2020·2020···cacheId)·{.···· | ||
| 000010b0:· | 000010b0:·2020·2020·2020·6177·6169·7420·7374·6f72········await·stor | ||
| 000010c0:·61 | 000010c0:·6167·652e·6465·6c65·7465·2864·6174·612e··age.delete(data. | ||
| 000010d0:· | 000010d0:·6b65·7929·3b0a·2020·2020·2020·2020·7d0a··key);.········}. | ||
| 000010e0:· | 000010e0:·2020·2020·2020·7d0a·2020·2020·7d29·3b0a········}.····});. | ||
| Max diff block lines reached; -1/315004 bytes (-0.00%) of diff not shown. | |||
| Offset 1, 22 lines modified | Offset 1, 22 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"author":·"Jared·Wray·<[email protected]>", | 2 | ····"author":·"Jared·Wray·<[email protected]>", |
| 3 | ····"dependencies":·{ | 3 | ····"dependencies":·{ |
| 4 | ········"@cacheable/memory":·"^2.0.8", | 4 | ········"@cacheable/memory":·"^2.0.8", |
| 5 | ········"@cacheable/utils":·"^2.4. | 5 | ········"@cacheable/utils":·"^2.4.1", |
| 6 | ········"hookified":·"^1.15.0", | 6 | ········"hookified":·"^1.15.0", |
| 7 | ········"keyv":·"^5.6.0", | 7 | ········"keyv":·"^5.6.0", |
| 8 | ········"qified":·"^0. | 8 | ········"qified":·"^0.10.1" |
| 9 | ····}, | 9 | ····}, |
| 10 | ····"description":·"High·Performance·Layer·1·/·Layer·2·Caching·with·Keyv·Storage", | 10 | ····"description":·"High·Performance·Layer·1·/·Layer·2·Caching·with·Keyv·Storage", |
| 11 | ····"devDependencies":·{ | 11 | ····"devDependencies":·{ |
| 12 | ········"@keyv/redis":·"^5.1.6", | 12 | ········"@keyv/redis":·"^5.1.6", |
| 13 | ········"@keyv/valkey":·"^1.0.11", | 13 | ········"@keyv/valkey":·"^1.0.11", |
| 14 | ········"@qified/redis":·"^0. | 14 | ········"@qified/redis":·"^0.10.1", |
| 15 | ········"lru-cache":·"^11. | 15 | ········"lru-cache":·"^11.3.6", |
| 16 | ········"tsup":·"^8.5.1", | 16 | ········"tsup":·"^8.5.1", |
| 17 | ········"typescript":·"^5.9.3" | 17 | ········"typescript":·"^5.9.3" |
| 18 | ····}, | 18 | ····}, |
| 19 | ····"exports":·{ | 19 | ····"exports":·{ |
| 20 | ········".":·{ | 20 | ········".":·{ |
| 21 | ············"import":·{ | 21 | ············"import":·{ |
| 22 | ················"default":·"./dist/index.js", | 22 | ················"default":·"./dist/index.js", |
| Offset 73, 9 lines modified | Offset 73, 9 lines modified | ||
| 73 | ········"clean":·"rimraf·./dist·./coverage·./node_modules", | 73 | ········"clean":·"rimraf·./dist·./coverage·./node_modules", |
| 74 | ········"lint":·"biome·check·--write·--error-on-warnings", | 74 | ········"lint":·"biome·check·--write·--error-on-warnings", |
| 75 | ········"test":·"pnpm·lint·&&·vitest·run·--coverage", | 75 | ········"test":·"pnpm·lint·&&·vitest·run·--coverage", |
| 76 | ········"test:ci":·"biome·check·--error-on-warnings·&&·vitest·run·--coverage" | 76 | ········"test:ci":·"biome·check·--error-on-warnings·&&·vitest·run·--coverage" |
| 77 | ····}, | 77 | ····}, |
| 78 | ····"type":·"module", | 78 | ····"type":·"module", |
| 79 | ····"types":·"./dist/index.d.ts", | 79 | ····"types":·"./dist/index.d.ts", |
| 80 | ····"version":·"2.3. | 80 | ····"version":·"2.3.5" |
| 81 | } | 81 | } |
| Offset 8, 14 lines modified | Offset 8, 16 lines modified | ||
| 8 | ##·Usage | 8 | ##·Usage |
| 9 | ##·Options | 9 | ##·Options |
| 10 | All·of·the·above·functions·can·accept·an·additional·options·argument·that·is·an·object·that·can·contain·one·or·more·of·the·following·properties: | 10 | All·of·the·above·functions·can·accept·an·additional·options·argument·that·is·an·object·that·can·contain·one·or·more·of·the·following·properties: |
| 11 | Malformed·authorities·and·out-of-range·ports·are·reported·through·the·parsed·component's·`error`·field.·`normalize()`·leaves·malformed·string·inputs·unchanged,·and·`equal()`·returns·`false`·when·either·string·input·is·malformed. | ||
| 11 | *» `scheme`·(string) | 12 | *» `scheme`·(string) |
| 12 | » Indicates·the·scheme·that·the·URI·should·be·treated·as,·overriding·the·URI's·normal·scheme·parsing·behavior. | 13 | » Indicates·the·scheme·that·the·URI·should·be·treated·as,·overriding·the·URI's·normal·scheme·parsing·behavior. |
| 13 | *» `reference`·(string) | 14 | *» `reference`·(string) |
| 14 | » If·set·to·`"suffix"`,·it·indicates·that·the·URI·is·in·the·suffix·format·and·the·parser·will·use·the·option's·`scheme`·property·to·determine·the·URI's·scheme. | 15 | » If·set·to·`"suffix"`,·it·indicates·that·the·URI·is·in·the·suffix·format·and·the·parser·will·use·the·option's·`scheme`·property·to·determine·the·URI's·scheme. |
| 15 | *» `tolerant`·(boolean,·false) | 16 | *» `tolerant`·(boolean,·false) |
| Offset 3, 635 lines modified | Offset 3, 763 lines modified | ||
| 00000020:·5076·362c·2072·656d·6f76·6544·6f74·5365··Pv6,·removeDotSe | 00000020:·5076·362c·2072·656d·6f76·6544·6f74·5365··Pv6,·removeDotSe | ||
| 00000030:·676d·656e·7473·2c20·7265·636f·6d70·6f73··gments,·recompos | 00000030:·676d·656e·7473·2c20·7265·636f·6d70·6f73··gments,·recompos | ||
| 00000040:·6541·7574·686f·7269·7479·2c20·6e6f·726d··eAuthority,·norm | 00000040:·6541·7574·686f·7269·7479·2c20·6e6f·726d··eAuthority,·norm | ||
| 00000050:·616c·697a·6550·6572·6365·6e74·456e·636f··alizePercentEnco | 00000050:·616c·697a·6550·6572·6365·6e74·456e·636f··alizePercentEnco | ||
| 00000060:·6469·6e67·2c20·6e6f·726d·616c·697a·6550··ding,·normalizeP | 00000060:·6469·6e67·2c20·6e6f·726d·616c·697a·6550··ding,·normalizeP | ||
| 00000070:·6174·6845·6e63·6f64·696e·672c·2065·7363··athEncoding,·esc | 00000070:·6174·6845·6e63·6f64·696e·672c·2065·7363··athEncoding,·esc | Diff chunk too large, falling back to line-by-line diff (756 lines added, 628 lines removed) | |
| 00000080:·6170·6550·7265·7365·7276·696e·6745·7363··apePreservingEsc | 00000080:·6170·6550·7265·7365·7276·696e·6745·7363··apePreservingEsc | ||
| 00000090:·6170·6573·2c20· | 00000090:·6170·6573·2c20·7265·6573·6361·7065·486f··apes,·reescapeHo | ||
| 000000a0:· | 000000a0:·7374·4465·6c69·6d69·7465·7273·2c20·6973··stDelimiters,·is | ||
| 000000b0:· | 000000b0:·4950·7634·2c20·6e6f·6e53·696d·706c·6544··IPv4,·nonSimpleD | ||
| 000000c0:· | 000000c0:·6f6d·6169·6e20·7d20·3d20·7265·7175·6972··omain·}·=·requir | ||
| 000000d0:· | 000000d0:·6528·272e·2f6c·6962·2f75·7469·6c73·2729··e('./lib/utils') | ||
| 000000e0:· | 000000e0:·0a63·6f6e·7374·207b·2053·4348·454d·4553··.const·{·SCHEMES | ||
| 000000f0:· | 000000f0:·2c20·6765·7453·6368·656d·6548·616e·646c··,·getSchemeHandl | ||
| 00000100:·6 | 00000100:·6572·207d·203d·2072·6571·7569·7265·2827··er·}·=·require(' | ||
| 00000110:· | 00000110:·2e2f·6c69·622f·7363·6865·6d65·7327·290a··./lib/schemes'). | ||
| 00000120:· | 00000120:·0a2f·2a2a·0a20·2a20·4074·656d·706c·6174··./**.·*·@templat | ||
| 00000130:· | 00000130:·6520·7b69·6d70·6f72·7428·272e·2f74·7970··e·{import('./typ | ||
| 00000140:· | 00000140:·6573·2f69·6e64·6578·2729·2e55·5249·436f··es/index').URICo | ||
| 00000150:· | 00000150:·6d70·6f6e·656e·747c·7374·7269·6e67·7d20··mponent|string}· | ||
| 00000160:· | 00000160:·540a·202a·2040·7061·7261·6d20·7b54·7d20··T.·*·@param·{T}· | ||
| 00000170:· | 00000170:·7572·690a·202a·2040·7061·7261·6d20·7b69··uri.·*·@param·{i | ||
| 00000180:· | 00000180:·6d70·6f72·7428·272e·2f74·7970·6573·2f69··mport('./types/i | ||
| 00000190:· | 00000190:·6e64·6578·2729·2e4f·7074·696f·6e73·7d20··ndex').Options}· | ||
| 000001a0:· | 000001a0:·5b6f·7074·696f·6e73·5d0a·202a·2040·7265··[options].·*·@re | ||
| 000001b0:· | 000001b0:·7475·726e·7320·7b54·7d0a·202a·2f0a·6675··turns·{T}.·*/.fu | ||
| 000001c0:· | 000001c0:·6e63·7469·6f6e·206e·6f72·6d61·6c69·7a65··nction·normalize | ||
| 000001d0:· | 000001d0:·2028·7572·692c·206f·7074·696f·6e73·2920···(uri,·options)· | ||
| 000001e0:·7 | 000001e0:·7b0a·2020·6966·2028·7479·7065·6f66·2075··{.··if·(typeof·u | ||
| 000001f0:·7269·203d· | 000001f0:·7269·203d·3d3d·2027·7374·7269·6e67·2729··ri·===·'string') | ||
| 00000200:· | 00000200:·207b·0a20·2020·2075·7269·203d·202f·2a2a···{.····uri·=·/** | ||
| 00000210:·2 | 00000210:·2040·7479·7065·207b·547d·202a·2f20·286e···@type·{T}·*/·(n | ||
| 00000220:·6f6 | 00000220:·6f72·6d61·6c69·7a65·5374·7269·6e67·2875··ormalizeString(u | ||
| 00000230:· | 00000230:·7269·2c20·6f70·7469·6f6e·7329·290a·2020··ri,·options)).·· | ||
| 00000240:· | 00000240:·7d20·656c·7365·2069·6620·2874·7970·656f··}·else·if·(typeo | ||
| 00000250:·6 | 00000250:·6620·7572·6920·3d3d·3d20·276f·626a·6563··f·uri·===·'objec | ||
| 00000260:· | 00000260:·7427·2920·7b0a·2020·2020·7572·6920·3d20··t')·{.····uri·=· | ||
| 00000270:·2 | 00000270:·2f2a·2a20·4074·7970·6520·7b54·7d20·2a2f··/**·@type·{T}·*/ | ||
| 00000280:· | 00000280:·2028·7061·7273·6528·7365·7269·616c·697a···(parse(serializ | ||
| 00000290:·292c·206f·7074·696f·6e73·292 | 00000290:·6528·7572·692c·206f·7074·696f·6e73·292c··e(uri,·options), | ||
| 000002a0:· | 000002a0:·206f·7074·696f·6e73·2929·0a20·207d·0a20···options)).··}.· | ||
| 000002b0:·0 | 000002b0:·2072·6574·7572·6e20·7572·690a·7d0a·0a2f···return·uri.}../ | ||
| 000002c0:· | 000002c0:·2a2a·0a20·2a20·4070·6172·616d·207b·7374··**.·*·@param·{st | ||
| 000002d0:· | 000002d0:·7269·6e67·7d20·6261·7365·5552·490a·202a··ring}·baseURI.·* | ||
| 000002e0:· | 000002e0:·2040·7061·7261·6d20·7b73·7472·696e·677d···@param·{string} | ||
| 000002f0:·2 | 000002f0:·2072·656c·6174·6976·6555·5249·0a20·2a20···relativeURI.·*· | ||
| 00000300:· | 00000300:·4070·6172·616d·207b·696d·706f·7274·2827··@param·{import(' | ||
| 00000310:·2 | 00000310:·2e2f·7479·7065·732f·696e·6465·7827·292e··./types/index'). | ||
| 00000320:· | 00000320:·4f70·7469·6f6e·737d·205b·6f70·7469·6f6e··Options}·[option | ||
| 00000330:· | 00000330:·735d·0a20·2a20·4072·6574·7572·6e73·207b··s].·*·@returns·{ | ||
| 00000340:· | 00000340:·7374·7269·6e67·7d0a·202a·2f0a·6675·6e63··string}.·*/.func | ||
| 00000350:· | 00000350:·7469·6f6e·2072·6573·6f6c·7665·2028·6261··tion·resolve·(ba | ||
| 00000360:·65 | 00000360:·7365·5552·492c·2072·656c·6174·6976·6555··seURI,·relativeU | ||
| 00000370:· | 00000370:·5249·2c20·6f70·7469·6f6e·7329·207b·0a20··RI,·options)·{.· | ||
| 00000380:· | 00000380:·2063·6f6e·7374·2073·6368·656d·656c·6573···const·schemeles | ||
| 00000390:·696f·6e73·203 | 00000390:·734f·7074·696f·6e73·203d·206f·7074·696f··sOptions·=·optio | ||
| 000003a0:· | 000003a0:·6e73·203f·204f·626a·6563·742e·6173·7369··ns·?·Object.assi | ||
| 000003b0:·6 | 000003b0:·676e·287b·2073·6368·656d·653a·2027·6e75··gn({·scheme:·'nu | ||
| 000003c0:· | 000003c0:·6c6c·2720·7d2c·206f·7074·696f·6e73·2920··ll'·},·options)· | ||
| 000003d0:· | 000003d0:·3a20·7b20·7363·6865·6d65·3a20·276e·756c··:·{·scheme:·'nul | ||
| 000003e0:·6 | 000003e0:·6c27·207d·0a20·2063·6f6e·7374·2072·6573··l'·}.··const·res | ||
| 000003f0:·6 | 000003f0:·6f6c·7665·6420·3d20·7265·736f·6c76·6543··olved·=·resolveC | ||
| 00000400:· | 00000400:·6f6d·706f·6e65·6e74·2870·6172·7365·2862··omponent(parse(b | ||
| 00000410:·6 | 00000410:·6173·6555·5249·2c20·7363·6865·6d65·6c65··aseURI,·schemele | ||
| 00000420:·7 | 00000420:·7373·4f70·7469·6f6e·7329·2c20·7061·7273··ssOptions),·pars | ||
| 00000430:· | 00000430:·6528·7265·6c61·7469·7665·5552·492c·2073··e(relativeURI,·s | ||
| 00000440:·6 | 00000440:·6368·656d·656c·6573·734f·7074·696f·6e73··chemelessOptions | ||
| 00000450:· | 00000450:·292c·2073·6368·656d·656c·6573·734f·7074··),·schemelessOpt | ||
| 00000460:· | 00000460:·696f·6e73·2c20·7472·7565·290a·2020·7363··ions,·true).··sc | ||
| 00000470:· | 00000470:·6865·6d65·6c65·7373·4f70·7469·6f6e·732e··hemelessOptions. | ||
| 00000480:·7 | 00000480:·736b·6970·4573·6361·7065·203d·2074·7275··skipEscape·=·tru | ||
| 00000490:·6 | 00000490:·650a·2020·7265·7475·726e·2073·6572·6961··e.··return·seria | ||
| 000004a0:· | 000004a0:·6c69·7a65·2872·6573·6f6c·7665·642c·2073··lize(resolved,·s | ||
| 000004b0:·6 | 000004b0:·6368·656d·656c·6573·734f·7074·696f·6e73··chemelessOptions | ||
| 000004c0:· | 000004c0:·290a·7d0a·0a2f·2a2a·0a20·2a20·4070·6172··).}../**.·*·@par | ||
| 000004d0:· | 000004d0:·616d·207b·696d·706f·7274·2028·272e·2f74··am·{import·('./t | ||
| 000004e0:· | 000004e0:·7970·6573·2f69·6e64·6578·2729·2e55·5249··ypes/index').URI | ||
| 000004f0:· | 000004f0:·436f·6d70·6f6e·656e·747d·2062·6173·650a··Component}·base. | ||
| 00000500:· | 00000500:·202a·2040·7061·7261·6d20·7b69·6d70·6f72···*·@param·{impor | ||
| 00000510:· | 00000510:·7420·2827·2e2f·7479·7065·732f·696e·6465··t·('./types/inde | ||
| 00000520:· | 00000520:·7827·292e·5552·4943·6f6d·706f·6e65·6e74··x').URIComponent | ||
| 00000530:· | 00000530:·7d20·7265·6c61·7469·7665·0a20·2a20·4070··}·relative.·*·@p | ||
| 00000540:· | 00000540:·6172·616d·207b·696d·706f·7274·2827·2e2f··aram·{import('./ | ||
| 00000550:· | 00000550:·7479·7065·732f·696e·6465·7827·292e·4f70··types/index').Op | ||
| 00000560:·7 | 00000560:·7469·6f6e·737d·205b·6f70·7469·6f6e·735d··tions}·[options] | ||
| 00000570:· | 00000570:·0a20·2a20·4070·6172·616d·207b·626f·6f6c··.·*·@param·{bool | ||
| 00000580:·6 | 00000580:·6561·6e7d·205b·736b·6970·4e6f·726d·616c··ean}·[skipNormal | ||
| 00000590:· | 00000590:·697a·6174·696f·6e3d·6661·6c73·655d·0a20··ization=false].· | ||
| 000005a0:· | 000005a0:·2a20·4072·6574·7572·6e73·207b·696d·706f··*·@returns·{impo | ||
| 000005b0:· | 000005b0:·7274·2028·272e·2f74·7970·6573·2f69·6e64··rt·('./types/ind | ||
| 000005c0:·65 | 000005c0:·6578·2729·2e55·5249·436f·6d70·6f6e·656e··ex').URIComponen | ||
| 000005d0:· | 000005d0:·747d·0a20·2a2f·0a66·756e·6374·696f·6e20··t}.·*/.function· | ||
| 000005e0:· | 000005e0:·7265·736f·6c76·6543·6f6d·706f·6e65·6e74··resolveComponent | ||
| 000005f0:· | 000005f0:·2028·6261·7365·2c20·7265·6c61·7469·7665···(base,·relative | ||
| 00000600:· | 00000600:·2c20·6f70·7469·6f6e·732c·2073·6b69·704e··,·options,·skipN | ||
| 00000610:· | 00000610:·6f72·6d61·6c69·7a61·7469·6f6e·2920·7b0a··ormalization)·{. | ||
| 00000620:· | 00000620:·2020·2f2a·2a20·4074·7970·6520·7b69·6d70····/**·@type·{imp | ||
| 00000630:·6 | 00000630:·6f72·7428·272e·2f74·7970·6573·2f69·6e64··ort('./types/ind | ||
| Max diff block lines reached; -1/95980 bytes (-0.00%) of diff not shown. | |||
| Offset 403, 221 lines modified | Offset 403, 271 lines modified | ||
| 00001920:·7075·742e·7075·7368·2869·6e70·7574·2e73··put.push(input.s | 00001920:·7075·742e·7075·7368·2869·6e70·7574·2e73··put.push(input.s | ||
| 00001930:·6c69·6365·2830·2c20·6e65·7874·536c·6173··lice(0,·nextSlas | 00001930:·6c69·6365·2830·2c20·6e65·7874·536c·6173··lice(0,·nextSlas | ||
| 00001940:·6829·290a·2020·2020·2020·696e·7075·7420··h)).······input· | 00001940:·6829·290a·2020·2020·2020·696e·7075·7420··h)).······input· | ||
| 00001950:·3d20·696e·7075·742e·736c·6963·6528·6e65··=·input.slice(ne | 00001950:·3d20·696e·7075·742e·736c·6963·6528·6e65··=·input.slice(ne | ||
| 00001960:·7874·536c·6173·6829·0a20·2020·207d·0a20··xtSlash).····}.· | 00001960:·7874·536c·6173·6829·0a20·2020·207d·0a20··xtSlash).····}.· | ||
| 00001970:·207d·0a0a·2020·7265·7475·726e·206f·7574···}..··return·out | 00001970:·207d·0a0a·2020·7265·7475·726e·206f·7574···}..··return·out | ||
| 00001980:·7075·742e·6a6f·696e·2827·2729·0a7d·0a0a··put.join('').}.. | 00001980:·7075·742e·6a6f·696e·2827·2729·0a7d·0a0a··put.join('').}.. | ||
| 00001990:·2f2a·2a0a·202a·204e·6f72·6d61·6c69·7a65··/**.·*·Normalize | |||
| 000019a0:·7320·7065·7263·656e·7420·6573·6361·7065··s·percent·escape | |||
| 000019b0:·7320·616e·6420·6f70·7469·6f6e·616c·6c79··s·and·optionally | |||
| 000019c0:·2064·6563·6f64·6573·206f·6e6c·7920·756e···decodes·only·un | |||
| 000019d0:·7265·7365·7276·6564·2041·5343·4949·2062··reserved·ASCII·b | |||
| 000019e0:·7974·6573·2e0a·202a·2052·6573·6572·7665··ytes..·*·Reserve | |||
| 000019f0:·6420·6465·6c69·6d69·7465·7273·2073·7563··d·delimiters·suc | |||
| 00001a00:·6820·6173·2060·2532·4660·2061·6e64·2060··h·as·`%2F`·and·` | |||
| 00001a10:·2532·4560·2073·7461·7920·6573·6361·7065··%2E`·stay·escape | |||
| 00001a20:·642e·0a20·2a0a·202a·2040·7061·7261·6d20··d..·*.·*·@param· | |||
| 00001 | 00001990:·2f2a·2a0a·202a·2052·652d·6573·6361·7065··/**.·*·Re-escape | ||
| 000019a0:·2052·4643·2033·3938·3620·6765·6e2d·6465···RFC·3986·gen-de | |||
| 000019b0:·6c69·6d73·2074·6861·7420·6d75·7374·206e··lims·that·must·n | |||
| 000019c0:·6f74·2061·7070·6561·7220·6c69·7465·7261··ot·appear·litera | |||
| 000019d0:·6c6c·7920·696e·2074·6865·2068·6f73·742e··lly·in·the·host. | |||
| 000019e0:·0a20·2a20·4166·7465·7220·7468·6520·5552··.·*·After·the·UR | |||
| 000019f0:·4920·7265·6765·7820·7061·7273·6573·2c20··I·regex·parses,· | |||
| 00001a00:·7468·6573·6520·6368·6172·6163·7465·7273··these·characters | |||
| 00001a10:·2063·616e·6e6f·7420·6265·206c·6974·6572···cannot·be·liter | |||
| 00001a20:·616c·2069·6e20·7468·6520·686f·7374·0a20··al·in·the·host.· | |||
| 00001a30:·2a20·6669·656c·642c·2073·6f20·616e·7920··*·field,·so·any· | |||
| 00001a40:·7468·6174·2061·7070·6561·7220·6166·7465··that·appear·afte | |||
| 00001a50:·7220·6465·636f·6469·6e67·2063·616d·6520··r·decoding·came· | |||
| 00001a60:·6672·6f6d·2070·6572·6365·6e74·2d65·6e63··from·percent-enc | |||
| 00001a70:·6f64·696e·6720·616e·640a·202a·206d·7573··oding·and.·*·mus | |||
| 00001a80:·7420·6265·2072·6573·746f·7265·6420·746f··t·be·restored·to | |||
| 00001a90:·2070·7265·7665·6e74·2061·7574·686f·7269···prevent·authori | |||
| 00001aa0:·7479·2073·7472·7563·7475·7265·2063·6861··ty·structure·cha | |||
| 00001ab0:·6e67·6573·2e0a·202a·0a20·2a20·4070·6172··nges..·*.·*·@par | |||
| 00001ac0:·616d·207b·7374·7269·6e67·7d20·686f·7374··am·{string}·host | |||
| 00001a | 00001ad0:·0a20·2a20·4070·6172·616d·207b·626f·6f6c··.·*·@param·{bool | ||
| 00001ae0:·6561·6e7d·2069·7349·5020·2d20·7472·7565··ean}·isIP·-·true | |||
| 00001af0:·2066·6f72·2049·5076·342f·4950·7636·2068···for·IPv4/IPv6·h | |||
| 00001b00:·6f73·7473·2028·736b·6970·2063·6f6c·6f6e··osts·(skip·colon | |||
| 00001b10:·2072·652d·6573·6361·7069·6e67·290a·202a···re-escaping).·* | |||
| 00001a50:·6e7d·205b·6465·636f·6465·556e·7265·7365··n}·[decodeUnrese | |||
| 00001a60:·7276·6564·3d66·616c·7365·5d0a·202a·2040··rved=false].·*·@ | |||
| 00001a70:·7265·7475·726e·7320·7b73·7472·696e·677d··returns·{string} | |||
| 00001a80:·0a20·2a2f·0a66·756e·6374·696f·6e20·6e6f··.·*/.function·no | |||
| 00001a90:·726d·616c·697a·6550·6572·6365·6e74·456e··rmalizePercentEn | |||
| 00001aa0:·636f·6469·6e67·2028·696e·7075·742c·2064··coding·(input,·d | |||
| 00001ab0:·6563·6f64·6555·6e72·6573·6572·7665·6420··ecodeUnreserved· | |||
| 00001ac0:·3d20·6661·6c73·6529·207b·0a20·2069·6620··=·false)·{.··if· | |||
| 00001ad0:·2869·6e70·7574·2e69·6e64·6578·4f66·2827··(input.indexOf(' | |||
| 00001ae0:·2527·2920·3d3d·3d20·2d31·2920·7b0a·2020··%')·===·-1)·{.·· | |||
| 00001af0:·2020·7265·7475·726e·2069·6e70·7574·0a20····return·input.· | |||
| 00001b00:·207d·0a0a·2020·6c65·7420·6f75·7470·7574···}..··let·output | |||
| 00001b10:·203d·2027·270a·0a20·2066·6f72·2028·6c65···=·''..··for·(le | |||
| 00001b20:·7420·6920·3d20·303b·2069·203c·2069·6e70··t·i·=·0;·i·<·inp | |||
| 00001b30:·7574·2e6c·656e·6774·683b·2069·2b2b·2920··ut.length;·i++)· | |||
| 00001b40:·7b0a·2020·2020·6966·2028·696e·7075·745b··{.····if·(input[ | |||
| 00001b50:·695d·203d·3d3d·2027·2527·2026·2620·6920··i]·===·'%'·&&·i· | |||
| 00001b60:·2b20·3220·3c20·696e·7075·742e·6c65·6e67··+·2·<·input.leng | |||
| 00001b70:·7468·2920·7b0a·2020·2020·2020·636f·6e73··th)·{.······cons | |||
| 00001b80:·7420·6865·7820·3d20·696e·7075·742e·736c··t·hex·=·input.sl | |||
| 00001b90:·6963·6528·6920·2b20·312c·2069·202b·2033··ice(i·+·1,·i·+·3 | |||
| 00001ba0:·290a·2020·2020·2020·6966·2028·6973·4865··).······if·(isHe | |||
| 00001bb0:·7850·6169·7228·6865·7829·2920·7b0a·2020··xPair(hex))·{.·· | |||
| 00001bc0:·2020·2020·2020·636f·6e73·7420·6e6f·726d········const·norm | |||
| 00001bd0:·616c·697a·6564·4865·7820·3d20·6865·782e··alizedHex·=·hex. | |||
| 00001be0:·746f·5570·7065·7243·6173·6528·290a·2020··toUpperCase().·· | |||
| 00001bf0:·2020·2020·2020·636f·6e73·7420·6465·636f········const·deco | |||
| 00001c00:·6465·6420·3d20·5374·7269·6e67·2e66·726f··ded·=·String.fro | |||
| 00001c10:·6d43·6861·7243·6f64·6528·7061·7273·6549··mCharCode(parseI | |||
| 00001c20:·6e74·286e·6f72·6d61·6c69·7a65·6448·6578··nt(normalizedHex | |||
| 00001c30:·2c20·3136·2929·0a0a·2020·2020·2020·2020··,·16))..········ | |||
| 00001c40:·6966·2028·6465·636f·6465·556e·7265·7365··if·(decodeUnrese | |||
| 00001c50:·7276·6564·2026·2620·6973·556e·7265·7365··rved·&&·isUnrese | |||
| 00001c60:·7276·6564·2864·6563·6f64·6564·2929·207b··rved(decoded))·{ | |||
| 00001c70:·0a20·2020·2020·2020·2020·206f·7574·7075··.··········outpu | |||
| 00001c80:·7420·2b3d·2064·6563·6f64·6564·0a20·2020··t·+=·decoded.··· | |||
| 00001c90:·2020·2020·207d·2065·6c73·6520·7b0a·2020·······}·else·{.·· | |||
| 00001ca0:·2020·2020·2020·2020·6f75·7470·7574·202b··········output·+ | |||
| 00001cb0:·3d20·2725·2720·2b20·6e6f·726d·616c·697a··=·'%'·+·normaliz | |||
| 00001cc0:·6564·4865·780a·2020·2020·2020·2020·7d0a··edHex.········}. | |||
| 00001cd0:·0a20·2020·2020·2020·2069·202b·3d20·320a··.········i·+=·2. | |||
| 00001ce0:·2020·2020·2020·2020·636f·6e74·696e·7565··········continue | |||
| 00001cf0:·0a20·2020·2020·207d·0a20·2020·207d·0a0a··.······}.····}.. | |||
| 00001d00:·2020·2020·6f75·7470·7574·202b·3d20·696e······output·+=·in | |||
| 00001d10:·7075·745b·695d·0a20·207d·0a0a·2020·7265··put[i].··}..··re | |||
| 00001d20:·7475·726e·206f·7574·7075·740a·7d0a·0a2f··turn·output.}../ | |||
| 00001d30:·2a2a·0a20·2a20·4e6f·726d·616c·697a·6573··**.·*·Normalizes | |||
| 00001d40:·2070·6174·6820·6461·7461·2077·6974·686f···path·data·witho | |||
| 00001d50:·7574·2074·7572·6e69·6e67·2072·6573·6572··ut·turning·reser | |||
| 00001d60:·7665·6420·6573·6361·7065·7320·696e·746f··ved·escapes·into | |||
| 00001d70:·206c·6976·6520·7061·7468·2073·796e·7461···live·path·synta | |||
| 00001d80:·782e·0a20·2a20·5661·6c69·6420·6573·6361··x..·*·Valid·esca | |||
| 00001d90:·7065·7320·6172·6520·7570·7065·7263·6173··pes·are·uppercas | |||
| 00001da0:·6564·2c20·7261·7720·756e·7361·6665·2063··ed,·raw·unsafe·c | |||
| 00001db0:·6861·7261·6374·6572·7320·6172·6520·6573··haracters·are·es | |||
| 00001dc0:·6361·7065·642c·2061·6e64·206f·6e6c·790a··caped,·and·only. | |||
| 00001dd0:·202a·2075·6e72·6573·6572·7665·6420·6279···*·unreserved·by | |||
| Max diff block lines reached; -1/33470 bytes (-0.00%) of diff not shown. | |||
| Offset 60, 9 lines modified | Offset 60, 9 lines modified | ||
| 60 | ········"test:browser:webkit":·"playwright-test·./test/*·--runner·tape·--browser=webkit", | 60 | ········"test:browser:webkit":·"playwright-test·./test/*·--runner·tape·--browser=webkit", |
| 61 | ········"test:typescript":·"tsd", | 61 | ········"test:typescript":·"tsd", |
| 62 | ········"test:unit":·"tape·test/**/*.js", | 62 | ········"test:unit":·"tape·test/**/*.js", |
| 63 | ········"test:unit:dev":·"npm·run·test:unit·--·--coverage-report=html" | 63 | ········"test:unit:dev":·"npm·run·test:unit·--·--coverage-report=html" |
| 64 | ····}, | 64 | ····}, |
| 65 | ····"type":·"commonjs", | 65 | ····"type":·"commonjs", |
| 66 | ····"types":·"types/index.d.ts", | 66 | ····"types":·"types/index.d.ts", |
| 67 | ····"version":·"3.1. | 67 | ····"version":·"3.1.2" |
| 68 | } | 68 | } |
| Offset 207, 7 lines modified | Offset 207, 23 lines modified | ||
| 00000ce0:·6169·723a·205b·2757·5353·3a2f·2f41·4243··air:·['WSS://ABC | 00000ce0:·6169·723a·205b·2757·5353·3a2f·2f41·4243··air:·['WSS://ABC | ||
| 00000cf0:·2e43·4f4d·3a34·3433·2f63·6861·7423·6f6e··.COM:443/chat#on | 00000cf0:·2e43·4f4d·3a34·3433·2f63·6861·7423·6f6e··.COM:443/chat#on | ||
| 00000d00:·6527·2c20·2777·7373·3a2f·2f61·6263·2e63··e',·'wss://abc.c | 00000d00:·6527·2c20·2777·7373·3a2f·2f61·6263·2e63··e',·'wss://abc.c | ||
| 00000d10:·6f6d·2f63·6861·7427·5d2c·2072·6573·756c··om/chat'],·resul | 00000d10:·6f6d·2f63·6861·7427·5d2c·2072·6573·756c··om/chat'],·resul | ||
| 00000d20:·743a·2074·7275·6520·7d0a·2020·5d0a·0a20··t:·true·}.··]..· | 00000d20:·743a·2074·7275·6520·7d0a·2020·5d0a·0a20··t:·true·}.··]..· | ||
| 00000d30:·2072·756e·5465·7374·2874·2c20·7375·6974···runTest(t,·suit | 00000d30:·2072·756e·5465·7374·2874·2c20·7375·6974···runTest(t,·suit | ||
| 00000d40:·6529·0a20·2074·2e65·6e64·2829·0a7d·290a··e).··t.end().}). | 00000d40:·6529·0a20·2074·2e65·6e64·2829·0a7d·290a··e).··t.end().}). | ||
| 00000d50:·0a74·6573·7428·2755·5249·2045·7175·616c··.test('URI·Equal | |||
| 00000d60:·7320·746f·6c65·7261·7465·7320·6d61·6c66··s·tolerates·malf | |||
| 00000d70:·6f72·6d65·6420·6672·6167·6d65·6e74·7327··ormed·fragments' | |||
| 00000d80:·2c20·2874·2920·3d3e·207b·0a20·2074·2e65··,·(t)·=>·{.··t.e | |||
| 00000d90:·7175·616c·280a·2020·2020·6661·7374·5552··qual(.····fastUR | |||
| 00000da0:·492e·6571·7561·6c28·2768·7474·703a·2f2f··I.equal('http:// | |||
| 00000db0:·6578·616d·706c·652e·636f·6d2f·2325·4530··example.com/#%E0 | |||
| 00000dc0:·2541·3441·272c·2027·6874·7470·3a2f·2f65··%A4A',·'http://e | |||
| 00000dd0:·7861·6d70·6c65·2e63·6f6d·2f23·2545·3025··xample.com/#%E0% | |||
| 00000de0:·4134·4127·292c·0a20·2020·2074·7275·652c··A4A'),.····true, | |||
| 00000df0:·0a20·2020·2027·6d61·6c66·6f72·6d65·6420··.····'malformed· | |||
| 00000e00:·6672·6167·6d65·6e74·2064·6f65·7320·6e6f··fragment·does·no | |||
| 00000e10:·7420·7468·726f·7720·6475·7269·6e67·2065··t·throw·during·e | |||
| 00000e20:·7175·616c·6974·7920·6368·6563·6b73·270a··quality·checks'. | |||
| 00000e30:·2020·290a·2020·742e·656e·6428·290a·7d29····).··t.end().}) | |||
| 00000e40:·0a·······································. |
| Offset 377, 499 lines modified | Offset 377, 516 lines modified | ||
| 00001780:·7473·2e70·6174·682c·2027·272c·2027·7061··ts.path,·'',·'pa | 00001780:·7473·2e70·6174·682c·2027·272c·2027·7061··ts.path,·'',·'pa | ||
| 00001790:·7468·2729·0a20·2074·2e65·7175·616c·2863··th').··t.equal(c | 00001790:·7468·2729·0a20·2074·2e65·7175·616c·2863··th').··t.equal(c | ||
| 000017a0:·6f6d·706f·6e65·6e74·732e·7175·6572·792c··omponents.query, | 000017a0:·6f6d·706f·6e65·6e74·732e·7175·6572·792c··omponents.query, | ||
| 000017b0:·2075·6e64·6566·696e·6564·2c20·2771·7565···undefined,·'que | 000017b0:·2075·6e64·6566·696e·6564·2c20·2771·7565···undefined,·'que | ||
| 000017c0:·7279·2729·0a20·2074·2e65·7175·616c·2863··ry').··t.equal(c | 000017c0:·7279·2729·0a20·2074·2e65·7175·616c·2863··ry').··t.equal(c | ||
| 000017d0:·6f6d·706f·6e65·6e74·732e·6672·6167·6d65··omponents.fragme | 000017d0:·6f6d·706f·6e65·6e74·732e·6672·6167·6d65··omponents.fragme | ||
| 000017e0:·6e74·2c20·2725·3044·272c·2027·6672·6167··nt,·'%0D',·'frag | 000017e0:·6e74·2c20·2725·3044·272c·2027·6672·6167··nt,·'%0D',·'frag | ||
| 000017f0:·6d65·6e74·2729·0a0a·2020·2f2f·206 | 000017f0:·6d65·6e74·2729·0a0a·2020·2f2f·206d·616c··ment')..··//·mal | ||
| 00001800:·666f·726d·6564·2070·6572·6365·6e74·2d65··formed·percent-e | |||
| 00001810:·6e63·6f64·6564·2066·7261·676d·656e·7420··ncoded·fragment· | |||
| 00001820:·6d75·7374·206e·6f74·2074·6872·6f77·0a20··must·not·throw.· | |||
| 000018 | 00001830:·2063·6f6d·706f·6e65·6e74·7320·3d20·6661···components·=·fa | ||
| 000018 | 00001840:·7374·5552·492e·7061·7273·6528·2768·7474··stURI.parse('htt | ||
| 00001850:·703a·2f2f·6578·616d·706c·652e·636f·6d2f··p://example.com/ | |||
| 00001860:·2325·4530·2541·3441·2729·0a20·2074·2e65··#%E0%A4A').··t.e | |||
| 00001820:·7269·3a2f·2f75·7365·723a·7061·7373·4065··ri://user:pass@e | |||
| 00001830:·7861·6d70·6c65·2e63·6f6d·3a31·3233·2f6f··xample.com:123/o | |||
| 00001840:·6e65·2f74·776f·2e74·6872·6565·3f71·313d··ne/two.three?q1= | |||
| 00001850:·6131·2671·323d·6132·2362·6f64·7927·290a··a1&q2=a2#body'). | |||
| 00001860:·2020·742e·6571·7561·6c28·636f·6d70·6f6e····t.equal(compon | |||
| 00001870:·656e·7473·2e65·7272·6f72·2c20·756e·6465··ents.error,·unde | |||
| 00001880:·6669·6e65·642c·2027·616c·6c20·6572·726f··fined,·'all·erro | |||
| 00001890:·7273·2729·0a20·2074·2e65·7175·616c·2863··rs').··t.equal(c | |||
| 000018a0:·6f6d·706f·6e65·6e74·732e·7363·6865·6d65··omponents.scheme | |||
| 000018b0:·2c20·2775·7269·272c·2027·7363·6865·6d65··,·'uri',·'scheme | |||
| 000018c0:·2729·0a20·202f·2f20·742e·6571·7561·6c28··').··//·t.equal( | |||
| 000018d0:·636f·6d70·6f6e·656e·7473·2e61·7574·686f··components.autho | |||
| 000018e0:·7269·7479·2c20·2275·7365·723a·7061·7373··rity,·"user:pass | |||
| 000018f0:·4065·7861·6d70·6c65·2e63·6f6d·3a31·3233··@example.com:123 | |||
| 00001900:·222c·2022·6175·7468·6f72·6974·7922·293b··",·"authority"); | |||
| 00001910:·0a20·2074·2e65·7175·616c·2863·6f6d·706f··.··t.equal(compo | |||
| 00001920:·6e65·6e74·732e·7573·6572·696e·666f·2c20··nents.userinfo,· | |||
| 00001930:·2775·7365·723a·7061·7373·272c·2027·7573··'user:pass',·'us | |||
| 00001940:·6572·696e·666f·2729·0a20·2074·2e65·7175··erinfo').··t.equ | |||
| 00001950:·616c·2863·6f6d·706f·6e65·6e74·732e·686f··al(components.ho | |||
| 00001960:·7374·2c20·2765·7861·6d70·6c65·2e63·6f6d··st,·'example.com | |||
| 00001970:·272c·2027·686f·7374·2729·0a20·2074·2e65··',·'host').··t.e | |||
| 00001 | 00001870:·7175·616c·2863·6f6d·706f·6e65·6e74·732e··qual(components. | ||
| 00001 | 00001880:·6572·726f·722c·2027·5552·4920·6d61·6c66··error,·'URI·malf | ||
| 00001890:·6f72·6d65·6427·2c20·276d·616c·666f·726d··ormed',·'malform | |||
| 000018a0:·6564·2066·7261·676d·656e·7420·6572·726f··ed·fragment·erro | |||
| 00001 | 000018b0:·7273·2729·0a20·2074·2e65·7175·616c·2863··rs').··t.equal(c | ||
| 000019b0:·706f·6e65·6e74·732e·7061·7468·2c20·272f··ponents.path,·'/ | |||
| 000019c0:·6f6e·652f·7477·6f2e·7468·7265·6527·2c20··one/two.three',· | |||
| 000019d0:·2770·6174·6827·290a·2020·742e·6571·7561··'path').··t.equa | |||
| 000019e0:·6c28·636f·6d70·6f6e·656e·7473·2e71·7565··l(components.que | |||
| 000019f0:·7279·2c20·2771·313d·6131·2671·323d·6132··ry,·'q1=a1&q2=a2 | |||
| 00001 | 000018c0:·6f6d·706f·6e65·6e74·732e·6672·6167·6d65··omponents.fragme | ||
| 000018d0:·6e74·2c20·2725·4530·2541·3441·272c·2027··nt,·'%E0%A4A',·' | |||
| 000018e0:·6d61·6c66·6f72·6d65·6420·6672·6167·6d65··malformed·fragme | |||
| 000018f0:·6e74·2069·7320·7072·6573·6572·7665·6427··nt·is·preserved' | |||
| 00001900:·290a·0a20·202f·2f20·616c·6c0a·2020·636f··)..··//·all.··co | |||
| 00001910:·6d70·6f6e·656e·7473·203d·2066·6173·7455··mponents·=·fastU | |||
| 00001920:·5249·2e70·6172·7365·2827·7572·693a·2f2f··RI.parse('uri:// | |||
| 00001930:·7573·6572·3a70·6173·7340·6578·616d·706c··user:pass@exampl | |||
| 00001940:·652e·636f·6d3a·3132·332f·6f6e·652f·7477··e.com:123/one/tw | |||
| 00001950:·6f2e·7468·7265·653f·7131·3d61·3126·7132··o.three?q1=a1&q2 | |||
| 00001960:·3d61·3223·626f·6479·2729·0a20·2074·2e65··=a2#body').··t.e | |||
| 00001970:·7175·616c·2863·6f6d·706f·6e65·6e74·732e··qual(components. | |||
| 00001980:·6572·726f·722c·2075·6e64·6566·696e·6564··error,·undefined | |||
| 00001990:·2c20·2761·6c6c·2065·7272·6f72·7327·290a··,·'all·errors'). | |||
| 000019a0:·2020·742e·6571·7561·6c28·636f·6d70·6f6e····t.equal(compon | |||
| 000019b0:·656e·7473·2e73·6368·656d·652c·2027·7572··ents.scheme,·'ur | |||
| 000019c0:·6927·2c20·2773·6368·656d·6527·290a·2020··i',·'scheme').·· | |||
| 000019d0:·2f2f·2074·2e65·7175·616c·2863·6f6d·706f··//·t.equal(compo | |||
| 000019e0:·6e65·6e74·732e·6175·7468·6f72·6974·792c··nents.authority, | |||
| 000019f0:·2022·7573·6572·3a70·6173·7340·6578·616d···"user:pass@exam | |||
| 00001a00:·706c·652e·636f·6d3a·3132·3322·2c20·2261··ple.com:123",·"a | |||
| 00001a10:·7574·686f·7269·7479·2229·3b0a·2020·742e··uthority");.··t. | |||
| 00001a | 00001a20:·6571·7561·6c28·636f·6d70·6f6e·656e·7473··equal(components | ||
| 00001a30:·2e75·7365·7269·6e66·6f2c·2027·7573·6572··.userinfo,·'user | |||
| 00001a40:·3a70·6173·7327·2c20·2775·7365·7269·6e66··:pass',·'userinf | |||
| 00001a50:·6f27·290a·2020·742e·6571·7561·6c28·636f··o').··t.equal(co | |||
| 00001a60:·6d70·6f6e·656e·7473·2e68·6f73·742c·2027··mponents.host,·' | |||
| 00001a70:·6578·616d·706c·652e·636f·6d27·2c20·2768··example.com',·'h | |||
| 00001a80:·6f73·7427·290a·2020·742e·6571·7561·6c28··ost').··t.equal( | |||
| 00001a90:·636f·6d70·6f6e·656e·7473·2e70·6f72·742c··components.port, | |||
| 00001aa0:·2031·3233·2c20·2770·6f72·7427·290a·2020···123,·'port').·· | |||
| 00001a20:·2e66·7261·676d·656e·742c·2027·626f·6479··.fragment,·'body | |||
| 00001a30:·272c·2027·6672·6167·6d65·6e74·2729·0a0a··',·'fragment').. | |||
| 00001a40:·2020·2f2f·2049·5076·3461·6464·7265·7373····//·IPv4address | |||
| 00001a50:·0a20·2063·6f6d·706f·6e65·6e74·7320·3d20··.··components·=· | |||
| 00001a60:·6661·7374·5552·492e·7061·7273·6528·272f··fastURI.parse('/ | |||
| 00001a70:·2f31·302e·3130·2e31·302e·3130·2729·0a20··/10.10.10.10').· | |||
| 00001a80:·2074·2e65·7175·616c·2863·6f6d·706f·6e65···t.equal(compone | |||
| 00001a90:·6e74·732e·6572·726f·722c·2075·6e64·6566··nts.error,·undef | |||
| 00001aa0:·696e·6564·2c20·2749·5076·3461·6464·7265··ined,·'IPv4addre | |||
| 00001ab0:·7373·2065·7272·6f72·7327·290a·2020·742e··ss·errors').··t. | |||
| 00001ac0:·6571·7561·6c28·636f·6d70·6f6e·656e·7473··equal(components | |||
| 00001ad0:·2e73·6368·656d·652c·2075·6e64·6566·696e··.scheme,·undefin | |||
| 00001ae0:·6564·2c20·2773·6368·656d·6527·290a·2020··ed,·'scheme').·· | |||
| 00001a | 00001ab0:·742e·6571·7561·6c28·636f·6d70·6f6e·656e··t.equal(componen | ||
| 00001ac0:·7473·2e70·6174·682c·2027·2f6f·6e65·2f74··ts.path,·'/one/t | |||
| 00001ad0:·776f·2e74·6872·6565·272c·2027·7061·7468··wo.three',·'path | |||
| 00001b00:·7473·2e75·7365·7269·6e66·6f2c·2075·6e64··ts.userinfo,·und | |||
| 00001b10:·6566·696e·6564·2c20·2775·7365·7269·6e66··efined,·'userinf | |||
| 00001b20:·6f27·290a·2020·742e·6571·7561·6c28·636f··o').··t.equal(co | |||
| 00001b30:·6d70·6f6e·656e·7473·2e68·6f73·742c·2027··mponents.host,·' | |||
| 00001b40:·3130·2e31·302e·3130·2e31·3027·2c20·2768··10.10.10.10',·'h | |||
| Max diff block lines reached; 53732/69488 bytes (77.33%) of diff not shown. | |||
| Offset 258, 8 lines modified | Offset 258, 23 lines modified | ||
| 00001010:·616c·2866·6173·7455·5249·2e72·6573·6f6c··al(fastURI.resol | 00001010:·616c·2866·6173·7455·5249·2e72·6573·6f6c··al(fastURI.resol | ||
| 00001020:·7665·2827·7572·6e3a·736f·6d65·3a6f·7468··ve('urn:some:oth | 00001020:·7665·2827·7572·6e3a·736f·6d65·3a6f·7468··ve('urn:some:oth | ||
| 00001030:·6572·3a70·726f·7027·2c20·2775·726e·3a73··er:prop',·'urn:s | 00001030:·6572·3a70·726f·7027·2c20·2775·726e·3a73··er:prop',·'urn:s | ||
| 00001040:·6f6d·653a·6970·3a70·726f·7027·292c·2027··ome:ip:prop'),·' | 00001040:·6f6d·653a·6970·3a70·726f·7027·292c·2027··ome:ip:prop'),·' | ||
| 00001050:·7572·6e3a·736f·6d65·3a69·703a·7072·6f70··urn:some:ip:prop | 00001050:·7572·6e3a·736f·6d65·3a69·703a·7072·6f70··urn:some:ip:prop | ||
| 00001060:·272c·2027·7572·6e3a·736f·6d65·3a69·703a··',·'urn:some:ip: | 00001060:·272c·2027·7572·6e3a·736f·6d65·3a69·703a··',·'urn:some:ip: | ||
| 00001070:·7072·6f70·2729·0a20·2074·2e65·6e64·2829··prop').··t.end() | 00001070:·7072·6f70·2729·0a20·2074·2e65·6e64·2829··prop').··t.end() | ||
| 00001080:·0a7d·290a· | 00001080:·0a7d·290a·0a74·6573·7428·2755·5249·2052··.})..test('URI·R | ||
| 00001090:·6573·6f6c·7669·6e67·2074·6f6c·6572·6174··esolving·tolerat | |||
| 000010a0:·6573·206d·616c·666f·726d·6564·2066·7261··es·malformed·fra | |||
| 000010b0:·676d·656e·7473·272c·2028·7429·203d·3e20··gments',·(t)·=>· | |||
| 000010c0:·7b0a·2020·742e·6571·7561·6c28·0a20·2020··{.··t.equal(.··· | |||
| 000010d0:·2066·6173·7455·5249·2e72·6573·6f6c·7665···fastURI.resolve | |||
| 000010e0:·2827·6874·7470·3a2f·2f62·6173·652e·636f··('http://base.co | |||
| 000010f0:·6d2f·272c·2027·6874·7470·3a2f·2f65·7861··m/',·'http://exa | |||
| 00001100:·6d70·6c65·2e63·6f6d·2f23·2545·3025·4134··mple.com/#%E0%A4 | |||
| 00001110:·4127·292c·0a20·2020·2027·6874·7470·3a2f··A'),.····'http:/ | |||
| 00001120:·2f65·7861·6d70·6c65·2e63·6f6d·2f23·2545··/example.com/#%E | |||
| 00001130:·3025·4134·4127·2c0a·2020·2020·276d·616c··0%A4A',.····'mal | |||
| 00001140:·666f·726d·6564·2066·7261·676d·656e·7420··formed·fragment· | |||
| 00001150:·646f·6573·206e·6f74·2074·6872·6f77·2064··does·not·throw·d | |||
| 00001160:·7572·696e·6720·7265·736f·6c76·6527·0a20··uring·resolve'.· | |||
| 00001170:·2029·0a20·2074·2e65·6e64·2829·0a7d·290a···).··t.end().}). |
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | [<img·align="center"·src="https://cacheable.org/symbol.svg"·alt="Cacheable"·/>](https://github.com/jaredwray/cacheable) | 1 | [<img·align="center"·src="https://cacheable.org/symbol.svg"·alt="Cacheable"·/>](https://github.com/jaredwray/cacheable) |
| 2 | #·file-entry-cache | 2 | #·file-entry-cache |
| 3 | >·A·lightweight·cache·for·file·metadata,·ideal·for·processes·that·work·on·a·specific·set·of·files·and·only·need·to·reprocess·files·that·have·changed·since·the·last·run | 3 | >·A·lightweight·cache·for·file·metadata,·ideal·for·processes·that·work·on·a·specific·set·of·files·and·only·need·to·reprocess·files·that·have·changed·since·the·last·run |
| 4 | [](https://codecov.io/gh/jaredwray/cacheable) | 4 | [](https://codecov.io/gh/jaredwray/cacheable) |
| 5 | [](https://github.com/jaredwray/cacheable/actions/workflows/tests.yml) | 5 | [](https://github.com/jaredwray/cacheable/actions/workflows/tests.yml) |
| 6 | [](https://www.npmjs.com/package/file-entry-cache) | 6 | [](https://www.npmjs.com/package/file-entry-cache) |
| 7 | [](https://www.npmjs.com/package/file-entry-cache) | 7 | [](https://www.npmjs.com/package/file-entry-cache) |
| 8 | [](https://github.com/jaredwray/cacheable/blob/main/LICENSE) | 8 | [](https://github.com/jaredwray/cacheable/blob/main/LICENSE) |
| 9 | #·Features | 9 | #·Features |
| Offset 1, 22 lines modified | Offset 1, 17 lines modified | ||
| 1 | { | 1 | { |
| 2 | ····"author":·"Jared·Wray·<[email protected]>", | 2 | ····"author":·"Jared·Wray·<[email protected]>", |
| 3 | ····"dependencies":·{ | 3 | ····"dependencies":·{ |
| 4 | ········"flat-cache":·"^6.1.2 | 4 | ········"flat-cache":·"^6.1.22" |
| 5 | ····}, | 5 | ····}, |
| 6 | ····"description":·"A·lightweight·cache·for·file·metadata,·ideal·for·processes·that·work·on·a·specific·set·of·files·and·only·need·to·reprocess·files·that·have·changed·since·the·last·run", | 6 | ····"description":·"A·lightweight·cache·for·file·metadata,·ideal·for·processes·that·work·on·a·specific·set·of·files·and·only·need·to·reprocess·files·that·have·changed·since·the·last·run", |
| 7 | ····"devDependencies":·{ | 7 | ····"devDependencies":·{ |
| 8 | ········"@biomejs/biome":·"^2.3.11", | ||
| 9 | ········"@types/node":·"^25.0.8", | ||
| 10 | ········"@vitest/coverage-v8":·"^4.0.17", | ||
| 11 | ········"pino":·"^10. | 8 | ········"pino":·"^10.3.1", |
| 12 | ········"rimraf":·"^6.1.2", | ||
| 13 | ········"tsup":·"^8.5.1", | 9 | ········"tsup":·"^8.5.1", |
| 14 | ········"typescript":·"^5.9.3" | 10 | ········"typescript":·"^5.9.3" |
| 15 | ········"vitest":·"^4.0.17" | ||
| 16 | ····}, | 11 | ····}, |
| 17 | ····"exports":·{ | 12 | ····"exports":·{ |
| 18 | ········".":·{ | 13 | ········".":·{ |
| 19 | ············"import":·{ | 14 | ············"import":·{ |
| 20 | ················"default":·"./dist/index.js", | 15 | ················"default":·"./dist/index.js", |
| 21 | ················"types":·"./dist/index.d.ts" | 16 | ················"types":·"./dist/index.d.ts" |
| 22 | ············}, | 17 | ············}, |
| Offset 48, 15 lines modified | Offset 43, 14 lines modified | ||
| 48 | ········"type":·"git", | 43 | ········"type":·"git", |
| 49 | ········"url":·"git+https://github.com/jaredwray/cacheable.git" | 44 | ········"url":·"git+https://github.com/jaredwray/cacheable.git" |
| 50 | ····}, | 45 | ····}, |
| 51 | ····"scripts":·{ | 46 | ····"scripts":·{ |
| 52 | ········"build":·"rimraf·./dist·&&·tsup·src/index.ts·--format·cjs,esm·--dts·--clean", | 47 | ········"build":·"rimraf·./dist·&&·tsup·src/index.ts·--format·cjs,esm·--dts·--clean", |
| 53 | ········"clean":·"rimraf·./dist·./coverage·./node_modules", | 48 | ········"clean":·"rimraf·./dist·./coverage·./node_modules", |
| 54 | ········"lint":·"biome·check·--write·--error-on-warnings", | 49 | ········"lint":·"biome·check·--write·--error-on-warnings", |
| 55 | ········"prepublish":·"pnpm·build", | ||
| 56 | ········"test":·"pnpm·lint·&&·vitest·run·--coverage", | 50 | ········"test":·"pnpm·lint·&&·vitest·run·--coverage", |
| 57 | ········"test:ci":·"biome·check·--error-on-warnings·&&·vitest·run·--coverage" | 51 | ········"test:ci":·"biome·check·--error-on-warnings·&&·vitest·run·--coverage" |
| 58 | ····}, | 52 | ····}, |
| 59 | ····"type":·"module", | 53 | ····"type":·"module", |
| 60 | ····"types":·"./dist/index.d.ts", | 54 | ····"types":·"./dist/index.d.ts", |
| 61 | ····"version":·"11.1. | 55 | ····"version":·"11.1.3" |
| 62 | } | 56 | } |
| Offset 1, 277 lines modified | Offset 1, 296 lines modified | ||
| 00000000:·2f2f·2047·656e·6572·6174·6564·2062·7920··//·Generated·by· | 00000000:·2f2f·2047·656e·6572·6174·6564·2062·7920··//·Generated·by· | ||
| 00000010:·7363·7269·7074·732f·6275·696c·642e·6a73··scripts/build.js | 00000010:·7363·7269·7074·732f·6275·696c·642e·6a73··scripts/build.js | ||
| 00000020:·0a0a· | 00000020:·0a0a·6578·706f·7274·2063·6f6e·7374·2061··..export·const·a | ||
| 00000030:·6d62·6967·756f·7573·4d69·6e69·6d61·6c43··mbiguousMinimalC | |||
| 00000040:·6f64·6550·6f69·6e74·203d·2031·3631·3b0a··odePoint·=·161;. | |||
| 000000 | 00000050:·6578·706f·7274·2063·6f6e·7374·2061·6d62··export·const·amb | ||
| 00000060:·6967·756f·7573·4d61·7869·6d75·6d43·6f64··iguousMaximumCod | |||
| 00000070:·6550·6f69·6e74·203d·2031·3131·3431·3039··ePoint·=·1114109 | |||
| 00000080:·3b0a·6578·706f·7274·2063·6f6e·7374·2061··;.export·const·a | |||
| 000000 | 00000090:·6d62·6967·756f·7573·5261·6e67·6573·203d··mbiguousRanges·= | ||
| 000000 | 000000a0:·205b·3136·312c·2031·3631·2c20·3136·342c···[161,·161,·164, | ||
| 00000060:·2c20·3136·372c·2031·3638·2c20·3137·302c··,·167,·168,·170, | |||
| 000000 | 000000b0:·2031·3634·2c20·3136·372c·2031·3638·2c20···164,·167,·168,· | ||
| 000000 | 000000c0:·3137·302c·2031·3730·2c20·3137·332c·2031··170,·170,·173,·1 | ||
| 000000d0:·3734·2c20·3137·362c·2031·3830·2c20·3138··74,·176,·180,·18 | |||
| 000000 | 000000e0:·322c·2031·3836·2c20·3138·382c·2031·3931··2,·186,·188,·191 | ||
| 000000 | 000000f0:·2c20·3139·382c·2031·3938·2c20·3230·382c··,·198,·198,·208, | ||
| 000000 | 00000100:·2032·3038·2c20·3231·352c·2032·3136·2c20···208,·215,·216,· | ||
| 000000c0:·2032·3235·2c20·3233·302c·2032·3330·2c20···225,·230,·230,· | |||
| 00000 | 00000110:·3232·322c·2032·3235·2c20·3233·302c·2032··222,·225,·230,·2 | ||
| 00000 | 00000120:·3330·2c20·3233·322c·2032·3334·2c20·3233··30,·232,·234,·23 | ||
| 00000 | 00000130:·362c·2032·3337·2c20·3234·302c·2032·3430··6,·237,·240,·240 | ||
| 000001 | 00000140:·2c20·3234·322c·2032·3433·2c20·3234·372c··,·242,·243,·247, | ||
| 000001 | 00000150:·2032·3530·2c20·3235·322c·2032·3532·2c20···250,·252,·252,· | ||
| 000001 | 00000160:·3235·342c·2032·3534·2c20·3235·372c·2032··254,·254,·257,·2 | ||
| 000001 | 00000170:·3537·2c20·3237·332c·2032·3733·2c20·3237··57,·273,·273,·27 | ||
| 00000180:·352c·2032·3735·2c20·3238·332c·2032·3833··5,·275,·283,·283 | |||
| 000001 | 00000190:·2c20·3239·342c·2032·3935·2c20·3239·392c··,·294,·295,·299, | ||
| 000001 | 000001a0:·2032·3939·2c20·3330·352c·2033·3037·2c20···299,·305,·307,· | ||
| 00000160:·2033·3132·2c20·3331·392c·2033·3232·2c20···312,·319,·322,· | |||
| 000001 | 000001b0:·3331·322c·2033·3132·2c20·3331·392c·2033··312,·312,·319,·3 | ||
| 000001 | 000001c0:·3232·2c20·3332·342c·2033·3234·2c20·3332··22,·324,·324,·32 | ||
| 000001 | 000001d0:·382c·2033·3331·2c20·3333·332c·2033·3333··8,·331,·333,·333 | ||
| 000001 | 000001e0:·2c20·3333·382c·2033·3339·2c20·3335·382c··,·338,·339,·358, | ||
| 000001 | 000001f0:·2033·3539·2c20·3336·332c·2033·3633·2c20···359,·363,·363,· | ||
| 00000 | 00000200:·3436·322c·2034·3632·2c20·3436·342c·2034··462,·462,·464,·4 | ||
| 00000 | 00000210:·3634·2c20·3436·362c·2034·3636·2c20·3436··64,·466,·466,·46 | ||
| 00000 | 00000220:·382c·2034·3638·2c20·3437·302c·2034·3730··8,·468,·470,·470 | ||
| 00000 | 00000230:·2c20·3437·322c·2034·3732·2c20·3437·342c··,·472,·472,·474, | ||
| 00000240:·2034·3734·2c20·3437·362c·2034·3736·2c20···474,·476,·476,· | |||
| 000002 | 00000250:·3539·332c·2035·3933·2c20·3630·392c·2036··593,·593,·609,·6 | ||
| 000002 | 00000260:·3039·2c20·3730·382c·2037·3038·2c20·3731··09,·708,·708,·71 | ||
| 00000220:·3131·2c20·3731·332c·2037·3135·2c20·3731··11,·713,·715,·71 | |||
| 000002 | 00000270:·312c·2037·3131·2c20·3731·332c·2037·3135··1,·711,·713,·715 | ||
| 00000280:·2c20·3731·372c·2037·3137·2c20·3732·302c··,·717,·717,·720, | |||
| 000002 | 00000290:·2037·3230·2c20·3732·382c·2037·3331·2c20···720,·728,·731,· | ||
| 000002 | 000002a0:·3733·332c·2037·3333·2c20·3733·352c·2037··733,·733,·735,·7 | ||
| 000002 | 000002b0:·3335·2c20·3736·382c·2038·3739·2c20·3931··35,·768,·879,·91 | ||
| 000002 | 000002c0:·332c·2039·3239·2c20·3933·312c·2039·3337··3,·929,·931,·937 | ||
| 000002 | 000002d0:·2c20·3934·352c·2039·3631·2c20·3936·332c··,·945,·961,·963, | ||
| 000002e0:·2039·3639·2c20·3130·3235·2c20·3130·3235···969,·1025,·1025 | |||
| 000002 | 000002f0:·2c20·3130·3430·2c20·3131·3033·2c20·3131··,·1040,·1103,·11 | ||
| 000002a0:·3430·2c20·3131·3033·2c20·3131·3035·2c20··40,·1103,·1105,· | |||
| 00000 | 00000300:·3035·2c20·3131·3035·2c20·3832·3038·2c20··05,·1105,·8208,· | ||
| 00000310:·3832·3038·2c20·3832·3131·2c20·3832·3134··8208,·8211,·8214 | |||
| 00000 | 00000320:·2c20·3832·3136·2c20·3832·3137·2c20·3832··,·8216,·8217,·82 | ||
| 00000 | 00000330:·3230·2c20·3832·3231·2c20·3832·3234·2c20··20,·8221,·8224,· | ||
| 00000 | 00000340:·3832·3236·2c20·3832·3238·2c20·3832·3331··8226,·8228,·8231 | ||
| 00000 | 00000350:·2c20·3832·3430·2c20·3832·3430·2c20·3832··,·8240,·8240,·82 | ||
| 000003 | 00000360:·3432·2c20·3832·3433·2c20·3832·3435·2c20··42,·8243,·8245,· | ||
| 000003 | 00000370:·3832·3435·2c20·3832·3531·2c20·3832·3531··8245,·8251,·8251 | ||
| 000003 | 00000380:·2c20·3832·3534·2c20·3832·3534·2c20·3833··,·8254,·8254,·83 | ||
| 00000390:·3038·2c20·3833·3038·2c20·3833·3139·2c20··08,·8308,·8319,· | |||
| 000003a0:·3833·3139·2c20·3833·3231·2c20·3833·3234··8319,·8321,·8324 | |||
| 000003b0:·2c20·3833·3634·2c20·3833·3634·2c20·3834··,·8364,·8364,·84 | |||
| 000003 | 000003c0:·3531·2c20·3834·3531·2c20·3834·3533·2c20··51,·8451,·8453,· | ||
| 000003d0:·3834·3533·2c20·3834·3537·2c20·3834·3537··8453,·8457,·8457 | |||
| 00000340:·3833·3038·2c20·3833·3139·2c20·3833·3139··8308,·8319,·8319 | |||
| 00000350:·2c20·3833·3231·2c20·3833·3234·2c20·3833··,·8321,·8324,·83 | |||
| 00000360:·3634·2c20·3833·3634·2c20·3834·3531·2c20··64,·8364,·8451,· | |||
| 00000370:·3834·3531·2c20·3834·3533·2c20·3834·3533··8451,·8453,·8453 | |||
| 000003 | 000003e0:·2c20·3834·3637·2c20·3834·3637·2c20·3834··,·8467,·8467,·84 | ||
| 000003 | 000003f0:·3730·2c20·3834·3730·2c20·3834·3831·2c20··70,·8470,·8481,· | ||
| 00000 | 00000400:·3834·3832·2c20·3834·3836·2c20·3834·3836··8482,·8486,·8486 | ||
| 00000 | 00000410:·2c20·3834·3931·2c20·3834·3931·2c20·3835··,·8491,·8491,·85 | ||
| 00000 | 00000420:·3331·2c20·3835·3332·2c20·3835·3339·2c20··31,·8532,·8539,· | ||
| 00000 | 00000430:·3835·3432·2c20·3835·3434·2c20·3835·3535··8542,·8544,·8555 | ||
| 00000 | 00000440:·2c20·3835·3630·2c20·3835·3639·2c20·3835··,·8560,·8569,·85 | ||
| 000003f0:·3630·2c20·3835·3639·2c20·3835·3835·2c20··60,·8569,·8585,· | |||
| 000004 | 00000450:·3835·2c20·3835·3835·2c20·3835·3932·2c20··85,·8585,·8592,· | ||
| 00000460:·3836·3031·2c20·3836·3332·2c20·3836·3333··8601,·8632,·8633 | |||
| 000004 | 00000470:·2c20·3836·3538·2c20·3836·3538·2c20·3836··,·8658,·8658,·86 | ||
| 00000420:·3538·2c20·3836·3538·2c20·3836·3630·2c20··58,·8658,·8660,· | |||
| 000004 | 00000480:·3630·2c20·3836·3630·2c20·3836·3739·2c20··60,·8660,·8679,· | ||
| 00000490:·3836·3739·2c20·3837·3034·2c20·3837·3034··8679,·8704,·8704 | |||
| 000004 | 000004a0:·2c20·3837·3036·2c20·3837·3037·2c20·3837··,·8706,·8707,·87 | ||
| 00000450:·3036·2c20·3837·3037·2c20·3837·3131·2c20··06,·8707,·8711,· | |||
| 000004 | 000004b0:·3131·2c20·3837·3132·2c20·3837·3135·2c20··11,·8712,·8715,· | ||
| 000004c0:·3837·3135·2c20·3837·3139·2c20·3837·3139··8715,·8719,·8719 | |||
| 000004d0:·2c20·3837·3231·2c20·3837·3231·2c20·3837··,·8721,·8721,·87 | |||
| 000004e0:·3235·2c20·3837·3235·2c20·3837·3330·2c20··25,·8725,·8730,· | |||
| 000004f0:·3837·3330·2c20·3837·3333·2c20·3837·3336··8730,·8733,·8736 | |||
| 00000 | 00000500:·2c20·3837·3339·2c20·3837·3339·2c20·3837··,·8739,·8739,·87 | ||
| 00000 | 00000510:·3431·2c20·3837·3431·2c20·3837·3433·2c20··41,·8741,·8743,· | ||
| 00000 | 00000520:·3837·3438·2c20·3837·3530·2c20·3837·3530··8748,·8750,·8750 | ||
| 000004a0:·2c20·3837·3333·2c20·3837·3336·2c20·3837··,·8733,·8736,·87 | |||
| 000004b0:·3339·2c20·3837·3339·2c20·3837·3431·2c20··39,·8739,·8741,· | |||
| 000004c0:·3837·3431·2c20·3837·3433·2c20·3837·3438··8741,·8743,·8748 | |||
| 00000 | 00000530:·2c20·3837·3536·2c20·3837·3539·2c20·3837··,·8756,·8759,·87 | ||
| Max diff block lines reached; -1/39406 bytes (-0.00%) of diff not shown. | |||
| Offset 1, 183 lines modified | Offset 1, 167 lines modified | ||
| 00000000:·696d·706f·7274·207b·0a09·616d·6269·6775··import·{..ambigu | 00000000:·696d·706f·7274·207b·0a09·616d·6269·6775··import·{..ambigu | ||
| 00000010:·6f75·7352·616e·6765·732c·0a09·6675·6c6c··ousRanges,..full | |||
| 00000020:·7769·6474·6852·616e·6765·732c·0a09·6861··widthRanges,..ha | |||
| 00000030:·6c66·7769·6474·6852·616e·6765·732c·0a09··lfwidthRanges,.. | |||
| 000000 | 00000010:·6f75·734d·696e·696d·616c·436f·6465·506f··ousMinimalCodePo | ||
| 00000020:·696e·742c·0a09·616d·6269·6775·6f75·734d··int,..ambiguousM | |||
| 00000030:·6178·696d·756d·436f·6465·506f·696e·742c··aximumCodePoint, | |||
| 00000040:·0a09·616d·6269·6775·6f75·7352·616e·6765··..ambiguousRange | |||
| 00000050:·732c·0a0a·0966·756c·6c77·6964·7468·4d69··s,...fullwidthMi | |||
| 00000060:·6e69·6d61·6c43·6f64·6550·6f69·6e74·2c0a··nimalCodePoint,. | |||
| 00000070:·0966·756c·6c77·6964·7468·4d61·7869·6d75··.fullwidthMaximu | |||
| 00000080:·6d43·6f64·6550·6f69·6e74·2c0a·0966·756c··mCodePoint,..ful | |||
| 00000090:·6c77·6964·7468·5261·6e67·6573·2c0a·0a09··lwidthRanges,... | |||
| 000000a0:·6861·6c66·7769·6474·684d·696e·696d·616c··halfwidthMinimal | |||
| 000000b0:·436f·6465·506f·696e·742c·0a09·6861·6c66··CodePoint,..half | |||
| 000000c0:·7769·6474·684d·6178·696d·756d·436f·6465··widthMaximumCode | |||
| 000000d0:·506f·696e·742c·0a09·6861·6c66·7769·6474··Point,..halfwidt | |||
| 000000e0:·6852·616e·6765·732c·0a0a·096e·6172·726f··hRanges,...narro | |||
| 000000f0:·774d·696e·696d·616c·436f·6465·506f·696e··wMinimalCodePoin | |||
| 00000100:·742c·0a09·6e61·7272·6f77·4d61·7869·6d75··t,..narrowMaximu | |||
| 00000110:·6d43·6f64·6550·6f69·6e74·2c0a·096e·6172··mCodePoint,..nar | |||
| 00000120:·726f·7752·616e·6765·732c·0a0a·0977·6964··rowRanges,...wid | |||
| 00000130:·654d·696e·696d·616c·436f·6465·506f·696e··eMinimalCodePoin | |||
| 00000140:·742c·0a09·7769·6465·4d61·7869·6d75·6d43··t,..wideMaximumC | |||
| 00000150:·6f64·6550·6f69·6e74·2c0a·0977·6964·6552··odePoint,..wideR | |||
| 00000 | 00000160:·616e·6765·732c·0a7d·2066·726f·6d20·272e··anges,.}·from·'. | ||
| 00000 | 00000170:·2f6c·6f6f·6b75·702d·6461·7461·2e6a·7327··/lookup-data.js' | ||
| 00000 | 00000180:·3b0a·696d·706f·7274·207b·6973·496e·5261··;.import·{isInRa | ||
| 00000 | 00000190:·6e67·657d·2066·726f·6d20·272e·2f75·7469··nge}·from·'./uti | ||
| 00000 | 000001a0:·6c69·7469·6573·2e6a·7327·3b0a·0a63·6f6e··lities.js';..con | ||
| 000001b0:·7374·2063·6f6d·6d6f·6e43·6a6b·436f·6465··st·commonCjkCode | |||
| 000001c0:·506f·696e·7420·3d20·3078·3445·5f30·303b··Point·=·0x4E_00; | |||
| 000001d0:·0a63·6f6e·7374·205b·7769·6465·4661·7374··.const·[wideFast | |||
| 000001e0:·5061·7468·5374·6172·742c·2077·6964·6546··PathStart,·wideF | |||
| 000001f0:·6173·7450·6174·6845·6e64·5d20·3d20·2f2a··astPathEnd]·=·/* | |||
| 00000200:·2023·5f5f·5055·5245·5f5f·202a·2f20·6669···#__PURE__·*/·fi | |||
| 000000a0:·0a63·6f6e·7374·206d·696e·696d·756d·416d··.const·minimumAm | |||
| 000000b0:·6269·6775·6f75·7343·6f64·6550·6f69·6e74··biguousCodePoint | |||
| 000000c0:·203d·2061·6d62·6967·756f·7573·5261·6e67···=·ambiguousRang | |||
| 000000d0:·6573·5b30·5d3b·0a63·6f6e·7374·206d·6178··es[0];.const·max | |||
| 000000e0:·696d·756d·416d·6269·6775·6f75·7343·6f64··imumAmbiguousCod | |||
| 000000f0:·6550·6f69·6e74·203d·2061·6d62·6967·756f··ePoint·=·ambiguo | |||
| 00000100:·7573·5261·6e67·6573·2e61·7428·2d31·293b··usRanges.at(-1); | |||
| 00000110:·0a63·6f6e·7374·206d·696e·696d·756d·4675··.const·minimumFu | |||
| 00000120:·6c6c·5769·6474·6843·6f64·6550·6f69·6e74··llWidthCodePoint | |||
| 00000130:·203d·2066·756c·6c77·6964·7468·5261·6e67···=·fullwidthRang | |||
| 00000140:·6573·5b30·5d3b·0a63·6f6e·7374·206d·6178··es[0];.const·max | |||
| 00000150:·696d·756d·4675·6c6c·5769·6474·6843·6f64··imumFullWidthCod | |||
| 00000160:·6550·6f69·6e74·203d·2066·756c·6c77·6964··ePoint·=·fullwid | |||
| 00000170:·7468·5261·6e67·6573·2e61·7428·2d31·293b··thRanges.at(-1); | |||
| 00000180:·0a63·6f6e·7374·206d·696e·696d·756d·4861··.const·minimumHa | |||
| 00000190:·6c66·5769·6474·6843·6f64·6550·6f69·6e74··lfWidthCodePoint | |||
| 000001a0:·203d·2068·616c·6677·6964·7468·5261·6e67···=·halfwidthRang | |||
| 000001b0:·6573·5b30·5d3b·0a63·6f6e·7374·206d·6178··es[0];.const·max | |||
| 000001c0:·696d·756d·4861·6c66·5769·6474·6843·6f64··imumHalfWidthCod | |||
| 000001d0:·6550·6f69·6e74·203d·2068·616c·6677·6964··ePoint·=·halfwid | |||
| 000001e0:·7468·5261·6e67·6573·2e61·7428·2d31·293b··thRanges.at(-1); | |||
| 000001f0:·0a63·6f6e·7374·206d·696e·696d·756d·4e61··.const·minimumNa | |||
| 00000200:·7272·6f77·436f·6465·506f·696e·7420·3d20··rrowCodePoint·=· | |||
| 00000210:·6e61·7272·6f77·5261·6e67·6573·5b30·5d3b··narrowRanges[0]; | |||
| 00000220:·0a63·6f6e·7374·206d·6178·696d·756d·4e61··.const·maximumNa | |||
| 00000230:·7272·6f77·436f·6465·506f·696e·7420·3d20··rrowCodePoint·=· | |||
| 00000240:·6e61·7272·6f77·5261·6e67·6573·2e61·7428··narrowRanges.at( | |||
| 00000250:·2d31·293b·0a63·6f6e·7374·206d·696e·696d··-1);.const·minim | |||
| 00000260:·756d·5769·6465·436f·6465·506f·696e·7420··umWideCodePoint· | |||
| 00000270:·3d20·7769·6465·5261·6e67·6573·5b30·5d3b··=·wideRanges[0]; | |||
| 00000280:·0a63·6f6e·7374·206d·6178·696d·756d·5769··.const·maximumWi | |||
| 00000290:·6465·436f·6465·506f·696e·7420·3d20·7769··deCodePoint·=·wi | |||
| 000002a0:·6465·5261·6e67·6573·2e61·7428·2d31·293b··deRanges.at(-1); | |||
| 000002b0:·0a0a·636f·6e73·7420·636f·6d6d·6f6e·436a··..const·commonCj | |||
| 000002c0:·6b43·6f64·6550·6f69·6e74·203d·2030·7834··kCodePoint·=·0x4 | |||
| 000002d0:·455f·3030·3b0a·636f·6e73·7420·5b77·6964··E_00;.const·[wid | |||
| 000002e0:·6546·6173·7450·6174·6853·7461·7274·2c20··eFastPathStart,· | |||
| 000002f0:·7769·6465·4661·7374·5061·7468·456e·645d··wideFastPathEnd] | |||
| 00000300:·203d·2066·696e·6457·6964·6546·6173·7450···=·findWideFastP | |||
| 00000310:·6174·6852·616e·6765·2877·6964·6552·616e··athRange(wideRan | |||
| 00000320:·6765·7329·3b0a·0a2f·2f20·5573·6520·6120··ges);..//·Use·a· | |||
| 00000330:·686f·742d·7061·7468·2072·616e·6765·2073··hot-path·range·s | |||
| 00000340:·6f20·636f·6d6d·6f6e·2060·6973·5769·6465··o·common·`isWide | |||
| 00000350:·6020·6361·6c6c·7320·6361·6e20·736b·6970··`·calls·can·skip | |||
| 00000360:·2062·696e·6172·7920·7365·6172·6368·2e0a···binary·search.. | |||
| 00000370:·2f2f·2054·6865·2072·616e·6765·2063·6f6e··//·The·range·con | |||
| 00000380:·7461·696e·696e·6720·552b·3445·3030·2063··taining·U+4E00·c | |||
| 00000390:·6f76·6572·7320·636f·6d6d·6f6e·2043·4a4b··overs·common·CJK | |||
| 000003a0:·2069·6465·6f67·7261·7068·733b·0a2f·2f20···ideographs;.//· | |||
| 000003b0:·6661·6c6c·6261·636b·2074·6f20·7468·6520··fallback·to·the· | |||
| 000003c0:·6c61·7267·6573·7420·7261·6e67·6520·666f··largest·range·fo | |||
| 000003d0:·7220·7265·7369·6c69·656e·6365·2074·6f20··r·resilience·to· | |||
| 000003e0:·556e·6963·6f64·6520·7461·626c·6520·6368··Unicode·table·ch | |||
| 000003f0:·616e·6765·732e·0a66·756e·6374·696f·6e20··anges..function· | |||
| 00000 | 00000210:·6e64·5769·6465·4661·7374·5061·7468·5261··ndWideFastPathRa | ||
| 00000 | 00000220:·6e67·6528·7769·6465·5261·6e67·6573·293b··nge(wideRanges); | ||
| 00000230:·0a0a·2f2f·2055·7365·2061·2068·6f74·2d70··..//·Use·a·hot-p | |||
| 00000240:·6174·6820·7261·6e67·6520·736f·2063·6f6d··ath·range·so·com | |||
| 00000250:·6d6f·6e20·6069·7357·6964·6560·2063·616c··mon·`isWide`·cal | |||
| 00000260:·6c73·2063·616e·2073·6b69·7020·6269·6e61··ls·can·skip·bina | |||
| 00000270:·7279·2073·6561·7263·682e·0a2f·2f20·5468··ry·search..//·Th | |||
| 00000280:·6520·7261·6e67·6520·636f·6e74·6169·6e69··e·range·containi | |||
| 00000290:·6e67·2055·2b34·4530·3020·636f·7665·7273··ng·U+4E00·covers | |||
| Max diff block lines reached; -1/24088 bytes (-0.00%) of diff not shown. | |||
| Offset 58, 14 lines modified | Offset 58, 14 lines modified | ||
| 58 | ····"scripts":·{ | 58 | ····"scripts":·{ |
| 59 | ········"build":·"node·scripts/build.js", | 59 | ········"build":·"node·scripts/build.js", |
| 60 | ········"prepublish":·"npm·run·build", | 60 | ········"prepublish":·"npm·run·build", |
| 61 | ········"test":·"xo·&&·ava·&&·tsc·index.d.ts" | 61 | ········"test":·"xo·&&·ava·&&·tsc·index.d.ts" |
| 62 | ····}, | 62 | ····}, |
| 63 | ····"sideEffects":·false, | 63 | ····"sideEffects":·false, |
| 64 | ····"type":·"module", | 64 | ····"type":·"module", |
| 65 | ····"version":·"1. | 65 | ····"version":·"1.6.0", |
| 66 | ····"xo":·{ | 66 | ····"xo":·{ |
| 67 | ········"ignores":·[ | 67 | ········"ignores":·[ |
| 68 | ············"lookup-data.js" | 68 | ············"lookup-data.js" |
| 69 | ········] | 69 | ········] |
| 70 | ····} | 70 | ····} |
| 71 | } | 71 | } |
| Offset 5, 42 lines modified | Offset 5, 41 lines modified | ||
| 5 | [](https://codecov.io/gh/jaredwray/qified) | 5 | [](https://codecov.io/gh/jaredwray/qified) |
| 6 | [](https://npmjs.com/package/qified) | 6 | [](https://npmjs.com/package/qified) |
| 7 | [](https://npmjs.com/package/qified) | 7 | [](https://npmjs.com/package/qified) |
| 8 | #·qified | 8 | #·qified |
| 9 | Task·and·Message·Queues·with·Multiple·Providers | 9 | Task·and·Message·Queues·with·Multiple·Providers |
| 10 | ##·NOTE:·This·is·a·work·in·progress·and·not·ready·for·production·use.·Please·wait·till·v1.0.0·is·released. | ||
| 11 | #·Features | 10 | #·Features |
| 12 | *·Simple·Message·Queue·for·Processing·Messages | 11 | *·Simple·Message·Queue·for·Processing·Messages |
| 13 | *·Simple·Message·Format·`Message` | 12 | *·Simple·Message·Format·`Message` |
| 14 | *·Easily·Send·a·Message·`publish()` | 13 | *·Easily·Send·a·Message·`publish()` |
| 15 | *·Easily·Subscribe·to·a·message·Queue·`subscribe()` | 14 | *·Easily·Subscribe·to·a·message·Queue·`subscribe()` |
| 16 | *·Simple·Task·Format·`Task` | 15 | *·Simple·Task·Format·`Task` |
| 17 | *·Easily·Send·a·Task·`enqueue()` | 16 | *·Easily·Send·a·Task·`enqueue()` |
| 18 | *·Easily·Subscribe·to·a·Task·Queue·`dequeue()` | 17 | *·Easily·Subscribe·to·a·Task·Queue·`dequeue()` |
| 19 | *· | 18 | *·Ack·/·Reject·/·Extend·in·the·handler·via·`TaskContext` |
| 20 | *·Async/Await·Built·In·By·Default | 19 | *·Async/Await·Built·In·By·Default |
| 21 | *·Written·in·Typescript,·Nodejs·Last·Two·Versions,·ESM·and·CJS | 20 | *·Written·in·Typescript,·Nodejs·Last·Two·Versions,·ESM·and·CJS |
| 22 | *·Events·and·Hooks·for·all·major·actions·via·[Hookified](https://hookified.org) | 21 | *·Events·and·Hooks·for·all·major·actions·via·[Hookified](https://hookified.org) |
| 23 | *·Customizable·Serialize·/·Deserialize·Handlers·(Coming·in·v1.0.0) | ||
| 24 | *·Customizable·Compress·/·Decompress·Handlers·(Coming·in·v1.0.0) | ||
| 25 | *·Provider·Fail·Over·Support | 22 | *·Provider·Fail·Over·Support |
| 26 | #·Table·of·Contents | 23 | #·Table·of·Contents |
| 27 | -·[Installation](#installation) | 24 | -·[Installation](#installation) |
| 28 | -·[Quick·Start](#quick-start) | 25 | -·[Quick·Start](#quick-start) |
| 29 | -·[Constructor](#constructor) | 26 | -·[Constructor](#constructor) |
| 30 | -·[Properties](#properties) | 27 | -·[Properties](#properties) |
| 31 | -·[Methods](#methods) | 28 | -·[Methods](#methods) |
| 32 | ··-·[subscribe](#subscribe) | 29 | ··-·[subscribe](#subscribe) |
| 33 | ··-·[publish](#publish) | 30 | ··-·[publish](#publish) |
| 31 | ··-·[unsubscribeMessage](#unsubscribemessage) | ||
| 32 | ··-·[enqueue](#enqueue) | ||
| 33 | ··-·[dequeue](#dequeue) | ||
| 34 | ··-·[unsubscribe](#unsubscribe) | 34 | ··-·[unsubscribeTask](#unsubscribetask) |
| 35 | ··-·[disconnect](#disconnect) | 35 | ··-·[disconnect](#disconnect) |
| 36 | -·[Events](#events) | 36 | -·[Events](#events) |
| 37 | ··-·[Available·Events](#available-events) | 37 | ··-·[Available·Events](#available-events) |
| 38 | ··-·[Listening·to·Events](#listening-to-events) | 38 | ··-·[Listening·to·Events](#listening-to-events) |
| 39 | ··-·[Error·Handling·with·Events](#error-handling-with-events) | 39 | ··-·[Error·Handling·with·Events](#error-handling-with-events) |
| 40 | -·[Hooks](#hooks) | 40 | -·[Hooks](#hooks) |
| 41 | ··-·[Available·Hooks](#available-hooks) | 41 | ··-·[Available·Hooks](#available-hooks) |
| Offset 156, 15 lines modified | Offset 155, 40 lines modified | ||
| 156 | ··console.log('Provider·ID:',·provider.id); | 155 | ··console.log('Provider·ID:',·provider.id); |
| 157 | }); | 156 | }); |
| 158 | ``` | 157 | ``` |
| 159 | **Important·Notes:** | 158 | **Important·Notes:** |
| 160 | -·Setting·this·property·does·**not**·automatically·disconnect·existing·providers | 159 | -·Setting·this·property·does·**not**·automatically·disconnect·existing·providers |
| 161 | -·You·should·call·`disconnect()`·on·old·providers·before·replacing·them·to·clean·up·resources | 160 | -·You·should·call·`disconnect()`·on·old·providers·before·replacing·them·to·clean·up·resources |
| 162 | -·All·operations·(`subscribe`,·`publish`,·`unsubscribe`)·will·execute·across·all·providers·in·this·array | 161 | -·All·message·operations·(`subscribe`,·`publish`,·`unsubscribeMessage`)·will·execute·across·all·message·providers·in·this·array |
| 162 | ###·`taskProviders:·TaskProvider[]` | ||
| 163 | Get·or·set·the·array·of·task·providers.·Works·the·same·way·as·`messageProviders`·—·getter·returns·the·active·providers,·setter·replaces·them. | ||
| 164 | **Type:**·`TaskProvider[]` | ||
| 165 | **Access:**·Read/Write | ||
| 166 | **Example:** | ||
| 167 | ```typescript | ||
| 168 | import·{·Qified,·MemoryTaskProvider·}·from·'qified'; | ||
| 169 | import·{·RedisTaskProvider·}·from·'@qified/redis'; | ||
| 170 | const·qified·=·new·Qified({ | ||
| 171 | ··taskProviders:·new·MemoryTaskProvider() | ||
| 172 | }); | ||
| 173 | //·Replace·with·a·Redis-backed·task·provider | ||
| 174 | qified.taskProviders·=·[ | ||
| 175 | ··new·RedisTaskProvider({·uri:·'redis://localhost:6379'·}) | ||
| 176 | ]; | ||
| 177 | ``` | ||
| 178 | All·task·operations·(`enqueue`,·`dequeue`,·`unsubscribeTask`)·execute·across·every·task·provider·in·this·array. | ||
| 163 | #·Methods | 179 | #·Methods |
| 164 | ##·subscribe | 180 | ##·subscribe |
| 165 | Subscribe·to·a·topic·to·receive·messages.·If·multiple·message·providers·are·configured,·this·will·subscribe·on·all·of·them. | 181 | Subscribe·to·a·topic·to·receive·messages.·If·multiple·message·providers·are·configured,·this·will·subscribe·on·all·of·them. |
| Offset 201, 29 lines modified | Offset 225, 92 lines modified | ||
| 201 | ··}, | 225 | ··}, |
| 202 | ··headers:·{ | 226 | ··headers:·{ |
| 203 | ····'content-type':·'application/json' | 227 | ····'content-type':·'application/json' |
| 204 | ··} | 228 | ··} |
| 205 | }); | 229 | }); |
| 206 | ``` | 230 | ``` |
| 207 | ##·unsubscribe | 231 | ##·unsubscribeMessage |
| 208 | Unsubscribe·from·a·topic.·If·an·`id`·is·provided,·only·that·handler·is·unsubscribed.·Otherwise,·all·handlers·for·the·topic·are·unsubscribed. | 232 | Unsubscribe·a·message·handler·from·a·topic.·If·an·`id`·is·provided,·only·that·handler·is·unsubscribed.·Otherwise,·all·handlers·for·the·topic·are·unsubscribed. |
| 209 | **Parameters:** | 233 | **Parameters:** |
| Max diff block lines reached; 8438/12414 bytes (67.97%) of diff not shown. | |||
| Offset 763, 370 lines modified | Offset 763, 588 lines modified | ||
| 00002fa0:·5d20·3d20·2277·6172·6e22·3b0a·0951·6966··]·=·"warn";..Qif | 00002fa0:·5d20·3d20·2277·6172·6e22·3b0a·0951·6966··]·=·"warn";..Qif | ||
| 00002fb0:·6965·6445·7665·6e74·735b·2270·7562·6c69··iedEvents["publi | 00002fb0:·6965·6445·7665·6e74·735b·2270·7562·6c69··iedEvents["publi | ||
| 00002fc0:·7368·225d·203d·2022·7075·626c·6973·6822··sh"]·=·"publish" | 00002fc0:·7368·225d·203d·2022·7075·626c·6973·6822··sh"]·=·"publish" | ||
| 00002fd0:·3b0a·0951·6966·6965·6445·7665·6e74·735b··;..QifiedEvents[ | 00002fd0:·3b0a·0951·6966·6965·6445·7665·6e74·735b··;..QifiedEvents[ | ||
| 00002fe0:·2273·7562·7363·7269·6265·225d·203d·2022··"subscribe"]·=·" | 00002fe0:·2273·7562·7363·7269·6265·225d·203d·2022··"subscribe"]·=·" | ||
| 00002ff0:·7375·6273·6372·6962·6522·3b0a·0951·6966··subscribe";..Qif | 00002ff0:·7375·6273·6372·6962·6522·3b0a·0951·6966··subscribe";..Qif | Diff chunk too large, falling back to line-by-line diff (581 lines added, 363 lines removed) | |
| 00003000:·6965·6445·7665·6e74·735b·2275·6e73·7562··iedEvents["unsub | 00003000:·6965·6445·7665·6e74·735b·2275·6e73·7562··iedEvents["unsub | ||
| 00003010:·7363·7269·6265· | 00003010:·7363·7269·6265·4d65·7373·6167·6522·5d20··scribeMessage"]· | ||
| 00003020:· | 00003020:·3d20·2275·6e73·7562·7363·7269·6265·4d65··=·"unsubscribeMe | ||
| 00003030:· | 00003030:·7373·6167·6522·3b0a·0951·6966·6965·6445··ssage";..QifiedE | ||
| 00003040:· | 00003040:·7665·6e74·735b·2265·6e71·7565·7565·225d··vents["enqueue"] | ||
| 00003050:· | 00003050:·203d·2022·656e·7175·6575·6522·3b0a·0951···=·"enqueue";..Q | ||
| 00003060:·666 | 00003060:·6966·6965·6445·7665·6e74·735b·2264·6571··ifiedEvents["deq | ||
| 00003070:· | 00003070:·7565·7565·225d·203d·2022·6465·7175·6575··ueue"]·=·"dequeu | ||
| 00003080:·65 | 00003080:·6522·3b0a·0951·6966·6965·6445·7665·6e74··e";..QifiedEvent | ||
| 00003090:· | 00003090:·735b·2275·6e73·7562·7363·7269·6265·5461··s["unsubscribeTa | ||
| 000030a0:·7 | 000030a0:·736b·225d·203d·2022·756e·7375·6273·6372··sk"]·=·"unsubscr | ||
| 000030b0:·6 | 000030b0:·6962·6554·6173·6b22·3b0a·0951·6966·6965··ibeTask";..Qifie | ||
| 000030c0:· | 000030c0:·6445·7665·6e74·735b·2264·6973·636f·6e6e··dEvents["disconn | ||
| 000030d0:· | 000030d0:·6563·7422·5d20·3d20·2264·6973·636f·6e6e··ect"]·=·"disconn | ||
| 000030e0:· | 000030e0:·6563·7422·3b0a·0972·6574·7572·6e20·5169··ect";..return·Qi | ||
| 000030f0:· | 000030f0:·6669·6564·4576·656e·7473·3b0a·7d28·7b7d··fiedEvents;.}({} | ||
| 00003100:· | 00003100:·293b·0a2f·2a2a·0a2a·2048·6f6f·6b20·6576··);./**.*·Hook·ev | ||
| 00003110:·6 | 00003110:·656e·7420·6e61·6d65·7320·666f·7220·6265··ent·names·for·be | ||
| 00003120:· | 00003120:·666f·7265·2f61·6674·6572·206c·6966·6563··fore/after·lifec | ||
| 00003130:· | 00003130:·7963·6c65·2068·6f6f·6b73·2e0a·2a20·4265··ycle·hooks..*·Be | ||
| 00003140:· | 00003140:·666f·7265·2068·6f6f·6b73·2072·6563·6569··fore·hooks·recei | ||
| 00003150:· | 00003150:·7665·2061·206d·7574·6162·6c65·2063·6f6e··ve·a·mutable·con | ||
| 00003160:· | 00003160:·7465·7874·206f·626a·6563·7420·7468·6174··text·object·that | ||
| 00003170:· | 00003170:·2063·616e·2062·6520·6d6f·6469·6669·6564···can·be·modified | ||
| 00003180:· | 00003180:·2e0a·2a20·4166·7465·7220·686f·6f6b·7320··..*·After·hooks· | ||
| 00003190:· | 00003190:·7265·6365·6976·6520·7468·6520·6669·6e61··receive·the·fina | ||
| 000031a0:· | 000031a0:·6c20·636f·6e74·6578·7420·6166·7465·7220··l·context·after· | ||
| 000031b0:· | 000031b0:·7468·6520·6f70·6572·6174·696f·6e20·636f··the·operation·co | ||
| 000031c0:· | 000031c0:·6d70·6c65·7465·732e·0a2a·2f0a·6c65·7420··mpletes..*/.let· | ||
| 000031d0:· | 000031d0:·5169·6669·6564·486f·6f6b·7320·3d20·2f2a··QifiedHooks·=·/* | ||
| 000031e0:· | 000031e0:·2040·5f5f·5055·5245·5f5f·202a·2f20·6675···@__PURE__·*/·fu | ||
| 000031f0:·6 | 000031f0:·6e63·7469·6f6e·2851·6966·6965·6448·6f6f··nction(QifiedHoo | ||
| 00003200:· | 00003200:·6b73·2920·7b0a·0951·6966·6965·6448·6f6f··ks)·{..QifiedHoo | ||
| 00003210:· | 00003210:·6b73·5b22·6265·666f·7265·5375·6273·6372··ks["beforeSubscr | ||
| 00003220:·6 | 00003220:·6962·6522·5d20·3d20·2262·6566·6f72·653a··ibe"]·=·"before: | ||
| 00003230:· | 00003230:·7375·6273·6372·6962·6522·3b0a·0951·6966··subscribe";..Qif | ||
| 00003240:· | 00003240:·6965·6448·6f6f·6b73·5b22·6166·7465·7253··iedHooks["afterS | ||
| 00003250:· | 00003250:·7562·7363·7269·6265·225d·203d·2022·6166··ubscribe"]·=·"af | ||
| 00003260:· | 00003260:·7465·723a·7375·6273·6372·6962·6522·3b0a··ter:subscribe";. | ||
| 00003270:· | 00003270:·0951·6966·6965·6448·6f6f·6b73·5b22·6265··.QifiedHooks["be | ||
| 00003280:·6 | 00003280:·666f·7265·5075·626c·6973·6822·5d20·3d20··forePublish"]·=· | ||
| 00003290:· | 00003290:·2262·6566·6f72·653a·7075·626c·6973·6822··"before:publish" | ||
| 000032a0:· | 000032a0:·3b0a·0951·6966·6965·6448·6f6f·6b73·5b22··;..QifiedHooks[" | ||
| 000032b0:·6 | 000032b0:·6166·7465·7250·7562·6c69·7368·225d·203d··afterPublish"]·= | ||
| 000032c0:· | 000032c0:·2022·6166·7465·723a·7075·626c·6973·6822···"after:publish" | ||
| 000032d0:· | 000032d0:·3b0a·0951·6966·6965·6448·6f6f·6b73·5b22··;..QifiedHooks[" | ||
| 000032e0:·6 | 000032e0:·6265·666f·7265·556e·7375·6273·6372·6962··beforeUnsubscrib | ||
| 000032f0:·6 | 000032f0:·654d·6573·7361·6765·225d·203d·2022·6265··eMessage"]·=·"be | ||
| 00003300:·6 | 00003300:·666f·7265·3a75·6e73·7562·7363·7269·6265··fore:unsubscribe | ||
| 00003310:· | 00003310:·4d65·7373·6167·6522·3b0a·0951·6966·6965··Message";..Qifie | ||
| 00003320:· | 00003320:·6448·6f6f·6b73·5b22·6166·7465·7255·6e73··dHooks["afterUns | ||
| 00003330:· | 00003330:·7562·7363·7269·6265·4d65·7373·6167·6522··ubscribeMessage" | ||
| 00003340:· | 00003340:·5d20·3d20·2261·6674·6572·3a75·6e73·7562··]·=·"after:unsub | ||
| 00003350:· | 00003350:·7363·7269·6265·4d65·7373·6167·6522·3b0a··scribeMessage";. | ||
| 00003360:· | 00003360:·0951·6966·6965·6448·6f6f·6b73·5b22·6265··.QifiedHooks["be | ||
| 00003370:· | 00003370:·666f·7265·456e·7175·6575·6522·5d20·3d20··foreEnqueue"]·=· | ||
| 00003380:· | 00003380:·2262·6566·6f72·653a·656e·7175·6575·6522··"before:enqueue" | ||
| 00003390:· | 00003390:·3b0a·0951·6966·6965·6448·6f6f·6b73·5b22··;..QifiedHooks[" | ||
| 000033a0:· | 000033a0:·6166·7465·7245·6e71·7565·7565·225d·203d··afterEnqueue"]·= | ||
| 000033b0:·20 | 000033b0:·2022·6166·7465·723a·656e·7175·6575·6522···"after:enqueue" | ||
| 000033c0:· | 000033c0:·3b0a·0951·6966·6965·6448·6f6f·6b73·5b22··;..QifiedHooks[" | ||
| 000033d0:· | 000033d0:·6265·666f·7265·4465·7175·6575·6522·5d20··beforeDequeue"]· | ||
| 000033e0:· | 000033e0:·3d20·2262·6566·6f72·653a·6465·7175·6575··=·"before:dequeu | ||
| 000033f0:·6 | 000033f0:·6522·3b0a·0951·6966·6965·6448·6f6f·6b73··e";..QifiedHooks | ||
| 00003400:· | 00003400:·5b22·6166·7465·7244·6571·7565·7565·225d··["afterDequeue"] | ||
| 00003410:·0 | 00003410:·203d·2022·6166·7465·723a·6465·7175·6575···=·"after:dequeu | ||
| 00003420:·6 | 00003420:·6522·3b0a·0951·6966·6965·6448·6f6f·6b73··e";..QifiedHooks | ||
| 00003430:· | 00003430:·5b22·6265·666f·7265·556e·7375·6273·6372··["beforeUnsubscr | ||
| 00003440:·6 | 00003440:·6962·6554·6173·6b22·5d20·3d20·2262·6566··ibeTask"]·=·"bef | ||
| 00003450:· | 00003450:·6f72·653a·756e·7375·6273·6372·6962·6554··ore:unsubscribeT | ||
| 00003460:· | 00003460:·6173·6b22·3b0a·0951·6966·6965·6448·6f6f··ask";..QifiedHoo | ||
| 00003470:·6 | 00003470:·6b73·5b22·6166·7465·7255·6e73·7562·7363··ks["afterUnsubsc | ||
| 00003480:·7 | 00003480:·7269·6265·5461·736b·225d·203d·2022·6166··ribeTask"]·=·"af | ||
| 00003490:·6573·7 | 00003490:·7465·723a·756e·7375·6273·6372·6962·6554··ter:unsubscribeT | ||
| 000034a0:· | 000034a0:·6173·6b22·3b0a·0951·6966·6965·6448·6f6f··ask";..QifiedHoo | ||
| 000034b0:·6 | 000034b0:·6b73·5b22·6265·666f·7265·4469·7363·6f6e··ks["beforeDiscon | ||
| 000034c0:· | 000034c0:·6e65·6374·225d·203d·2022·6265·666f·7265··nect"]·=·"before | ||
| 000034d0:· | 000034d0:·3a64·6973·636f·6e6e·6563·7422·3b0a·0951··:disconnect";..Q | ||
| 000034e0:·696 | 000034e0:·6966·6965·6448·6f6f·6b73·5b22·6166·7465··ifiedHooks["afte | ||
| 000034f0:·7 | 000034f0:·7244·6973·636f·6e6e·6563·7422·5d20·3d20··rDisconnect"]·=· | ||
| 00003500:· | 00003500:·2261·6674·6572·3a64·6973·636f·6e6e·6563··"after:disconnec | ||
| 00003510:· | 00003510:·7422·3b0a·0972·6574·7572·6e20·5169·6669··t";..return·Qifi | ||
| 00003520:· | 00003520:·6564·486f·6f6b·733b·0a7d·287b·7d29·3b0a··edHooks;.}({});. | ||
| 00003530:· | 00003530:·7661·7220·5169·6669·6564·203d·2063·6c61··var·Qified·=·cla | ||
| 00003540:· | 00003540:·7373·2065·7874·656e·6473·2068·6f6f·6b69··ss·extends·hooki | ||
| 00003550:·6 | 00003550:·6669·6564·2e48·6f6f·6b69·6669·6564·207b··fied.Hookified·{ | ||
| 00003560:· | 00003560:·0a09·5f6d·6573·7361·6765·5072·6f76·6964··.._messageProvid | ||
| 00003570:· | 00003570:·6572·7320·3d20·5b5d·3b0a·095f·7461·736b··ers·=·[];.._task | ||
| 00003580:·5072·6f76·6964·6572·7320·3d20·5b | 00003580:·5072·6f76·6964·6572·7320·3d20·5b5d·3b0a··Providers·=·[];. | ||
| 00003590:· | 00003590:·092f·2a2a·0a09·2a20·4372·6561·7465·7320··./**..*·Creates· | ||
| 000035a0:·6 | 000035a0:·616e·2069·6e73·7461·6e63·6520·6f66·2051··an·instance·of·Q | ||
| 000035b0:· | 000035b0:·6966·6965·642e·0a09·2a20·4070·6172·616d··ified...*·@param | ||
| Max diff block lines reached; -1/65636 bytes (-0.00%) of diff not shown. | |||
| Offset 8, 17 lines modified | Offset 8, 20 lines modified | ||
| 8 | type·Message<T·=·any>·=·{ | 8 | type·Message<T·=·any>·=·{ |
| 9 | ··/** | 9 | ··/** |
| 10 | ···*·Unique·identifier·for·the·message | 10 | ···*·Unique·identifier·for·the·message |
| 11 | ···*·@type·{string} | 11 | ···*·@type·{string} |
| 12 | ···*/ | 12 | ···*/ |
| 13 | ··id:·string; | 13 | ··id:·string; |
| 14 | ··/** | 14 | ··/** |
| 15 | ···*·the·provider·that· | 15 | ···*·The·id·of·the·provider·that·delivered·this·message. |
| 16 | ···*·Set·by·the·provider·before·delivery·—·always·present·on·received·messages. | ||
| 17 | ···*·Producers·should·publish·with·`Omit<Message,·"providerId">`;·the·provider | ||
| 18 | ···*·assigns·this·field. | ||
| 16 | ···*/ | 19 | ···*/ |
| 17 | ··providerId | 20 | ··providerId:·string; |
| 18 | ··/** | 21 | ··/** |
| 19 | ···*·The·data·of·the·message | 22 | ···*·The·data·of·the·message |
| 20 | ···*·@type·{<T·=·any>} | 23 | ···*·@type·{<T·=·any>} |
| 21 | ···*/ | 24 | ···*/ |
| 22 | ··data:·T; | 25 | ··data:·T; |
| 23 | ··/** | 26 | ··/** |
| 24 | ···*·Timestamp·of·when·the·message·was·created | 27 | ···*·Timestamp·of·when·the·message·was·created |
| Offset 98, 20 lines modified | Offset 101, 14 lines modified | ||
| 98 | ··timestamp?:·number; | 101 | ··timestamp?:·number; |
| 99 | ··/** | 102 | ··/** |
| 100 | ···*·Headers·for·additional·metadata | 103 | ···*·Headers·for·additional·metadata |
| 101 | ···*·@type·{Record<string,·string>} | 104 | ···*·@type·{Record<string,·string>} |
| 102 | ···*/ | 105 | ···*/ |
| 103 | ··headers?:·Record<string,·string>; | 106 | ··headers?:·Record<string,·string>; |
| 104 | ··/** | 107 | ··/** |
| 105 | ···*·Priority·of·the·task·(higher·numbers·=·higher·priority) | ||
| 106 | ···*·@type·{number} | ||
| 107 | ···*·@default·0 | ||
| 108 | ···*/ | ||
| 109 | ··priority?:·number; | ||
| 110 | ··/** | ||
| 111 | ···*·Maximum·number·of·retry·attempts | 108 | ···*·Maximum·number·of·retry·attempts |
| 112 | ···*·If·undefined,·uses·provider·default | 109 | ···*·If·undefined,·uses·provider·default |
| 113 | ···*·@type·{number} | 110 | ···*·@type·{number} |
| 114 | ···*/ | 111 | ···*/ |
| 115 | ··maxRetries?:·number; | 112 | ··maxRetries?:·number; |
| 116 | ··/** | 113 | ··/** |
| 117 | ···*·Maximum·processing·time·in·milliseconds·before·task·times·out | 114 | ···*·Maximum·processing·time·in·milliseconds·before·task·times·out |
| Offset 510, 29 lines modified | Offset 507, 38 lines modified | ||
| 510 | ·*/ | 507 | ·*/ |
| 511 | declare·enum·QifiedEvents·{ | 508 | declare·enum·QifiedEvents·{ |
| 512 | ··error·=·"error", | 509 | ··error·=·"error", |
| 513 | ··info·=·"info", | 510 | ··info·=·"info", |
| 514 | ··warn·=·"warn", | 511 | ··warn·=·"warn", |
| 515 | ··publish·=·"publish", | 512 | ··publish·=·"publish", |
| 516 | ··subscribe·=·"subscribe", | 513 | ··subscribe·=·"subscribe", |
| 514 | ··unsubscribeMessage·=·"unsubscribeMessage", | ||
| 515 | ··enqueue·=·"enqueue", | ||
| 516 | ··dequeue·=·"dequeue", | ||
| 517 | ··unsubscribe·=·"unsubscribe", | 517 | ··unsubscribeTask·=·"unsubscribeTask", |
| 518 | ··disconnect·=·"disconnect" | 518 | ··disconnect·=·"disconnect" |
| 519 | } | 519 | } |
| 520 | /** | 520 | /** |
| 521 | ·*·Hook·event·names·for·before/after·lifecycle·hooks. | 521 | ·*·Hook·event·names·for·before/after·lifecycle·hooks. |
| 522 | ·*·Before·hooks·receive·a·mutable·context·object·that·can·be·modified. | 522 | ·*·Before·hooks·receive·a·mutable·context·object·that·can·be·modified. |
| 523 | ·*·After·hooks·receive·the·final·context·after·the·operation·completes. | 523 | ·*·After·hooks·receive·the·final·context·after·the·operation·completes. |
| 524 | ·*/ | 524 | ·*/ |
| 525 | declare·enum·QifiedHooks·{ | 525 | declare·enum·QifiedHooks·{ |
| 526 | ··beforeSubscribe·=·"before:subscribe", | 526 | ··beforeSubscribe·=·"before:subscribe", |
| 527 | ··afterSubscribe·=·"after:subscribe", | 527 | ··afterSubscribe·=·"after:subscribe", |
| 528 | ··beforePublish·=·"before:publish", | 528 | ··beforePublish·=·"before:publish", |
| 529 | ··afterPublish·=·"after:publish", | 529 | ··afterPublish·=·"after:publish", |
| 530 | ··beforeUnsubscribeMessage·=·"before:unsubscribeMessage", | ||
| 531 | ··afterUnsubscribeMessage·=·"after:unsubscribeMessage", | ||
| 532 | ··beforeEnqueue·=·"before:enqueue", | ||
| 533 | ··afterEnqueue·=·"after:enqueue", | ||
| 534 | ··beforeDequeue·=·"before:dequeue", | ||
| 535 | ··afterDequeue·=·"after:dequeue", | ||
| 530 | ··beforeUnsubscribe·=·"before:unsubscribe", | 536 | ··beforeUnsubscribeTask·=·"before:unsubscribeTask", |
| 531 | ··afterUnsubscribe·=·"after:unsubscribe", | 537 | ··afterUnsubscribeTask·=·"after:unsubscribeTask", |
| 532 | ··beforeDisconnect·=·"before:disconnect", | 538 | ··beforeDisconnect·=·"before:disconnect", |
| 533 | ··afterDisconnect·=·"after:disconnect" | 539 | ··afterDisconnect·=·"after:disconnect" |
| 534 | } | 540 | } |
| 535 | type·QifiedOptions·=·{ | 541 | type·QifiedOptions·=·{ |
| 536 | ··/** | 542 | ··/** |
| 537 | ···*·The·message·providers·to·use. | 543 | ···*·The·message·providers·to·use. |
| 538 | ···*/ | 544 | ···*/ |
| Offset 579, 21 lines modified | Offset 585, 42 lines modified | ||
| 579 | ··/** | 585 | ··/** |
| 580 | ···*·Publishes·a·message·to·a·topic.·If·you·have·multiple·message·providers,·it·will·publish·the·message·to·all·of·them. | 586 | ···*·Publishes·a·message·to·a·topic.·If·you·have·multiple·message·providers,·it·will·publish·the·message·to·all·of·them. |
| 581 | ···*·@param·{string}·topic·-·The·topic·to·publish·to. | 587 | ···*·@param·{string}·topic·-·The·topic·to·publish·to. |
| 582 | ···*·@param·{Message}·message·-·The·message·to·publish. | 588 | ···*·@param·{Message}·message·-·The·message·to·publish. |
| 583 | ···*/ | 589 | ···*/ |
| 584 | ··publish(topic:·string,·message:·Omit<Message,·"providerId">):·Promise<void>; | 590 | ··publish(topic:·string,·message:·Omit<Message,·"providerId">):·Promise<void>; |
| 585 | ··/** | 591 | ··/** |
| 586 | ···*·Unsubscribes·from·a·topic.·If·you·have·multiple·message·providers,·it·will·unsubscribe·from·the·topic·on·all·of·them. | 592 | ···*·Unsubscribes·a·message·handler·from·a·topic.·If·you·have·multiple·message·providers,·it·will·unsubscribe·from·the·topic·on·all·of·them. |
| 587 | ···*·If·an·ID·is·provided,·it·will·unsubscribe·only·that·handler.·If·no·ID·is·provided,·it·will·unsubscribe·all·handlers·for·the·topic. | 593 | ···*·If·an·ID·is·provided,·it·will·unsubscribe·only·that·handler.·If·no·ID·is·provided,·it·will·unsubscribe·all·handlers·for·the·topic. |
| 588 | ···*·@param·topic·-·The·topic·to·unsubscribe·from. | 594 | ···*·@param·topic·-·The·topic·to·unsubscribe·from. |
| 589 | ···*·@param·id·-·The·optional·ID·of·the·handler·to·unsubscribe.·If·not·provided,·all·handlers·for·the·topic·will·be·unsubscribed. | 595 | ···*·@param·id·-·The·optional·ID·of·the·handler·to·unsubscribe.·If·not·provided,·all·handlers·for·the·topic·will·be·unsubscribed. |
| 590 | ···*/ | 596 | ···*/ |
| 591 | ··unsubscribe(topic:·string,·id?:·string):·Promise<void>; | 597 | ··unsubscribeMessage(topic:·string,·id?:·string):·Promise<void>; |
| 598 | ··/** | ||
| 599 | ···*·Enqueues·a·task·to·a·queue.·If·you·have·multiple·task·providers,·it·will·enqueue·the·task·on·all·of·them. | ||
| 600 | ···*·@param·{string}·queue·-·The·queue·to·enqueue·to. | ||
| 601 | ···*·@param·{EnqueueTask}·task·-·The·task·to·enqueue. | ||
| 602 | ···*·@returns·{Promise<string[]>}·The·ids·assigned·to·the·task·by·each·provider,·in·provider·order. | ||
| Max diff block lines reached; 577/5440 bytes (10.61%) of diff not shown. | |||
| Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
| 1 | u | 1 | utf-8 |
| Offset 8, 17 lines modified | Offset 8, 20 lines modified | ||
| 8 | type·Message<T·=·any>·=·{ | 8 | type·Message<T·=·any>·=·{ |
| 9 | ··/** | 9 | ··/** |
| 10 | ···*·Unique·identifier·for·the·message | 10 | ···*·Unique·identifier·for·the·message |
| 11 | ···*·@type·{string} | 11 | ···*·@type·{string} |
| 12 | ···*/ | 12 | ···*/ |
| 13 | ··id:·string; | 13 | ··id:·string; |
| 14 | ··/** | 14 | ··/** |
| 15 | ···*·the·provider·that· | 15 | ···*·The·id·of·the·provider·that·delivered·this·message. |
| 16 | ···*·Set·by·the·provider·before·delivery·—·always·present·on·received·messages. | ||
| 17 | ···*·Producers·should·publish·with·`Omit<Message,·"providerId">`;·the·provider | ||
| 18 | ···*·assigns·this·field. | ||
| 16 | ···*/ | 19 | ···*/ |
| 17 | ··providerId | 20 | ··providerId:·string; |
| 18 | ··/** | 21 | ··/** |
| 19 | ···*·The·data·of·the·message | 22 | ···*·The·data·of·the·message |
| 20 | ···*·@type·{<T·=·any>} | 23 | ···*·@type·{<T·=·any>} |
| 21 | ···*/ | 24 | ···*/ |
| 22 | ··data:·T; | 25 | ··data:·T; |
| 23 | ··/** | 26 | ··/** |
| 24 | ···*·Timestamp·of·when·the·message·was·created | 27 | ···*·Timestamp·of·when·the·message·was·created |
| Offset 98, 20 lines modified | Offset 101, 14 lines modified | ||
| 98 | ··timestamp?:·number; | 101 | ··timestamp?:·number; |
| 99 | ··/** | 102 | ··/** |
| 100 | ···*·Headers·for·additional·metadata | 103 | ···*·Headers·for·additional·metadata |
| 101 | ···*·@type·{Record<string,·string>} | 104 | ···*·@type·{Record<string,·string>} |
| 102 | ···*/ | 105 | ···*/ |
| 103 | ··headers?:·Record<string,·string>; | 106 | ··headers?:·Record<string,·string>; |
| 104 | ··/** | 107 | ··/** |
| 105 | ···*·Priority·of·the·task·(higher·numbers·=·higher·priority) | ||
| 106 | ···*·@type·{number} | ||
| 107 | ···*·@default·0 | ||
| 108 | ···*/ | ||
| 109 | ··priority?:·number; | ||
| 110 | ··/** | ||
| 111 | ···*·Maximum·number·of·retry·attempts | 108 | ···*·Maximum·number·of·retry·attempts |
| 112 | ···*·If·undefined,·uses·provider·default | 109 | ···*·If·undefined,·uses·provider·default |
| 113 | ···*·@type·{number} | 110 | ···*·@type·{number} |
| 114 | ···*/ | 111 | ···*/ |
| 115 | ··maxRetries?:·number; | 112 | ··maxRetries?:·number; |
| 116 | ··/** | 113 | ··/** |
| 117 | ···*·Maximum·processing·time·in·milliseconds·before·task·times·out | 114 | ···*·Maximum·processing·time·in·milliseconds·before·task·times·out |
| Offset 510, 29 lines modified | Offset 507, 38 lines modified | ||
| 510 | ·*/ | 507 | ·*/ |
| 511 | declare·enum·QifiedEvents·{ | 508 | declare·enum·QifiedEvents·{ |
| 512 | ··error·=·"error", | 509 | ··error·=·"error", |
| 513 | ··info·=·"info", | 510 | ··info·=·"info", |
| 514 | ··warn·=·"warn", | 511 | ··warn·=·"warn", |
| 515 | ··publish·=·"publish", | 512 | ··publish·=·"publish", |
| 516 | ··subscribe·=·"subscribe", | 513 | ··subscribe·=·"subscribe", |
| 514 | ··unsubscribeMessage·=·"unsubscribeMessage", | ||
| 515 | ··enqueue·=·"enqueue", | ||
| 516 | ··dequeue·=·"dequeue", | ||
| 517 | ··unsubscribe·=·"unsubscribe", | 517 | ··unsubscribeTask·=·"unsubscribeTask", |
| 518 | ··disconnect·=·"disconnect" | 518 | ··disconnect·=·"disconnect" |
| 519 | } | 519 | } |
| 520 | /** | 520 | /** |
| 521 | ·*·Hook·event·names·for·before/after·lifecycle·hooks. | 521 | ·*·Hook·event·names·for·before/after·lifecycle·hooks. |
| 522 | ·*·Before·hooks·receive·a·mutable·context·object·that·can·be·modified. | 522 | ·*·Before·hooks·receive·a·mutable·context·object·that·can·be·modified. |
| 523 | ·*·After·hooks·receive·the·final·context·after·the·operation·completes. | 523 | ·*·After·hooks·receive·the·final·context·after·the·operation·completes. |
| 524 | ·*/ | 524 | ·*/ |
| 525 | declare·enum·QifiedHooks·{ | 525 | declare·enum·QifiedHooks·{ |
| 526 | ··beforeSubscribe·=·"before:subscribe", | 526 | ··beforeSubscribe·=·"before:subscribe", |
| 527 | ··afterSubscribe·=·"after:subscribe", | 527 | ··afterSubscribe·=·"after:subscribe", |
| 528 | ··beforePublish·=·"before:publish", | 528 | ··beforePublish·=·"before:publish", |
| 529 | ··afterPublish·=·"after:publish", | 529 | ··afterPublish·=·"after:publish", |
| 530 | ··beforeUnsubscribeMessage·=·"before:unsubscribeMessage", | ||
| 531 | ··afterUnsubscribeMessage·=·"after:unsubscribeMessage", | ||
| 532 | ··beforeEnqueue·=·"before:enqueue", | ||
| 533 | ··afterEnqueue·=·"after:enqueue", | ||
| 534 | ··beforeDequeue·=·"before:dequeue", | ||
| 535 | ··afterDequeue·=·"after:dequeue", | ||
| 530 | ··beforeUnsubscribe·=·"before:unsubscribe", | 536 | ··beforeUnsubscribeTask·=·"before:unsubscribeTask", |
| 531 | ··afterUnsubscribe·=·"after:unsubscribe", | 537 | ··afterUnsubscribeTask·=·"after:unsubscribeTask", |
| 532 | ··beforeDisconnect·=·"before:disconnect", | 538 | ··beforeDisconnect·=·"before:disconnect", |
| 533 | ··afterDisconnect·=·"after:disconnect" | 539 | ··afterDisconnect·=·"after:disconnect" |
| 534 | } | 540 | } |
| 535 | type·QifiedOptions·=·{ | 541 | type·QifiedOptions·=·{ |
| 536 | ··/** | 542 | ··/** |
| 537 | ···*·The·message·providers·to·use. | 543 | ···*·The·message·providers·to·use. |
| 538 | ···*/ | 544 | ···*/ |
| Offset 579, 21 lines modified | Offset 585, 42 lines modified | ||
| 579 | ··/** | 585 | ··/** |
| 580 | ···*·Publishes·a·message·to·a·topic.·If·you·have·multiple·message·providers,·it·will·publish·the·message·to·all·of·them. | 586 | ···*·Publishes·a·message·to·a·topic.·If·you·have·multiple·message·providers,·it·will·publish·the·message·to·all·of·them. |
| 581 | ···*·@param·{string}·topic·-·The·topic·to·publish·to. | 587 | ···*·@param·{string}·topic·-·The·topic·to·publish·to. |
| 582 | ···*·@param·{Message}·message·-·The·message·to·publish. | 588 | ···*·@param·{Message}·message·-·The·message·to·publish. |
| 583 | ···*/ | 589 | ···*/ |
| 584 | ··publish(topic:·string,·message:·Omit<Message,·"providerId">):·Promise<void>; | 590 | ··publish(topic:·string,·message:·Omit<Message,·"providerId">):·Promise<void>; |
| 585 | ··/** | 591 | ··/** |
| 586 | ···*·Unsubscribes·from·a·topic.·If·you·have·multiple·message·providers,·it·will·unsubscribe·from·the·topic·on·all·of·them. | 592 | ···*·Unsubscribes·a·message·handler·from·a·topic.·If·you·have·multiple·message·providers,·it·will·unsubscribe·from·the·topic·on·all·of·them. |
| 587 | ···*·If·an·ID·is·provided,·it·will·unsubscribe·only·that·handler.·If·no·ID·is·provided,·it·will·unsubscribe·all·handlers·for·the·topic. | 593 | ···*·If·an·ID·is·provided,·it·will·unsubscribe·only·that·handler.·If·no·ID·is·provided,·it·will·unsubscribe·all·handlers·for·the·topic. |
| 588 | ···*·@param·topic·-·The·topic·to·unsubscribe·from. | 594 | ···*·@param·topic·-·The·topic·to·unsubscribe·from. |
| 589 | ···*·@param·id·-·The·optional·ID·of·the·handler·to·unsubscribe.·If·not·provided,·all·handlers·for·the·topic·will·be·unsubscribed. | 595 | ···*·@param·id·-·The·optional·ID·of·the·handler·to·unsubscribe.·If·not·provided,·all·handlers·for·the·topic·will·be·unsubscribed. |
| 590 | ···*/ | 596 | ···*/ |
| 591 | ··unsubscribe(topic:·string,·id?:·string):·Promise<void>; | 597 | ··unsubscribeMessage(topic:·string,·id?:·string):·Promise<void>; |
| 598 | ··/** | ||
| 599 | ···*·Enqueues·a·task·to·a·queue.·If·you·have·multiple·task·providers,·it·will·enqueue·the·task·on·all·of·them. | ||
| 600 | ···*·@param·{string}·queue·-·The·queue·to·enqueue·to. | ||
| 601 | ···*·@param·{EnqueueTask}·task·-·The·task·to·enqueue. | ||
| 602 | ···*·@returns·{Promise<string[]>}·The·ids·assigned·to·the·task·by·each·provider,·in·provider·order. | ||
| Max diff block lines reached; 577/5440 bytes (10.61%) of diff not shown. | |||
| Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
| 1 | u | 1 | utf-8 |
| Offset 381, 30 lines modified | Offset 381, 39 lines modified | ||
| 381 | */ | 381 | */ |
| 382 | let·QifiedEvents·=·/*·@__PURE__·*/·function(QifiedEvents)·{ | 382 | let·QifiedEvents·=·/*·@__PURE__·*/·function(QifiedEvents)·{ |
| 383 | » QifiedEvents["error"]·=·"error"; | 383 | » QifiedEvents["error"]·=·"error"; |
| 384 | » QifiedEvents["info"]·=·"info"; | 384 | » QifiedEvents["info"]·=·"info"; |
| 385 | » QifiedEvents["warn"]·=·"warn"; | 385 | » QifiedEvents["warn"]·=·"warn"; |
| 386 | » QifiedEvents["publish"]·=·"publish"; | 386 | » QifiedEvents["publish"]·=·"publish"; |
| 387 | » QifiedEvents["subscribe"]·=·"subscribe"; | 387 | » QifiedEvents["subscribe"]·=·"subscribe"; |
| 388 | » QifiedEvents["unsubscribeMessage"]·=·"unsubscribeMessage"; | ||
| 389 | » QifiedEvents["enqueue"]·=·"enqueue"; | ||
| 390 | » QifiedEvents["dequeue"]·=·"dequeue"; | ||
| 388 | » QifiedEvents["unsubscribe"]·=·"unsubscribe"; | 391 | » QifiedEvents["unsubscribeTask"]·=·"unsubscribeTask"; |
| 389 | » QifiedEvents["disconnect"]·=·"disconnect"; | 392 | » QifiedEvents["disconnect"]·=·"disconnect"; |
| 390 | » return·QifiedEvents; | 393 | » return·QifiedEvents; |
| 391 | }({}); | 394 | }({}); |
| 392 | /** | 395 | /** |
| 393 | *·Hook·event·names·for·before/after·lifecycle·hooks. | 396 | *·Hook·event·names·for·before/after·lifecycle·hooks. |
| 394 | *·Before·hooks·receive·a·mutable·context·object·that·can·be·modified. | 397 | *·Before·hooks·receive·a·mutable·context·object·that·can·be·modified. |
| 395 | *·After·hooks·receive·the·final·context·after·the·operation·completes. | 398 | *·After·hooks·receive·the·final·context·after·the·operation·completes. |
| 396 | */ | 399 | */ |
| 397 | let·QifiedHooks·=·/*·@__PURE__·*/·function(QifiedHooks)·{ | 400 | let·QifiedHooks·=·/*·@__PURE__·*/·function(QifiedHooks)·{ |
| 398 | » QifiedHooks["beforeSubscribe"]·=·"before:subscribe"; | 401 | » QifiedHooks["beforeSubscribe"]·=·"before:subscribe"; |
| 399 | » QifiedHooks["afterSubscribe"]·=·"after:subscribe"; | 402 | » QifiedHooks["afterSubscribe"]·=·"after:subscribe"; |
| 400 | » QifiedHooks["beforePublish"]·=·"before:publish"; | 403 | » QifiedHooks["beforePublish"]·=·"before:publish"; |
| 401 | » QifiedHooks["afterPublish"]·=·"after:publish"; | 404 | » QifiedHooks["afterPublish"]·=·"after:publish"; |
| 405 | » QifiedHooks["beforeUnsubscribeMessage"]·=·"before:unsubscribeMessage"; | ||
| 406 | » QifiedHooks["afterUnsubscribeMessage"]·=·"after:unsubscribeMessage"; | ||
| 407 | » QifiedHooks["beforeEnqueue"]·=·"before:enqueue"; | ||
| 408 | » QifiedHooks["afterEnqueue"]·=·"after:enqueue"; | ||
| 409 | » QifiedHooks["beforeDequeue"]·=·"before:dequeue"; | ||
| 410 | » QifiedHooks["afterDequeue"]·=·"after:dequeue"; | ||
| 402 | » QifiedHooks["beforeUnsubscribe"]·=·"before:unsubscribe"; | 411 | » QifiedHooks["beforeUnsubscribeTask"]·=·"before:unsubscribeTask"; |
| 403 | » QifiedHooks["afterUnsubscribe"]·=·"after:unsubscribe"; | 412 | » QifiedHooks["afterUnsubscribeTask"]·=·"after:unsubscribeTask"; |
| 404 | » QifiedHooks["beforeDisconnect"]·=·"before:disconnect"; | 413 | » QifiedHooks["beforeDisconnect"]·=·"before:disconnect"; |
| 405 | » QifiedHooks["afterDisconnect"]·=·"after:disconnect"; | 414 | » QifiedHooks["afterDisconnect"]·=·"after:disconnect"; |
| 406 | » return·QifiedHooks; | 415 | » return·QifiedHooks; |
| 407 | }({}); | 416 | }({}); |
| 408 | var·Qified·=·class·extends·Hookified·{ | 417 | var·Qified·=·class·extends·Hookified·{ |
| 409 | » _messageProviders·=·[]; | 418 | » _messageProviders·=·[]; |
| 410 | » _taskProviders·=·[]; | 419 | » _taskProviders·=·[]; |
| Offset 454, 99 lines modified | Offset 463, 195 lines modified | ||
| 454 | » */ | 463 | » */ |
| 455 | » async·subscribe(topic,·handler)·{ | 464 | » async·subscribe(topic,·handler)·{ |
| 456 | » » try·{ | 465 | » » try·{ |
| 457 | » » » const·context·=·{ | 466 | » » » const·context·=·{ |
| 458 | » » » » topic, | 467 | » » » » topic, |
| 459 | » » » » handler | 468 | » » » » handler |
| 460 | » » » }; | 469 | » » » }; |
| 461 | » » » await·this.hook( | 470 | » » » await·this.hook("before:subscribe",·context); |
| 462 | » » » const·promises·=·this._messageProviders.map(async·(provider)·=>·provider.subscribe(context.topic,·context.handler)); | 471 | » » » const·promises·=·this._messageProviders.map(async·(provider)·=>·provider.subscribe(context.topic,·context.handler)); |
| 463 | » » » await·Promise.all(promises); | 472 | » » » await·Promise.all(promises); |
| 464 | » » » await·this.hook( | 473 | » » » await·this.hook("after:subscribe",·{ |
| 465 | » » » » topic:·context.topic, | 474 | » » » » topic:·context.topic, |
| 466 | » » » » handler:·context.handler | 475 | » » » » handler:·context.handler |
| 467 | » » » }); | 476 | » » » }); |
| 468 | » » » this.emit( | 477 | » » » this.emit("subscribe",·{ |
| 469 | » » » » topic:·context.topic, | 478 | » » » » topic:·context.topic, |
| 470 | » » » » handler:·context.handler | 479 | » » » » handler:·context.handler |
| 471 | » » » }); | 480 | » » » }); |
| 472 | » » }·catch·(error)·{ | 481 | » » }·catch·(error)·{ |
| 473 | » » » /*·v8·ignore·next·--·@preserve·*/ | 482 | » » » /*·v8·ignore·next·--·@preserve·*/ |
| 474 | » » » this.emit( | 483 | » » » this.emit("error",·error); |
| 475 | » » } | 484 | » » } |
| 476 | » } | 485 | » } |
| 477 | » /** | 486 | » /** |
| 478 | » *·Publishes·a·message·to·a·topic.·If·you·have·multiple·message·providers,·it·will·publish·the·message·to·all·of·them. | 487 | » *·Publishes·a·message·to·a·topic.·If·you·have·multiple·message·providers,·it·will·publish·the·message·to·all·of·them. |
| 479 | » *·@param·{string}·topic·-·The·topic·to·publish·to. | 488 | » *·@param·{string}·topic·-·The·topic·to·publish·to. |
| 480 | » *·@param·{Message}·message·-·The·message·to·publish. | 489 | » *·@param·{Message}·message·-·The·message·to·publish. |
| 481 | » */ | 490 | » */ |
| 482 | » async·publish(topic,·message)·{ | 491 | » async·publish(topic,·message)·{ |
| 483 | » » try·{ | 492 | » » try·{ |
| 484 | » » » const·context·=·{ | 493 | » » » const·context·=·{ |
| 485 | » » » » topic, | 494 | » » » » topic, |
| 486 | » » » » message | 495 | » » » » message |
| 487 | » » » }; | 496 | » » » }; |
| 488 | » » » await·this.hook( | 497 | » » » await·this.hook("before:publish",·context); |
| 489 | » » » const·promises·=·this._messageProviders.map(async·(provider)·=>·provider.publish(context.topic,·context.message)); | 498 | » » » const·promises·=·this._messageProviders.map(async·(provider)·=>·provider.publish(context.topic,·context.message)); |
| 490 | » » » await·Promise.all(promises); | 499 | » » » await·Promise.all(promises); |
| 491 | » » » await·this.hook( | 500 | » » » await·this.hook("after:publish",·{ |
| 492 | » » » » topic:·context.topic, | 501 | » » » » topic:·context.topic, |
| 493 | » » » » message:·context.message | 502 | » » » » message:·context.message |
| 494 | » » » }); | 503 | » » » }); |
| 495 | » » » this.emit( | 504 | » » » this.emit("publish",·{ |
| 496 | » » » » topic:·context.topic, | 505 | » » » » topic:·context.topic, |
| 497 | » » » » message:·context.message | 506 | » » » » message:·context.message |
| 498 | » » » }); | 507 | » » » }); |
| 499 | » » }·catch·(error)·{ | 508 | » » }·catch·(error)·{ |
| 500 | » » » /*·v8·ignore·next·--·@preserve·*/ | 509 | » » » /*·v8·ignore·next·--·@preserve·*/ |
| 501 | » » » this.emit( | 510 | » » » this.emit("error",·error); |
| 502 | » » } | 511 | » » } |
| 503 | » } | 512 | » } |
| 504 | » /** | 513 | » /** |
| 505 | » *·Unsubscribes·from·a·topic.·If·you·have·multiple·message·providers,·it·will·unsubscribe·from·the·topic·on·all·of·them. | 514 | » *·Unsubscribes·a·message·handler·from·a·topic.·If·you·have·multiple·message·providers,·it·will·unsubscribe·from·the·topic·on·all·of·them. |
| 506 | » *·If·an·ID·is·provided,·it·will·unsubscribe·only·that·handler.·If·no·ID·is·provided,·it·will·unsubscribe·all·handlers·for·the·topic. | 515 | » *·If·an·ID·is·provided,·it·will·unsubscribe·only·that·handler.·If·no·ID·is·provided,·it·will·unsubscribe·all·handlers·for·the·topic. |
| 507 | » *·@param·topic·-·The·topic·to·unsubscribe·from. | 516 | » *·@param·topic·-·The·topic·to·unsubscribe·from. |
| 508 | » *·@param·id·-·The·optional·ID·of·the·handler·to·unsubscribe.·If·not·provided,·all·handlers·for·the·topic·will·be·unsubscribed. | 517 | » *·@param·id·-·The·optional·ID·of·the·handler·to·unsubscribe.·If·not·provided,·all·handlers·for·the·topic·will·be·unsubscribed. |
| 509 | » */ | 518 | » */ |
| 510 | » async·unsubscribe(topic,·id)·{ | 519 | » async·unsubscribeMessage(topic,·id)·{ |
| 511 | » » try·{ | 520 | » » try·{ |
| 512 | » » » const·context·=·{ | 521 | » » » const·context·=·{ |
| Max diff block lines reached; 5149/9572 bytes (53.79%) of diff not shown. | |||
| Offset 42, 9 lines modified | Offset 42, 9 lines modified | ||
| 42 | ········"clean":·"rimraf·./dist·./coverage·./site/dist", | 42 | ········"clean":·"rimraf·./dist·./coverage·./site/dist", |
| 43 | ········"lint":·"biome·check·--write·--error-on-warnings", | 43 | ········"lint":·"biome·check·--write·--error-on-warnings", |
| 44 | ········"test":·"pnpm·lint·&&·vitest·run·--coverage", | 44 | ········"test":·"pnpm·lint·&&·vitest·run·--coverage", |
| 45 | ········"test:ci":·"biome·check·--error-on-warnings·&&·vitest·run·--coverage" | 45 | ········"test:ci":·"biome·check·--error-on-warnings·&&·vitest·run·--coverage" |
| 46 | ····}, | 46 | ····}, |
| 47 | ····"type":·"module", | 47 | ····"type":·"module", |
| 48 | ····"types":·"./dist/index.d.mts", | 48 | ····"types":·"./dist/index.d.mts", |
| 49 | ····"version":·"0. | 49 | ····"version":·"0.10.1" |
| 50 | } | 50 | } |
| Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
| 1 | -rw-r--r--···0········0········0······526·2026-05-05·02:51:35.000000·info/about.json | 1 | -rw-r--r--···0········0········0······526·2026-05-05·02:51:35.000000·info/about.json |
| 2 | -rw-r--r--···0········0········0······118·2026-05-05·02:51:35.000000·info/hash_input.json | 2 | -rw-r--r--···0········0········0······118·2026-05-05·02:51:35.000000·info/hash_input.json |
| 3 | -rw-r--r--···0········0········0······223·2026-05-05·02:51:35.000000·info/index.json | 3 | -rw-r--r--···0········0········0······223·2026-05-05·02:51:35.000000·info/index.json |
| 4 | -rw-r--r--···0········0········0·····1123·2026-05-05·02:51:35.000000·info/licenses/LICENSE | 4 | -rw-r--r--···0········0········0·····1123·2026-05-05·02:51:35.000000·info/licenses/LICENSE |
| 5 | -rw-r--r--···0········0········0···17211 | 5 | -rw-r--r--···0········0········0···172117·2026-05-05·02:51:35.000000·info/licenses/third-party-licenses.txt |
| 6 | -rw-r--r--···0········0········0···56 | 6 | -rw-r--r--···0········0········0···566207·2026-05-05·02:51:35.000000·info/paths.json |
| 7 | -rwxr-xr-x···0········0········0······868·2026-05-05·02:51:35.000000·info/recipe/build.sh | 7 | -rwxr-xr-x···0········0········0······868·2026-05-05·02:51:35.000000·info/recipe/build.sh |
| 8 | -rw-r--r--···0········0········0·····1520·2026-05-05·02:51:35.000000·info/recipe/recipe-scripts-license.txt | 8 | -rw-r--r--···0········0········0·····1520·2026-05-05·02:51:35.000000·info/recipe/recipe-scripts-license.txt |
| 9 | -rw-r--r--···0········0········0······744·2026-05-05·02:51:35.000000·info/recipe/recipe.yaml | 9 | -rw-r--r--···0········0········0······744·2026-05-05·02:51:35.000000·info/recipe/recipe.yaml |
| 10 | -rw-r--r--···0········0········0····18731·2026-05-05·02:51:35.000000·info/recipe/rendered_recipe.yaml | 10 | -rw-r--r--···0········0········0····18731·2026-05-05·02:51:35.000000·info/recipe/rendered_recipe.yaml |
| 11 | -rw-r--r--···0········0········0······100·2026-05-05·02:51:35.000000·info/recipe/variant_config.yaml | 11 | -rw-r--r--···0········0········0······100·2026-05-05·02:51:35.000000·info/recipe/variant_config.yaml |
| 12 | -rw-r--r--···0········0········0·······40·2026-05-05·02:51:35.000000·info/tests/tests.yaml | 12 | -rw-r--r--···0········0········0·······40·2026-05-05·02:51:35.000000·info/tests/tests.yaml |
| Offset 471, 15 lines modified | Offset 471, 15 lines modified | ||
| 471 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER | 471 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER |
| 472 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, | 472 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, |
| 473 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN | 473 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN |
| 474 | THE·SOFTWARE. | 474 | THE·SOFTWARE. |
| 475 | --- | 475 | --- |
| 476 | The·following·software·may·be·included·in·this·product:·cacheable·(2.3. | 476 | The·following·software·may·be·included·in·this·product:·cacheable·(2.3.5) |
| 477 | This·software·contains·the·following·license·and·notice·below: | 477 | This·software·contains·the·following·license·and·notice·below: |
| 478 | MIT·License·&·©·Jared·Wray | 478 | MIT·License·&·©·Jared·Wray |
| 479 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy | 479 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy |
| 480 | of·this·software·and·associated·documentation·files·(the·"Software"),·to | 480 | of·this·software·and·associated·documentation·files·(the·"Software"),·to |
| 481 | deal·in·the·Software·without·restriction,·including·without·limitation·the | 481 | deal·in·the·Software·without·restriction,·including·without·limitation·the |
| Offset 852, 15 lines modified | Offset 852, 15 lines modified | ||
| 852 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER | 852 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER |
| 853 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, | 853 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING·FROM, |
| 854 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE | 854 | OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER·DEALINGS·IN·THE |
| 855 | SOFTWARE. | 855 | SOFTWARE. |
| 856 | --- | 856 | --- |
| 857 | The·following·software·may·be·included·in·this·product:·file-entry-cache·(11.1. | 857 | The·following·software·may·be·included·in·this·product:·file-entry-cache·(11.1.3) |
| 858 | This·software·contains·the·following·license·and·notice·below: | 858 | This·software·contains·the·following·license·and·notice·below: |
| 859 | MIT·License·&·©·Jared·Wray | 859 | MIT·License·&·©·Jared·Wray |
| 860 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy | 860 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy |
| 861 | of·this·software·and·associated·documentation·files·(the·"Software"),·to | 861 | of·this·software·and·associated·documentation·files·(the·"Software"),·to |
| 862 | deal·in·the·Software·without·restriction,·including·without·limitation·the | 862 | deal·in·the·Software·without·restriction,·including·without·limitation·the |
| Offset 929, 15 lines modified | Offset 929, 15 lines modified | ||
| 929 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER | 929 | AUTHORS·OR·COPYRIGHT·HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER |
| 930 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING | 930 | LIABILITY,·WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING |
| 931 | FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER | 931 | FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR·OTHER |
| 932 | DEALINGS·IN·THE·SOFTWARE. | 932 | DEALINGS·IN·THE·SOFTWARE. |
| 933 | --- | 933 | --- |
| 934 | The·following·software·may·be·included·in·this·product:·get-east-asian-width·(1. | 934 | The·following·software·may·be·included·in·this·product:·get-east-asian-width·(1.6.0) |
| 935 | This·software·contains·the·following·license·and·notice·below: | 935 | This·software·contains·the·following·license·and·notice·below: |
| 936 | MIT·License | 936 | MIT·License |
| 937 | Copyright·(c)·Sindre·Sorhus·<[email protected]>·(https://sindresorhus.com) | 937 | Copyright·(c)·Sindre·Sorhus·<[email protected]>·(https://sindresorhus.com) |
| 938 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy·of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal·in·the·Software·without·restriction,·including·without·limitation·the·rights·to·use,·copy,·modify,·merge,·publish,·distribute,·sublicense,·and/or·sell·copies·of·the·Software,·and·to·permit·persons·to·whom·the·Software·is·furnished·to·do·so,·subject·to·the·following·conditions: | 938 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy·of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal·in·the·Software·without·restriction,·including·without·limitation·the·rights·to·use,·copy,·modify,·merge,·publish,·distribute,·sublicense,·and/or·sell·copies·of·the·Software,·and·to·permit·persons·to·whom·the·Software·is·furnished·to·do·so,·subject·to·the·following·conditions: |
| Offset 2023, 15 lines modified | Offset 2023, 15 lines modified | ||
| 2023 | HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER·LIABILITY, | 2023 | HOLDERS·BE·LIABLE·FOR·ANY·CLAIM,·DAMAGES·OR·OTHER·LIABILITY, |
| 2024 | WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING | 2024 | WHETHER·IN·AN·ACTION·OF·CONTRACT,·TORT·OR·OTHERWISE,·ARISING |
| 2025 | FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR | 2025 | FROM,·OUT·OF·OR·IN·CONNECTION·WITH·THE·SOFTWARE·OR·THE·USE·OR |
| 2026 | OTHER·DEALINGS·IN·THE·SOFTWARE. | 2026 | OTHER·DEALINGS·IN·THE·SOFTWARE. |
| 2027 | --- | 2027 | --- |
| 2028 | The·following·software·may·be·included·in·this·product:·qified·(0. | 2028 | The·following·software·may·be·included·in·this·product:·qified·(0.10.1) |
| 2029 | This·software·contains·the·following·license·and·notice·below: | 2029 | This·software·contains·the·following·license·and·notice·below: |
| 2030 | MIT·License·&·©·Jared·Wray | 2030 | MIT·License·&·©·Jared·Wray |
| 2031 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy | 2031 | Permission·is·hereby·granted,·free·of·charge,·to·any·person·obtaining·a·copy |
| 2032 | of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal | 2032 | of·this·software·and·associated·documentation·files·(the·"Software"),·to·deal |
| 2033 | in·the·Software·without·restriction,·including·without·limitation·the·rights | 2033 | in·the·Software·without·restriction,·including·without·limitation·the·rights |
| Offset 2722, 15 lines modified | Offset 2722, 15 lines modified | ||
| 2722 | FOR·ANY·SPECIAL,·INDIRECT·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES | 2722 | FOR·ANY·SPECIAL,·INDIRECT·OR·CONSEQUENTIAL·DAMAGES·OR·ANY·DAMAGES |
| 2723 | WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN | 2723 | WHATSOEVER·RESULTING·FROM·LOSS·OF·USE,·DATA·OR·PROFITS,·WHETHER·IN·AN |
| 2724 | ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT | 2724 | ACTION·OF·CONTRACT,·NEGLIGENCE·OR·OTHER·TORTIOUS·ACTION,·ARISING·OUT |
| 2725 | OF·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. | 2725 | OF·OR·IN·CONNECTION·WITH·THE·USE·OR·PERFORMANCE·OF·THIS·SOFTWARE. |
| 2726 | --- | 2726 | --- |
| 2727 | The·following·software·may·be·included·in·this·product:·fast-uri·(3.1. | 2727 | The·following·software·may·be·included·in·this·product:·fast-uri·(3.1.2) |
| 2728 | This·software·contains·the·following·license·and·notice·below: | 2728 | This·software·contains·the·following·license·and·notice·below: |
| 2729 | Copyright·(c)·2011-2021,·Gary·Court·until·https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae | 2729 | Copyright·(c)·2011-2021,·Gary·Court·until·https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae |
| 2730 | Copyright·(c)·2021-present·The·Fastify·team·<https://github.com/fastify/fastify#team> | 2730 | Copyright·(c)·2021-present·The·Fastify·team·<https://github.com/fastify/fastify#team> |
| 2731 | All·rights·reserved. | 2731 | All·rights·reserved. |
| 2732 | Redistribution·and·use·in·source·and·binary·forms,·with·or·without | 2732 | Redistribution·and·use·in·source·and·binary·forms,·with·or·without |
| Offset 6035, 22 lines modified | Offset 6035, 22 lines modified | ||
| 6035 | ············"path_type":·"hardlink", | 6035 | ············"path_type":·"hardlink", |
| 6036 | ············"sha256":·"465e8da349d50d8512e4a0e9b26d2bee50392c394f17edaa3be6e0df7c2b27ad", | 6036 | ············"sha256":·"465e8da349d50d8512e4a0e9b26d2bee50392c394f17edaa3be6e0df7c2b27ad", |
| 6037 | ············"size_in_bytes":·1053 | 6037 | ············"size_in_bytes":·1053 |
| 6038 | ········}, | 6038 | ········}, |
| 6039 | ········{ | 6039 | ········{ |
| 6040 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/README.md", | 6040 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/README.md", |
| 6041 | ············"path_type":·"hardlink", | 6041 | ············"path_type":·"hardlink", |
| 6042 | ············"sha256":·" | 6042 | ············"sha256":·"315497eb634bed364193dd89c0c09a21dfacf338a5caeafbcbbbc7d75ae1fb30", |
| 6043 | ············"size_in_bytes":·38 | 6043 | ············"size_in_bytes":·38408 |
| 6044 | ········}, | 6044 | ········}, |
| 6045 | ········{ | 6045 | ········{ |
| 6046 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/dist/index.cjs", | 6046 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/dist/index.cjs", |
| 6047 | ············"path_type":·"hardlink", | 6047 | ············"path_type":·"hardlink", |
| 6048 | ············"sha256":·" | 6048 | ············"sha256":·"c0c821354a4af25e107b021f2833009d9273c348499a92e59b27fb2cb0669363", |
| 6049 | ············"size_in_bytes":·4 | 6049 | ············"size_in_bytes":·41303 |
| 6050 | ········}, | 6050 | ········}, |
| 6051 | ········{ | 6051 | ········{ |
| 6052 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/dist/index.d.cts", | 6052 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/dist/index.d.cts", |
| 6053 | ············"path_type":·"hardlink", | 6053 | ············"path_type":·"hardlink", |
| 6054 | ············"sha256":·"6fa637e968c53a52c3dc213f24ddd2021ed841286244bbfc8cf520ec73740885", | 6054 | ············"sha256":·"6fa637e968c53a52c3dc213f24ddd2021ed841286244bbfc8cf520ec73740885", |
| 6055 | ············"size_in_bytes":·22462 | 6055 | ············"size_in_bytes":·22462 |
| 6056 | ········}, | 6056 | ········}, |
| Offset 6059, 22 lines modified | Offset 6059, 22 lines modified | ||
| 6059 | ············"path_type":·"hardlink", | 6059 | ············"path_type":·"hardlink", |
| 6060 | ············"sha256":·"6fa637e968c53a52c3dc213f24ddd2021ed841286244bbfc8cf520ec73740885", | 6060 | ············"sha256":·"6fa637e968c53a52c3dc213f24ddd2021ed841286244bbfc8cf520ec73740885", |
| 6061 | ············"size_in_bytes":·22462 | 6061 | ············"size_in_bytes":·22462 |
| 6062 | ········}, | 6062 | ········}, |
| 6063 | ········{ | 6063 | ········{ |
| 6064 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/dist/index.js", | 6064 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/dist/index.js", |
| 6065 | ············"path_type":·"hardlink", | 6065 | ············"path_type":·"hardlink", |
| 6066 | ············"sha256":·" | 6066 | ············"sha256":·"f7dcc93e23c9f3507747e94434f439e0c7cc84dc9ffae1ddd20f747ffa6518bc", |
| 6067 | ············"size_in_bytes":·39 | 6067 | ············"size_in_bytes":·39519 |
| 6068 | ········}, | 6068 | ········}, |
| 6069 | ········{ | 6069 | ········{ |
| 6070 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/package.json", | 6070 | ············"_path":·"lib/node_modules/stylelint/node_modules/cacheable/package.json", |
| 6071 | ············"path_type":·"hardlink", | 6071 | ············"path_type":·"hardlink", |
| 6072 | ············"sha256":·" | 6072 | ············"sha256":·"c327a862f8ffa304bbc2ef31749b523ef6f45163596e578e7a73b43fa8aa97a1", |
| 6073 | ············"size_in_bytes":·200 | 6073 | ············"size_in_bytes":·2007 |
| 6074 | ········}, | 6074 | ········}, |
| 6075 | ········{ | 6075 | ········{ |
| 6076 | ············"_path":·"lib/node_modules/stylelint/node_modules/callsites/index.d.ts", | 6076 | ············"_path":·"lib/node_modules/stylelint/node_modules/callsites/index.d.ts", |
| 6077 | ············"path_type":·"hardlink", | 6077 | ············"path_type":·"hardlink", |
| 6078 | ············"sha256":·"6fdc7cbbbc0601f9bb153c30c0e8063321cd1c9211ad512b9fde1d1f785b35dd", | 6078 | ············"sha256":·"6fdc7cbbbc0601f9bb153c30c0e8063321cd1c9211ad512b9fde1d1f785b35dd", |
| 6079 | ············"size_in_bytes":·2351 | 6079 | ············"size_in_bytes":·2351 |
| 6080 | ········}, | 6080 | ········}, |
| Offset 8963, 16 lines modified | Offset 8963, 16 lines modified | ||
| 8963 | ············"path_type":·"hardlink", | 8963 | ············"path_type":·"hardlink", |
| 8964 | ············"sha256":·"b010b0dfdfdb23d7396e03b82cd4621fc9bb8f95d6b0aea70b9c24e12074c786", | 8964 | ············"sha256":·"b010b0dfdfdb23d7396e03b82cd4621fc9bb8f95d6b0aea70b9c24e12074c786", |
| 8965 | ············"size_in_bytes":·1813 | 8965 | ············"size_in_bytes":·1813 |
| 8966 | ········}, | 8966 | ········}, |
| 8967 | ········{ | 8967 | ········{ |
| 8968 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/README.md", | 8968 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/README.md", |
| 8969 | ············"path_type":·"hardlink", | 8969 | ············"path_type":·"hardlink", |
| 8970 | ············"sha256":·" | 8970 | ············"sha256":·"55449f95eb4b7b69f7a97eca943de1e30d7ebcad2e323753e44cf44669133c5f", |
| 8971 | ············"size_in_bytes":·11 | 8971 | ············"size_in_bytes":·11726 |
| 8972 | ········}, | 8972 | ········}, |
| 8973 | ········{ | 8973 | ········{ |
| 8974 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/benchmark/benchmark.mjs", | 8974 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/benchmark/benchmark.mjs", |
| 8975 | ············"path_type":·"hardlink", | 8975 | ············"path_type":·"hardlink", |
| 8976 | ············"sha256":·"45ba9783c3258e448b05bd371161ef9fcbeed332ba1e9455ca9c98edb24e1f33", | 8976 | ············"sha256":·"45ba9783c3258e448b05bd371161ef9fcbeed332ba1e9455ca9c98edb24e1f33", |
| 8977 | ············"size_in_bytes":·4421 | 8977 | ············"size_in_bytes":·4421 |
| 8978 | ········}, | 8978 | ········}, |
| Offset 9011, 46 lines modified | Offset 9011, 46 lines modified | ||
| 9011 | ············"path_type":·"hardlink", | 9011 | ············"path_type":·"hardlink", |
| 9012 | ············"sha256":·"52e3a2601a98f23c954d664ab8de95fddb390789f8b067815e484b010d3da2d0", | 9012 | ············"sha256":·"52e3a2601a98f23c954d664ab8de95fddb390789f8b067815e484b010d3da2d0", |
| 9013 | ············"size_in_bytes":·135 | 9013 | ············"size_in_bytes":·135 |
| 9014 | ········}, | 9014 | ········}, |
| 9015 | ········{ | 9015 | ········{ |
| 9016 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/index.js", | 9016 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/index.js", |
| 9017 | ············"path_type":·"hardlink", | 9017 | ············"path_type":·"hardlink", |
| 9018 | ············"sha256":·" | 9018 | ············"sha256":·"f5f641da3dfef3405e01a0fb21dd546bb86dc7fb553f6b26a541265eb22def55", |
| 9019 | ············"size_in_bytes":·1 | 9019 | ············"size_in_bytes":·12232 |
| 9020 | ········}, | 9020 | ········}, |
| 9021 | ········{ | 9021 | ········{ |
| 9022 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/lib/schemes.js", | 9022 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/lib/schemes.js", |
| 9023 | ············"path_type":·"hardlink", | 9023 | ············"path_type":·"hardlink", |
| 9024 | ············"sha256":·"0f9497f8e43c9b002d79c8a916709daa4ae8a6462735b1b5dc6ad587a28a5064", | 9024 | ············"sha256":·"0f9497f8e43c9b002d79c8a916709daa4ae8a6462735b1b5dc6ad587a28a5064", |
| 9025 | ············"size_in_bytes":·7122 | 9025 | ············"size_in_bytes":·7122 |
| 9026 | ········}, | 9026 | ········}, |
| 9027 | ········{ | 9027 | ········{ |
| 9028 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/lib/utils.js", | 9028 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/lib/utils.js", |
| 9029 | ············"path_type":·"hardlink", | 9029 | ············"path_type":·"hardlink", |
| 9030 | ············"sha256":·" | 9030 | ············"sha256":·"3394986f9670b821493943faafe5d83ccc15109aba908f1b5dd017e27b0d0ea7", |
| 9031 | ············"size_in_bytes":· | 9031 | ············"size_in_bytes":·10762 |
| 9032 | ········}, | 9032 | ········}, |
| 9033 | ········{ | 9033 | ········{ |
| 9034 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/package.json", | 9034 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/package.json", |
| 9035 | ············"path_type":·"hardlink", | 9035 | ············"path_type":·"hardlink", |
| 9036 | ············"sha256":·" | 9036 | ············"sha256":·"bf5b935d03f7fd78711858e0fd05cff61cbb50169658d8df8964a75400a3e251", |
| 9037 | ············"size_in_bytes":·1983 | 9037 | ············"size_in_bytes":·1983 |
| 9038 | ········}, | 9038 | ········}, |
| 9039 | ········{ | 9039 | ········{ |
| 9040 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/test/ajv.test.js", | 9040 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/test/ajv.test.js", |
| 9041 | ············"path_type":·"hardlink", | 9041 | ············"path_type":·"hardlink", |
| 9042 | ············"sha256":·"75892faa0e01df30856f2a87eb50dcd4a4aa9a3ec1c7aa4e290ff936b0789f72", | 9042 | ············"sha256":·"75892faa0e01df30856f2a87eb50dcd4a4aa9a3ec1c7aa4e290ff936b0789f72", |
| 9043 | ············"size_in_bytes":·752 | 9043 | ············"size_in_bytes":·752 |
| 9044 | ········}, | 9044 | ········}, |
| 9045 | ········{ | 9045 | ········{ |
| 9046 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/test/equal.test.js", | 9046 | ············"_path":·"lib/node_modules/stylelint/node_modules/fast-uri/test/equal.test.js", |
| Max diff block lines reached; 9658/15164 bytes (63.69%) of diff not shown. | |||