@stdlib/utils-reject-arguments 0.1.1 → 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
@@ -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 &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
227
+ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
221
228
 
222
229
  </section>
223
230
 
@@ -230,8 +237,8 @@ Copyright &copy; 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.1.1
234
- [test-url]: https://github.com/stdlib-js/utils-reject-arguments/actions/workflows/test.yml?query=branch:v0.1.1
240
+ [test-image]: https://github.com/stdlib-js/utils-reject-arguments/actions/workflows/test.yml/badge.svg?branch=v0.2.1
241
+ [test-url]: https://github.com/stdlib-js/utils-reject-arguments/actions/workflows/test.yml?query=branch:v0.2.1
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 &copy; 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
@@ -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).
@@ -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; // tslint-disable-line max-line-length
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.1.1",
3
+ "version": "0.2.1",
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": {
@@ -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,19 +30,10 @@
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
32
  "dependencies": {
40
- "@stdlib/assert-is-function": "^0.1.1",
41
- "@stdlib/string-format": "^0.1.1",
42
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
43
- },
44
- "devDependencies": {
45
- "@stdlib/array-filled-by": "^0.1.0",
46
- "@stdlib/bench": "^0.1.0",
47
- "@stdlib/math-base-assert-is-nan": "^0.1.0",
48
- "@stdlib/math-base-ops-add": "^0.1.0",
49
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
50
- "istanbul": "^0.4.1",
51
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
33
+ "@stdlib/assert-is-function": "^0.2.1",
34
+ "@stdlib/string-format": "^0.2.1"
52
35
  },
36
+ "devDependencies": {},
53
37
  "engines": {
54
38
  "node": ">=0.10.0",
55
39
  "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