@stdlib/array-uint8c 0.2.1 → 0.2.3
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 +36 -36
- package/package.json +2 -2
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -252,8 +252,8 @@ var arr = Uint8ClampedArray.from( [ 1, 2 ], mapFcn );
|
|
|
252
252
|
|
|
253
253
|
A callback function is provided two arguments:
|
|
254
254
|
|
|
255
|
-
- `value`: source value
|
|
256
|
-
- `index`: source index
|
|
255
|
+
- `value`: source value.
|
|
256
|
+
- `index`: source index.
|
|
257
257
|
|
|
258
258
|
To set the callback execution context, provide a `thisArg`.
|
|
259
259
|
|
|
@@ -386,9 +386,9 @@ var bool = arr.every( predicate );
|
|
|
386
386
|
|
|
387
387
|
A `predicate` function is provided three arguments:
|
|
388
388
|
|
|
389
|
-
- `value`: array element
|
|
390
|
-
- `index`: array index
|
|
391
|
-
- `arr`: array on which the method is invoked
|
|
389
|
+
- `value`: array element.
|
|
390
|
+
- `index`: array index.
|
|
391
|
+
- `arr`: array on which the method is invoked.
|
|
392
392
|
|
|
393
393
|
To set the callback execution context, provide a `thisArg`.
|
|
394
394
|
|
|
@@ -505,9 +505,9 @@ var arr2 = arr1.filter( predicate );
|
|
|
505
505
|
|
|
506
506
|
A `predicate` function is provided three arguments:
|
|
507
507
|
|
|
508
|
-
- `value`: array element
|
|
509
|
-
- `index`: array index
|
|
510
|
-
- `arr`: array on which the method is invoked
|
|
508
|
+
- `value`: array element.
|
|
509
|
+
- `index`: array index.
|
|
510
|
+
- `arr`: array on which the method is invoked.
|
|
511
511
|
|
|
512
512
|
To set the callback execution context, provide a `thisArg`.
|
|
513
513
|
|
|
@@ -567,9 +567,9 @@ var v = arr.find( predicate );
|
|
|
567
567
|
|
|
568
568
|
A `predicate` function is provided three arguments:
|
|
569
569
|
|
|
570
|
-
- `value`: array element
|
|
571
|
-
- `index`: array index
|
|
572
|
-
- `arr`: array on which the method is invoked
|
|
570
|
+
- `value`: array element.
|
|
571
|
+
- `index`: array index.
|
|
572
|
+
- `arr`: array on which the method is invoked.
|
|
573
573
|
|
|
574
574
|
To set the callback execution context, provide a `thisArg`.
|
|
575
575
|
|
|
@@ -630,9 +630,9 @@ var idx = arr.findIndex( predicate );
|
|
|
630
630
|
|
|
631
631
|
A `predicate` function is provided three arguments:
|
|
632
632
|
|
|
633
|
-
- `value`: array element
|
|
634
|
-
- `index`: array index
|
|
635
|
-
- `arr`: array on which the method is invoked
|
|
633
|
+
- `value`: array element.
|
|
634
|
+
- `index`: array index.
|
|
635
|
+
- `arr`: array on which the method is invoked.
|
|
636
636
|
|
|
637
637
|
To set the callback execution context, provide a `thisArg`.
|
|
638
638
|
|
|
@@ -685,9 +685,9 @@ console.log( str );
|
|
|
685
685
|
|
|
686
686
|
The callback is provided three arguments:
|
|
687
687
|
|
|
688
|
-
- `value`: array element
|
|
689
|
-
- `index`: array index
|
|
690
|
-
- `arr`: array on which the method is invoked
|
|
688
|
+
- `value`: array element.
|
|
689
|
+
- `index`: array index.
|
|
690
|
+
- `arr`: array on which the method is invoked.
|
|
691
691
|
|
|
692
692
|
To set the callback execution context, provide a `thisArg`.
|
|
693
693
|
|
|
@@ -902,9 +902,9 @@ var arr2 = arr1.map( fcn );
|
|
|
902
902
|
|
|
903
903
|
A callback is provided three arguments:
|
|
904
904
|
|
|
905
|
-
- `value`: array element
|
|
906
|
-
- `index`: array index
|
|
907
|
-
- `arr`: array on which the method is invoked
|
|
905
|
+
- `value`: array element.
|
|
906
|
+
- `index`: array index.
|
|
907
|
+
- `arr`: array on which the method is invoked.
|
|
908
908
|
|
|
909
909
|
To set the callback execution context, provide a `thisArg`.
|
|
910
910
|
|
|
@@ -966,10 +966,10 @@ var v = arr.reduce( fcn, 0 );
|
|
|
966
966
|
|
|
967
967
|
A callback is provided four arguments:
|
|
968
968
|
|
|
969
|
-
- `acc`: accumulated result
|
|
970
|
-
- `value`: array element
|
|
971
|
-
- `index`: array index
|
|
972
|
-
- `arr`: array on which the method is invoked
|
|
969
|
+
- `acc`: accumulated result.
|
|
970
|
+
- `value`: array element.
|
|
971
|
+
- `index`: array index.
|
|
972
|
+
- `arr`: array on which the method is invoked.
|
|
973
973
|
|
|
974
974
|
<a name="method-reduce-right"></a>
|
|
975
975
|
|
|
@@ -1009,10 +1009,10 @@ var v = arr.reduce( fcn, 0 );
|
|
|
1009
1009
|
|
|
1010
1010
|
A callback is provided four arguments:
|
|
1011
1011
|
|
|
1012
|
-
- `acc`: accumulated result
|
|
1013
|
-
- `value`: array element
|
|
1014
|
-
- `index`: array index
|
|
1015
|
-
- `arr`: array on which the method is invoked
|
|
1012
|
+
- `acc`: accumulated result.
|
|
1013
|
+
- `value`: array element.
|
|
1014
|
+
- `index`: array index.
|
|
1015
|
+
- `arr`: array on which the method is invoked.
|
|
1016
1016
|
|
|
1017
1017
|
<a name="method-reverse"></a>
|
|
1018
1018
|
|
|
@@ -1185,9 +1185,9 @@ var bool = arr.some( predicate );
|
|
|
1185
1185
|
|
|
1186
1186
|
A `predicate` function is provided three arguments:
|
|
1187
1187
|
|
|
1188
|
-
- `value`: array element
|
|
1189
|
-
- `index`: array index
|
|
1190
|
-
- `arr`: array on which the method is invoked
|
|
1188
|
+
- `value`: array element.
|
|
1189
|
+
- `index`: array index.
|
|
1190
|
+
- `arr`: array on which the method is invoked.
|
|
1191
1191
|
|
|
1192
1192
|
To set the callback execution context, provide a `thisArg`.
|
|
1193
1193
|
|
|
@@ -1489,7 +1489,7 @@ See [LICENSE][stdlib-license].
|
|
|
1489
1489
|
|
|
1490
1490
|
## Copyright
|
|
1491
1491
|
|
|
1492
|
-
Copyright © 2016-
|
|
1492
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
1493
1493
|
|
|
1494
1494
|
</section>
|
|
1495
1495
|
|
|
@@ -1502,8 +1502,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
1502
1502
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-uint8c.svg
|
|
1503
1503
|
[npm-url]: https://npmjs.org/package/@stdlib/array-uint8c
|
|
1504
1504
|
|
|
1505
|
-
[test-image]: https://github.com/stdlib-js/array-uint8c/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
1506
|
-
[test-url]: https://github.com/stdlib-js/array-uint8c/actions/workflows/test.yml?query=branch:v0.2.
|
|
1505
|
+
[test-image]: https://github.com/stdlib-js/array-uint8c/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
1506
|
+
[test-url]: https://github.com/stdlib-js/array-uint8c/actions/workflows/test.yml?query=branch:v0.2.3
|
|
1507
1507
|
|
|
1508
1508
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-uint8c/main.svg
|
|
1509
1509
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-uint8c?branch=main
|
|
@@ -1515,8 +1515,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
1515
1515
|
|
|
1516
1516
|
-->
|
|
1517
1517
|
|
|
1518
|
-
[chat-image]: https://img.shields.io/
|
|
1519
|
-
[chat-url]: https://
|
|
1518
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
1519
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
1520
1520
|
|
|
1521
1521
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
1522
1522
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-uint8c",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Uint8ClampedArray.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/assert-has-uint8clampedarray-support": "^0.2.
|
|
33
|
+
"@stdlib/assert-has-uint8clampedarray-support": "^0.2.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {},
|
|
36
36
|
"engines": {
|