@stdlib/stats-base-snanvariance 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -278,7 +278,7 @@ See [LICENSE][stdlib-license].
278
278
 
279
279
  ## Copyright
280
280
 
281
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
281
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
282
282
 
283
283
  </section>
284
284
 
@@ -291,8 +291,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
291
291
  [npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-snanvariance.svg
292
292
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-snanvariance
293
293
 
294
- [test-image]: https://github.com/stdlib-js/stats-base-snanvariance/actions/workflows/test.yml/badge.svg?branch=v0.1.1
295
- [test-url]: https://github.com/stdlib-js/stats-base-snanvariance/actions/workflows/test.yml?query=branch:v0.1.1
294
+ [test-image]: https://github.com/stdlib-js/stats-base-snanvariance/actions/workflows/test.yml/badge.svg?branch=v0.2.0
295
+ [test-url]: https://github.com/stdlib-js/stats-base-snanvariance/actions/workflows/test.yml?query=branch:v0.2.0
296
296
 
297
297
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-snanvariance/main.svg
298
298
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-snanvariance?branch=main
@@ -315,8 +315,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
315
315
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
316
316
 
317
317
  [deno-url]: https://github.com/stdlib-js/stats-base-snanvariance/tree/deno
318
+ [deno-readme]: https://github.com/stdlib-js/stats-base-snanvariance/blob/deno/README.md
318
319
  [umd-url]: https://github.com/stdlib-js/stats-base-snanvariance/tree/umd
320
+ [umd-readme]: https://github.com/stdlib-js/stats-base-snanvariance/blob/umd/README.md
319
321
  [esm-url]: https://github.com/stdlib-js/stats-base-snanvariance/tree/esm
322
+ [esm-readme]: https://github.com/stdlib-js/stats-base-snanvariance/blob/esm/README.md
320
323
  [branches-url]: https://github.com/stdlib-js/stats-base-snanvariance/blob/main/branches.md
321
324
 
322
325
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-snanvariance/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).
@@ -32,7 +32,7 @@ interface Routine {
32
32
  * @returns variance
33
33
  *
34
34
  * @example
35
- * var Float32Array = require( `@stdlib/array/float32` );
35
+ * var Float32Array = require( '@stdlib/array-float32' );
36
36
  *
37
37
  * var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
38
38
  *
@@ -52,14 +52,14 @@ interface Routine {
52
52
  * @returns variance
53
53
  *
54
54
  * @example
55
- * var Float32Array = require( `@stdlib/array/float32` );
55
+ * var Float32Array = require( '@stdlib/array-float32' );
56
56
  *
57
57
  * var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
58
58
  *
59
59
  * var v = snanvariance.ndarray( x.length, 1, x, 1, 0 );
60
60
  * // returns ~4.3333
61
61
  */
62
- ndarray( N: number, correction: number, x: Float32Array, stride: number, offset: number ): number; // tslint:disable-line:max-line-length
62
+ ndarray( N: number, correction: number, x: Float32Array, stride: number, offset: number ): number;
63
63
  }
64
64
 
65
65
  /**
@@ -72,7 +72,7 @@ interface Routine {
72
72
  * @returns variance
73
73
  *
74
74
  * @example
75
- * var Float32Array = require( `@stdlib/array/float32` );
75
+ * var Float32Array = require( '@stdlib/array-float32' );
76
76
  *
77
77
  * var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
78
78
  *
@@ -80,7 +80,7 @@ interface Routine {
80
80
  * // returns ~4.3333
81
81
  *
82
82
  * @example
83
- * var Float32Array = require( `@stdlib/array/float32` );
83
+ * var Float32Array = require( '@stdlib/array-float32' );
84
84
  *
85
85
  * var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
86
86
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/stats-base-snanvariance",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Calculate the variance of a single-precision floating-point strided array ignoring NaN values.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -41,18 +41,17 @@
41
41
  "url": "https://github.com/stdlib-js/stdlib/issues"
42
42
  },
43
43
  "dependencies": {
44
- "@stdlib/assert-is-error": "^0.1.1",
45
- "@stdlib/stats-base-snanvariancepn": "^0.1.1",
46
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.1",
47
- "@stdlib/utils-library-manifest": "^0.1.1",
48
- "@stdlib/utils-try-require": "^0.1.1"
44
+ "@stdlib/assert-is-error": "^0.2.0",
45
+ "@stdlib/stats-base-snanvariancepn": "^0.2.0",
46
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
47
+ "@stdlib/utils-library-manifest": "^0.2.0",
48
+ "@stdlib/utils-try-require": "^0.2.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@stdlib/array-float32": "^0.1.0",
51
+ "@stdlib/array-float32": "^0.1.1",
52
52
  "@stdlib/assert-is-browser": "^0.1.1",
53
- "@stdlib/bench": "^0.1.0",
54
53
  "@stdlib/math-base-assert-is-nanf": "^0.1.1",
55
- "@stdlib/math-base-special-floor": "^0.1.0",
54
+ "@stdlib/math-base-special-floor": "^0.1.1",
56
55
  "@stdlib/math-base-special-pow": "^0.1.0",
57
56
  "@stdlib/math-base-special-round": "^0.1.1",
58
57
  "@stdlib/number-float64-base-to-float32": "^0.1.1",
@@ -60,7 +59,9 @@
60
59
  "proxyquire": "^2.0.0",
61
60
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
62
61
  "istanbul": "^0.4.1",
63
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
62
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
63
+ "@stdlib/bench-harness": "^0.1.2",
64
+ "@stdlib/bench": "^0.3.1"
64
65
  },
65
66
  "engines": {
66
67
  "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