@ezez/utils 1.4.0 → 1.5.0
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/CHANGELOG.md +5 -0
- package/README.md +2 -0
- package/dist/compareArrays.d.ts +7 -0
- package/dist/compareArrays.d.ts.map +1 -0
- package/dist/compareArrays.js +12 -0
- package/dist/compareArrays.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/unique.d.ts +3 -0
- package/dist/unique.d.ts.map +1 -0
- package/dist/unique.js +8 -0
- package/dist/unique.js.map +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/functions/cap.html +7 -5
- package/docs/functions/capitalize.html +7 -5
- package/docs/functions/coalesce.html +7 -5
- package/docs/functions/compareArrays.html +146 -0
- package/docs/functions/ensureArray.html +7 -5
- package/docs/functions/ensureDate.html +7 -5
- package/docs/functions/ensureError.html +7 -5
- package/docs/functions/ensurePrefix.html +7 -5
- package/docs/functions/ensureSuffix.html +7 -5
- package/docs/functions/ensureTimestamp.html +7 -5
- package/docs/functions/escapeRegExp.html +7 -5
- package/docs/functions/get.html +7 -5
- package/docs/functions/getMultiple.html +7 -5
- package/docs/functions/insertSeparator.html +7 -5
- package/docs/functions/isEmpty.html +7 -5
- package/docs/functions/isNumericString.html +7 -5
- package/docs/functions/isPlainObject.html +7 -5
- package/docs/functions/last.html +7 -5
- package/docs/functions/mapAsync.html +7 -5
- package/docs/functions/mapValues.html +7 -5
- package/docs/functions/match.html +7 -5
- package/docs/functions/merge.html +15 -13
- package/docs/functions/mostFrequent.html +7 -5
- package/docs/functions/noop.html +7 -5
- package/docs/functions/occurrences.html +7 -5
- package/docs/functions/omit.html +7 -5
- package/docs/functions/pick.html +7 -5
- package/docs/functions/pull.html +7 -5
- package/docs/functions/remove.html +7 -5
- package/docs/functions/replace.html +7 -5
- package/docs/functions/rethrow.html +7 -5
- package/docs/functions/safe.html +8 -6
- package/docs/functions/scale.html +7 -5
- package/docs/functions/seq.html +7 -5
- package/docs/functions/seqEarlyBreak.html +7 -5
- package/docs/functions/set.html +7 -5
- package/docs/functions/setImmutable.html +7 -5
- package/docs/functions/sortBy.html +7 -5
- package/docs/functions/sortProps.html +7 -5
- package/docs/functions/stripPrefix.html +7 -5
- package/docs/functions/stripSuffix.html +7 -5
- package/docs/functions/throttle.html +7 -5
- package/docs/functions/truthy.html +7 -5
- package/docs/functions/unique.html +133 -0
- package/docs/functions/wait.html +7 -5
- package/docs/functions/waitFor.html +7 -5
- package/docs/functions/waitSync.html +7 -5
- package/docs/index.html +8 -4
- package/docs/interfaces/GetMultipleSource.html +7 -5
- package/docs/interfaces/GetSource.html +7 -5
- package/docs/interfaces/IsNumericStringOptions.html +9 -9
- package/docs/interfaces/OccurencesOptions.html +6 -6
- package/docs/interfaces/SetImmutableSource.html +7 -5
- package/docs/interfaces/SetSource.html +7 -5
- package/docs/interfaces/ThrottleOptions.html +7 -7
- package/docs/interfaces/ThrottledFunctionExtras.html +7 -7
- package/docs/modules.html +8 -4
- package/docs/pages/CHANGELOG.html +44 -30
- package/docs/pages/Introduction.html +6 -4
- package/docs/types/MapValuesFn.html +7 -5
- package/docs/types/MatchCallback.html +7 -5
- package/docs/types/SeqEarlyBreaker.html +7 -5
- package/docs/types/SeqFn.html +7 -5
- package/docs/types/SeqFunctions.html +7 -5
- package/docs/types/SetImmutablePath.html +7 -5
- package/docs/types/ThrottledFunction.html +7 -5
- package/docs/variables/mapValuesUNSET.html +7 -5
- package/docs/variables/mergeUNSET.html +7 -5
- package/esm/compareArrays.d.ts +7 -0
- package/esm/compareArrays.d.ts.map +1 -0
- package/esm/compareArrays.js +9 -0
- package/esm/compareArrays.js.map +1 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -1
- package/esm/unique.d.ts +3 -0
- package/esm/unique.d.ts.map +1 -0
- package/esm/unique.js +5 -0
- package/esm/unique.js.map +1 -0
- package/package.json +1 -1
- package/src/compareArrays.spec.ts +38 -0
- package/src/compareArrays.ts +22 -0
- package/src/index.ts +2 -0
- package/src/unique.spec.ts +10 -0
- package/src/unique.ts +12 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SetSource | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SetSource | @ezez/utils - v1.5.0</title><meta name="description" content="Documentation for @ezez/utils - v1.5.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.5.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">@ezez/utils - v1.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.5.0</a></li>
|
|
16
16
|
<li><a href="SetSource.html">SetSource</a></li></ul>
|
|
17
17
|
<h1>Interface SetSource</h1></div>
|
|
18
18
|
<section class="tsd-panel tsd-comment">
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<h4 class="tsd-before-signature">Indexable</h4>
|
|
29
29
|
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">unknown</span></div></section><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
31
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/set.ts#L6">set.ts:6</a></li></ul></aside></div>
|
|
32
32
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
33
|
<div class="tsd-navigation settings">
|
|
34
34
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
49
49
|
<div class="tsd-accordion-details">
|
|
50
50
|
<ul>
|
|
51
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
51
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.5.0</a>
|
|
52
52
|
<ul>
|
|
53
53
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
54
54
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
<li class="tsd-kind-function"><a href="../functions/cap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>cap</a></li>
|
|
75
75
|
<li class="tsd-kind-function"><a href="../functions/capitalize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>capitalize</a></li>
|
|
76
76
|
<li class="tsd-kind-function"><a href="../functions/coalesce.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>coalesce</a></li>
|
|
77
|
+
<li class="tsd-kind-function"><a href="../functions/compareArrays.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>compare<wbr/>Arrays</a></li>
|
|
77
78
|
<li class="tsd-kind-function"><a href="../functions/ensureArray.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Array</a></li>
|
|
78
79
|
<li class="tsd-kind-function"><a href="../functions/ensureDate.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Date</a></li>
|
|
79
80
|
<li class="tsd-kind-function"><a href="../functions/ensureError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Error</a></li>
|
|
@@ -113,6 +114,7 @@
|
|
|
113
114
|
<li class="tsd-kind-function"><a href="../functions/stripSuffix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>strip<wbr/>Suffix</a></li>
|
|
114
115
|
<li class="tsd-kind-function"><a href="../functions/throttle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>throttle</a></li>
|
|
115
116
|
<li class="tsd-kind-function"><a href="../functions/truthy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>truthy</a></li>
|
|
117
|
+
<li class="tsd-kind-function"><a href="../functions/unique.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>unique</a></li>
|
|
116
118
|
<li class="tsd-kind-function"><a href="../functions/wait.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait</a></li>
|
|
117
119
|
<li class="tsd-kind-function"><a href="../functions/waitFor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>For</a></li>
|
|
118
120
|
<li class="tsd-kind-function"><a href="../functions/waitSync.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>Sync</a></li></ul></nav></div></div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ThrottleOptions | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ThrottleOptions | @ezez/utils - v1.5.0</title><meta name="description" content="Documentation for @ezez/utils - v1.5.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.5.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">@ezez/utils - v1.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.5.0</a></li>
|
|
16
16
|
<li><a href="ThrottleOptions.html">ThrottleOptions</a></li></ul>
|
|
17
17
|
<h1>Interface ThrottleOptions</h1></div>
|
|
18
18
|
<section class="tsd-panel tsd-hierarchy">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">ThrottleOptions</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/throttle.ts#L1">throttle.ts:1</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
<div class="tsd-comment tsd-typography"><p>Should function be invoked immediately on first call to throttled function</p>
|
|
40
40
|
</div><aside class="tsd-sources">
|
|
41
41
|
<ul>
|
|
42
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
42
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/throttle.ts#L5">throttle.ts:5</a></li></ul></aside></section>
|
|
43
43
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="trailing" class="tsd-anchor"></a>
|
|
44
44
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>trailing</span><a href="#trailing" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
45
45
|
<div class="tsd-signature">trailing<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
46
46
|
<div class="tsd-comment tsd-typography"><p>Should function be called after given time</p>
|
|
47
47
|
</div><aside class="tsd-sources">
|
|
48
48
|
<ul>
|
|
49
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
49
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/throttle.ts#L9">throttle.ts:9</a></li></ul></aside></section></section></div>
|
|
50
50
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
51
51
|
<div class="tsd-navigation settings">
|
|
52
52
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
67
67
|
<div class="tsd-accordion-details">
|
|
68
68
|
<ul>
|
|
69
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
69
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.5.0</a>
|
|
70
70
|
<ul>
|
|
71
71
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
72
72
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ThrottledFunctionExtras | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ThrottledFunctionExtras | @ezez/utils - v1.5.0</title><meta name="description" content="Documentation for @ezez/utils - v1.5.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.5.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">@ezez/utils - v1.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.5.0</a></li>
|
|
16
16
|
<li><a href="ThrottledFunctionExtras.html">ThrottledFunctionExtras</a></li></ul>
|
|
17
17
|
<h1>Interface ThrottledFunctionExtras</h1></div>
|
|
18
18
|
<section class="tsd-panel tsd-hierarchy">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">ThrottledFunctionExtras</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/throttle.ts#L12">throttle.ts:12</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
|
49
49
|
<ul>
|
|
50
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
50
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/throttle.ts#L16">throttle.ts:16</a></li></ul></aside></section>
|
|
51
51
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="flush" class="tsd-anchor"></a>
|
|
52
52
|
<h3 class="tsd-anchor-link"><span>flush</span><a href="#flush" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
53
53
|
<div class="tsd-signature">flush<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
</div>
|
|
63
63
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
|
64
64
|
<ul>
|
|
65
|
-
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/
|
|
65
|
+
<li>Defined in <a href="https://github.com/dzek69/bottom-line/blob/e8b14b8/src/throttle.ts#L20">throttle.ts:20</a></li></ul></aside></section></section></div>
|
|
66
66
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
67
67
|
<div class="tsd-navigation settings">
|
|
68
68
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
83
83
|
<div class="tsd-accordion-details">
|
|
84
84
|
<ul>
|
|
85
|
-
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
85
|
+
<li><a href="../modules.html">@ezez/utils -<wbr/> v1.5.0</a>
|
|
86
86
|
<ul>
|
|
87
87
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/Introduction.html">Introduction</a></li>
|
|
88
88
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
package/docs/modules.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@ezez/utils - v1.5.0</title><meta name="description" content="Documentation for @ezez/utils - v1.5.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script><link rel="stylesheet" href="assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base=".">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@ezez/utils - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@ezez/utils - v1.5.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
|
-
<h2>@ezez/utils - v1.
|
|
14
|
+
<h2>@ezez/utils - v1.5.0</h2></div>
|
|
15
15
|
<section class="tsd-panel-group tsd-index-group">
|
|
16
16
|
<section class="tsd-panel tsd-index-panel">
|
|
17
17
|
<h3 class="tsd-index-heading uppercase">Index</h3>
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
<div class="tsd-index-list"><a href="functions/cap.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>cap</span></a>
|
|
47
47
|
<a href="functions/capitalize.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>capitalize</span></a>
|
|
48
48
|
<a href="functions/coalesce.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>coalesce</span></a>
|
|
49
|
+
<a href="functions/compareArrays.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>compare<wbr/>Arrays</span></a>
|
|
49
50
|
<a href="functions/ensureArray.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>ensure<wbr/>Array</span></a>
|
|
50
51
|
<a href="functions/ensureDate.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>ensure<wbr/>Date</span></a>
|
|
51
52
|
<a href="functions/ensureError.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>ensure<wbr/>Error</span></a>
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
<a href="functions/stripSuffix.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>strip<wbr/>Suffix</span></a>
|
|
86
87
|
<a href="functions/throttle.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>throttle</span></a>
|
|
87
88
|
<a href="functions/truthy.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>truthy</span></a>
|
|
89
|
+
<a href="functions/unique.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>unique</span></a>
|
|
88
90
|
<a href="functions/wait.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>wait</span></a>
|
|
89
91
|
<a href="functions/waitFor.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>wait<wbr/>For</span></a>
|
|
90
92
|
<a href="functions/waitSync.html" class="tsd-index-link tsd-kind-function"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>wait<wbr/>Sync</span></a>
|
|
@@ -108,7 +110,7 @@
|
|
|
108
110
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
109
111
|
<div class="tsd-accordion-details">
|
|
110
112
|
<ul>
|
|
111
|
-
<li class="current selected"><a href="modules.html">@ezez/utils -<wbr/> v1.
|
|
113
|
+
<li class="current selected"><a href="modules.html">@ezez/utils -<wbr/> v1.5.0</a>
|
|
112
114
|
<ul>
|
|
113
115
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="pages/Introduction.html">Introduction</a></li>
|
|
114
116
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="pages/CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
@@ -134,6 +136,7 @@
|
|
|
134
136
|
<li class="tsd-kind-function"><a href="functions/cap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>cap</a></li>
|
|
135
137
|
<li class="tsd-kind-function"><a href="functions/capitalize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>capitalize</a></li>
|
|
136
138
|
<li class="tsd-kind-function"><a href="functions/coalesce.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>coalesce</a></li>
|
|
139
|
+
<li class="tsd-kind-function"><a href="functions/compareArrays.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>compare<wbr/>Arrays</a></li>
|
|
137
140
|
<li class="tsd-kind-function"><a href="functions/ensureArray.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Array</a></li>
|
|
138
141
|
<li class="tsd-kind-function"><a href="functions/ensureDate.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Date</a></li>
|
|
139
142
|
<li class="tsd-kind-function"><a href="functions/ensureError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Error</a></li>
|
|
@@ -173,6 +176,7 @@
|
|
|
173
176
|
<li class="tsd-kind-function"><a href="functions/stripSuffix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>strip<wbr/>Suffix</a></li>
|
|
174
177
|
<li class="tsd-kind-function"><a href="functions/throttle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>throttle</a></li>
|
|
175
178
|
<li class="tsd-kind-function"><a href="functions/truthy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>truthy</a></li>
|
|
179
|
+
<li class="tsd-kind-function"><a href="functions/unique.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>unique</a></li>
|
|
176
180
|
<li class="tsd-kind-function"><a href="functions/wait.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait</a></li>
|
|
177
181
|
<li class="tsd-kind-function"><a href="functions/waitFor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>For</a></li>
|
|
178
182
|
<li class="tsd-kind-function"><a href="functions/waitSync.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>Sync</a></li></ul></nav></div></div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Changelog | @ezez/utils - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Changelog | @ezez/utils - v1.5.0</title><meta name="description" content="Documentation for @ezez/utils - v1.5.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,24 +6,36 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ezez/utils - v1.5.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">@ezez/utils - v1.
|
|
15
|
+
<li><a href="../modules.html">@ezez/utils - v1.5.0</a></li>
|
|
16
16
|
<li><a href="CHANGELOG.html">Changelog</a></li></ul>
|
|
17
17
|
<h1> Changelog</h1></div>
|
|
18
18
|
<div class="tsd-panel tsd-typography"><p>All notable changes to this project will be documented in this file.</p>
|
|
19
19
|
<p>The format is based on <a href="http://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>
|
|
20
20
|
and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semantic Versioning</a>.</p>
|
|
21
21
|
|
|
22
|
+
<a href="#150---2023-05-12" id="150---2023-05-12" style="color: inherit; text-decoration: none;">
|
|
23
|
+
<h2>[1.5.0] - 2023-05-12</h2>
|
|
24
|
+
</a>
|
|
25
|
+
|
|
26
|
+
<a href="#added" id="added" style="color: inherit; text-decoration: none;">
|
|
27
|
+
<h3>Added</h3>
|
|
28
|
+
</a>
|
|
29
|
+
<ul>
|
|
30
|
+
<li><code>compareArrays</code> method</li>
|
|
31
|
+
<li><code>unique</code> method</li>
|
|
32
|
+
</ul>
|
|
33
|
+
|
|
22
34
|
<a href="#140---2023-05-11" id="140---2023-05-11" style="color: inherit; text-decoration: none;">
|
|
23
35
|
<h2>[1.4.0] - 2023-05-11</h2>
|
|
24
36
|
</a>
|
|
25
37
|
|
|
26
|
-
<a href="#added" id="added" style="color: inherit; text-decoration: none;">
|
|
38
|
+
<a href="#added-1" id="added-1" style="color: inherit; text-decoration: none;">
|
|
27
39
|
<h3>Added</h3>
|
|
28
40
|
</a>
|
|
29
41
|
<ul>
|
|
@@ -36,7 +48,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
36
48
|
<h2>[1.3.0] - 2023-05-07</h2>
|
|
37
49
|
</a>
|
|
38
50
|
|
|
39
|
-
<a href="#added-
|
|
51
|
+
<a href="#added-2" id="added-2" style="color: inherit; text-decoration: none;">
|
|
40
52
|
<h3>Added</h3>
|
|
41
53
|
</a>
|
|
42
54
|
<ul>
|
|
@@ -55,7 +67,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
55
67
|
<h2>[1.2.0] - 2023-03-01</h2>
|
|
56
68
|
</a>
|
|
57
69
|
|
|
58
|
-
<a href="#added-
|
|
70
|
+
<a href="#added-3" id="added-3" style="color: inherit; text-decoration: none;">
|
|
59
71
|
<h3>Added</h3>
|
|
60
72
|
</a>
|
|
61
73
|
<ul>
|
|
@@ -71,7 +83,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
71
83
|
<h2>[1.1.0] - 2023-02-20</h2>
|
|
72
84
|
</a>
|
|
73
85
|
|
|
74
|
-
<a href="#added-
|
|
86
|
+
<a href="#added-4" id="added-4" style="color: inherit; text-decoration: none;">
|
|
75
87
|
<h3>Added</h3>
|
|
76
88
|
</a>
|
|
77
89
|
<ul>
|
|
@@ -90,7 +102,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
90
102
|
<h2>[1.0.0] - 2023-02-19</h2>
|
|
91
103
|
</a>
|
|
92
104
|
|
|
93
|
-
<a href="#added-
|
|
105
|
+
<a href="#added-5" id="added-5" style="color: inherit; text-decoration: none;">
|
|
94
106
|
<h3>Added</h3>
|
|
95
107
|
</a>
|
|
96
108
|
<ul>
|
|
@@ -144,7 +156,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
144
156
|
<h2>[0.24.0] - 2022-09-23</h2>
|
|
145
157
|
</a>
|
|
146
158
|
|
|
147
|
-
<a href="#added-
|
|
159
|
+
<a href="#added-6" id="added-6" style="color: inherit; text-decoration: none;">
|
|
148
160
|
<h3>Added</h3>
|
|
149
161
|
</a>
|
|
150
162
|
<ul>
|
|
@@ -192,7 +204,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
192
204
|
<h2>[0.23.0] - 2022-07-17</h2>
|
|
193
205
|
</a>
|
|
194
206
|
|
|
195
|
-
<a href="#added-
|
|
207
|
+
<a href="#added-7" id="added-7" style="color: inherit; text-decoration: none;">
|
|
196
208
|
<h3>Added</h3>
|
|
197
209
|
</a>
|
|
198
210
|
<ul>
|
|
@@ -203,7 +215,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
203
215
|
<h2>[0.22.0] - 2022-07-16</h2>
|
|
204
216
|
</a>
|
|
205
217
|
|
|
206
|
-
<a href="#added-
|
|
218
|
+
<a href="#added-8" id="added-8" style="color: inherit; text-decoration: none;">
|
|
207
219
|
<h3>Added</h3>
|
|
208
220
|
</a>
|
|
209
221
|
<ul>
|
|
@@ -221,7 +233,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
221
233
|
<h2>[0.21.0] - 2022-07-08</h2>
|
|
222
234
|
</a>
|
|
223
235
|
|
|
224
|
-
<a href="#added-
|
|
236
|
+
<a href="#added-9" id="added-9" style="color: inherit; text-decoration: none;">
|
|
225
237
|
<h3>Added</h3>
|
|
226
238
|
</a>
|
|
227
239
|
<ul>
|
|
@@ -232,7 +244,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
232
244
|
<h2>[0.20.0] - 2022-07-03</h2>
|
|
233
245
|
</a>
|
|
234
246
|
|
|
235
|
-
<a href="#added-
|
|
247
|
+
<a href="#added-10" id="added-10" style="color: inherit; text-decoration: none;">
|
|
236
248
|
<h3>Added</h3>
|
|
237
249
|
</a>
|
|
238
250
|
<ul>
|
|
@@ -254,7 +266,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
254
266
|
<h2>[0.19.0] - 2022-04-27</h2>
|
|
255
267
|
</a>
|
|
256
268
|
|
|
257
|
-
<a href="#added-
|
|
269
|
+
<a href="#added-11" id="added-11" style="color: inherit; text-decoration: none;">
|
|
258
270
|
<h3>Added</h3>
|
|
259
271
|
</a>
|
|
260
272
|
<ul>
|
|
@@ -280,7 +292,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
280
292
|
<h2>[0.18.0] - 2021-12-04</h2>
|
|
281
293
|
</a>
|
|
282
294
|
|
|
283
|
-
<a href="#added-
|
|
295
|
+
<a href="#added-12" id="added-12" style="color: inherit; text-decoration: none;">
|
|
284
296
|
<h3>Added</h3>
|
|
285
297
|
</a>
|
|
286
298
|
<ul>
|
|
@@ -303,7 +315,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
303
315
|
<h2>[0.17.0] - 2021-10-31</h2>
|
|
304
316
|
</a>
|
|
305
317
|
|
|
306
|
-
<a href="#added-
|
|
318
|
+
<a href="#added-13" id="added-13" style="color: inherit; text-decoration: none;">
|
|
307
319
|
<h3>Added</h3>
|
|
308
320
|
</a>
|
|
309
321
|
<ul>
|
|
@@ -321,7 +333,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
321
333
|
<h2>[0.16.0] - 2021-09-24</h2>
|
|
322
334
|
</a>
|
|
323
335
|
|
|
324
|
-
<a href="#added-
|
|
336
|
+
<a href="#added-14" id="added-14" style="color: inherit; text-decoration: none;">
|
|
325
337
|
<h3>Added</h3>
|
|
326
338
|
</a>
|
|
327
339
|
<ul>
|
|
@@ -332,7 +344,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
332
344
|
<h2>[0.15.0] - 2021-07-04</h2>
|
|
333
345
|
</a>
|
|
334
346
|
|
|
335
|
-
<a href="#added-
|
|
347
|
+
<a href="#added-15" id="added-15" style="color: inherit; text-decoration: none;">
|
|
336
348
|
<h3>Added</h3>
|
|
337
349
|
</a>
|
|
338
350
|
<ul>
|
|
@@ -368,7 +380,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
368
380
|
<li>upgraded typings for sortBy</li>
|
|
369
381
|
</ul>
|
|
370
382
|
|
|
371
|
-
<a href="#added-
|
|
383
|
+
<a href="#added-16" id="added-16" style="color: inherit; text-decoration: none;">
|
|
372
384
|
<h3>Added</h3>
|
|
373
385
|
</a>
|
|
374
386
|
<ul>
|
|
@@ -410,7 +422,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
410
422
|
<h2>[0.13.0] - 2021-02-03</h2>
|
|
411
423
|
</a>
|
|
412
424
|
|
|
413
|
-
<a href="#added-
|
|
425
|
+
<a href="#added-17" id="added-17" style="color: inherit; text-decoration: none;">
|
|
414
426
|
<h3>Added</h3>
|
|
415
427
|
</a>
|
|
416
428
|
<ul>
|
|
@@ -423,7 +435,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
423
435
|
<h2>[0.12.0] - 2021-01-19</h2>
|
|
424
436
|
</a>
|
|
425
437
|
|
|
426
|
-
<a href="#added-
|
|
438
|
+
<a href="#added-18" id="added-18" style="color: inherit; text-decoration: none;">
|
|
427
439
|
<h3>Added</h3>
|
|
428
440
|
</a>
|
|
429
441
|
<ul>
|
|
@@ -465,7 +477,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
465
477
|
<h2>[0.10.0] - 2020-09-14</h2>
|
|
466
478
|
</a>
|
|
467
479
|
|
|
468
|
-
<a href="#added-
|
|
480
|
+
<a href="#added-19" id="added-19" style="color: inherit; text-decoration: none;">
|
|
469
481
|
<h3>Added</h3>
|
|
470
482
|
</a>
|
|
471
483
|
<ul>
|
|
@@ -476,7 +488,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
476
488
|
<h2>[0.9.0] - 2020-07-09</h2>
|
|
477
489
|
</a>
|
|
478
490
|
|
|
479
|
-
<a href="#added-
|
|
491
|
+
<a href="#added-20" id="added-20" style="color: inherit; text-decoration: none;">
|
|
480
492
|
<h3>Added</h3>
|
|
481
493
|
</a>
|
|
482
494
|
<ul>
|
|
@@ -517,7 +529,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
517
529
|
<h2>[0.7.0] - 2020-03-10</h2>
|
|
518
530
|
</a>
|
|
519
531
|
|
|
520
|
-
<a href="#added-
|
|
532
|
+
<a href="#added-21" id="added-21" style="color: inherit; text-decoration: none;">
|
|
521
533
|
<h3>Added</h3>
|
|
522
534
|
</a>
|
|
523
535
|
<ul>
|
|
@@ -576,7 +588,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
576
588
|
<h2>[0.6.0] - 2019-05-12</h2>
|
|
577
589
|
</a>
|
|
578
590
|
|
|
579
|
-
<a href="#added-
|
|
591
|
+
<a href="#added-22" id="added-22" style="color: inherit; text-decoration: none;">
|
|
580
592
|
<h3>Added</h3>
|
|
581
593
|
</a>
|
|
582
594
|
<ul>
|
|
@@ -594,7 +606,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
594
606
|
<h2>[0.5.0] - 2019-04-09</h2>
|
|
595
607
|
</a>
|
|
596
608
|
|
|
597
|
-
<a href="#added-
|
|
609
|
+
<a href="#added-23" id="added-23" style="color: inherit; text-decoration: none;">
|
|
598
610
|
<h3>Added</h3>
|
|
599
611
|
</a>
|
|
600
612
|
<ul>
|
|
@@ -616,7 +628,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
616
628
|
<h2>[0.4.0] - 2019-01-30</h2>
|
|
617
629
|
</a>
|
|
618
630
|
|
|
619
|
-
<a href="#added-
|
|
631
|
+
<a href="#added-24" id="added-24" style="color: inherit; text-decoration: none;">
|
|
620
632
|
<h3>Added</h3>
|
|
621
633
|
</a>
|
|
622
634
|
<ul>
|
|
@@ -653,7 +665,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
653
665
|
<li>improved one <code>set</code> test</li>
|
|
654
666
|
</ul>
|
|
655
667
|
|
|
656
|
-
<a href="#added-
|
|
668
|
+
<a href="#added-25" id="added-25" style="color: inherit; text-decoration: none;">
|
|
657
669
|
<h3>Added</h3>
|
|
658
670
|
</a>
|
|
659
671
|
<ul>
|
|
@@ -664,7 +676,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
664
676
|
<h2>[0.2.0] 2018-12-09</h2>
|
|
665
677
|
</a>
|
|
666
678
|
|
|
667
|
-
<a href="#added-
|
|
679
|
+
<a href="#added-26" id="added-26" style="color: inherit; text-decoration: none;">
|
|
668
680
|
<h3>Added</h3>
|
|
669
681
|
</a>
|
|
670
682
|
<ul>
|
|
@@ -691,7 +703,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
691
703
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
692
704
|
<div class="tsd-accordion-details">
|
|
693
705
|
<ul>
|
|
694
|
-
<li class="current"><a href="../modules.html">@ezez/utils -<wbr/> v1.
|
|
706
|
+
<li class="current"><a href="../modules.html">@ezez/utils -<wbr/> v1.5.0</a>
|
|
695
707
|
<ul>
|
|
696
708
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="Introduction.html">Introduction</a></li>
|
|
697
709
|
<li class="current selected pages-entry pages-entry-page pages-entry-depth-1"><a href="CHANGELOG.html">Changelog</a></li></ul></li></ul></div></details></nav>
|
|
@@ -717,6 +729,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
717
729
|
<li class="tsd-kind-function"><a href="../functions/cap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>cap</a></li>
|
|
718
730
|
<li class="tsd-kind-function"><a href="../functions/capitalize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>capitalize</a></li>
|
|
719
731
|
<li class="tsd-kind-function"><a href="../functions/coalesce.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>coalesce</a></li>
|
|
732
|
+
<li class="tsd-kind-function"><a href="../functions/compareArrays.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>compare<wbr/>Arrays</a></li>
|
|
720
733
|
<li class="tsd-kind-function"><a href="../functions/ensureArray.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Array</a></li>
|
|
721
734
|
<li class="tsd-kind-function"><a href="../functions/ensureDate.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Date</a></li>
|
|
722
735
|
<li class="tsd-kind-function"><a href="../functions/ensureError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ensure<wbr/>Error</a></li>
|
|
@@ -756,6 +769,7 @@ and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semanti
|
|
|
756
769
|
<li class="tsd-kind-function"><a href="../functions/stripSuffix.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>strip<wbr/>Suffix</a></li>
|
|
757
770
|
<li class="tsd-kind-function"><a href="../functions/throttle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>throttle</a></li>
|
|
758
771
|
<li class="tsd-kind-function"><a href="../functions/truthy.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>truthy</a></li>
|
|
772
|
+
<li class="tsd-kind-function"><a href="../functions/unique.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>unique</a></li>
|
|
759
773
|
<li class="tsd-kind-function"><a href="../functions/wait.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait</a></li>
|
|
760
774
|
<li class="tsd-kind-function"><a href="../functions/waitFor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>For</a></li>
|
|
761
775
|
<li class="tsd-kind-function"><a href="../functions/waitSync.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>wait<wbr/>Sync</a></li></ul></nav></div></div>
|