@stdlib/iter-to-array-view 0.1.0 → 0.2.1
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 +6 -6
- package/package.json +14 -35
- 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
|
@@ -283,7 +283,7 @@ See [LICENSE][stdlib-license].
|
|
|
283
283
|
|
|
284
284
|
## Copyright
|
|
285
285
|
|
|
286
|
-
Copyright © 2016-
|
|
286
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
287
287
|
|
|
288
288
|
</section>
|
|
289
289
|
|
|
@@ -296,8 +296,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
296
296
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/iter-to-array-view.svg
|
|
297
297
|
[npm-url]: https://npmjs.org/package/@stdlib/iter-to-array-view
|
|
298
298
|
|
|
299
|
-
[test-image]: https://github.com/stdlib-js/iter-to-array-view/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
300
|
-
[test-url]: https://github.com/stdlib-js/iter-to-array-view/actions/workflows/test.yml?query=branch:v0.1
|
|
299
|
+
[test-image]: https://github.com/stdlib-js/iter-to-array-view/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
300
|
+
[test-url]: https://github.com/stdlib-js/iter-to-array-view/actions/workflows/test.yml?query=branch:v0.2.1
|
|
301
301
|
|
|
302
302
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/iter-to-array-view/main.svg
|
|
303
303
|
[coverage-url]: https://codecov.io/github/stdlib-js/iter-to-array-view?branch=main
|
|
@@ -320,8 +320,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
320
320
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
321
321
|
|
|
322
322
|
[deno-url]: https://github.com/stdlib-js/iter-to-array-view/tree/deno
|
|
323
|
+
[deno-readme]: https://github.com/stdlib-js/iter-to-array-view/blob/deno/README.md
|
|
323
324
|
[umd-url]: https://github.com/stdlib-js/iter-to-array-view/tree/umd
|
|
325
|
+
[umd-readme]: https://github.com/stdlib-js/iter-to-array-view/blob/umd/README.md
|
|
324
326
|
[esm-url]: https://github.com/stdlib-js/iter-to-array-view/tree/esm
|
|
327
|
+
[esm-readme]: https://github.com/stdlib-js/iter-to-array-view/blob/esm/README.md
|
|
325
328
|
[branches-url]: https://github.com/stdlib-js/iter-to-array-view/blob/main/branches.md
|
|
326
329
|
|
|
327
330
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/iter-to-array-view/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -80,8 +80,8 @@ type MapFunction<T, U, V> = Nullary<U, V> | Unary<T, U, V> | Binary<T, U, V> | T
|
|
|
80
80
|
* @returns output array
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
* var randu = require(
|
|
84
|
-
* var Float64Array = require(
|
|
83
|
+
* var randu = require( '@stdlib/random-iter-randu' );
|
|
84
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
85
85
|
*
|
|
86
86
|
* var iter = randu({
|
|
87
87
|
* 'iter': 10
|
|
@@ -103,8 +103,8 @@ declare function iterator2arrayview<T = unknown, U = unknown, V = unknown>( iter
|
|
|
103
103
|
* @returns output array
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
|
-
* var randu = require(
|
|
107
|
-
* var Float64Array = require(
|
|
106
|
+
* var randu = require( '@stdlib/random-iter-randu' );
|
|
107
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
108
108
|
*
|
|
109
109
|
* var iter = randu({
|
|
110
110
|
* 'iter': 10
|
|
@@ -127,8 +127,8 @@ declare function iterator2arrayview<T = unknown, U = unknown, V = unknown>( iter
|
|
|
127
127
|
* @returns output array
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
|
-
* var randu = require(
|
|
131
|
-
* var Float64Array = require(
|
|
130
|
+
* var randu = require( '@stdlib/random-iter-randu' );
|
|
131
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
132
132
|
*
|
|
133
133
|
* var iter = randu({
|
|
134
134
|
* 'iter': 10
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/iter-to-array-view",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Fill an array-like object view with values returned from an iterator.",
|
|
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,32 +30,18 @@
|
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-base-accessor-setter": "^0.1
|
|
41
|
-
"@stdlib/array-base-assert-is-accessor-array": "^0.1
|
|
42
|
-
"@stdlib/array-base-setter": "^0.1
|
|
43
|
-
"@stdlib/array-dtype": "^0.1
|
|
44
|
-
"@stdlib/assert-is-collection": "^0.1
|
|
45
|
-
"@stdlib/assert-is-function": "^0.1
|
|
46
|
-
"@stdlib/assert-is-integer": "^0.1
|
|
47
|
-
"@stdlib/assert-is-iterator-like": "^0.1
|
|
48
|
-
"@stdlib/string-format": "^0.1
|
|
49
|
-
"@stdlib/
|
|
50
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.1.0"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@stdlib/array-complex128": "^0.1.0",
|
|
54
|
-
"@stdlib/array-float64": "^0.1.0",
|
|
55
|
-
"@stdlib/array-to-iterator": "^0.0.6",
|
|
56
|
-
"@stdlib/bench": "^0.1.0",
|
|
57
|
-
"@stdlib/complex-float64": "^0.1.0",
|
|
58
|
-
"@stdlib/math-base-assert-is-nan": "^0.1.0",
|
|
59
|
-
"@stdlib/random-iter-randu": "^0.0.6",
|
|
60
|
-
"@stdlib/strided-base-reinterpret-complex128": "^0.1.0",
|
|
61
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
62
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
63
|
-
"istanbul": "^0.4.1",
|
|
64
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
33
|
+
"@stdlib/array-base-accessor-setter": "^0.2.1",
|
|
34
|
+
"@stdlib/array-base-assert-is-accessor-array": "^0.2.1",
|
|
35
|
+
"@stdlib/array-base-setter": "^0.2.1",
|
|
36
|
+
"@stdlib/array-dtype": "^0.2.1",
|
|
37
|
+
"@stdlib/assert-is-collection": "^0.2.1",
|
|
38
|
+
"@stdlib/assert-is-function": "^0.2.1",
|
|
39
|
+
"@stdlib/assert-is-integer": "^0.2.1",
|
|
40
|
+
"@stdlib/assert-is-iterator-like": "^0.2.1",
|
|
41
|
+
"@stdlib/string-format": "^0.2.1",
|
|
42
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.1"
|
|
65
43
|
},
|
|
44
|
+
"devDependencies": {},
|
|
66
45
|
"engines": {
|
|
67
46
|
"node": ">=0.10.0",
|
|
68
47
|
"npm": ">2.7.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
|