Version: 1.11.02.0.0-alpha.12.0.0-alpha.1.12.0.0-alpha.22.0.0-alpha.2.12.0.0-alpha.32.0.0-alpha.3.12.0.0-beta.12.0.0-beta.22.0.0-beta.32.0.0-beta.3.12.0.0-canary.15212.0.0-canary.15222.0.0-canary.15232.0.0-canary.15242.0.0-canary.15262.0.0-canary.15272.0.0-canary.15282.0.0-canary.15292.0.0-canary.15302.0.0-canary.15332.0.0-canary.15342.0.0-canary.15352.0.0-canary.15362.0.0-canary.15372.0.0-canary.15422.0.0-canary.15432.0.0-canary.15502.0.0-canary.15512.0.0-canary.15522.0.0-canary.15532.0.0-canary.15592.0.0-canary.15602.0.0-canary.15612.0.0-canary.15622.0.0-canary.15632.0.0-canary.15642.0.0-canary.15652.0.0-canary.15662.0.0-canary.15672.0.0-canary.15712.0.0-canary.15722.0.0-canary.15732.0.0-canary.15742.0.0-canary.15752.0.0-canary.15762.0.0-canary.15772.0.0-canary.15782.0.0-canary.15792.0.0-canary.15802.0.0-canary.15812.0.0-canary.15822.0.0-canary.15852.0.0-canary.15862.0.0-canary.15872.0.0-canary.15902.0.0-canary.15912.0.0-canary.15932.0.0-canary.15952.0.0-canary.15962.0.0-canary.15972.0.0-canary.15982.0.0-canary.15992.0.0-canary.16002.0.0-canary.16012.0.0-canary.16022.0.0-canary.16042.0.0-canary.16052.0.0-canary.16062.0.0-canary.16072.0.0-canary.16082.0.0-canary.16092.0.0-canary.16102.0.0-canary.16112.0.0-canary.16122.0.0-canary.16132.0.0-canary.16142.0.0-canary.16152.0.0-canary.16162.0.0-canary.16172.0.0-canary.16182.0.0-canary.16192.0.0-canary.16202.0.0-canary.16212.0.0-canary.16222.0.0-canary.16242.0.0-canary.16252.0.0-canary.16262.0.0-canary.16272.0.0-canary.16282.0.0-canary.16292.0.0-canary.16302.0.0-canary.16312.0.0-canary.16322.0.0-canary.16332.0.0-canary.16352.0.0-canary.16362.0.0-canary.16372.0.0-canary.16382.0.0-canary.16392.0.0-canary.16402.0.0-canary.16412.0.0-canary.16432.0.0-canary.16442.0.0-canary.16462.0.0-canary.16472.0.0-canary.16482.0.0-canary.16502.0.0-canary.16522.0.0-canary.16542.0.0-canary.16562.0.0-canary.16582.0.0-canary.16592.0.0-canary.16612.0.0-canary.16622.0.0-canary.16632.0.0-canary.16652.0.0-canary.16662.0.0-canary.16672.0.0-canary.16692.0.0-canary.16702.0.0-canary.16812.0.0-canary.16832.0.0-canary.16842.0.0-canary.16852.0.0-canary.16872.0.0-canary.16882.0.0-canary.16902.0.0-canary.16912.0.0-canary.16932.0.0-canary.16942.0.0-canary.16952.0.0-canary.16962.0.0-canary.16972.0.0-canary.16992.0.0-canary.17002.0.0-canary.17022.0.0-canary.17042.0.0-canary.17052.0.0-canary.17062.0.0-canary.17072.0.0-canary.17092.0.0-canary.17102.0.0-canary.17112.0.0-canary.17122.0.0-canary.17132.0.0-canary.17142.0.0-canary.17152.0.0-canary.17162.0.0-canary.17172.0.0-canary.17182.0.0-canary.17192.0.0-canary.17202.0.0-canary.17212.0.0-canary.17222.0.0-dev.14242.0.0-dev.14252.0.0-dev.14262.0.0-dev.14272.0.0-dev.14292.0.0-dev.14302.0.0-dev.14312.0.0-dev.15102.0.0-dev.15142.0.0-dev.15152.0.0-dev.15162.0.0-dev.15172.0.0-dev.15182.0.0-dev.15282.0.0-dev.15482.0.0-dev.15572.0.0-dev.15622.0.0-dev.15652.0.0-dev.15722.0.0-dev.15732.0.0-dev.15742.0.0-dev.15772.0.0-dev.15842.0.0-dev.15862.0.0-dev.16012.0.0-dev.16022.0.0-dev.16032.0.0-dev.16042.0.0-dev.16052.0.0-dev.16082.0.0-dev.16322.0.0-dev.16522.0.0-dev.16802.0.0-dev.17122.0.0-nightly.652.0.0-nightly.662.0.0-nightly.672.0.0-nightly.682.0.0-nightly.692.0.0-nightly.722.0.0-nightly.792.0.0-nightly.852.0.0-nightly.872.0.0-nightly.882.0.0-nightly.922.0.0-nightly.972.0.0-nightly.1012.0.0-nightly.1022.0.0-nightly.1072.0.0-nightly.1122.0.0-nightly.1152.0.0-nightly.1162.0.0-nightly.1172.0.0-nightly.1182.0.0-nightly.1192.0.0-nightly.1202.0.0-nightly.1212.0.0-nightly.1222.0.0-nightly.1272.0.0-nightly.1302.0.0-nightly.1322.0.0-nightly.1332.0.0-nightly.1352.0.0-nightly.1372.0.0-nightly.1402.0.0-nightly.1422.0.0-nightly.1432.0.0-nightly.1442.0.0-nightly.1462.0.0-nightly.1482.0.0-nightly.1492.0.0-nightly.1502.0.0-nightly.1512.0.0-nightly.1552.0.0-nightly.1562.0.0-nightly.1592.0.0-nightly.1652.0.0-nightly.1662.0.0-nightly.1672.0.0-nightly.1732.0.0-nightly.1772.0.0-nightly.1822.0.0-nightly.1852.0.0-nightly.1862.0.0-nightly.1872.0.0-nightly.1912.0.0-nightly.1952.0.0-nightly.1962.0.0-nightly.1982.0.0-nightly.2002.0.0-nightly.2012.0.0-nightly.2032.0.0-nightly.2052.0.0-nightly.2072.0.0-nightly.2092.0.0-nightly.2102.0.0-nightly.2142.0.0-nightly.2192.0.0-nightly.2222.0.0-nightly.2232.0.0-nightly.2252.0.0-nightly.2272.0.0-nightly.2282.0.0-nightly.2292.0.0-nightly.2302.0.0-nightly.2322.0.0-nightly.2362.0.0-nightly.2392.0.0-nightly.2422.0.0-nightly.2492.0.0-nightly.2502.0.0-nightly.2522.0.0-nightly.2532.0.0-nightly.2572.0.0-nightly.2582.0.0-nightly.2612.0.0-nightly.2632.0.0-nightly.2662.0.0-nightly.2682.0.0-nightly.2722.0.0-nightly.2752.0.0-nightly.2772.0.0-nightly.2782.0.0-nightly.2792.0.0-nightly.2802.0.0-nightly.2822.0.0-nightly.2842.0.0-nightly.2862.0.0-nightly.2882.0.0-nightly.2892.0.0-nightly.2902.0.0-nightly.2912.0.0-nightly.2932.0.0-nightly.2952.0.0-nightly.2982.0.0-nightly.2992.0.0-nightly.3022.0.0-nightly.3042.0.0-nightly.3072.0.0-nightly.3132.0.0-nightly.3152.0.0-nightly.3162.0.0-nightly.3202.0.0-nightly.3212.0.0-nightly.3222.0.0-nightly.3242.0.0-nightly.3272.0.0-nightly.3302.0.0-nightly.3312.0.0-nightly.3322.0.0-nightly.3352.0.0-nightly.3392.0.0-nightly.3402.0.0-nightly.3412.0.0-nightly.3432.0.0-nightly.3462.0.0-nightly.3492.0.0-nightly.3512.0.0-nightly.3522.0.0-nightly.3542.0.0-nightly.3552.0.0-nightly.3562.0.0-nightly.3572.0.0-nightly.3592.0.0-nightly.3602.0.0-nightly.3622.0.0-nightly.3662.0.0-nightly.3682.0.0-nightly.3702.0.0-nightly.3722.0.0-nightly.3742.0.0-nightly.3782.0.0-nightly.3792.0.0-nightly.3802.0.0-nightly.3822.0.0-nightly.3862.0.0-nightly.3872.0.0-nightly.3882.0.0-nightly.3892.0.0-nightly.3902.0.0-nightly.3912.0.0-nightly.3972.0.0-nightly.3982.0.0-nightly.3992.0.0-nightly.4002.0.0-nightly.4012.0.0-nightly.4022.0.0-nightly.4032.0.0-nightly.4052.0.0-nightly.4092.0.0-nightly.4102.0.0-nightly.4112.0.0-nightly.4122.0.0-nightly.4132.0.0-nightly.4152.0.0-nightly.4162.0.0-nightly.4172.0.0-nightly.4182.0.0-nightly.4212.0.0-nightly.4222.0.0-nightly.4262.0.0-nightly.4272.0.0-nightly.4282.0.0-nightly.4292.0.0-nightly.4302.0.0-nightly.4312.0.0-nightly.4322.0.0-nightly.4342.0.0-nightly.4352.0.0-nightly.4372.0.0-nightly.4402.0.0-nightly.4412.0.0-nightly.4422.0.0-nightly.4442.0.0-nightly.4452.0.0-nightly.4462.0.0-nightly.4472.0.0-nightly.4482.0.0-nightly.4492.0.0-nightly.4542.0.0-nightly.4552.0.0-nightly.4562.0.0-nightly.4592.0.0-nightly.4622.0.0-nightly.4642.0.0-nightly.4652.0.0-nightly.4662.0.0-nightly.4672.0.0-nightly.4682.0.0-nightly.4692.0.0-nightly.4712.0.0-nightly.4742.0.0-nightly.4762.0.0-nightly.4772.0.0-nightly.4782.0.0-nightly.4792.0.0-nightly.4812.0.0-nightly.4832.0.0-nightly.4872.0.0-nightly.4882.0.0-nightly.4912.0.0-nightly.4922.0.0-nightly.4932.0.0-nightly.4942.0.0-nightly.4972.0.0-nightly.4982.0.0-nightly.5022.0.0-nightly.5062.0.0-nightly.5082.0.0-nightly.5132.0.0-nightly.5152.0.0-nightly.5162.0.0-nightly.5222.0.0-nightly.5242.0.0-nightly.5262.0.0-nightly.5292.0.0-nightly.5342.0.0-nightly.5372.0.0-nightly.5392.0.0-nightly.5412.0.0-nightly.5422.0.0-nightly.5502.0.0-nightly.5532.0.0-nightly.5552.0.0-nightly.5562.0.0-nightly.5602.0.0-nightly.5622.0.0-nightly.5642.0.0-nightly.5682.0.0-nightly.5722.0.0-nightly.5752.0.0-nightly.5762.0.0-nightly.5792.0.0-nightly.5812.0.0-nightly.5872.0.0-nightly.5922.0.0-nightly.5942.0.0-nightly.5982.0.0-nightly.5992.0.0-nightly.6002.0.0-nightly.6022.0.0-nightly.6052.0.0-nightly.6072.0.0-nightly.6082.0.0-nightly.6092.0.0-nightly.6102.0.0-nightly.6112.0.0-nightly.6122.0.0-nightly.6162.0.0-nightly.6172.0.0-nightly.6202.0.0-nightly.6212.0.0-nightly.6222.0.0-nightly.6252.0.0-nightly.6272.0.0-nightly.6282.0.0-nightly.6292.0.0-nightly.6302.0.0-nightly.6312.0.0-nightly.6322.0.0-nightly.6332.0.0-nightly.6342.0.0-nightly.6352.0.0-nightly.6362.0.0-nightly.6372.0.0-nightly.6382.0.0-nightly.6392.0.0-nightly.6412.0.0-nightly.6422.0.0-nightly.6432.0.0-nightly.6442.0.0-nightly.6452.0.0-nightly.6462.0.0-nightly.6482.0.0-nightly.6492.0.0-nightly.6512.0.0-nightly.6522.0.0-nightly.6532.0.0-nightly.6552.0.0-nightly.6562.0.0-nightly.6572.0.0-nightly.6622.0.0-nightly.6672.0.0-nightly.6702.0.0-nightly.6712.0.0-nightly.6722.0.0-nightly.6732.0.0-nightly.6742.0.0-nightly.6762.0.0-nightly.6782.0.0-nightly.6792.0.0-nightly.6802.0.0-nightly.6812.0.0-nightly.6882.0.0-nightly.6902.0.0-nightly.7032.0.0-nightly.7062.0.0-nightly.7102.0.0-nightly.7132.0.0-nightly.7162.0.0-nightly.7182.0.0-nightly.7202.0.0-nightly.7212.0.0-nightly.7222.0.0-nightly.7242.0.0-nightly.7272.0.0-nightly.7282.0.0-nightly.7312.0.0-nightly.7332.0.0-nightly.7342.0.0-nightly.7352.0.0-nightly.7362.0.0-nightly.7482.0.0-nightly.7512.0.0-nightly.7522.0.0-nightly.7542.0.0-nightly.7552.0.0-nightly.7582.0.0-nightly.7622.0.0-nightly.7652.0.0-nightly.7662.0.0-nightly.7692.0.0-nightly.7712.0.0-nightly.7762.0.0-nightly.7782.0.0-nightly.7922.0.0-nightly.7942.0.0-nightly.7952.0.0-nightly.7962.0.0-nightly.7982.0.0-nightly.8002.0.0-nightly.8012.0.0-nightly.8022.0.0-nightly.8032.0.0-nightly.8042.0.0-nightly.8062.0.0-nightly.8082.0.0-nightly.8112.0.0-nightly.8122.0.0-nightly.8132.0.0-nightly.8142.0.0-nightly.8152.0.0-nightly.8192.0.0-nightly.8212.0.0-nightly.8232.0.0-nightly.8262.0.0-nightly.8382.0.0-nightly.8392.0.0-nightly.8402.0.0-nightly.8422.0.0-nightly.8432.0.0-nightly.8442.0.0-nightly.8452.0.0-nightly.8462.0.0-nightly.8472.0.0-nightly.8492.0.0-nightly.8522.0.0-nightly.8542.0.0-nightly.8572.0.0-nightly.8612.0.0-nightly.8662.0.0-nightly.8692.0.0-nightly.8752.0.0-nightly.8782.0.0-nightly.8792.0.0-nightly.8812.0.0-nightly.8842.0.0-nightly.8862.0.0-nightly.8872.0.0-nightly.8882.0.0-nightly.8892.0.0-nightly.8902.0.0-nightly.8912.0.0-nightly.8922.0.0-nightly.8952.0.0-nightly.8962.0.0-nightly.8972.0.0-nightly.8982.0.0-nightly.8992.0.0-nightly.9052.0.0-nightly.9062.0.0-nightly.9072.0.0-nightly.9112.0.0-nightly.9122.0.0-nightly.9142.0.0-nightly.9182.0.0-nightly.9192.0.0-nightly.9262.0.0-nightly.9272.0.0-nightly.9322.0.0-nightly.9342.0.0-nightly.9362.0.0-nightly.9412.0.0-nightly.9422.0.0-nightly.9442.0.0-nightly.9472.0.0-nightly.9492.0.0-nightly.9502.0.0-nightly.9512.0.0-nightly.9532.0.0-nightly.9542.0.0-nightly.9592.0.0-nightly.9622.0.0-nightly.9632.0.0-nightly.9672.0.0-nightly.9702.0.0-nightly.9772.0.0-nightly.9782.0.0-nightly.9822.0.0-nightly.9862.0.0-nightly.9912.0.0-nightly.9922.0.0-nightly.9932.0.0-nightly.10022.0.0-nightly.10042.0.0-nightly.10062.0.0-nightly.10092.0.0-nightly.10102.0.0-nightly.10122.0.0-nightly.10142.0.0-nightly.10152.0.0-nightly.10192.0.0-nightly.10272.0.0-nightly.10302.0.0-nightly.10312.0.0-nightly.10322.0.0-nightly.10332.0.0-nightly.10342.0.0-nightly.10372.0.0-nightly.10382.0.0-nightly.10412.0.0-nightly.10422.0.0-nightly.10432.0.0-nightly.10512.0.0-nightly.10532.0.0-nightly.10542.0.0-nightly.10552.0.0-nightly.10562.0.0-nightly.10692.0.0-nightly.10702.0.0-nightly.10732.0.0-nightly.10742.0.0-nightly.10752.0.0-nightly.10772.0.0-nightly.10802.0.0-nightly.10822.0.0-nightly.10852.0.0-nightly.10862.0.0-nightly.10882.0.0-nightly.10892.0.0-nightly.10902.0.0-nightly.10912.0.0-nightly.10922.0.0-nightly.10962.0.0-nightly.10972.0.0-nightly.10982.0.0-nightly.10992.0.0-nightly.11032.0.0-nightly.11052.0.0-nightly.11102.0.0-nightly.11122.0.0-nightly.11132.0.0-nightly.11162.0.0-nightly.11172.0.0-nightly.11242.0.0-nightly.11252.0.0-nightly.11272.0.0-nightly.11282.0.0-nightly.11302.0.0-nightly.11312.0.0-nightly.11322.0.0-nightly.11332.0.0-nightly.11342.0.0-nightly.11352.0.0-nightly.11362.0.0-nightly.11372.0.0-nightly.11382.0.0-nightly.11402.0.0-nightly.11582.0.0-nightly.11592.0.0-nightly.11612.0.0-nightly.11622.0.0-nightly.11642.0.0-nightly.11652.0.0-nightly.11712.0.0-nightly.11722.0.0-nightly.11732.0.0-nightly.11742.0.0-nightly.11752.0.0-nightly.11762.0.0-nightly.11772.0.0-nightly.11782.0.0-nightly.11792.0.0-nightly.11832.0.0-nightly.11852.0.0-nightly.11862.0.0-nightly.11872.0.0-nightly.11882.0.0-nightly.11902.0.0-nightly.11912.0.0-nightly.11922.0.0-nightly.11952.0.0-nightly.11972.0.0-nightly.12002.0.0-nightly.12022.0.0-nightly.12042.0.0-nightly.12052.0.0-nightly.12112.0.0-nightly.12122.0.0-nightly.12142.0.0-nightly.12162.0.0-nightly.12192.0.0-nightly.12212.0.0-nightly.12222.0.0-nightly.12232.0.0-nightly.12282.0.0-nightly.12322.0.0-nightly.12342.0.0-nightly.12362.0.0-nightly.12372.0.0-nightly.12382.0.0-nightly.12392.0.0-nightly.12402.0.0-nightly.12422.0.0-nightly.12442.0.0-nightly.12452.0.0-nightly.12462.0.0-nightly.12482.0.0-nightly.12492.0.0-nightly.12522.0.0-nightly.12532.0.0-nightly.12542.0.0-nightly.12552.0.0-nightly.12562.0.0-nightly.12652.0.0-nightly.12662.0.0-nightly.12672.0.0-nightly.12732.0.0-nightly.12742.0.0-nightly.12752.0.0-nightly.12772.0.0-nightly.12782.0.0-nightly.12802.0.0-nightly.12812.0.0-nightly.12822.0.0-nightly.12832.0.0-nightly.12842.0.0-nightly.12852.0.0-nightly.12892.0.0-nightly.12902.0.0-nightly.12932.0.0-nightly.12942.0.0-nightly.12952.0.0-nightly.12982.0.0-nightly.13032.0.0-nightly.13142.0.0-nightly.13162.0.0-nightly.13192.0.0-nightly.13222.0.0-nightly.13242.0.0-nightly.13262.0.0-nightly.13312.0.0-nightly.13322.0.0-nightly.13352.0.0-nightly.13392.0.0-nightly.13402.0.0-nightly.13422.0.0-nightly.13442.0.0-nightly.13452.0.0-nightly.13492.0.0-nightly.13502.0.0-nightly.13512.0.0-nightly.13522.0.0-nightly.13532.0.0-nightly.13542.0.0-nightly.13552.0.0-nightly.13562.0.0-nightly.13572.0.0-nightly.13582.0.0-nightly.13592.0.0-nightly.13602.0.0-nightly.13622.0.0-nightly.13652.0.0-nightly.13672.0.0-nightly.13682.0.0-nightly.13692.0.0-nightly.13702.0.0-nightly.13732.0.0-nightly.13742.0.0-nightly.13762.0.0-nightly.13802.0.0-nightly.13812.0.0-nightly.13852.0.0-nightly.13862.0.0-nightly.13912.0.0-nightly.13952.0.0-nightly.13992.0.0-nightly.14002.0.0-nightly.14042.0.0-nightly.14052.0.0-nightly.14062.0.0-nightly.14112.0.0-nightly.14152.0.0-nightly.14172.0.0-nightly.14182.0.0-nightly.14192.0.0-nightly.14212.0.0-nightly.14232.0.0-nightly.14242.0.0-nightly.14272.0.0-nightly.14302.0.0-nightly.14312.0.0-nightly.14332.0.0-nightly.14342.0.0-nightly.14362.0.0-nightly.14392.0.0-nightly.14412.0.0-nightly.14422.0.0-nightly.14432.0.0-nightly.14452.0.0-nightly.14462.0.0-nightly.14472.0.0-nightly.14482.0.0-nightly.14492.0.0-nightly.14512.0.0-nightly.14522.0.0-nightly.14682.0.0-nightly.14702.0.0-nightly.14712.0.0-nightly.14812.0.0-nightly.14822.0.0-nightly.14832.0.0-nightly.14842.0.0-nightly.14852.0.0-nightly.14862.0.0-nightly.14882.0.0-nightly.14902.0.0-nightly.14912.0.0-nightly.14962.0.0-nightly.14972.0.0-nightly.14982.0.0-nightly.15002.0.0-nightly.15012.0.0-nightly.15022.0.0-nightly.15032.0.0-nightly.15042.0.0-nightly.15112.0.0-nightly.15142.0.0-nightly.15182.0.0-nightly.15192.0.0-rc.02.0.02.0.12.1.02.1.12.2.02.2.12.3.02.3.12.3.22.4.02.4.12.5.02.6.02.6.12.6.22.7.02.8.02.8.12.8.22.8.32.8.4-nightly.02.9.02.9.12.9.22.9.32.10.02.10.12.10.22.10.32.11.02.12.0
// @flow strict-local
import {Transform} from 'stream';
/*
* "Taps" into the contents of a flowing stream, yielding chunks to the passed
* callback. Continues to pass data chunks down the stream.
*/
export default class TapStream extends Transform {
_tap: Buffer => mixed;
constructor(tap: Buffer => mixed, options: mixed) {
super({...options});
this._tap = tap;
}
_transform(
chunk: Buffer | string,
encoding: string,
callback: (err: ?Error, chunk?: Buffer | string) => mixed
) {
try {
this._tap(Buffer.from(chunk));
callback(null, chunk);
} catch (err) {
callback(err);