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