From b1f02e4e1c9d985dadde92366fd7db9d2ad7d35c Mon Sep 17 00:00:00 2001 From: maxgfr <25312957+maxgfr@users.noreply.github.com> Date: Tue, 8 Mar 2022 14:29:26 +0100 Subject: [PATCH] fix: trivy --- .../__snapshots__/index.test.js.snap | 518 ++++++++++++++++++ 1 file changed, 518 insertions(+) create mode 100644 shared/elasticsearch/src/vectorizer/__snapshots__/index.test.js.snap diff --git a/shared/elasticsearch/src/vectorizer/__snapshots__/index.test.js.snap b/shared/elasticsearch/src/vectorizer/__snapshots__/index.test.js.snap new file mode 100644 index 000000000..4cb0a6f38 --- /dev/null +++ b/shared/elasticsearch/src/vectorizer/__snapshots__/index.test.js.snap @@ -0,0 +1,518 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Should vectorize query 1`] = ` +Array [ + 0.0438434444, + -0.0490312539, + 0.00235110242, + -0.0780912489, + -0.0701495335, + 0.0556978248, + 0.0446451902, + -0.047936216, + 0.0256066509, + -0.03242971, + -0.0381305628, + -0.0263730381, + -0.0533100329, + -0.0143299643, + 0.0422459319, + -0.0851668417, + 0.0482804701, + -0.0531980395, + -0.015551528, + 0.013783155, + 0.0458553731, + -0.0720224231, + -0.00312756258, + 0.0410562083, + 0.0376711, + -0.0325902961, + -0.0356587246, + 0.0542115569, + 0.020415673, + -0.0212877952, + 0.0806816593, + -0.0714659616, + 0.0635643378, + 0.0439954363, + 0.0304844957, + -0.0115209622, + -0.0268593561, + -0.00380108971, + -0.0538817793, + 0.085490115, + 0.0444503501, + 0.0360992476, + 0.02336183, + 0.0258550551, + 0.0581101961, + 0.0475058071, + -0.0501295626, + -0.0481438823, + 0.0188793372, + -0.0209107306, + -0.0551797859, + -0.0291177, + -0.00898006745, + -0.0398417413, + -0.0848915502, + 0.0884981155, + 0.0865295753, + -0.0175486505, + 0.0414926559, + -0.00519013638, + 0.0214591846, + 0.0502149314, + 0.0383131132, + 0.0305958353, + 0.0587414391, + 0.00130343123, + -0.0303584728, + -0.0441885963, + 0.037137989, + 0.0136861494, + 0.00521947211, + 0.05365045, + 0.0396001, + -0.0222272091, + 0.0315906815, + -0.00820838846, + -0.000315720448, + -0.0497042537, + 0.0217814744, + -0.00408855826, + 0.000484791206, + 0.00740012154, + -0.0869826227, + 0.048788853, + 0.00181597238, + 0.0858082175, + 0.0496106297, + -0.0504398122, + 0.0876824781, + 0.0452748165, + 0.0311690141, + 0.0332900174, + -0.0894301534, + 0.0590081252, + -0.0156490635, + 0.06687814, + 0.0125535987, + -0.0364926644, + -0.0560784712, + 0.0228263382, + 0.0158741903, + 0.00910736527, + -0.0503972173, + -0.0829613507, + 0.0132032717, + -0.0281754546, + 0.0432832725, + 0.02634684, + 0.0342485942, + 0.0125774518, + -0.0322239846, + 0.0895613208, + 0.0748208836, + -0.026721295, + 0.0838165805, + -0.0267279129, + 0.0433920547, + 0.0674289539, + 0.0750565305, + -0.0373892523, + -0.0314786434, + -0.00571815949, + -0.0166967586, + 0.04927136, + -0.000846634619, + -0.0527553931, + -0.0282503758, + -0.00167986064, + 0.0444089696, + 0.0409143195, + 0.00632905308, + 0.0434069298, + 0.0269144718, + -0.0261396337, + 0.0112772873, + -0.0280284081, + -0.0484059714, + -0.0380344912, + -0.0233404692, + -0.0245412141, + -0.0223798603, + -0.0610495023, + -0.00616649864, + -0.063930057, + -0.0444256365, + -0.0188375898, + 0.0438707694, + -0.0458817258, + 0.0148102036, + 0.0139474897, + 0.0164261311, + 0.0636297315, + -0.0070602526, + 0.0588596426, + 0.0576197356, + 0.0778694674, + 0.0307238922, + 0.0846642256, + -0.0357397161, + -0.0288816597, + -0.0503234267, + -0.0694722831, + -0.0275475327, + 0.00457767863, + 0.0104184439, + 0.0319374353, + 0.0442467816, + -0.0230857804, + 0.0449570045, + 0.0550148748, + -0.0714119449, + -0.018858688, + 0.0833924711, + -0.0624462739, + -0.0474287681, + 0.0638572797, + -0.0388612971, + 0.0296103712, + -0.0493157394, + -0.0553766228, + -0.00962883327, + -0.037349008, + 0.0143496254, + -0.0243990608, + -0.0540206395, + -0.0526327, + 0.0563644804, + 0.03772128, + 0.0446871258, + -0.0505562052, + -0.0284344293, + -0.0197533052, + -0.0841704234, + -0.0533251129, + 0.00416566711, + -0.0362208523, + -0.033615157, + 0.033833459, + 0.0221248791, + -0.0534501933, + 0.0686795637, + 0.0256583728, + 0.0275796782, + 0.00961466, + -0.0471304543, + -0.0169485509, + -0.00672082836, + -0.0341275, + -0.0262650531, + 0.0366224647, + 0.0133584244, + -0.048714146, + -0.035943877, + -0.0557364151, + 0.0140161728, + -0.0399260782, + 0.0120830657, + 0.0306740087, + -0.0287626833, + 0.00434094807, + -0.064405404, + 0.0546573326, + -0.0422844812, + 0.0278841443, + 0.0727715418, + 0.0193923954, + 0.034654744, + -0.0468010269, + -0.0303750578, + -0.0803945, + 0.0846428797, + 0.0892245248, + 0.0407531634, + 0.0334679522, + -0.0417619571, + -0.0334874056, + 0.0547210649, + -0.0350732431, + 0.0257862527, + 0.0891598836, + 0.0012168244, + -0.0346523412, + 0.0312033501, + 0.023453705, + 0.0415360928, + -0.0274892, + 0.0842922777, + -0.0596132949, + -0.0424585119, + 0.0000862680681, + 0.0259262919, + 0.0603292286, + 0.0443825088, + -0.05518898, + -0.0105086453, + 0.0708460361, + -0.0589231849, + 0.00985942688, + -0.0105161266, + 0.00274796132, + -0.0181794614, + -0.00148375775, + -0.0374469347, + 0.00469152536, + -0.0415378697, + 0.0428713486, + -0.0305133909, + -0.0323491506, + 0.0572924, + -0.0165061746, + -0.0481721833, + 0.00825456, + 0.0369821973, + 0.0637124479, + 0.0472295769, + 0.0332592353, + -0.0185355656, + -0.0438800342, + -0.0384379216, + -0.0343373641, + 0.0224762689, + 0.0639191717, + 0.0495103076, + 0.0510535315, + -0.0187720247, + -0.0811314434, + 0.0251854435, + 0.0128281051, + -0.0331289358, + 0.0148917595, + -0.0784121081, + -0.0484440364, + 0.0565910749, + -0.0635484755, + 0.0196403842, + -0.0169618744, + 0.0808047652, + -0.025887236, + 0.022931179, + 0.0363457613, + 0.0419951528, + -0.0520798825, + 0.0135846697, + -0.00122524623, + -0.0654181466, + 0.0331145041, + -0.055592183, + 0.056666337, + 0.0396073498, + -0.0344177857, + -0.00455845194, + -0.00152326387, + -0.0282495562, + -0.0895441622, + -0.0382580236, + -0.0458223708, + 0.0421960652, + -0.0238940697, + -0.00210448424, + -0.0502500832, + 0.0464117676, + -0.0555515029, + 0.0513378233, + 0.0204190835, + -0.0421888717, + -0.0327247158, + -0.0358271264, + 0.0172335729, + 0.0372308344, + 0.0865138099, + 0.0375631899, + 0.0743991435, + 0.0436373092, + -0.0507825091, + 0.0364600495, + -0.0227652062, + 0.0291484762, + 0.02850697, + 0.0130858, + -0.0382515527, + -0.0374166295, + 0.0445228331, + -0.0122084673, + -0.0596516691, + 0.0145608243, + -0.0233841278, + 0.0802331, + -0.0459859483, + -0.0559436493, + -0.0887912512, + -0.0554513, + 0.00295471447, + -0.0169992149, + 0.0469386242, + -0.0665064305, + -0.0295859706, + -0.0196363144, + -0.0416762196, + 0.036030326, + -0.0322416723, + 0.0433701389, + -0.0445168205, + -0.0622924045, + -0.0471341759, + -0.00853631645, + -0.0368881561, + 0.00767552, + -0.0294911191, + -0.00738387927, + 0.0186420791, + -0.0653548241, + 0.0561704934, + 0.0563674606, + -0.0343773142, + -0.0122860139, + 0.0166428108, + 0.00164873188, + 0.0249331668, + 0.0482275, + 0.0597106367, + 0.0673185214, + 0.0199276078, + 0.0328864865, + 0.022765765, + 0.0612067506, + 0.003126672, + -0.0109046055, + -0.0821962655, + 0.055352658, + -0.0370009392, + 0.0570427515, + -0.0058106347, + 0.0382646471, + 0.0562737808, + 0.0140296742, + -0.0259991642, + -0.0317904763, + -0.0574578866, + 0.00207970547, + -0.0101685235, + -0.00697827619, + 0.0303706918, + 0.0528893657, + -0.0504900962, + -0.0307756029, + -0.0631296933, + -0.0400354452, + 0.00892951619, + 0.031390164, + 0.0448109359, + 0.0550018586, + 0.021343641, + -0.00636482891, + -0.0181989316, + -0.0175447278, + 0.0473422967, + 0.0288592372, + 0.0319808237, + 0.0576672405, + 0.0165910013, + -0.0168909021, + -0.067121543, + -0.0288633779, + 0.0635483563, + 0.0321576819, + -0.0607527681, + -0.0205502454, + -0.00285521871, + -0.0457142629, + 0.0641788915, + -0.027456345, + -0.0201446, + 0.0473186076, + -0.0493149459, + -0.0534017459, + -0.0134483818, + 0.0214075726, + 0.0600798428, + 0.0374310501, + 0.0488755293, + -0.0376930907, + 0.0738425478, + -0.0443806946, + 0.054033637, + -0.0765658244, + 0.00831419881, + -0.0415831469, + -0.0456575938, + 0.0624215342, + 0.0497765802, + -0.0432529971, + -0.0129977688, + -0.00395290181, + -0.015662184, + 0.0828978643, + -0.0289102886, + 0.0349290743, + 0.0225151889, + -0.037387196, + 0.0235617701, + 0.0237791222, + 0.0796598122, + 0.0205919966, + 0.022677416, + -0.00914188288, + 0.0850592554, + 0.0286211483, + 0.00278234249, + -0.029157998, + 0.0476852246, + -0.049265068, + -0.0191195849, + -0.0385595858, + 0.026864158, + -0.0540936254, + -0.041235894, + 0.0534972511, + -0.0544652566, + -0.0704171211, + 0.0552844293, + 0.0323622078, + 0.0351666771, + 0.0887229368, + 0.0182562284, + -0.0493174642, + -0.0326105952, + 0.00224631792, + 0.0183045343, + 0.0503613465, + -0.0511848032, + -0.0803402662, + 0.0419877917, + 0.0448362865, + 0.0175788123, + -0.0039798189, + 0.00421866914, + -0.0554786846, + -0.00165159965, + -0.0836706385, + -0.053976953, + 0.0536644273, + 0.0230259504, + 0.00437026564, + -0.0429702699, + -0.0508877859, + -0.0124947205, + -0.0472936705, + 0.0794638693, + -0.0355518796, + 0.0460581519, + 0.0422027372, + 0.0455406271, +] +`;