@stdlib/array-base-accessor-setter 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
@@ -197,7 +197,7 @@ See [LICENSE][stdlib-license].
197
197
 
198
198
  ## Copyright
199
199
 
200
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
200
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
201
201
 
202
202
  </section>
203
203
 
@@ -210,8 +210,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
210
210
  [npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-accessor-setter.svg
211
211
  [npm-url]: https://npmjs.org/package/@stdlib/array-base-accessor-setter
212
212
 
213
- [test-image]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml/badge.svg?branch=v0.1.0
214
- [test-url]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml?query=branch:v0.1.0
213
+ [test-image]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml/badge.svg?branch=v0.2.1
214
+ [test-url]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml?query=branch:v0.2.1
215
215
 
216
216
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-accessor-setter/main.svg
217
217
  [coverage-url]: https://codecov.io/github/stdlib-js/array-base-accessor-setter?branch=main
@@ -234,13 +234,16 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
234
234
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
235
235
 
236
236
  [deno-url]: https://github.com/stdlib-js/array-base-accessor-setter/tree/deno
237
+ [deno-readme]: https://github.com/stdlib-js/array-base-accessor-setter/blob/deno/README.md
237
238
  [umd-url]: https://github.com/stdlib-js/array-base-accessor-setter/tree/umd
239
+ [umd-readme]: https://github.com/stdlib-js/array-base-accessor-setter/blob/umd/README.md
238
240
  [esm-url]: https://github.com/stdlib-js/array-base-accessor-setter/tree/esm
241
+ [esm-readme]: https://github.com/stdlib-js/array-base-accessor-setter/blob/esm/README.md
239
242
  [branches-url]: https://github.com/stdlib-js/array-base-accessor-setter/blob/main/branches.md
240
243
 
241
244
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-base-accessor-setter/main/LICENSE
242
245
 
243
- [@stdlib/array/dtypes]: https://www.npmjs.com/package/@stdlib/stdlib
246
+ [@stdlib/array/dtypes]: https://www.npmjs.com/package/@stdlib/array-dtypes
244
247
 
245
248
  </section>
246
249
 
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).
@@ -57,10 +57,10 @@ type SetArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number, value: T ) => v
57
57
  * @returns accessor function
58
58
  *
59
59
  * @example
60
- * var Complex128Array = require( `@stdlib/array/complex128` );
61
- * var Complex128 = require( `@stdlib/complex/float64` );
62
- * var real = require( `@stdlib/array/real` );
63
- * var imag = require( `@stdlib/array/imag` );
60
+ * var Complex128Array = require( '@stdlib/array-complex128' );
61
+ * var Complex128 = require( '@stdlib/complex-float64' );
62
+ * var real = require( '@stdlib/array-real' );
63
+ * var imag = require( '@stdlib/array-imag' );
64
64
  *
65
65
  * var arr = new Complex128Array( [ 1, 2, 3, 4 ] );
66
66
  *
@@ -85,10 +85,10 @@ declare function setter( dtype: 'complex128' ): SetComplex128;
85
85
  * @returns accessor function
86
86
  *
87
87
  * @example
88
- * var Complex64Array = require( `@stdlib/array/complex64` );
89
- * var Complex64 = require( `@stdlib/complex/float32` );
90
- * var realf = require( `@stdlib/array/realf` );
91
- * var imagf = require( `@stdlib/array/imagf` );
88
+ * var Complex64Array = require( '@stdlib/array-complex64' );
89
+ * var Complex64 = require( '@stdlib/complex-float32' );
90
+ * var realf = require( '@stdlib/array-realf' );
91
+ * var imagf = require( '@stdlib/array-imagf' );
92
92
  *
93
93
  * var arr = new Complex64Array( [ 1, 2, 3, 4 ] );
94
94
  *
@@ -132,7 +132,7 @@ declare function setter( dtype: 'complex64' ): SetComplex64;
132
132
  * var v = arr.get( 2 );
133
133
  * // returns 3
134
134
  */
135
- declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics
135
+ declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>;
136
136
 
137
137
 
138
138
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/array-base-accessor-setter",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Return an accessor function for setting an element in an array-like object supporting the get/set protocol.",
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",
@@ -36,30 +29,8 @@
36
29
  "bugs": {
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
- "dependencies": {
40
- "@stdlib/types": "^0.1.0"
41
- },
42
- "devDependencies": {
43
- "@stdlib/array-base-zero-to": "^0.1.0",
44
- "@stdlib/array-complex128": "^0.0.6",
45
- "@stdlib/array-complex64": "^0.0.6",
46
- "@stdlib/array-dtype": "^0.0.6",
47
- "@stdlib/array-filled-by": "^0.0.2",
48
- "@stdlib/assert-is-function": "^0.1.0",
49
- "@stdlib/bench": "^0.1.0",
50
- "@stdlib/complex-float32": "^0.1.0",
51
- "@stdlib/complex-float64": "^0.1.0",
52
- "@stdlib/complex-imag": "^0.1.0",
53
- "@stdlib/complex-imagf": "^0.1.0",
54
- "@stdlib/complex-real": "^0.1.0",
55
- "@stdlib/complex-realf": "^0.1.0",
56
- "@stdlib/math-base-assert-is-nan": "^0.1.0",
57
- "@stdlib/math-base-assert-is-nanf": "^0.1.0",
58
- "@stdlib/random-base-discrete-uniform": "^0.0.6",
59
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
60
- "istanbul": "^0.4.1",
61
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
62
- },
32
+ "dependencies": {},
33
+ "devDependencies": {},
63
34
  "engines": {
64
35
  "node": ">=0.10.0",
65
36
  "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