@stdlib/utils-if-then 0.1.0 → 0.2.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/NOTICE +1 -1
- package/README.md +6 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +1 -1
- package/package.json +12 -11
- package/CITATION.cff +0 -30
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -183,7 +183,7 @@ See [LICENSE][stdlib-license].
|
|
|
183
183
|
|
|
184
184
|
## Copyright
|
|
185
185
|
|
|
186
|
-
Copyright © 2016-
|
|
186
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
187
187
|
|
|
188
188
|
</section>
|
|
189
189
|
|
|
@@ -196,8 +196,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
196
196
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-if-then.svg
|
|
197
197
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-if-then
|
|
198
198
|
|
|
199
|
-
[test-image]: https://github.com/stdlib-js/utils-if-then/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
200
|
-
[test-url]: https://github.com/stdlib-js/utils-if-then/actions/workflows/test.yml?query=branch:v0.
|
|
199
|
+
[test-image]: https://github.com/stdlib-js/utils-if-then/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
200
|
+
[test-url]: https://github.com/stdlib-js/utils-if-then/actions/workflows/test.yml?query=branch:v0.2.0
|
|
201
201
|
|
|
202
202
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-if-then/main.svg
|
|
203
203
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-if-then?branch=main
|
|
@@ -220,8 +220,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
220
220
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
221
221
|
|
|
222
222
|
[deno-url]: https://github.com/stdlib-js/utils-if-then/tree/deno
|
|
223
|
+
[deno-readme]: https://github.com/stdlib-js/utils-if-then/blob/deno/README.md
|
|
223
224
|
[umd-url]: https://github.com/stdlib-js/utils-if-then/tree/umd
|
|
225
|
+
[umd-readme]: https://github.com/stdlib-js/utils-if-then/blob/umd/README.md
|
|
224
226
|
[esm-url]: https://github.com/stdlib-js/utils-if-then/tree/esm
|
|
227
|
+
[esm-readme]: https://github.com/stdlib-js/utils-if-then/blob/esm/README.md
|
|
225
228
|
[branches-url]: https://github.com/stdlib-js/utils-if-then/blob/main/branches.md
|
|
226
229
|
|
|
227
230
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-if-then/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-if-then",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "If a condition is truthy, invoke `x`; otherwise, invoke `y`.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,20 +37,21 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/assert-is-function": "^0.
|
|
41
|
-
"@stdlib/string-format": "^0.
|
|
42
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.1.
|
|
40
|
+
"@stdlib/assert-is-function": "^0.2.0",
|
|
41
|
+
"@stdlib/string-format": "^0.2.0",
|
|
42
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.1.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@stdlib/
|
|
46
|
-
"@stdlib/math-base-
|
|
47
|
-
"@stdlib/
|
|
48
|
-
"@stdlib/
|
|
49
|
-
"@stdlib/
|
|
50
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
45
|
+
"@stdlib/math-base-assert-is-nan": "^0.1.1",
|
|
46
|
+
"@stdlib/math-base-special-ceil": "^0.1.1",
|
|
47
|
+
"@stdlib/random-base-randu": "^0.1.0",
|
|
48
|
+
"@stdlib/string-repeat": "^0.1.0",
|
|
49
|
+
"@stdlib/utils-noop": "^0.2.0",
|
|
51
50
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
52
51
|
"istanbul": "^0.4.1",
|
|
53
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
52
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
53
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
54
|
+
"@stdlib/bench": "^0.3.1"
|
|
54
55
|
},
|
|
55
56
|
"engines": {
|
|
56
57
|
"node": ">=0.10.0",
|
package/CITATION.cff
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
cff-version: 1.2.0
|
|
2
|
-
title: stdlib
|
|
3
|
-
message: >-
|
|
4
|
-
If you use this software, please cite it using the
|
|
5
|
-
metadata from this file.
|
|
6
|
-
|
|
7
|
-
type: software
|
|
8
|
-
|
|
9
|
-
authors:
|
|
10
|
-
- name: The Stdlib Authors
|
|
11
|
-
url: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
12
|
-
|
|
13
|
-
repository-code: https://github.com/stdlib-js/stdlib
|
|
14
|
-
url: https://stdlib.io
|
|
15
|
-
|
|
16
|
-
abstract: |
|
|
17
|
-
Standard library for JavaScript and Node.js.
|
|
18
|
-
|
|
19
|
-
keywords:
|
|
20
|
-
- JavaScript
|
|
21
|
-
- Node.js
|
|
22
|
-
- TypeScript
|
|
23
|
-
- standard library
|
|
24
|
-
- scientific computing
|
|
25
|
-
- numerical computing
|
|
26
|
-
- statistical computing
|
|
27
|
-
|
|
28
|
-
license: Apache-2.0 AND BSL-1.0
|
|
29
|
-
|
|
30
|
-
date-released: 2016
|