@mojir/lits 2.1.25 → 2.1.27

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.
package/dist/cli/cli.js CHANGED
@@ -92,7 +92,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
92
92
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
93
93
  };
94
94
 
95
- var version = "2.1.25";
95
+ var version = "2.1.27";
96
96
 
97
97
  function getCodeMarker(sourceCodeInfo) {
98
98
  if (!sourceCodeInfo.position || !sourceCodeInfo.code)
@@ -11355,8 +11355,10 @@ function randn() {
11355
11355
 
11356
11356
  function generateDocString(reference) {
11357
11357
  return smartTrim("\n ".concat(reference.title).concat(getAliases(reference), "\n\n ").concat(reference.description
11358
- .replace(/`(.*?)`/g, '$1')
11359
- .replace(/\$(\w+)/g, '$1'), "\n\n Signature:\n ").concat(signature(reference).join('\n '), "\n\n Arguments:\n ").concat(argStrings(reference).join('\n '), "\n \n Examples:\n").concat(reference.examples.map(function (example) { return smartTrim(example, 4); }).join('\n\n')));
11358
+ .replace(/`(.+?)`/g, '$1')
11359
+ .replace(/\$(\w+)/g, '$1')
11360
+ .replace(/\*\*\*(.+)\*\*\*/g, '$1')
11361
+ .replace(/\*\*(.+)\*\*/g, '$1'), "\n\n Signature:\n ").concat(signature(reference).join('\n '), "\n\n Arguments:\n ").concat(argStrings(reference).join('\n '), "\n \n Examples:\n").concat(reference.examples.map(function (example) { return smartTrim(example, 4); }).join('\n\n')));
11360
11362
  }
11361
11363
  function signature(_a) {
11362
11364
  var title = _a.title, variants = _a.variants, args = _a.args, returns = _a.returns, _isOperator = _a._isOperator;
@@ -27486,7 +27488,7 @@ var meanReference = {
27486
27488
  'vec:moving-mean': {
27487
27489
  title: 'vec:moving-mean',
27488
27490
  category: 'Vector',
27489
- description: 'Returns the **moving mean` of the `vector** with a given window size.',
27491
+ description: 'Returns the **moving mean** of the `vector` with a given window size.',
27490
27492
  returns: {
27491
27493
  type: 'vector',
27492
27494
  },
@@ -27508,7 +27510,7 @@ var meanReference = {
27508
27510
  'vec:centered-moving-mean': {
27509
27511
  title: 'vec:centered-moving-mean',
27510
27512
  category: 'Vector',
27511
- description: 'Returns the **centered moving mean` of the `vector** with a given window size.',
27513
+ description: 'Returns the **centered moving mean** of the `vector` with a given window size.',
27512
27514
  returns: {
27513
27515
  type: 'array',
27514
27516
  },
@@ -27539,7 +27541,7 @@ var meanReference = {
27539
27541
  'vec:running-mean': {
27540
27542
  title: 'vec:running-mean',
27541
27543
  category: 'Vector',
27542
- description: 'Returns the **running mean` of the `vector**.',
27544
+ description: 'Returns the **running mean** of the `vector`.',
27543
27545
  returns: {
27544
27546
  type: 'vector',
27545
27547
  },
@@ -27582,7 +27584,7 @@ var geometricMeanReference = {
27582
27584
  'vec:moving-geometric-mean': {
27583
27585
  title: 'vec:moving-geometric-mean',
27584
27586
  category: 'Vector',
27585
- description: 'Returns the **moving geometric mean` of the `vector** with a given window size.',
27587
+ description: 'Returns the **moving geometric mean** of the `vector` with a given window size.',
27586
27588
  returns: {
27587
27589
  type: 'vector',
27588
27590
  },
@@ -27604,7 +27606,7 @@ var geometricMeanReference = {
27604
27606
  'vec:centered-moving-geometric-mean': {
27605
27607
  title: 'vec:centered-moving-geometric-mean',
27606
27608
  category: 'Vector',
27607
- description: 'Returns the **centered moving geometric mean` of the `vector** with a given window size.',
27609
+ description: 'Returns the **centered moving geometric mean** of the `vector` with a given window size.',
27608
27610
  returns: {
27609
27611
  type: 'array',
27610
27612
  },
@@ -27635,7 +27637,7 @@ var geometricMeanReference = {
27635
27637
  'vec:running-geometric-mean': {
27636
27638
  title: 'vec:running-geometric-mean',
27637
27639
  category: 'Vector',
27638
- description: 'Returns the **running geometric mean` of the `vector**.',
27640
+ description: 'Returns the **running geometric mean** of the `vector`.',
27639
27641
  returns: {
27640
27642
  type: 'vector',
27641
27643
  },
@@ -27678,7 +27680,7 @@ var harmonicMeanReference = {
27678
27680
  'vec:moving-harmonic-mean': {
27679
27681
  title: 'vec:moving-harmonic-mean',
27680
27682
  category: 'Vector',
27681
- description: 'Returns the **moving harmonic mean` of the `vector** with a given window size.',
27683
+ description: 'Returns the **moving harmonic mean** of the `vector` with a given window size.',
27682
27684
  returns: {
27683
27685
  type: 'vector',
27684
27686
  },
@@ -27700,7 +27702,7 @@ var harmonicMeanReference = {
27700
27702
  'vec:centered-moving-harmonic-mean': {
27701
27703
  title: 'vec:centered-moving-harmonic-mean',
27702
27704
  category: 'Vector',
27703
- description: 'Returns the **centered moving harmonic mean` of the `vector** with a given window size.',
27705
+ description: 'Returns the **centered moving harmonic mean** of the `vector` with a given window size.',
27704
27706
  returns: {
27705
27707
  type: 'array',
27706
27708
  },
@@ -27731,7 +27733,7 @@ var harmonicMeanReference = {
27731
27733
  'vec:running-harmonic-mean': {
27732
27734
  title: 'vec:running-harmonic-mean',
27733
27735
  category: 'Vector',
27734
- description: 'Returns the **running harmonic mean` of the `vector**.',
27736
+ description: 'Returns the **running harmonic mean** of the `vector`.',
27735
27737
  returns: {
27736
27738
  type: 'vector',
27737
27739
  },
@@ -27775,7 +27777,7 @@ var medianReference = {
27775
27777
  'vec:moving-median': {
27776
27778
  title: 'vec:moving-median',
27777
27779
  category: 'Vector',
27778
- description: 'Returns the **moving median` of the `vector** with a given window size.',
27780
+ description: 'Returns the **moving median** of the `vector` with a given window size.',
27779
27781
  returns: {
27780
27782
  type: 'vector',
27781
27783
  },
@@ -27797,7 +27799,7 @@ var medianReference = {
27797
27799
  'vec:centered-moving-median': {
27798
27800
  title: 'vec:centered-moving-median',
27799
27801
  category: 'Vector',
27800
- description: 'Returns the **centered moving median` of the `vector** with a given window size.',
27802
+ description: 'Returns the **centered moving median** of the `vector` with a given window size.',
27801
27803
  returns: {
27802
27804
  type: 'array',
27803
27805
  },
@@ -27828,7 +27830,7 @@ var medianReference = {
27828
27830
  'vec:running-median': {
27829
27831
  title: 'vec:running-median',
27830
27832
  category: 'Vector',
27831
- description: 'Returns the **running median` of the `vector**.',
27833
+ description: 'Returns the **running median** of the `vector`.',
27832
27834
  returns: {
27833
27835
  type: 'vector',
27834
27836
  },
@@ -27872,7 +27874,7 @@ var varianceReference = {
27872
27874
  'vec:moving-variance': {
27873
27875
  title: 'vec:moving-variance',
27874
27876
  category: 'Vector',
27875
- description: 'Returns the **moving variance` of the `vector** with a given window size.',
27877
+ description: 'Returns the **moving variance** of the `vector` with a given window size.',
27876
27878
  returns: {
27877
27879
  type: 'vector',
27878
27880
  },
@@ -27894,7 +27896,7 @@ var varianceReference = {
27894
27896
  'vec:centered-moving-variance': {
27895
27897
  title: 'vec:centered-moving-variance',
27896
27898
  category: 'Vector',
27897
- description: 'Returns the **centered moving variance` of the `vector** with a given window size.',
27899
+ description: 'Returns the **centered moving variance** of the `vector` with a given window size.',
27898
27900
  returns: {
27899
27901
  type: 'array',
27900
27902
  },
@@ -27927,7 +27929,7 @@ var varianceReference = {
27927
27929
  'vec:running-variance': {
27928
27930
  title: 'vec:running-variance',
27929
27931
  category: 'Vector',
27930
- description: 'Returns the **running variance` of the `vector**.',
27932
+ description: 'Returns the **running variance** of the `vector`.',
27931
27933
  returns: {
27932
27934
  type: 'vector',
27933
27935
  },
@@ -27970,7 +27972,7 @@ var sampleVarianceReference = {
27970
27972
  'vec:moving-sample-variance': {
27971
27973
  title: 'vec:moving-sample-variance',
27972
27974
  category: 'Vector',
27973
- description: 'Returns the **moving sample variance` of the `vector** with a given window size.',
27975
+ description: 'Returns the **moving sample variance** of the `vector` with a given window size.',
27974
27976
  returns: {
27975
27977
  type: 'vector',
27976
27978
  },
@@ -27992,7 +27994,7 @@ var sampleVarianceReference = {
27992
27994
  'vec:centered-moving-sample-variance': {
27993
27995
  title: 'vec:centered-moving-sample-variance',
27994
27996
  category: 'Vector',
27995
- description: 'Returns the **centered moving sample variance` of the `vector** with a given window size.',
27997
+ description: 'Returns the **centered moving sample variance** of the `vector` with a given window size.',
27996
27998
  returns: {
27997
27999
  type: 'array',
27998
28000
  },
@@ -28025,14 +28027,14 @@ var sampleVarianceReference = {
28025
28027
  'vec:running-sample-variance': {
28026
28028
  title: 'vec:running-sample-variance',
28027
28029
  category: 'Vector',
28028
- description: 'Returns the **running sample variance` of the `vector**.',
28030
+ description: 'Returns the **running sample variance** of the `vector`.',
28029
28031
  returns: {
28030
28032
  type: 'array',
28031
28033
  },
28032
28034
  args: {
28033
28035
  vector: {
28034
28036
  type: 'vector',
28035
- description: 'The `vector` to calculate the **running sample variance` of. First element in result is `null` since `sample variance** is not defined for a single element.',
28037
+ description: 'The `vector` to calculate the **running sample variance** of. First element in result is `null` since **sample variance** is not defined for a single element.',
28036
28038
  },
28037
28039
  },
28038
28040
  variants: [
@@ -28048,7 +28050,7 @@ var standardDeviationReference = {
28048
28050
  'vec:stdev': {
28049
28051
  title: 'vec:stdev',
28050
28052
  category: 'Vector',
28051
- description: 'Returns the **standard deviation` of the `vector**.',
28053
+ description: 'Returns the **standard deviation** of the `vector`.',
28052
28054
  returns: {
28053
28055
  type: 'number',
28054
28056
  },
@@ -28069,7 +28071,7 @@ var standardDeviationReference = {
28069
28071
  'vec:moving-stdev': {
28070
28072
  title: 'vec:moving-stdev',
28071
28073
  category: 'Vector',
28072
- description: 'Returns the **moving standard deviation` of the `vector** with a given window size.',
28074
+ description: 'Returns the **moving standard deviation** of the `vector` with a given window size.',
28073
28075
  returns: {
28074
28076
  type: 'vector',
28075
28077
  },
@@ -28091,7 +28093,7 @@ var standardDeviationReference = {
28091
28093
  'vec:centered-moving-stdev': {
28092
28094
  title: 'vec:centered-moving-stdev',
28093
28095
  category: 'Vector',
28094
- description: 'Returns the **centered moving standard deviation` of the `vector** with a given window size.',
28096
+ description: 'Returns the **centered moving standard deviation** of the `vector` with a given window size.',
28095
28097
  returns: {
28096
28098
  type: 'array',
28097
28099
  },
@@ -28124,7 +28126,7 @@ var standardDeviationReference = {
28124
28126
  'vec:running-stdev': {
28125
28127
  title: 'vec:running-stdev',
28126
28128
  category: 'Vector',
28127
- description: 'Returns the **running standard deviation` of the `vector**.',
28129
+ description: 'Returns the **running standard deviation** of the `vector`.',
28128
28130
  returns: {
28129
28131
  type: 'vector',
28130
28132
  },
@@ -28146,7 +28148,7 @@ var sampleStandardDeviationReference = {
28146
28148
  'vec:sample-stdev': {
28147
28149
  title: 'vec:sample-stdev',
28148
28150
  category: 'Vector',
28149
- description: 'Returns the **sample standard deviation` of the `vector**.',
28151
+ description: 'Returns the **sample standard deviation** of the `vector`.',
28150
28152
  returns: {
28151
28153
  type: 'number',
28152
28154
  },
@@ -28167,7 +28169,7 @@ var sampleStandardDeviationReference = {
28167
28169
  'vec:moving-sample-stdev': {
28168
28170
  title: 'vec:moving-sample-stdev',
28169
28171
  category: 'Vector',
28170
- description: 'Returns the **moving sample standard deviation` of the `vector** with a given window size.',
28172
+ description: 'Returns the **moving sample standard deviation** of the `vector` with a given window size.',
28171
28173
  returns: {
28172
28174
  type: 'vector',
28173
28175
  },
@@ -28189,7 +28191,7 @@ var sampleStandardDeviationReference = {
28189
28191
  'vec:centered-moving-sample-stdev': {
28190
28192
  title: 'vec:centered-moving-sample-stdev',
28191
28193
  category: 'Vector',
28192
- description: 'Returns the **centered moving sample standard deviation` of the `vector** with a given window size.',
28194
+ description: 'Returns the **centered moving sample standard deviation** of the `vector` with a given window size.',
28193
28195
  returns: {
28194
28196
  type: 'array',
28195
28197
  },
@@ -28222,14 +28224,14 @@ var sampleStandardDeviationReference = {
28222
28224
  'vec:running-sample-stdev': {
28223
28225
  title: 'vec:running-sample-stdev',
28224
28226
  category: 'Vector',
28225
- description: 'Returns the **running sample standard deviation` of the `vector**.',
28227
+ description: 'Returns the **running sample standard deviation** of the `vector`.',
28226
28228
  returns: {
28227
28229
  type: 'array',
28228
28230
  },
28229
28231
  args: {
28230
28232
  vector: {
28231
28233
  type: 'vector',
28232
- description: 'The `vector` to calculate the **running sample standard deviation` of. First element in result is `null` since `sample standard deviation** is not defined for a single element.',
28234
+ description: 'The `vector` to calculate the **running sample standard deviation** of. First element in result is `null` since **sample standard deviation** is not defined for a single element.',
28233
28235
  },
28234
28236
  },
28235
28237
  variants: [
@@ -28558,7 +28560,7 @@ var sumReference = {
28558
28560
  'vec:moving-sum': {
28559
28561
  title: 'vec:moving-sum',
28560
28562
  category: 'Vector',
28561
- description: 'Returns the **moving sum` of the `vector** with a given window size.',
28563
+ description: 'Returns the **moving sum** of the `vector` with a given window size.',
28562
28564
  returns: {
28563
28565
  type: 'vector',
28564
28566
  },
@@ -28580,7 +28582,7 @@ var sumReference = {
28580
28582
  'vec:centered-moving-sum': {
28581
28583
  title: 'vec:centered-moving-sum',
28582
28584
  category: 'Vector',
28583
- description: 'Returns the **centered moving sum` of the `vector** with a given window size.',
28585
+ description: 'Returns the **centered moving sum** of the `vector` with a given window size.',
28584
28586
  returns: {
28585
28587
  type: 'array',
28586
28588
  },
@@ -28611,7 +28613,7 @@ var sumReference = {
28611
28613
  'vec:running-sum': {
28612
28614
  title: 'vec:running-sum',
28613
28615
  category: 'Vector',
28614
- description: 'Returns the **running sum` of the `vector**.',
28616
+ description: 'Returns the **running sum** of the `vector`.',
28615
28617
  returns: {
28616
28618
  type: 'vector',
28617
28619
  },
@@ -28656,7 +28658,7 @@ var prodReference = {
28656
28658
  'vec:moving-prod': {
28657
28659
  title: 'vec:moving-prod',
28658
28660
  category: 'Vector',
28659
- description: 'Returns the **moving product` of the `vector** with a given window size.',
28661
+ description: 'Returns the **moving product** of the `vector` with a given window size.',
28660
28662
  returns: {
28661
28663
  type: 'vector',
28662
28664
  },
@@ -28678,7 +28680,7 @@ var prodReference = {
28678
28680
  'vec:centered-moving-prod': {
28679
28681
  title: 'vec:centered-moving-prod',
28680
28682
  category: 'Vector',
28681
- description: 'Returns the **centered moving product` of the `vector** with a given window size.',
28683
+ description: 'Returns the **centered moving product** of the `vector` with a given window size.',
28682
28684
  returns: {
28683
28685
  type: 'array',
28684
28686
  },
@@ -28708,7 +28710,7 @@ var prodReference = {
28708
28710
  'vec:running-prod': {
28709
28711
  title: 'vec:running-prod',
28710
28712
  category: 'Vector',
28711
- description: 'Returns the **running product` of the `vector**.',
28713
+ description: 'Returns the **running product** of the `vector`.',
28712
28714
  returns: {
28713
28715
  type: 'vector',
28714
28716
  },
@@ -28753,7 +28755,7 @@ var minReference = {
28753
28755
  'vec:moving-min': {
28754
28756
  title: 'vec:moving-min',
28755
28757
  category: 'Vector',
28756
- description: 'Returns the **moving minimum` of the `vector** with a given window size.',
28758
+ description: 'Returns the **moving minimum** of the `vector` with a given window size.',
28757
28759
  returns: {
28758
28760
  type: 'vector',
28759
28761
  },
@@ -28775,7 +28777,7 @@ var minReference = {
28775
28777
  'vec:centered-moving-min': {
28776
28778
  title: 'vec:centered-moving-min',
28777
28779
  category: 'Vector',
28778
- description: 'Returns the **centered moving minimum` of the `vector** with a given window size.',
28780
+ description: 'Returns the **centered moving minimum** of the `vector` with a given window size.',
28779
28781
  returns: {
28780
28782
  type: 'array',
28781
28783
  },
@@ -28806,7 +28808,7 @@ var minReference = {
28806
28808
  'vec:running-min': {
28807
28809
  title: 'vec:running-min',
28808
28810
  category: 'Vector',
28809
- description: 'Returns the **running minimum` of the `vector**.',
28811
+ description: 'Returns the **running minimum** of the `vector`.',
28810
28812
  returns: {
28811
28813
  type: 'vector',
28812
28814
  },
@@ -28851,7 +28853,7 @@ var maxReference = {
28851
28853
  'vec:moving-max': {
28852
28854
  title: 'vec:moving-max',
28853
28855
  category: 'Vector',
28854
- description: 'Returns the **moving maximum` of the `vector** with a given window size.',
28856
+ description: 'Returns the **moving maximum** of the `vector` with a given window size.',
28855
28857
  returns: {
28856
28858
  type: 'vector',
28857
28859
  },
@@ -28873,7 +28875,7 @@ var maxReference = {
28873
28875
  'vec:centered-moving-max': {
28874
28876
  title: 'vec:centered-moving-max',
28875
28877
  category: 'Vector',
28876
- description: 'Returns the **centered moving maximum` of the `vector** with a given window size.',
28878
+ description: 'Returns the **centered moving maximum** of the `vector` with a given window size.',
28877
28879
  returns: {
28878
28880
  type: 'array',
28879
28881
  },
@@ -28904,7 +28906,7 @@ var maxReference = {
28904
28906
  'vec:running-max': {
28905
28907
  title: 'vec:running-max',
28906
28908
  category: 'Vector',
28907
- description: 'Returns the **running maximum` of the `vector**.',
28909
+ description: 'Returns the **running maximum** of the `vector`.',
28908
28910
  returns: {
28909
28911
  type: 'vector',
28910
28912
  },