release: 1.52.0

This commit is contained in:
Revone 2024-02-01 23:26:45 +08:00
parent 1ae9e929b1
commit 8616e4ddc4
5 changed files with 47 additions and 47 deletions

View file

@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
- [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
- [`auto-changelog`](https://github.com/CookPete/auto-changelog)
## [v1.51.9](https://github.com/zrwusa/data-structure-typed/compare/v1.51.5...main) (upcoming)
## [v1.52.0](https://github.com/zrwusa/data-structure-typed/compare/v1.51.5...main) (upcoming)
## [v1.51.5](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...v1.51.5) (18 January 2024)

View file

@ -736,43 +736,43 @@ Version 11.7.9
[//]: # (No deletion!!! Start of Replace Section)
<div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>heap</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>6.43</td><td>155.58</td><td>1.69e-4</td></tr><tr><td>100,000 add & poll</td><td>34.95</td><td>28.61</td><td>7.35e-4</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>6.09</td><td>164.12</td><td>1.35e-4</td></tr><tr><td>100,000 add & poll</td><td>34.55</td><td>28.94</td><td>6.43e-4</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>rb-tree</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>78.90</td><td>12.67</td><td>0.00</td></tr><tr><td>100,000 add randomly</td><td>82.74</td><td>12.09</td><td>0.00</td></tr><tr><td>100,000 get</td><td>111.79</td><td>8.95</td><td>0.00</td></tr><tr><td>100,000 iterator</td><td>26.62</td><td>37.56</td><td>0.01</td></tr><tr><td>100,000 add & delete orderly</td><td>152.36</td><td>6.56</td><td>0.00</td></tr><tr><td>100,000 add & delete randomly</td><td>230.54</td><td>4.34</td><td>0.00</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>76.73</td><td>13.03</td><td>0.00</td></tr><tr><td>100,000 add randomly</td><td>80.67</td><td>12.40</td><td>0.00</td></tr><tr><td>100,000 get</td><td>110.86</td><td>9.02</td><td>0.00</td></tr><tr><td>100,000 iterator</td><td>24.99</td><td>40.02</td><td>0.00</td></tr><tr><td>100,000 add & delete orderly</td><td>152.66</td><td>6.55</td><td>0.00</td></tr><tr><td>100,000 add & delete randomly</td><td>230.75</td><td>4.33</td><td>0.00</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>queue</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>42.92</td><td>23.30</td><td>0.01</td></tr><tr><td>100,000 push & shift</td><td>4.90</td><td>203.91</td><td>5.57e-4</td></tr><tr><td>Native JS Array 100,000 push & shift</td><td>2372.32</td><td>0.42</td><td>0.25</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>39.27</td><td>25.46</td><td>0.01</td></tr><tr><td>100,000 push & shift</td><td>4.53</td><td>220.81</td><td>4.84e-4</td></tr><tr><td>Native JS Array 100,000 push & shift</td><td>1948.05</td><td>0.51</td><td>0.02</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>deque</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>24.61</td><td>40.64</td><td>0.00</td></tr><tr><td>1,000,000 push & pop</td><td>31.09</td><td>32.17</td><td>0.00</td></tr><tr><td>1,000,000 push & shift</td><td>30.79</td><td>32.48</td><td>0.00</td></tr><tr><td>100,000 push & shift</td><td>3.35</td><td>298.19</td><td>6.23e-4</td></tr><tr><td>Native JS Array 100,000 push & shift</td><td>2214.50</td><td>0.45</td><td>0.36</td></tr><tr><td>100,000 unshift & shift</td><td>2.90</td><td>344.25</td><td>2.69e-4</td></tr><tr><td>Native JS Array 100,000 unshift & shift</td><td>4256.15</td><td>0.23</td><td>0.15</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>23.22</td><td>43.06</td><td>0.00</td></tr><tr><td>1,000,000 push & pop</td><td>29.68</td><td>33.69</td><td>0.00</td></tr><tr><td>1,000,000 push & shift</td><td>29.33</td><td>34.09</td><td>0.00</td></tr><tr><td>100,000 push & shift</td><td>3.10</td><td>323.01</td><td>2.47e-4</td></tr><tr><td>Native JS Array 100,000 push & shift</td><td>1942.12</td><td>0.51</td><td>0.02</td></tr><tr><td>100,000 unshift & shift</td><td>2.77</td><td>360.50</td><td>2.43e-4</td></tr><tr><td>Native JS Array 100,000 unshift & shift</td><td>3835.21</td><td>0.26</td><td>0.03</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>hash-map</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 set</td><td>116.37</td><td>8.59</td><td>0.02</td></tr><tr><td>Native JS Map 1,000,000 set</td><td>210.43</td><td>4.75</td><td>0.02</td></tr><tr><td>Native JS Set 1,000,000 add</td><td>181.96</td><td>5.50</td><td>0.02</td></tr><tr><td>1,000,000 set & get</td><td>121.63</td><td>8.22</td><td>0.02</td></tr><tr><td>Native JS Map 1,000,000 set & get</td><td>269.23</td><td>3.71</td><td>0.01</td></tr><tr><td>Native JS Set 1,000,000 add & has</td><td>185.33</td><td>5.40</td><td>0.03</td></tr><tr><td>1,000,000 ObjKey set & get</td><td>325.11</td><td>3.08</td><td>0.03</td></tr><tr><td>Native JS Map 1,000,000 ObjKey set & get</td><td>308.21</td><td>3.24</td><td>0.03</td></tr><tr><td>Native JS Set 1,000,000 ObjKey add & has</td><td>270.59</td><td>3.70</td><td>0.03</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 set</td><td>112.38</td><td>8.90</td><td>0.02</td></tr><tr><td>Native JS Map 1,000,000 set</td><td>199.97</td><td>5.00</td><td>0.01</td></tr><tr><td>Native JS Set 1,000,000 add</td><td>163.34</td><td>6.12</td><td>0.01</td></tr><tr><td>1,000,000 set & get</td><td>109.86</td><td>9.10</td><td>0.02</td></tr><tr><td>Native JS Map 1,000,000 set & get</td><td>255.33</td><td>3.92</td><td>0.00</td></tr><tr><td>Native JS Set 1,000,000 add & has</td><td>163.91</td><td>6.10</td><td>0.00</td></tr><tr><td>1,000,000 ObjKey set & get</td><td>317.89</td><td>3.15</td><td>0.04</td></tr><tr><td>Native JS Map 1,000,000 ObjKey set & get</td><td>282.99</td><td>3.53</td><td>0.03</td></tr><tr><td>Native JS Set 1,000,000 ObjKey add & has</td><td>253.93</td><td>3.94</td><td>0.03</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>trie</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 push</td><td>46.94</td><td>21.30</td><td>0.00</td></tr><tr><td>100,000 getWords</td><td>105.45</td><td>9.48</td><td>0.01</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 push</td><td>43.71</td><td>22.88</td><td>7.33e-4</td></tr><tr><td>100,000 getWords</td><td>83.63</td><td>11.96</td><td>0.00</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>avl-tree</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>274.90</td><td>3.64</td><td>0.01</td></tr><tr><td>100,000 add randomly</td><td>398.94</td><td>2.51</td><td>0.02</td></tr><tr><td>100,000 get</td><td>141.33</td><td>7.08</td><td>0.01</td></tr><tr><td>100,000 iterator</td><td>32.25</td><td>31.01</td><td>0.00</td></tr><tr><td>100,000 add & delete orderly</td><td>446.47</td><td>2.24</td><td>0.00</td></tr><tr><td>100,000 add & delete randomly</td><td>625.71</td><td>1.60</td><td>0.03</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>271.93</td><td>3.68</td><td>0.01</td></tr><tr><td>100,000 add randomly</td><td>318.27</td><td>3.14</td><td>0.00</td></tr><tr><td>100,000 get</td><td>128.85</td><td>7.76</td><td>0.00</td></tr><tr><td>100,000 iterator</td><td>29.09</td><td>34.38</td><td>0.00</td></tr><tr><td>100,000 add & delete orderly</td><td>435.48</td><td>2.30</td><td>7.44e-4</td></tr><tr><td>100,000 add & delete randomly</td><td>578.70</td><td>1.73</td><td>0.00</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>binary-tree-overall</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>10,000 RBTree add randomly</td><td>6.69</td><td>149.44</td><td>1.04e-4</td></tr><tr><td>10,000 RBTree get randomly</td><td>9.22</td><td>108.47</td><td>1.36e-4</td></tr><tr><td>10,000 RBTree add & delete randomly</td><td>18.59</td><td>53.79</td><td>0.00</td></tr><tr><td>10,000 AVLTree add randomly</td><td>24.73</td><td>40.43</td><td>2.93e-4</td></tr><tr><td>10,000 AVLTree get randomly</td><td>9.77</td><td>102.31</td><td>9.04e-5</td></tr><tr><td>10,000 AVLTree add & delete randomly</td><td>46.18</td><td>21.65</td><td>7.76e-4</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>10,000 RBTree add randomly</td><td>6.69</td><td>149.54</td><td>1.06e-4</td></tr><tr><td>10,000 RBTree get randomly</td><td>9.19</td><td>108.82</td><td>1.43e-4</td></tr><tr><td>10,000 RBTree add & delete randomly</td><td>18.54</td><td>53.94</td><td>1.73e-4</td></tr><tr><td>10,000 AVLTree add randomly</td><td>23.70</td><td>42.20</td><td>1.88e-4</td></tr><tr><td>10,000 AVLTree get randomly</td><td>9.89</td><td>101.11</td><td>0.00</td></tr><tr><td>10,000 AVLTree add & delete randomly</td><td>44.44</td><td>22.50</td><td>4.30e-4</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>directed-graph</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000 addVertex</td><td>0.10</td><td>9860.11</td><td>8.96e-7</td></tr><tr><td>1,000 addEdge</td><td>6.23</td><td>160.44</td><td>4.50e-4</td></tr><tr><td>1,000 getVertex</td><td>0.05</td><td>2.09e+4</td><td>1.05e-5</td></tr><tr><td>1,000 getEdge</td><td>25.18</td><td>39.72</td><td>0.01</td></tr><tr><td>tarjan</td><td>205.33</td><td>4.87</td><td>0.01</td></tr><tr><td>topologicalSort</td><td>186.14</td><td>5.37</td><td>0.02</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000 addVertex</td><td>0.10</td><td>9766.65</td><td>9.83e-7</td></tr><tr><td>1,000 addEdge</td><td>6.15</td><td>162.57</td><td>7.99e-4</td></tr><tr><td>1,000 getVertex</td><td>0.05</td><td>2.18e+4</td><td>4.52e-7</td></tr><tr><td>1,000 getEdge</td><td>22.70</td><td>44.06</td><td>0.00</td></tr><tr><td>tarjan</td><td>203.00</td><td>4.93</td><td>0.01</td></tr><tr><td>topologicalSort</td><td>176.40</td><td>5.67</td><td>0.00</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>doubly-linked-list</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>228.04</td><td>4.39</td><td>0.03</td></tr><tr><td>1,000,000 unshift</td><td>235.67</td><td>4.24</td><td>0.07</td></tr><tr><td>1,000,000 unshift & shift</td><td>198.31</td><td>5.04</td><td>0.02</td></tr><tr><td>1,000,000 addBefore</td><td>314.03</td><td>3.18</td><td>0.05</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>222.02</td><td>4.50</td><td>0.07</td></tr><tr><td>1,000,000 unshift</td><td>220.41</td><td>4.54</td><td>0.05</td></tr><tr><td>1,000,000 unshift & shift</td><td>185.31</td><td>5.40</td><td>0.01</td></tr><tr><td>1,000,000 addBefore</td><td>317.20</td><td>3.15</td><td>0.07</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>singly-linked-list</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push & shift</td><td>236.11</td><td>4.24</td><td>0.05</td></tr><tr><td>10,000 push & pop</td><td>220.24</td><td>4.54</td><td>0.01</td></tr><tr><td>10,000 addBefore</td><td>246.87</td><td>4.05</td><td>0.00</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push & shift</td><td>204.82</td><td>4.88</td><td>0.09</td></tr><tr><td>10,000 push & pop</td><td>221.88</td><td>4.51</td><td>0.03</td></tr><tr><td>10,000 addBefore</td><td>247.28</td><td>4.04</td><td>0.01</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>priority-queue</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>27.34</td><td>36.57</td><td>9.52e-4</td></tr><tr><td>100,000 add & poll</td><td>77.85</td><td>12.85</td><td>0.01</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>100,000 add</td><td>26.97</td><td>37.08</td><td>7.97e-4</td></tr><tr><td>100,000 add & poll</td><td>74.55</td><td>13.41</td><td>5.19e-4</td></tr></table></div>
</div><div class="json-to-html-collapse clearfix 0">
<div class='collapsible level0' ><span class='json-to-html-label'>stack</span></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>38.50</td><td>25.97</td><td>0.00</td></tr><tr><td>1,000,000 push & pop</td><td>46.82</td><td>21.36</td><td>0.00</td></tr></table></div>
<div class="content"><table style="display: table; width:100%; table-layout: fixed;"><tr><th>test name</th><th>time taken (ms)</th><th>executions per sec</th><th>sample deviation</th></tr><tr><td>1,000,000 push</td><td>35.54</td><td>28.14</td><td>0.00</td></tr><tr><td>1,000,000 push & pop</td><td>44.89</td><td>22.27</td><td>0.01</td></tr></table></div>
</div>
[//]: # (No deletion!!! End of Replace Section)

52
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "data-structure-typed",
"version": "1.51.9",
"version": "1.52.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "data-structure-typed",
"version": "1.51.9",
"version": "1.52.0",
"license": "MIT",
"devDependencies": {
"@swc/core": "^1.3.96",
@ -16,11 +16,11 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.51.8",
"avl-tree-typed": "^1.51.9",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.51.8",
"bst-typed": "^1.51.8",
"data-structure-typed": "^1.51.8",
"binary-tree-typed": "^1.51.9",
"bst-typed": "^1.51.9",
"data-structure-typed": "^1.51.9",
"dependency-cruiser": "^14.1.0",
"doctoc": "^2.2.1",
"eslint": "^8.50.0",
@ -29,7 +29,7 @@
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"fast-glob": "^3.3.1",
"heap-typed": "^1.51.8",
"heap-typed": "^1.51.9",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"js-sdsl": "^4.4.2",
@ -3097,12 +3097,12 @@
}
},
"node_modules/avl-tree-typed": {
"version": "1.51.8",
"resolved": "https://registry.npmjs.org/avl-tree-typed/-/avl-tree-typed-1.51.8.tgz",
"integrity": "sha512-qBLdOI6W+Bh313ciFKcKegUD6BAHUSSUGVK/Rd0LYFrQiOS5K6yMKTKXr58Y6rORB0+GQ5+3LTR7yrdtpA+bDg==",
"version": "1.51.9",
"resolved": "https://registry.npmjs.org/avl-tree-typed/-/avl-tree-typed-1.51.9.tgz",
"integrity": "sha512-lGw3P5CwaPXjZJXQ9gK+kzSCEuopHMYJjV+4na5TREBHjOkhYHCvcmQ4UI4qOWThtsC1eLxzmhvPfiIQbCh/6A==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.51.8"
"data-structure-typed": "^1.51.9"
}
},
"node_modules/babel-jest": {
@ -3306,12 +3306,12 @@
}
},
"node_modules/binary-tree-typed": {
"version": "1.51.8",
"resolved": "https://registry.npmjs.org/binary-tree-typed/-/binary-tree-typed-1.51.8.tgz",
"integrity": "sha512-QKeJagMpBSK+/gb/ZgTcKa8+AMmiXe0n7x5iT7ubJDup5ARLCaUBm/Vdl91k1VdmmWJfaHkosDLTHG1CQLGpKg==",
"version": "1.51.9",
"resolved": "https://registry.npmjs.org/binary-tree-typed/-/binary-tree-typed-1.51.9.tgz",
"integrity": "sha512-zdjdVTxHOaIw2VuqLjk/KO32k0dLp4UeEaCF3RC2bdvZOu+1g6o5+lmKxX50pF4P1wSZGGJNlGTL+985+rBLvA==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.51.8"
"data-structure-typed": "^1.51.9"
}
},
"node_modules/brace-expansion": {
@ -3390,12 +3390,12 @@
}
},
"node_modules/bst-typed": {
"version": "1.51.8",
"resolved": "https://registry.npmjs.org/bst-typed/-/bst-typed-1.51.8.tgz",
"integrity": "sha512-x18GNNBSsPCqyCtvhhaJ4i+3KGtiQeSCkicncXB+fmtt75sZ67RSuJj51lSKUuYeo3W1FVSGDD5HimAxNKGQAQ==",
"version": "1.51.9",
"resolved": "https://registry.npmjs.org/bst-typed/-/bst-typed-1.51.9.tgz",
"integrity": "sha512-J4yNuHuTYk5iJC4yfgRI8oiZ/YnLk8fbrNBcxZmNIFJBzwngfo9oBxFMTaZhhaLaY3nwc9uOJCdR1hHd2AHDWg==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.51.8"
"data-structure-typed": "^1.51.9"
}
},
"node_modules/buffer-from": {
@ -3838,9 +3838,9 @@
}
},
"node_modules/data-structure-typed": {
"version": "1.51.8",
"resolved": "https://registry.npmjs.org/data-structure-typed/-/data-structure-typed-1.51.8.tgz",
"integrity": "sha512-53+KXmVru74GJ7AjHf/e4pUgdaMlCV9yeNdM52HAUBPg+oF6YaSENBRWPsIQKM0+AmeY/APPhFunSQ8hSg04bg==",
"version": "1.51.9",
"resolved": "https://registry.npmjs.org/data-structure-typed/-/data-structure-typed-1.51.9.tgz",
"integrity": "sha512-honRVtf/GqYnK74VjOMhlB7eW8reTmJAPfBe13zAyZczQ+w9MiruUGbC2Kz5NFYreKV0EoNhKNz5mn9mmycphw==",
"dev": true
},
"node_modules/debug": {
@ -5363,12 +5363,12 @@
}
},
"node_modules/heap-typed": {
"version": "1.51.8",
"resolved": "https://registry.npmjs.org/heap-typed/-/heap-typed-1.51.8.tgz",
"integrity": "sha512-H/Csv4n9hw+qhgnDDXCff4VMZZ+XSxbnteXjiFBGHV5xeYbSiygbvbTfWe9TOTunIht+Ae/zp0SagfHcAI+9hg==",
"version": "1.51.9",
"resolved": "https://registry.npmjs.org/heap-typed/-/heap-typed-1.51.9.tgz",
"integrity": "sha512-8caWOLqZA1syDrowSAHmLpT6dFWl+gt5BM4yFhap7GyiCuDC7NnSeyuSkz/TdkjVrpdtsudXyqE/2oH8bUKOyQ==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.51.8"
"data-structure-typed": "^1.51.9"
}
},
"node_modules/html-escaper": {

View file

@ -1,6 +1,6 @@
{
"name": "data-structure-typed",
"version": "1.51.9",
"version": "1.52.0",
"description": "Javascript Data Structure. Heap, Binary Tree, Red Black Tree, Linked List, Deque, Trie, HashMap, Directed Graph, Undirected Graph, Binary Search Tree(BST), AVL Tree, Priority Queue, Graph, Queue, Tree Multiset, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue, Stack. Benchmark compared with C++ STL. API aligned with ES6 and Java.util. Usability is comparable to Python",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
@ -66,11 +66,11 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.51.8",
"avl-tree-typed": "^1.51.9",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.51.8",
"bst-typed": "^1.51.8",
"data-structure-typed": "^1.51.8",
"binary-tree-typed": "^1.51.9",
"bst-typed": "^1.51.9",
"data-structure-typed": "^1.51.9",
"dependency-cruiser": "^14.1.0",
"doctoc": "^2.2.1",
"eslint": "^8.50.0",
@ -79,7 +79,7 @@
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"fast-glob": "^3.3.1",
"heap-typed": "^1.51.8",
"heap-typed": "^1.51.9",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"js-sdsl": "^4.4.2",

View file

@ -17,7 +17,7 @@ export type ReduceElementCallback<E, R, RT, C> = (
) => RT;
// export type IterableEntryBaseOptions<K, V, R> = {
// toEntryFn?: (rawElement: R) => BTNEntry<K, V>;
// toEntryFn?: (rawElement: R) => BTNEntry<K, V>;
// };
export type IterableElementBaseOptions<E, R> = {