@stdlib/number-float64-base-to-float32 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
@@ -136,7 +136,7 @@ See [LICENSE][stdlib-license].
136
136
 
137
137
  ## Copyright
138
138
 
139
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
139
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
140
140
 
141
141
  </section>
142
142
 
@@ -149,8 +149,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
149
149
  [npm-image]: http://img.shields.io/npm/v/@stdlib/number-float64-base-to-float32.svg
150
150
  [npm-url]: https://npmjs.org/package/@stdlib/number-float64-base-to-float32
151
151
 
152
- [test-image]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml/badge.svg?branch=v0.1.1
153
- [test-url]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml?query=branch:v0.1.1
152
+ [test-image]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml/badge.svg?branch=v0.2.1
153
+ [test-url]: https://github.com/stdlib-js/number-float64-base-to-float32/actions/workflows/test.yml?query=branch:v0.2.1
154
154
 
155
155
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float64-base-to-float32/main.svg
156
156
  [coverage-url]: https://codecov.io/github/stdlib-js/number-float64-base-to-float32?branch=main
@@ -173,8 +173,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
173
173
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
174
174
 
175
175
  [deno-url]: https://github.com/stdlib-js/number-float64-base-to-float32/tree/deno
176
+ [deno-readme]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/deno/README.md
176
177
  [umd-url]: https://github.com/stdlib-js/number-float64-base-to-float32/tree/umd
178
+ [umd-readme]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/umd/README.md
177
179
  [esm-url]: https://github.com/stdlib-js/number-float64-base-to-float32/tree/esm
180
+ [esm-readme]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/esm/README.md
178
181
  [branches-url]: https://github.com/stdlib-js/number-float64-base-to-float32/blob/main/branches.md
179
182
 
180
183
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/number-float64-base-to-float32/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).
@@ -25,7 +25,7 @@
25
25
  * @returns nearest single-precision floating-point number
26
26
  *
27
27
  * @example
28
- * var float64ToFloat32 = require( `@stdlib/number/float64/base/to-float32` );
28
+ * var float64ToFloat32 = require( '@stdlib/number-float64-base-to-float32' );
29
29
  *
30
30
  * var y = float64ToFloat32( 1.337 );
31
31
  * // returns 1.3370000123977661
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/number-float64-base-to-float32",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "Convert a double-precision floating-point number to the nearest single-precision floating-point number.",
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,20 +30,9 @@
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
32
  "dependencies": {
40
- "@stdlib/array-float32": "^0.1.1"
41
- },
42
- "devDependencies": {
43
- "@stdlib/bench": "^0.1.0",
44
- "@stdlib/constants-float64-ninf": "^0.1.1",
45
- "@stdlib/constants-float64-pinf": "^0.1.1",
46
- "@stdlib/math-base-assert-is-nan": "^0.1.1",
47
- "@stdlib/math-base-assert-is-negative-zero": "^0.1.1",
48
- "@stdlib/random-base-randu": "^0.1.0",
49
- "proxyquire": "^2.0.0",
50
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
51
- "istanbul": "^0.4.1",
52
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
33
+ "@stdlib/array-float32": "^0.2.1"
53
34
  },
35
+ "devDependencies": {},
54
36
  "engines": {
55
37
  "node": ">=0.10.0",
56
38
  "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