@stdlib/array-to-strided-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
@@ -279,7 +279,7 @@ See [LICENSE][stdlib-license].
279
279
 
280
280
  ## Copyright
281
281
 
282
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
282
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
283
283
 
284
284
  </section>
285
285
 
@@ -292,8 +292,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
292
292
  [npm-image]: http://img.shields.io/npm/v/@stdlib/array-to-strided-iterator.svg
293
293
  [npm-url]: https://npmjs.org/package/@stdlib/array-to-strided-iterator
294
294
 
295
- [test-image]: https://github.com/stdlib-js/array-to-strided-iterator/actions/workflows/test.yml/badge.svg?branch=v0.1.0
296
- [test-url]: https://github.com/stdlib-js/array-to-strided-iterator/actions/workflows/test.yml?query=branch:v0.1.0
295
+ [test-image]: https://github.com/stdlib-js/array-to-strided-iterator/actions/workflows/test.yml/badge.svg?branch=v0.2.1
296
+ [test-url]: https://github.com/stdlib-js/array-to-strided-iterator/actions/workflows/test.yml?query=branch:v0.2.1
297
297
 
298
298
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-to-strided-iterator/main.svg
299
299
  [coverage-url]: https://codecov.io/github/stdlib-js/array-to-strided-iterator?branch=main
@@ -316,8 +316,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
316
316
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
317
317
 
318
318
  [deno-url]: https://github.com/stdlib-js/array-to-strided-iterator/tree/deno
319
+ [deno-readme]: https://github.com/stdlib-js/array-to-strided-iterator/blob/deno/README.md
319
320
  [umd-url]: https://github.com/stdlib-js/array-to-strided-iterator/tree/umd
321
+ [umd-readme]: https://github.com/stdlib-js/array-to-strided-iterator/blob/umd/README.md
320
322
  [esm-url]: https://github.com/stdlib-js/array-to-strided-iterator/tree/esm
323
+ [esm-readme]: https://github.com/stdlib-js/array-to-strided-iterator/blob/esm/README.md
321
324
  [branches-url]: https://github.com/stdlib-js/array-to-strided-iterator/blob/main/branches.md
322
325
 
323
326
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-to-strided-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).
@@ -69,7 +69,7 @@ type Ternary = ( value: any, index: number, n: number ) => any;
69
69
  * @param src - source array-like object
70
70
  * @returns iterator value
71
71
  */
72
- type Quaternary = ( value: any, index: number, n: number, src: ArrayLike<any> ) => any; // tslint:disable-line:max-line-length
72
+ type Quaternary = ( value: any, index: number, n: number, src: ArrayLike<any> ) => any;
73
73
 
74
74
  /**
75
75
  * Map function invoked for each iterated value.
@@ -116,7 +116,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary | Quaternary;
116
116
  *
117
117
  * // ...
118
118
  */
119
- declare function stridedarray2iterator( N: number, src: ArrayLike<any>, stride: number, offset: number, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
119
+ declare function stridedarray2iterator( N: number, src: ArrayLike<any>, stride: number, offset: number, mapFcn?: MapFunction, thisArg?: any ): Iterator;
120
120
 
121
121
 
122
122
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/array-to-strided-iterator",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Create an iterator from a strided array-like object.",
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,33 +30,20 @@
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/assert-is-nonnegative-integer": "^0.1.0",
48
- "@stdlib/string-format": "^0.1.0",
49
- "@stdlib/symbol-iterator": "^0.1.0",
50
- "@stdlib/types": "^0.1.0",
51
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
52
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
53
- },
54
- "devDependencies": {
55
- "@stdlib/array-float64": "^0.1.0",
56
- "@stdlib/assert-is-iterator-like": "^0.1.0",
57
- "@stdlib/bench": "^0.1.0",
58
- "@stdlib/math-base-assert-is-nan": "^0.1.0",
59
- "@stdlib/random-base-randu": "^0.0.8",
60
- "@stdlib/utils-inmap": "^0.1.0",
61
- "@stdlib/utils-noop": "^0.1.0",
62
- "proxyquire": "^2.0.0",
63
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
64
- "istanbul": "^0.4.1",
65
- "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/assert-is-nonnegative-integer": "^0.2.1",
41
+ "@stdlib/string-format": "^0.2.1",
42
+ "@stdlib/symbol-iterator": "^0.2.1",
43
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
44
+ "@stdlib/error-tools-fmtprodmsg": "^0.2.1"
66
45
  },
46
+ "devDependencies": {},
67
47
  "engines": {
68
48
  "node": ">=0.10.0",
69
49
  "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