@stdlib/array-to-view-iterator 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -351,7 +351,7 @@ See [LICENSE][stdlib-license].
351
351
 
352
352
  ## Copyright
353
353
 
354
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
354
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
355
355
 
356
356
  </section>
357
357
 
@@ -364,8 +364,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
364
364
  [npm-image]: http://img.shields.io/npm/v/@stdlib/array-to-view-iterator.svg
365
365
  [npm-url]: https://npmjs.org/package/@stdlib/array-to-view-iterator
366
366
 
367
- [test-image]: https://github.com/stdlib-js/array-to-view-iterator/actions/workflows/test.yml/badge.svg?branch=v0.1.0
368
- [test-url]: https://github.com/stdlib-js/array-to-view-iterator/actions/workflows/test.yml?query=branch:v0.1.0
367
+ [test-image]: https://github.com/stdlib-js/array-to-view-iterator/actions/workflows/test.yml/badge.svg?branch=v0.2.1
368
+ [test-url]: https://github.com/stdlib-js/array-to-view-iterator/actions/workflows/test.yml?query=branch:v0.2.1
369
369
 
370
370
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-to-view-iterator/main.svg
371
371
  [coverage-url]: https://codecov.io/github/stdlib-js/array-to-view-iterator?branch=main
@@ -388,8 +388,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
388
388
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
389
389
 
390
390
  [deno-url]: https://github.com/stdlib-js/array-to-view-iterator/tree/deno
391
+ [deno-readme]: https://github.com/stdlib-js/array-to-view-iterator/blob/deno/README.md
391
392
  [umd-url]: https://github.com/stdlib-js/array-to-view-iterator/tree/umd
393
+ [umd-readme]: https://github.com/stdlib-js/array-to-view-iterator/blob/umd/README.md
392
394
  [esm-url]: https://github.com/stdlib-js/array-to-view-iterator/tree/esm
395
+ [esm-readme]: https://github.com/stdlib-js/array-to-view-iterator/blob/esm/README.md
393
396
  [branches-url]: https://github.com/stdlib-js/array-to-view-iterator/blob/main/branches.md
394
397
 
395
398
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-to-view-iterator/main/LICENSE
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
@@ -94,7 +94,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary;
94
94
  * var bool = iter.next().done;
95
95
  * // returns false
96
96
  */
97
- declare function arrayview2iterator( src: ArrayLike<any>, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
97
+ declare function arrayview2iterator( src: ArrayLike<any>, mapFcn?: MapFunction, thisArg?: any ): Iterator;
98
98
 
99
99
  /**
100
100
  * Returns an iterator which iterates over each element in an array-like object view.
@@ -117,7 +117,7 @@ declare function arrayview2iterator( src: ArrayLike<any>, mapFcn?: MapFunction,
117
117
  * var bool = iter.next().done;
118
118
  * // returns false
119
119
  */
120
- declare function arrayview2iterator( src: ArrayLike<any>, begin: number, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
120
+ declare function arrayview2iterator( src: ArrayLike<any>, begin: number, mapFcn?: MapFunction, thisArg?: any ): Iterator;
121
121
 
122
122
  /**
123
123
  * Returns an iterator which iterates over each element in an array-like object view.
@@ -141,7 +141,7 @@ declare function arrayview2iterator( src: ArrayLike<any>, begin: number, mapFcn?
141
141
  * var bool = iter.next().done;
142
142
  * // returns true
143
143
  */
144
- declare function arrayview2iterator( src: ArrayLike<any>, begin: number, end: number, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
144
+ declare function arrayview2iterator( src: ArrayLike<any>, begin: number, end: number, mapFcn?: MapFunction, thisArg?: any ): Iterator;
145
145
 
146
146
 
147
147
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/array-to-view-iterator",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Create an iterator from an array-like object view.",
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
- "test": "./test"
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,19 @@
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
32
  "dependencies": {
40
- "@stdlib/array-base-accessor-getter": "^0.1.0",
41
- "@stdlib/array-base-assert-is-accessor-array": "^0.1.0",
42
- "@stdlib/array-base-getter": "^0.1.0",
43
- "@stdlib/array-dtype": "^0.1.0",
44
- "@stdlib/assert-is-collection": "^0.1.0",
45
- "@stdlib/assert-is-function": "^0.1.0",
46
- "@stdlib/assert-is-integer": "^0.1.0",
47
- "@stdlib/string-format": "^0.1.0",
48
- "@stdlib/symbol-iterator": "^0.1.0",
49
- "@stdlib/types": "^0.1.0",
50
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
51
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
52
- },
53
- "devDependencies": {
54
- "@stdlib/array-float64": "^0.1.0",
55
- "@stdlib/assert-is-iterator-like": "^0.1.0",
56
- "@stdlib/bench": "^0.1.0",
57
- "@stdlib/math-base-assert-is-nan": "^0.1.0",
58
- "@stdlib/random-base-randu": "^0.0.8",
59
- "@stdlib/utils-inmap": "^0.1.0",
60
- "@stdlib/utils-noop": "^0.1.0",
61
- "proxyquire": "^2.0.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-getter": "^0.2.1",
34
+ "@stdlib/array-base-assert-is-accessor-array": "^0.2.1",
35
+ "@stdlib/array-base-getter": "^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/string-format": "^0.2.1",
41
+ "@stdlib/symbol-iterator": "^0.2.1",
42
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
43
+ "@stdlib/error-tools-fmtprodmsg": "^0.2.1"
65
44
  },
45
+ "devDependencies": {},
66
46
  "engines": {
67
47
  "node": ">=0.10.0",
68
48
  "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