@stdlib/assert-is-between 0.2.0 → 0.2.2
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/README.md +2 -2
- package/docs/types/index.d.ts +1 -1
- package/package.json +6 -22
package/README.md
CHANGED
|
@@ -215,8 +215,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
215
215
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-between.svg
|
|
216
216
|
[npm-url]: https://npmjs.org/package/@stdlib/assert-is-between
|
|
217
217
|
|
|
218
|
-
[test-image]: https://github.com/stdlib-js/assert-is-between/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
219
|
-
[test-url]: https://github.com/stdlib-js/assert-is-between/actions/workflows/test.yml?query=branch:v0.2.
|
|
218
|
+
[test-image]: https://github.com/stdlib-js/assert-is-between/actions/workflows/test.yml/badge.svg?branch=v0.2.2
|
|
219
|
+
[test-url]: https://github.com/stdlib-js/assert-is-between/actions/workflows/test.yml?query=branch:v0.2.2
|
|
220
220
|
|
|
221
221
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-between/main.svg
|
|
222
222
|
[coverage-url]: https://codecov.io/github/stdlib-js/assert-is-between?branch=main
|
package/docs/types/index.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ type Comparison = 'open' | 'closed';
|
|
|
57
57
|
* var bool = isBetween( 3.14, 3.0, 3.14, 'closed', 'open' );
|
|
58
58
|
* // returns false
|
|
59
59
|
*/
|
|
60
|
-
declare function isBetween( value: any, a: any, b: any, left?: Comparison, right?: Comparison ):
|
|
60
|
+
declare function isBetween( value: any, a: any, b: any, left?: Comparison, right?: Comparison ): boolean;
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
// EXPORTS //
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/assert-is-between",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Test if a value is between two values.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,19 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
-
"benchmark": "./benchmark",
|
|
19
18
|
"doc": "./docs",
|
|
20
|
-
"example": "./examples",
|
|
21
19
|
"lib": "./lib",
|
|
22
|
-
"
|
|
20
|
+
"dist": "./dist"
|
|
23
21
|
},
|
|
24
22
|
"types": "./docs/types",
|
|
25
|
-
"scripts": {
|
|
26
|
-
"test": "make test",
|
|
27
|
-
"test-cov": "make test-cov",
|
|
28
|
-
"examples": "make examples",
|
|
29
|
-
"benchmark": "make benchmark"
|
|
30
|
-
},
|
|
23
|
+
"scripts": {},
|
|
31
24
|
"homepage": "https://stdlib.io",
|
|
32
25
|
"repository": {
|
|
33
26
|
"type": "git",
|
|
@@ -37,19 +30,10 @@
|
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"@stdlib/string-format": "^0.2.
|
|
41
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@stdlib/assert-is-boolean": "^0.1.1",
|
|
45
|
-
"@stdlib/math-base-special-round": "^0.1.1",
|
|
46
|
-
"@stdlib/random-base-randu": "^0.1.0",
|
|
47
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
48
|
-
"istanbul": "^0.4.1",
|
|
49
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
50
|
-
"@stdlib/bench-harness": "^0.1.2",
|
|
51
|
-
"@stdlib/bench": "^0.3.1"
|
|
33
|
+
"@stdlib/string-format": "^0.2.2",
|
|
34
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
|
|
52
35
|
},
|
|
36
|
+
"devDependencies": {},
|
|
53
37
|
"engines": {
|
|
54
38
|
"node": ">=0.10.0",
|
|
55
39
|
"npm": ">2.7.0"
|