@stdlib/stats-base-snanstdevpn 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
@@ -286,7 +286,7 @@ See [LICENSE][stdlib-license].
286
286
 
287
287
  ## Copyright
288
288
 
289
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
289
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
290
290
 
291
291
  </section>
292
292
 
@@ -299,8 +299,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
299
299
  [npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-snanstdevpn.svg
300
300
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-snanstdevpn
301
301
 
302
- [test-image]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml/badge.svg?branch=v0.1.1
303
- [test-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml?query=branch:v0.1.1
302
+ [test-image]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml/badge.svg?branch=v0.2.1
303
+ [test-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml?query=branch:v0.2.1
304
304
 
305
305
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-snanstdevpn/main.svg
306
306
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-snanstdevpn?branch=main
@@ -323,8 +323,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
323
323
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
324
324
 
325
325
  [deno-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/tree/deno
326
+ [deno-readme]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/deno/README.md
326
327
  [umd-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/tree/umd
328
+ [umd-readme]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/umd/README.md
327
329
  [esm-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/tree/esm
330
+ [esm-readme]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/esm/README.md
328
331
  [branches-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/main/branches.md
329
332
 
330
333
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-snanstdevpn/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 standard deviation
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 standard deviation
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 = snanstdevpn.ndarray( x.length, 1, x, 1, 0 );
60
60
  * // returns ~2.0817
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 standard deviation
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 ~2.0817
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-snanstdevpn",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "Calculate the standard deviation of a single-precision floating-point strided array ignoring NaN values and using a two-pass 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,30 +34,15 @@
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/math-base-special-sqrt": "^0.1.1",
46
- "@stdlib/number-float64-base-to-float32": "^0.1.1",
47
- "@stdlib/stats-base-snanvariancepn": "^0.1.1",
48
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.1",
49
- "@stdlib/utils-library-manifest": "^0.1.1",
50
- "@stdlib/utils-try-require": "^0.1.1"
51
- },
52
- "devDependencies": {
53
- "@stdlib/array-float32": "^0.1.0",
54
- "@stdlib/assert-is-browser": "^0.1.1",
55
- "@stdlib/bench": "^0.1.0",
56
- "@stdlib/constants-float32-eps": "^0.1.0",
57
- "@stdlib/math-base-assert-is-nanf": "^0.1.1",
58
- "@stdlib/math-base-special-abs": "^0.1.0",
59
- "@stdlib/math-base-special-floor": "^0.1.0",
60
- "@stdlib/math-base-special-pow": "^0.1.0",
61
- "@stdlib/math-base-special-round": "^0.1.1",
62
- "@stdlib/random-base-randu": "^0.1.0",
63
- "proxyquire": "^2.0.0",
64
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
65
- "istanbul": "^0.4.1",
66
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
37
+ "@stdlib/assert-is-error": "^0.2.1",
38
+ "@stdlib/math-base-special-sqrt": "^0.2.1",
39
+ "@stdlib/number-float64-base-to-float32": "^0.2.1",
40
+ "@stdlib/stats-base-snanvariancepn": "^0.2.1",
41
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
42
+ "@stdlib/utils-library-manifest": "^0.2.1",
43
+ "@stdlib/utils-try-require": "^0.2.1"
67
44
  },
45
+ "devDependencies": {},
68
46
  "engines": {
69
47
  "node": ">=0.10.0",
70
48
  "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