@stdlib/utils-nary-function 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -188,6 +188,13 @@ for ( i = 0; i <= x.length; i++ ) {
188
188
 
189
189
  <section class="related">
190
190
 
191
+ * * *
192
+
193
+ ## See Also
194
+
195
+ - <span class="package-name">[`@stdlib/utils-mask-arguments`][@stdlib/utils/mask-arguments]</span><span class="delimiter">: </span><span class="description">create a function that invokes a provided function according to an argument mask.</span>
196
+ - <span class="package-name">[`@stdlib/utils-pick-arguments`][@stdlib/utils/pick-arguments]</span><span class="delimiter">: </span><span class="description">create a function that invokes a provided function with specified arguments.</span>
197
+
191
198
  </section>
192
199
 
193
200
  <!-- /.related -->
@@ -218,7 +225,7 @@ See [LICENSE][stdlib-license].
218
225
 
219
226
  ## Copyright
220
227
 
221
- Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
228
+ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
222
229
 
223
230
  </section>
224
231
 
@@ -231,8 +238,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
231
238
  [npm-image]: http://img.shields.io/npm/v/@stdlib/utils-nary-function.svg
232
239
  [npm-url]: https://npmjs.org/package/@stdlib/utils-nary-function
233
240
 
234
- [test-image]: https://github.com/stdlib-js/utils-nary-function/actions/workflows/test.yml/badge.svg?branch=v0.1.0
235
- [test-url]: https://github.com/stdlib-js/utils-nary-function/actions/workflows/test.yml?query=branch:v0.1.0
241
+ [test-image]: https://github.com/stdlib-js/utils-nary-function/actions/workflows/test.yml/badge.svg?branch=v0.2.0
242
+ [test-url]: https://github.com/stdlib-js/utils-nary-function/actions/workflows/test.yml?query=branch:v0.2.0
236
243
 
237
244
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-nary-function/main.svg
238
245
  [coverage-url]: https://codecov.io/github/stdlib-js/utils-nary-function?branch=main
@@ -255,12 +262,23 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
255
262
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
256
263
 
257
264
  [deno-url]: https://github.com/stdlib-js/utils-nary-function/tree/deno
265
+ [deno-readme]: https://github.com/stdlib-js/utils-nary-function/blob/deno/README.md
258
266
  [umd-url]: https://github.com/stdlib-js/utils-nary-function/tree/umd
267
+ [umd-readme]: https://github.com/stdlib-js/utils-nary-function/blob/umd/README.md
259
268
  [esm-url]: https://github.com/stdlib-js/utils-nary-function/tree/esm
269
+ [esm-readme]: https://github.com/stdlib-js/utils-nary-function/blob/esm/README.md
260
270
  [branches-url]: https://github.com/stdlib-js/utils-nary-function/blob/main/branches.md
261
271
 
262
272
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-nary-function/main/LICENSE
263
273
 
274
+ <!-- <related-links> -->
275
+
276
+ [@stdlib/utils/mask-arguments]: https://www.npmjs.com/package/@stdlib/utils-mask-arguments
277
+
278
+ [@stdlib/utils/pick-arguments]: https://www.npmjs.com/package/@stdlib/utils-pick-arguments
279
+
280
+ <!-- </related-links> -->
281
+
264
282
  </section>
265
283
 
266
284
  <!-- /.links -->
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).
@@ -51,7 +51,7 @@ import { ArrayLike } from '@stdlib/types/array';
51
51
  * var out = bar( 1, 2, 3, 4, 5, 6 );
52
52
  * // returns 3
53
53
  */
54
- declare function naryFunction( fcn: Function, arity: number, thisArg?: any ): Function; // tslint-disable-line max-line-length
54
+ declare function naryFunction( fcn: Function, arity: number, thisArg?: any ): Function;
55
55
 
56
56
 
57
57
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/utils-nary-function",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Create a function that invokes a provided function with a specified number of arguments.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,19 +37,20 @@
37
37
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@stdlib/assert-is-function": "^0.1.0",
41
- "@stdlib/assert-is-nonnegative-integer": "^0.1.0",
42
- "@stdlib/string-format": "^0.1.0",
43
- "@stdlib/types": "^0.1.0",
44
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
40
+ "@stdlib/assert-is-function": "^0.2.0",
41
+ "@stdlib/assert-is-nonnegative-integer": "^0.2.0",
42
+ "@stdlib/string-format": "^0.2.0",
43
+ "@stdlib/types": "^0.3.1",
44
+ "@stdlib/error-tools-fmtprodmsg": "^0.1.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@stdlib/array-filled-by": "^0.0.2",
48
- "@stdlib/assert-is-array": "^0.1.0",
49
- "@stdlib/bench": "^0.1.0",
47
+ "@stdlib/array-filled-by": "^0.1.0",
48
+ "@stdlib/assert-is-array": "^0.1.1",
50
49
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
51
50
  "istanbul": "^0.4.1",
52
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
51
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
52
+ "@stdlib/bench-harness": "^0.1.2",
53
+ "@stdlib/bench": "^0.3.1"
53
54
  },
54
55
  "engines": {
55
56
  "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