@stdlib/utils-if-then 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/NOTICE +1 -1
  2. package/README.md +34 -2
  3. package/package.json +1 -1
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -20,7 +20,7 @@ limitations under the License.
20
20
 
21
21
  # ifthen
22
22
 
23
- [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
23
+ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
24
24
 
25
25
  > If a condition is truthy, invoke `x`; otherwise, invoke `y`.
26
26
 
@@ -131,6 +131,21 @@ for ( i = 0; i < 100; i++ ) {
131
131
 
132
132
  <!-- /.references -->
133
133
 
134
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
135
+
136
+ <section class="related">
137
+
138
+ * * *
139
+
140
+ ## See Also
141
+
142
+ - <span class="package-name">[`@stdlib/utils/async/if-then`][@stdlib/utils/async/if-then]</span><span class="delimiter">: </span><span class="description">if a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.</span>
143
+ - <span class="package-name">[`@stdlib/utils/if-else`][@stdlib/utils/if-else]</span><span class="delimiter">: </span><span class="description">if a condition is truthy, return `x`; otherwise, return `y`.</span>
144
+
145
+ </section>
146
+
147
+ <!-- /.related -->
148
+
134
149
  <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
135
150
 
136
151
 
@@ -157,7 +172,7 @@ See [LICENSE][stdlib-license].
157
172
 
158
173
  ## Copyright
159
174
 
160
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
175
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
161
176
 
162
177
  </section>
163
178
 
@@ -176,9 +191,20 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
176
191
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-if-then/main.svg
177
192
  [coverage-url]: https://codecov.io/github/stdlib-js/utils-if-then?branch=main
178
193
 
194
+ <!--
195
+
179
196
  [dependencies-image]: https://img.shields.io/david/stdlib-js/utils-if-then.svg
180
197
  [dependencies-url]: https://david-dm.org/stdlib-js/utils-if-then/main
181
198
 
199
+ -->
200
+
201
+ [umd]: https://github.com/umdjs/umd
202
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
203
+
204
+ [deno-url]: https://github.com/stdlib-js/utils-if-then/tree/deno
205
+ [umd-url]: https://github.com/stdlib-js/utils-if-then/tree/umd
206
+ [esm-url]: https://github.com/stdlib-js/utils-if-then/tree/esm
207
+
182
208
  [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
183
209
  [chat-url]: https://gitter.im/stdlib-js/stdlib/
184
210
 
@@ -188,8 +214,14 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
188
214
 
189
215
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-if-then/main/LICENSE
190
216
 
217
+ <!-- <related-links> -->
218
+
219
+ [@stdlib/utils/async/if-then]: https://www.npmjs.com/package/@stdlib/utils-async-if-then
220
+
191
221
  [@stdlib/utils/if-else]: https://www.npmjs.com/package/@stdlib/utils-if-else
192
222
 
223
+ <!-- </related-links> -->
224
+
193
225
  </section>
194
226
 
195
227
  <!-- /.links -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/utils-if-then",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "If a condition is truthy, invoke `x`; otherwise, invoke `y`.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {