@stdlib/array-to-circular-iterator 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 +3 -3
- package/package.json +24 -23
- 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
|
@@ -354,7 +354,7 @@ See [LICENSE][stdlib-license].
|
|
|
354
354
|
|
|
355
355
|
## Copyright
|
|
356
356
|
|
|
357
|
-
Copyright © 2016-
|
|
357
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
358
358
|
|
|
359
359
|
</section>
|
|
360
360
|
|
|
@@ -367,8 +367,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
367
367
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-to-circular-iterator.svg
|
|
368
368
|
[npm-url]: https://npmjs.org/package/@stdlib/array-to-circular-iterator
|
|
369
369
|
|
|
370
|
-
[test-image]: https://github.com/stdlib-js/array-to-circular-iterator/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
371
|
-
[test-url]: https://github.com/stdlib-js/array-to-circular-iterator/actions/workflows/test.yml?query=branch:v0.
|
|
370
|
+
[test-image]: https://github.com/stdlib-js/array-to-circular-iterator/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
371
|
+
[test-url]: https://github.com/stdlib-js/array-to-circular-iterator/actions/workflows/test.yml?query=branch:v0.2.0
|
|
372
372
|
|
|
373
373
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-to-circular-iterator/main.svg
|
|
374
374
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-to-circular-iterator?branch=main
|
|
@@ -391,8 +391,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
391
391
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
392
392
|
|
|
393
393
|
[deno-url]: https://github.com/stdlib-js/array-to-circular-iterator/tree/deno
|
|
394
|
+
[deno-readme]: https://github.com/stdlib-js/array-to-circular-iterator/blob/deno/README.md
|
|
394
395
|
[umd-url]: https://github.com/stdlib-js/array-to-circular-iterator/tree/umd
|
|
396
|
+
[umd-readme]: https://github.com/stdlib-js/array-to-circular-iterator/blob/umd/README.md
|
|
395
397
|
[esm-url]: https://github.com/stdlib-js/array-to-circular-iterator/tree/esm
|
|
398
|
+
[esm-readme]: https://github.com/stdlib-js/array-to-circular-iterator/blob/esm/README.md
|
|
396
399
|
[branches-url]: https://github.com/stdlib-js/array-to-circular-iterator/blob/main/branches.md
|
|
397
400
|
|
|
398
401
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-to-circular-iterator/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ type Ternary = ( value: any, index: number, n: number ) => any;
|
|
|
84
84
|
* @param src - source array-like object
|
|
85
85
|
* @returns iterator value
|
|
86
86
|
*/
|
|
87
|
-
type Quaternary = ( value: any, index: number, n: number, src: ArrayLike<any> ) => any;
|
|
87
|
+
type Quaternary = ( value: any, index: number, n: number, src: ArrayLike<any> ) => any;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Map function invoked for each iterated value.
|
|
@@ -120,7 +120,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary | Quaternary;
|
|
|
120
120
|
*
|
|
121
121
|
* // ...
|
|
122
122
|
*/
|
|
123
|
-
declare function circarray2iterator( src: ArrayLike<any>, mapFcn?: MapFunction, thisArg?: any ): Iterator;
|
|
123
|
+
declare function circarray2iterator( src: ArrayLike<any>, mapFcn?: MapFunction, thisArg?: any ): Iterator;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* Returns an iterator which repeatedly iterates over each element in an array-like object.
|
|
@@ -150,7 +150,7 @@ declare function circarray2iterator( src: ArrayLike<any>, mapFcn?: MapFunction,
|
|
|
150
150
|
* v = it.next().value;
|
|
151
151
|
* // returns 2
|
|
152
152
|
*/
|
|
153
|
-
declare function circarray2iterator( src: ArrayLike<any>, options: Options, mapFcn?: MapFunction, thisArg?: any ): Iterator;
|
|
153
|
+
declare function circarray2iterator( src: ArrayLike<any>, options: Options, mapFcn?: MapFunction, thisArg?: any ): Iterator;
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
// EXPORTS //
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-to-circular-iterator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Create an iterator which repeatedly iterates over the elements of an array-like object.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,33 +37,34 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-base-accessor-getter": "^0.
|
|
41
|
-
"@stdlib/array-base-assert-is-accessor-array": "^0.
|
|
42
|
-
"@stdlib/array-base-getter": "^0.
|
|
43
|
-
"@stdlib/array-dtype": "^0.
|
|
44
|
-
"@stdlib/assert-has-own-property": "^0.
|
|
45
|
-
"@stdlib/assert-is-collection": "^0.
|
|
46
|
-
"@stdlib/assert-is-function": "^0.
|
|
47
|
-
"@stdlib/assert-is-nonnegative-integer": "^0.
|
|
48
|
-
"@stdlib/assert-is-plain-object": "^0.
|
|
49
|
-
"@stdlib/string-format": "^0.
|
|
50
|
-
"@stdlib/symbol-iterator": "^0.
|
|
51
|
-
"@stdlib/types": "^0.1
|
|
52
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.
|
|
53
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.
|
|
40
|
+
"@stdlib/array-base-accessor-getter": "^0.2.0",
|
|
41
|
+
"@stdlib/array-base-assert-is-accessor-array": "^0.2.0",
|
|
42
|
+
"@stdlib/array-base-getter": "^0.2.0",
|
|
43
|
+
"@stdlib/array-dtype": "^0.2.0",
|
|
44
|
+
"@stdlib/assert-has-own-property": "^0.2.0",
|
|
45
|
+
"@stdlib/assert-is-collection": "^0.2.0",
|
|
46
|
+
"@stdlib/assert-is-function": "^0.2.0",
|
|
47
|
+
"@stdlib/assert-is-nonnegative-integer": "^0.2.0",
|
|
48
|
+
"@stdlib/assert-is-plain-object": "^0.2.0",
|
|
49
|
+
"@stdlib/string-format": "^0.2.0",
|
|
50
|
+
"@stdlib/symbol-iterator": "^0.2.0",
|
|
51
|
+
"@stdlib/types": "^0.3.1",
|
|
52
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
|
|
53
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@stdlib/array-float64": "^0.
|
|
57
|
-
"@stdlib/assert-is-iterator-like": "^0.
|
|
58
|
-
"@stdlib/
|
|
59
|
-
"@stdlib/
|
|
60
|
-
"@stdlib/
|
|
61
|
-
"@stdlib/utils-
|
|
62
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
56
|
+
"@stdlib/array-float64": "^0.2.0",
|
|
57
|
+
"@stdlib/assert-is-iterator-like": "^0.2.0",
|
|
58
|
+
"@stdlib/math-base-assert-is-nan": "^0.2.0",
|
|
59
|
+
"@stdlib/random-base-randu": "^0.1.0",
|
|
60
|
+
"@stdlib/utils-inmap": "^0.2.0",
|
|
61
|
+
"@stdlib/utils-noop": "^0.2.0",
|
|
63
62
|
"proxyquire": "^2.0.0",
|
|
64
63
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
65
64
|
"istanbul": "^0.4.1",
|
|
66
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
65
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
66
|
+
"@stdlib/bench-harness": "^0.2.0",
|
|
67
|
+
"@stdlib/bench": "^0.3.1"
|
|
67
68
|
},
|
|
68
69
|
"engines": {
|
|
69
70
|
"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
|