@stdlib/stats-base-snanvariancech 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
@@ -289,7 +289,7 @@ See [LICENSE][stdlib-license].
289
289
 
290
290
  ## Copyright
291
291
 
292
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
292
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
293
293
 
294
294
  </section>
295
295
 
@@ -302,8 +302,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
302
302
  [npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-snanvariancech.svg
303
303
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-snanvariancech
304
304
 
305
- [test-image]: https://github.com/stdlib-js/stats-base-snanvariancech/actions/workflows/test.yml/badge.svg?branch=v0.1.1
306
- [test-url]: https://github.com/stdlib-js/stats-base-snanvariancech/actions/workflows/test.yml?query=branch:v0.1.1
305
+ [test-image]: https://github.com/stdlib-js/stats-base-snanvariancech/actions/workflows/test.yml/badge.svg?branch=v0.2.1
306
+ [test-url]: https://github.com/stdlib-js/stats-base-snanvariancech/actions/workflows/test.yml?query=branch:v0.2.1
307
307
 
308
308
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-snanvariancech/main.svg
309
309
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-snanvariancech?branch=main
@@ -326,8 +326,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
326
326
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
327
327
 
328
328
  [deno-url]: https://github.com/stdlib-js/stats-base-snanvariancech/tree/deno
329
+ [deno-readme]: https://github.com/stdlib-js/stats-base-snanvariancech/blob/deno/README.md
329
330
  [umd-url]: https://github.com/stdlib-js/stats-base-snanvariancech/tree/umd
331
+ [umd-readme]: https://github.com/stdlib-js/stats-base-snanvariancech/blob/umd/README.md
330
332
  [esm-url]: https://github.com/stdlib-js/stats-base-snanvariancech/tree/esm
333
+ [esm-readme]: https://github.com/stdlib-js/stats-base-snanvariancech/blob/esm/README.md
331
334
  [branches-url]: https://github.com/stdlib-js/stats-base-snanvariancech/blob/main/branches.md
332
335
 
333
336
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-snanvariancech/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 = snanvariancech.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-snanvariancech",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "Calculate the variance of a single-precision floating-point strided array ignoring NaN values and using a one-pass trial mean algorithm.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -17,21 +17,14 @@
17
17
  "browser": "./lib/main.js",
18
18
  "gypfile": false,
19
19
  "directories": {
20
- "benchmark": "./benchmark",
21
20
  "doc": "./docs",
22
- "example": "./examples",
23
21
  "include": "./include",
24
22
  "lib": "./lib",
25
23
  "src": "./src",
26
- "test": "./test"
24
+ "dist": "./dist"
27
25
  },
28
26
  "types": "./docs/types",
29
- "scripts": {
30
- "test": "make test",
31
- "test-cov": "make test-cov",
32
- "examples": "make examples",
33
- "benchmark": "make benchmark"
34
- },
27
+ "scripts": {},
35
28
  "homepage": "https://stdlib.io",
36
29
  "repository": {
37
30
  "type": "git",
@@ -41,26 +34,13 @@
41
34
  "url": "https://github.com/stdlib-js/stdlib/issues"
42
35
  },
43
36
  "dependencies": {
44
- "@stdlib/assert-is-error": "^0.1.1",
45
- "@stdlib/number-float64-base-to-float32": "^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"
49
- },
50
- "devDependencies": {
51
- "@stdlib/array-float32": "^0.1.0",
52
- "@stdlib/assert-is-browser": "^0.1.1",
53
- "@stdlib/bench": "^0.1.0",
54
- "@stdlib/math-base-assert-is-nanf": "^0.1.1",
55
- "@stdlib/math-base-special-floor": "^0.1.0",
56
- "@stdlib/math-base-special-pow": "^0.1.0",
57
- "@stdlib/math-base-special-round": "^0.1.1",
58
- "@stdlib/random-base-randu": "^0.1.0",
59
- "proxyquire": "^2.0.0",
60
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
61
- "istanbul": "^0.4.1",
62
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
37
+ "@stdlib/assert-is-error": "^0.2.1",
38
+ "@stdlib/number-float64-base-to-float32": "^0.2.1",
39
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
40
+ "@stdlib/utils-library-manifest": "^0.2.1",
41
+ "@stdlib/utils-try-require": "^0.2.1"
63
42
  },
43
+ "devDependencies": {},
64
44
  "engines": {
65
45
  "node": ">=0.10.0",
66
46
  "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