table 3.8.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +35 -16
  2. package/dist/alignString.js +19 -842
  3. package/dist/alignTableData.js +4 -226
  4. package/dist/calculateCellHeight.js +6 -343
  5. package/dist/calculateCellWidthIndex.js +2 -112
  6. package/dist/calculateMaximumColumnWidthIndex.js +5 -299
  7. package/dist/calculateRowHeightIndex.js +8 -333
  8. package/dist/createStream.js +19 -814
  9. package/dist/drawBorder.js +11 -292
  10. package/dist/drawRow.js +1 -69
  11. package/dist/drawTable.js +7 -474
  12. package/dist/getBorderCharacters.js +1 -315
  13. package/dist/index.js +4 -28
  14. package/dist/makeConfig.js +15 -544
  15. package/dist/makeStreamConfig.js +13 -587
  16. package/dist/mapDataUsingRowHeightIndex.js +9 -349
  17. package/dist/padTableData.js +5 -166
  18. package/dist/schemas/config.json +2 -2
  19. package/dist/schemas/streamConfig.json +2 -2
  20. package/dist/stringifyTableData.js +4 -116
  21. package/dist/table.js +5 -203
  22. package/dist/truncateTableData.js +3 -147
  23. package/dist/validateConfig.js +20 -23
  24. package/dist/validateStreamConfig.js +17 -19
  25. package/dist/validateTableData.js +11 -528
  26. package/dist/wrapString.js +3 -135
  27. package/dist/wrapWord.js +4 -257
  28. package/package.json +27 -24
  29. package/test/README/usage/basic.js +0 -25
  30. package/test/README/usage/cell_content_alignment.js +0 -45
  31. package/test/README/usage/column_width.js +0 -33
  32. package/test/README/usage/custom_border.js +0 -50
  33. package/test/README/usage/draw_horizontal_line.js +0 -41
  34. package/test/README/usage/expectTable.js +0 -13
  35. package/test/README/usage/moon_mission.js +0 -67
  36. package/test/README/usage/padding_cell_content.js +0 -39
  37. package/test/README/usage/predefined_border_templates.js +0 -91
  38. package/test/README/usage/streaming.js +0 -56
  39. package/test/README/usage/text_truncating.js +0 -32
  40. package/test/README/usage/text_wrapping.js +0 -67
  41. package/test/alignString.js +0 -102
  42. package/test/calculateCellHeight.js +0 -44
  43. package/test/calculateCellWidthIndex.js +0 -20
  44. package/test/calculateMaximumColumnWidthIndex.js +0 -59
  45. package/test/calculateRowHeightIndex.js +0 -78
  46. package/test/config.js +0 -43
  47. package/test/configSamples.js +0 -153
  48. package/test/createStream.js +0 -41
  49. package/test/drawBorder.js +0 -71
  50. package/test/makeConfig.js +0 -75
  51. package/test/mapDataUsingRowHeightIndex.js +0 -119
  52. package/test/streamConfig.js +0 -43
  53. package/test/streamConfigSamples.js +0 -151
  54. package/test/validateTableData.js +0 -65
  55. package/test/wrapString.js +0 -45
  56. package/test/wrapWord.js +0 -32
@@ -4,747 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var cov_129yad3bqp = function () {
8
- var path = '/Users/gajuskuizinas/Documents/dev/gajus/table/src/createStream.js',
9
- hash = '010614a23f3df4b4d26327499bc89f0103d53217',
10
- global = new Function('return this')(),
11
- gcv = '__coverage__',
12
- coverageData = {
13
- path: '/Users/gajuskuizinas/Documents/dev/gajus/table/src/createStream.js',
14
- statementMap: {
15
- '0': {
16
- start: {
17
- line: 21,
18
- column: 20
19
- },
20
- end: {
21
- line: 35,
22
- column: 1
23
- }
24
- },
25
- '1': {
26
- start: {
27
- line: 24,
28
- column: 2
29
- },
30
- end: {
31
- line: 24,
32
- column: 34
33
- }
34
- },
35
- '2': {
36
- start: {
37
- line: 26,
38
- column: 2
39
- },
40
- end: {
41
- line: 26,
42
- column: 41
43
- }
44
- },
45
- '3': {
46
- start: {
47
- line: 28,
48
- column: 25
49
- },
50
- end: {
51
- line: 28,
52
- column: 62
53
- }
54
- },
55
- '4': {
56
- start: {
57
- line: 30,
58
- column: 2
59
- },
60
- end: {
61
- line: 30,
62
- column: 66
63
- }
64
- },
65
- '5': {
66
- start: {
67
- line: 31,
68
- column: 2
69
- },
70
- end: {
71
- line: 31,
72
- column: 38
73
- }
74
- },
75
- '6': {
76
- start: {
77
- line: 32,
78
- column: 2
79
- },
80
- end: {
81
- line: 32,
82
- column: 36
83
- }
84
- },
85
- '7': {
86
- start: {
87
- line: 34,
88
- column: 2
89
- },
90
- end: {
91
- line: 34,
92
- column: 14
93
- }
94
- },
95
- '8': {
96
- start: {
97
- line: 43,
98
- column: 15
99
- },
100
- end: {
101
- line: 61,
102
- column: 1
103
- }
104
- },
105
- '9': {
106
- start: {
107
- line: 44,
108
- column: 15
109
- },
110
- end: {
111
- line: 44,
112
- column: 41
113
- }
114
- },
115
- '10': {
116
- start: {
117
- line: 46,
118
- column: 15
119
- },
120
- end: {
121
- line: 48,
122
- column: 13
123
- }
124
- },
125
- '11': {
126
- start: {
127
- line: 47,
128
- column: 4
129
- },
130
- end: {
131
- line: 47,
132
- column: 46
133
- }
134
- },
135
- '12': {
136
- start: {
137
- line: 52,
138
- column: 2
139
- },
140
- end: {
141
- line: 52,
142
- column: 14
143
- }
144
- },
145
- '13': {
146
- start: {
147
- line: 54,
148
- column: 2
149
- },
150
- end: {
151
- line: 54,
152
- column: 59
153
- }
154
- },
155
- '14': {
156
- start: {
157
- line: 55,
158
- column: 2
159
- },
160
- end: {
161
- line: 55,
162
- column: 17
163
- }
164
- },
165
- '15': {
166
- start: {
167
- line: 56,
168
- column: 2
169
- },
170
- end: {
171
- line: 56,
172
- column: 62
173
- }
174
- },
175
- '16': {
176
- start: {
177
- line: 58,
178
- column: 2
179
- },
180
- end: {
181
- line: 58,
182
- column: 29
183
- }
184
- },
185
- '17': {
186
- start: {
187
- line: 60,
188
- column: 2
189
- },
190
- end: {
191
- line: 60,
192
- column: 31
193
- }
194
- },
195
- '18': {
196
- start: {
197
- line: 69,
198
- column: 15
199
- },
200
- end: {
201
- line: 87,
202
- column: 1
203
- }
204
- },
205
- '19': {
206
- start: {
207
- line: 70,
208
- column: 15
209
- },
210
- end: {
211
- line: 70,
212
- column: 41
213
- }
214
- },
215
- '20': {
216
- start: {
217
- line: 72,
218
- column: 15
219
- },
220
- end: {
221
- line: 74,
222
- column: 13
223
- }
224
- },
225
- '21': {
226
- start: {
227
- line: 73,
228
- column: 4
229
- },
230
- end: {
231
- line: 73,
232
- column: 46
233
- }
234
- },
235
- '22': {
236
- start: {
237
- line: 78,
238
- column: 2
239
- },
240
- end: {
241
- line: 78,
242
- column: 22
243
- }
244
- },
245
- '23': {
246
- start: {
247
- line: 80,
248
- column: 2
249
- },
250
- end: {
251
- line: 80,
252
- column: 60
253
- }
254
- },
255
- '24': {
256
- start: {
257
- line: 81,
258
- column: 2
259
- },
260
- end: {
261
- line: 81,
262
- column: 17
263
- }
264
- },
265
- '25': {
266
- start: {
267
- line: 82,
268
- column: 2
269
- },
270
- end: {
271
- line: 82,
272
- column: 62
273
- }
274
- },
275
- '26': {
276
- start: {
277
- line: 84,
278
- column: 2
279
- },
280
- end: {
281
- line: 84,
282
- column: 29
283
- }
284
- },
285
- '27': {
286
- start: {
287
- line: 86,
288
- column: 2
289
- },
290
- end: {
291
- line: 86,
292
- column: 31
293
- }
294
- },
295
- '28': {
296
- start: {
297
- line: 94,
298
- column: 17
299
- },
300
- end: {
301
- line: 94,
302
- column: 45
303
- }
304
- },
305
- '29': {
306
- start: {
307
- line: 96,
308
- column: 27
309
- },
310
- end: {
311
- line: 98,
312
- column: 4
313
- }
314
- },
315
- '30': {
316
- start: {
317
- line: 97,
318
- column: 4
319
- },
320
- end: {
321
- line: 97,
322
- column: 67
323
- }
324
- },
325
- '31': {
326
- start: {
327
- line: 102,
328
- column: 2
329
- },
330
- end: {
331
- line: 102,
332
- column: 15
333
- }
334
- },
335
- '32': {
336
- start: {
337
- line: 104,
338
- column: 2
339
- },
340
- end: {
341
- line: 122,
342
- column: 4
343
- }
344
- },
345
- '33': {
346
- start: {
347
- line: 110,
348
- column: 6
349
- },
350
- end: {
351
- line: 112,
352
- column: 7
353
- }
354
- },
355
- '34': {
356
- start: {
357
- line: 111,
358
- column: 8
359
- },
360
- end: {
361
- line: 111,
362
- column: 81
363
- }
364
- },
365
- '35': {
366
- start: {
367
- line: 114,
368
- column: 6
369
- },
370
- end: {
371
- line: 120,
372
- column: 7
373
- }
374
- },
375
- '36': {
376
- start: {
377
- line: 115,
378
- column: 8
379
- },
380
- end: {
381
- line: 115,
382
- column: 22
383
- }
384
- },
385
- '37': {
386
- start: {
387
- line: 117,
388
- column: 8
389
- },
390
- end: {
391
- line: 117,
392
- column: 53
393
- }
394
- },
395
- '38': {
396
- start: {
397
- line: 119,
398
- column: 8
399
- },
400
- end: {
401
- line: 119,
402
- column: 53
403
- }
404
- }
405
- },
406
- fnMap: {
407
- '0': {
408
- name: '(anonymous_0)',
409
- decl: {
410
- start: {
411
- line: 21,
412
- column: 20
413
- },
414
- end: {
415
- line: 21,
416
- column: 21
417
- }
418
- },
419
- loc: {
420
- start: {
421
- line: 21,
422
- column: 38
423
- },
424
- end: {
425
- line: 35,
426
- column: 1
427
- }
428
- }
429
- },
430
- '1': {
431
- name: '(anonymous_1)',
432
- decl: {
433
- start: {
434
- line: 43,
435
- column: 15
436
- },
437
- end: {
438
- line: 43,
439
- column: 16
440
- }
441
- },
442
- loc: {
443
- start: {
444
- line: 43,
445
- column: 50
446
- },
447
- end: {
448
- line: 61,
449
- column: 1
450
- }
451
- }
452
- },
453
- '2': {
454
- name: '(anonymous_2)',
455
- decl: {
456
- start: {
457
- line: 46,
458
- column: 27
459
- },
460
- end: {
461
- line: 46,
462
- column: 28
463
- }
464
- },
465
- loc: {
466
- start: {
467
- line: 46,
468
- column: 43
469
- },
470
- end: {
471
- line: 48,
472
- column: 3
473
- }
474
- }
475
- },
476
- '3': {
477
- name: '(anonymous_3)',
478
- decl: {
479
- start: {
480
- line: 69,
481
- column: 15
482
- },
483
- end: {
484
- line: 69,
485
- column: 16
486
- }
487
- },
488
- loc: {
489
- start: {
490
- line: 69,
491
- column: 50
492
- },
493
- end: {
494
- line: 87,
495
- column: 1
496
- }
497
- }
498
- },
499
- '4': {
500
- name: '(anonymous_4)',
501
- decl: {
502
- start: {
503
- line: 72,
504
- column: 27
505
- },
506
- end: {
507
- line: 72,
508
- column: 28
509
- }
510
- },
511
- loc: {
512
- start: {
513
- line: 72,
514
- column: 43
515
- },
516
- end: {
517
- line: 74,
518
- column: 3
519
- }
520
- }
521
- },
522
- '5': {
523
- name: '(anonymous_5)',
524
- decl: {
525
- start: {
526
- line: 93,
527
- column: 15
528
- },
529
- end: {
530
- line: 93,
531
- column: 16
532
- }
533
- },
534
- loc: {
535
- start: {
536
- line: 93,
537
- column: 36
538
- },
539
- end: {
540
- line: 123,
541
- column: 1
542
- }
543
- }
544
- },
545
- '6': {
546
- name: '(anonymous_6)',
547
- decl: {
548
- start: {
549
- line: 96,
550
- column: 55
551
- },
552
- end: {
553
- line: 96,
554
- column: 56
555
- }
556
- },
557
- loc: {
558
- start: {
559
- line: 96,
560
- column: 67
561
- },
562
- end: {
563
- line: 98,
564
- column: 3
565
- }
566
- }
567
- },
568
- '7': {
569
- name: '(anonymous_7)',
570
- decl: {
571
- start: {
572
- line: 109,
573
- column: 11
574
- },
575
- end: {
576
- line: 109,
577
- column: 12
578
- }
579
- },
580
- loc: {
581
- start: {
582
- line: 109,
583
- column: 20
584
- },
585
- end: {
586
- line: 121,
587
- column: 5
588
- }
589
- }
590
- }
591
- },
592
- branchMap: {
593
- '0': {
594
- loc: {
595
- start: {
596
- line: 93,
597
- column: 16
598
- },
599
- end: {
600
- line: 93,
601
- column: 31
602
- }
603
- },
604
- type: 'default-arg',
605
- locations: [{
606
- start: {
607
- line: 93,
608
- column: 29
609
- },
610
- end: {
611
- line: 93,
612
- column: 31
613
- }
614
- }]
615
- },
616
- '1': {
617
- loc: {
618
- start: {
619
- line: 110,
620
- column: 6
621
- },
622
- end: {
623
- line: 112,
624
- column: 7
625
- }
626
- },
627
- type: 'if',
628
- locations: [{
629
- start: {
630
- line: 110,
631
- column: 6
632
- },
633
- end: {
634
- line: 112,
635
- column: 7
636
- }
637
- }, {
638
- start: {
639
- line: 110,
640
- column: 6
641
- },
642
- end: {
643
- line: 112,
644
- column: 7
645
- }
646
- }]
647
- },
648
- '2': {
649
- loc: {
650
- start: {
651
- line: 114,
652
- column: 6
653
- },
654
- end: {
655
- line: 120,
656
- column: 7
657
- }
658
- },
659
- type: 'if',
660
- locations: [{
661
- start: {
662
- line: 114,
663
- column: 6
664
- },
665
- end: {
666
- line: 120,
667
- column: 7
668
- }
669
- }, {
670
- start: {
671
- line: 114,
672
- column: 6
673
- },
674
- end: {
675
- line: 120,
676
- column: 7
677
- }
678
- }]
679
- }
680
- },
681
- s: {
682
- '0': 0,
683
- '1': 0,
684
- '2': 0,
685
- '3': 0,
686
- '4': 0,
687
- '5': 0,
688
- '6': 0,
689
- '7': 0,
690
- '8': 0,
691
- '9': 0,
692
- '10': 0,
693
- '11': 0,
694
- '12': 0,
695
- '13': 0,
696
- '14': 0,
697
- '15': 0,
698
- '16': 0,
699
- '17': 0,
700
- '18': 0,
701
- '19': 0,
702
- '20': 0,
703
- '21': 0,
704
- '22': 0,
705
- '23': 0,
706
- '24': 0,
707
- '25': 0,
708
- '26': 0,
709
- '27': 0,
710
- '28': 0,
711
- '29': 0,
712
- '30': 0,
713
- '31': 0,
714
- '32': 0,
715
- '33': 0,
716
- '34': 0,
717
- '35': 0,
718
- '36': 0,
719
- '37': 0,
720
- '38': 0
721
- },
722
- f: {
723
- '0': 0,
724
- '1': 0,
725
- '2': 0,
726
- '3': 0,
727
- '4': 0,
728
- '5': 0,
729
- '6': 0,
730
- '7': 0
731
- },
732
- b: {
733
- '0': [0],
734
- '1': [0, 0],
735
- '2': [0, 0]
736
- }
737
- },
738
- coverage = global[gcv] || (global[gcv] = {});
739
-
740
- if (coverage[path] && coverage[path].hash === hash) {
741
- return coverage[path];
742
- }
743
-
744
- coverageData.hash = hash;
745
- return coverage[path] = coverageData;
746
- }();
747
-
748
7
  var _lodash = require('lodash');
749
8
 
750
9
  var _lodash2 = _interopRequireDefault(_lodash);
@@ -790,29 +49,21 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
790
49
  * @param {Object} config
791
50
  * @returns {Array}
792
51
  */
793
- const prepareData = (++cov_129yad3bqp.s[0], (data, config) => {
794
- ++cov_129yad3bqp.f[0];
795
-
52
+ const prepareData = (data, config) => {
796
53
  let rows;
797
54
 
798
- ++cov_129yad3bqp.s[1];
799
55
  rows = (0, _stringifyTableData2.default)(data);
800
56
 
801
- ++cov_129yad3bqp.s[2];
802
57
  rows = (0, _truncateTableData2.default)(data, config);
803
58
 
804
- const rowHeightIndex = (++cov_129yad3bqp.s[3], (0, _calculateRowHeightIndex2.default)(rows, config));
59
+ const rowHeightIndex = (0, _calculateRowHeightIndex2.default)(rows, config);
805
60
 
806
- ++cov_129yad3bqp.s[4];
807
61
  rows = (0, _mapDataUsingRowHeightIndex2.default)(rows, rowHeightIndex, config);
808
- ++cov_129yad3bqp.s[5];
809
62
  rows = (0, _alignTableData2.default)(rows, config);
810
- ++cov_129yad3bqp.s[6];
811
63
  rows = (0, _padTableData2.default)(rows, config);
812
64
 
813
- ++cov_129yad3bqp.s[7];
814
65
  return rows;
815
- });
66
+ };
816
67
 
817
68
  /**
818
69
  * @param {string[]} row
@@ -820,36 +71,25 @@ const prepareData = (++cov_129yad3bqp.s[0], (data, config) => {
820
71
  * @param {Object} config
821
72
  * @returns {undefined}
822
73
  */
823
- const create = (++cov_129yad3bqp.s[8], (row, columnWidthIndex, config) => {
824
- ++cov_129yad3bqp.f[1];
825
-
826
- const rows = (++cov_129yad3bqp.s[9], prepareData([row], config));
827
-
828
- const body = (++cov_129yad3bqp.s[10], _lodash2.default.map(rows, literalRow => {
829
- ++cov_129yad3bqp.f[2];
830
- ++cov_129yad3bqp.s[11];
74
+ const create = (row, columnWidthIndex, config) => {
75
+ const rows = prepareData([row], config);
831
76
 
77
+ const body = rows.map(literalRow => {
832
78
  return (0, _drawRow2.default)(literalRow, config.border);
833
- }).join(''));
79
+ }).join('');
834
80
 
835
81
  let output;
836
82
 
837
- ++cov_129yad3bqp.s[12];
838
83
  output = '';
839
84
 
840
- ++cov_129yad3bqp.s[13];
841
85
  output += (0, _drawBorder.drawBorderTop)(columnWidthIndex, config.border);
842
- ++cov_129yad3bqp.s[14];
843
86
  output += body;
844
- ++cov_129yad3bqp.s[15];
845
87
  output += (0, _drawBorder.drawBorderBottom)(columnWidthIndex, config.border);
846
88
 
847
- ++cov_129yad3bqp.s[16];
848
89
  output = _lodash2.default.trimEnd(output);
849
90
 
850
- ++cov_129yad3bqp.s[17];
851
91
  process.stdout.write(output);
852
- });
92
+ };
853
93
 
854
94
  /**
855
95
  * @param {string[]} row
@@ -857,36 +97,25 @@ const create = (++cov_129yad3bqp.s[8], (row, columnWidthIndex, config) => {
857
97
  * @param {Object} config
858
98
  * @returns {undefined}
859
99
  */
860
- const append = (++cov_129yad3bqp.s[18], (row, columnWidthIndex, config) => {
861
- ++cov_129yad3bqp.f[3];
862
-
863
- const rows = (++cov_129yad3bqp.s[19], prepareData([row], config));
864
-
865
- const body = (++cov_129yad3bqp.s[20], _lodash2.default.map(rows, literalRow => {
866
- ++cov_129yad3bqp.f[4];
867
- ++cov_129yad3bqp.s[21];
100
+ const append = (row, columnWidthIndex, config) => {
101
+ const rows = prepareData([row], config);
868
102
 
103
+ const body = rows.map(literalRow => {
869
104
  return (0, _drawRow2.default)(literalRow, config.border);
870
- }).join(''));
105
+ }).join('');
871
106
 
872
107
  let output;
873
108
 
874
- ++cov_129yad3bqp.s[22];
875
- output = '\r\x1b[K';
109
+ output = '\r\u001B[K';
876
110
 
877
- ++cov_129yad3bqp.s[23];
878
111
  output += (0, _drawBorder.drawBorderJoin)(columnWidthIndex, config.border);
879
- ++cov_129yad3bqp.s[24];
880
112
  output += body;
881
- ++cov_129yad3bqp.s[25];
882
113
  output += (0, _drawBorder.drawBorderBottom)(columnWidthIndex, config.border);
883
114
 
884
- ++cov_129yad3bqp.s[26];
885
115
  output = _lodash2.default.trimEnd(output);
886
116
 
887
- ++cov_129yad3bqp.s[27];
888
117
  process.stdout.write(output);
889
- });
118
+ };
890
119
 
891
120
  /**
892
121
  * @param {Object} userConfig
@@ -894,59 +123,35 @@ const append = (++cov_129yad3bqp.s[18], (row, columnWidthIndex, config) => {
894
123
  */
895
124
 
896
125
  exports.default = function () {
897
- let userConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (++cov_129yad3bqp.b[0][0], {});
898
- ++cov_129yad3bqp.f[5];
899
-
900
- const config = (++cov_129yad3bqp.s[28], (0, _makeStreamConfig2.default)(userConfig));
126
+ let userConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
901
127
 
902
- const columnWidthIndex = (++cov_129yad3bqp.s[29], _lodash2.default.mapValues(config.columns, column => {
903
- ++cov_129yad3bqp.f[6];
904
- ++cov_129yad3bqp.s[30];
128
+ const config = (0, _makeStreamConfig2.default)(userConfig);
905
129
 
130
+ const columnWidthIndex = _lodash2.default.mapValues(config.columns, column => {
906
131
  return column.width + column.paddingLeft + column.paddingRight;
907
- }));
132
+ });
908
133
 
909
134
  let empty;
910
135
 
911
- ++cov_129yad3bqp.s[31];
912
136
  empty = true;
913
137
 
914
- ++cov_129yad3bqp.s[32];
915
138
  return {
916
139
  /**
917
140
  * @param {string[]} row
918
141
  * @returns {undefined}
919
142
  */
920
143
  write: row => {
921
- ++cov_129yad3bqp.f[7];
922
- ++cov_129yad3bqp.s[33];
923
-
924
144
  if (row.length !== config.columnCount) {
925
- ++cov_129yad3bqp.b[1][0];
926
- ++cov_129yad3bqp.s[34];
927
-
928
145
  throw new Error('Row cell count does not match the config.columnCount.');
929
- } else {
930
- ++cov_129yad3bqp.b[1][1];
931
146
  }
932
147
 
933
- ++cov_129yad3bqp.s[35];
934
148
  if (empty) {
935
- ++cov_129yad3bqp.b[2][0];
936
- ++cov_129yad3bqp.s[36];
937
-
938
149
  empty = false;
939
150
 
940
- ++cov_129yad3bqp.s[37];
941
151
  return create(row, columnWidthIndex, config);
942
152
  } else {
943
- ++cov_129yad3bqp.b[2][1];
944
- ++cov_129yad3bqp.s[38];
945
-
946
153
  return append(row, columnWidthIndex, config);
947
154
  }
948
155
  }
949
156
  };
950
- };
951
-
952
- module.exports = exports['default'];
157
+ };