@stdlib/math-base-napi 0.2.1 → 0.4.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 +1 -1
- package/README.md +10 -10
- package/dist/index.js.map +1 -1
- package/lib/index.js +5 -5
- package/package.json +7 -12
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -68,11 +68,11 @@ The namespace contains the following packages:
|
|
|
68
68
|
|
|
69
69
|
<div class="namespace-toc">
|
|
70
70
|
|
|
71
|
-
- <span class="signature">[`binary(
|
|
72
|
-
- <span class="signature">[`quaternary(
|
|
73
|
-
- <span class="signature">[`quinary(
|
|
74
|
-
- <span class="signature">[`ternary(
|
|
75
|
-
- <span class="signature">[`unary(
|
|
71
|
+
- <span class="signature">[`binary( fcn )`][@stdlib/math/base/napi/binary]</span><span class="delimiter">: </span><span class="description">C APIs for registering a Node-API module exporting interfaces for invoking binary numerical functions.</span>
|
|
72
|
+
- <span class="signature">[`quaternary( fcn )`][@stdlib/math/base/napi/quaternary]</span><span class="delimiter">: </span><span class="description">C APIs for registering a Node-API module exporting interfaces for invoking quaternary numerical functions.</span>
|
|
73
|
+
- <span class="signature">[`quinary( fcn )`][@stdlib/math/base/napi/quinary]</span><span class="delimiter">: </span><span class="description">C APIs for registering a Node-API module exporting interfaces for invoking quinary numerical functions.</span>
|
|
74
|
+
- <span class="signature">[`ternary( fcn )`][@stdlib/math/base/napi/ternary]</span><span class="delimiter">: </span><span class="description">C APIs for registering a Node-API module exporting interfaces for invoking ternary numerical functions.</span>
|
|
75
|
+
- <span class="signature">[`unary( fcn )`][@stdlib/math/base/napi/unary]</span><span class="delimiter">: </span><span class="description">C APIs for registering a Node-API module exporting interfaces for invoking unary numerical functions.</span>
|
|
76
76
|
|
|
77
77
|
</div>
|
|
78
78
|
|
|
@@ -135,7 +135,7 @@ See [LICENSE][stdlib-license].
|
|
|
135
135
|
|
|
136
136
|
## Copyright
|
|
137
137
|
|
|
138
|
-
Copyright © 2016-
|
|
138
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
139
139
|
|
|
140
140
|
</section>
|
|
141
141
|
|
|
@@ -148,8 +148,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
148
148
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-napi.svg
|
|
149
149
|
[npm-url]: https://npmjs.org/package/@stdlib/math-base-napi
|
|
150
150
|
|
|
151
|
-
[test-image]: https://github.com/stdlib-js/math-base-napi/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
152
|
-
[test-url]: https://github.com/stdlib-js/math-base-napi/actions/workflows/test.yml?query=branch:v0.
|
|
151
|
+
[test-image]: https://github.com/stdlib-js/math-base-napi/actions/workflows/test.yml/badge.svg?branch=v0.4.0
|
|
152
|
+
[test-url]: https://github.com/stdlib-js/math-base-napi/actions/workflows/test.yml?query=branch:v0.4.0
|
|
153
153
|
|
|
154
154
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-napi/main.svg
|
|
155
155
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-napi?branch=main
|
|
@@ -161,8 +161,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
161
161
|
|
|
162
162
|
-->
|
|
163
163
|
|
|
164
|
-
[chat-image]: https://img.shields.io/
|
|
165
|
-
[chat-url]: https://
|
|
164
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
165
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
166
166
|
|
|
167
167
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
168
168
|
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../lib/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2021 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Top-level namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name binary\n* @memberof ns\n* @readonly\n* @type {
|
|
4
|
+
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2021 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Top-level namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name binary\n* @memberof ns\n* @readonly\n* @type {string}\n* @see {@link module:@stdlib/math/base/napi/binary}\n*/\nsetReadOnly( ns, 'binary', require( '@stdlib/math-base-napi-binary' ) );\n\n/**\n* @name quaternary\n* @memberof ns\n* @readonly\n* @type {string}\n* @see {@link module:@stdlib/math/base/napi/quaternary}\n*/\nsetReadOnly( ns, 'quaternary', require( '@stdlib/math-base-napi-quaternary' ) );\n\n/**\n* @name quinary\n* @memberof ns\n* @readonly\n* @type {string}\n* @see {@link module:@stdlib/math/base/napi/quinary}\n*/\nsetReadOnly( ns, 'quinary', require( '@stdlib/math-base-napi-quinary' ) );\n\n/**\n* @name ternary\n* @memberof ns\n* @readonly\n* @type {string}\n* @see {@link module:@stdlib/math/base/napi/ternary}\n*/\nsetReadOnly( ns, 'ternary', require( '@stdlib/math-base-napi-ternary' ) );\n\n/**\n* @name unary\n* @memberof ns\n* @readonly\n* @type {string}\n* @see {@link module:@stdlib/math/base/napi/unary}\n*/\nsetReadOnly( ns, 'unary', require( '@stdlib/math-base-napi-unary' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"],
|
|
5
5
|
"mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,SAAU,QAAS,+BAAgC,CAAE,EAStED,EAAaC,EAAI,aAAc,QAAS,mCAAoC,CAAE,EAS9ED,EAAaC,EAAI,UAAW,QAAS,gCAAiC,CAAE,EASxED,EAAaC,EAAI,UAAW,QAAS,gCAAiC,CAAE,EASxED,EAAaC,EAAI,QAAS,QAAS,8BAA+B,CAAE,EAKpE,OAAO,QAAUA",
|
|
6
6
|
"names": ["setReadOnly", "ns"]
|
|
7
7
|
}
|
package/lib/index.js
CHANGED
|
@@ -40,7 +40,7 @@ var ns = {};
|
|
|
40
40
|
* @name binary
|
|
41
41
|
* @memberof ns
|
|
42
42
|
* @readonly
|
|
43
|
-
* @type {
|
|
43
|
+
* @type {string}
|
|
44
44
|
* @see {@link module:@stdlib/math/base/napi/binary}
|
|
45
45
|
*/
|
|
46
46
|
setReadOnly( ns, 'binary', require( '@stdlib/math-base-napi-binary' ) );
|
|
@@ -49,7 +49,7 @@ setReadOnly( ns, 'binary', require( '@stdlib/math-base-napi-binary' ) );
|
|
|
49
49
|
* @name quaternary
|
|
50
50
|
* @memberof ns
|
|
51
51
|
* @readonly
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @see {@link module:@stdlib/math/base/napi/quaternary}
|
|
54
54
|
*/
|
|
55
55
|
setReadOnly( ns, 'quaternary', require( '@stdlib/math-base-napi-quaternary' ) );
|
|
@@ -58,7 +58,7 @@ setReadOnly( ns, 'quaternary', require( '@stdlib/math-base-napi-quaternary' ) );
|
|
|
58
58
|
* @name quinary
|
|
59
59
|
* @memberof ns
|
|
60
60
|
* @readonly
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {string}
|
|
62
62
|
* @see {@link module:@stdlib/math/base/napi/quinary}
|
|
63
63
|
*/
|
|
64
64
|
setReadOnly( ns, 'quinary', require( '@stdlib/math-base-napi-quinary' ) );
|
|
@@ -67,7 +67,7 @@ setReadOnly( ns, 'quinary', require( '@stdlib/math-base-napi-quinary' ) );
|
|
|
67
67
|
* @name ternary
|
|
68
68
|
* @memberof ns
|
|
69
69
|
* @readonly
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {string}
|
|
71
71
|
* @see {@link module:@stdlib/math/base/napi/ternary}
|
|
72
72
|
*/
|
|
73
73
|
setReadOnly( ns, 'ternary', require( '@stdlib/math-base-napi-ternary' ) );
|
|
@@ -76,7 +76,7 @@ setReadOnly( ns, 'ternary', require( '@stdlib/math-base-napi-ternary' ) );
|
|
|
76
76
|
* @name unary
|
|
77
77
|
* @memberof ns
|
|
78
78
|
* @readonly
|
|
79
|
-
* @type {
|
|
79
|
+
* @type {string}
|
|
80
80
|
* @see {@link module:@stdlib/math/base/napi/unary}
|
|
81
81
|
*/
|
|
82
82
|
setReadOnly( ns, 'unary', require( '@stdlib/math-base-napi-unary' ) );
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-napi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "C APIs for registering a Node-API module exporting interfaces.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/math-base-napi-binary": "^0.
|
|
34
|
-
"@stdlib/math-base-napi-quaternary": "^0.2.
|
|
35
|
-
"@stdlib/math-base-napi-quinary": "^0.2.
|
|
36
|
-
"@stdlib/math-base-napi-ternary": "^0.
|
|
37
|
-
"@stdlib/math-base-napi-unary": "^0.2.
|
|
38
|
-
"@stdlib/utils-define-read-only-property": "^0.2.
|
|
33
|
+
"@stdlib/math-base-napi-binary": "^0.3.1",
|
|
34
|
+
"@stdlib/math-base-napi-quaternary": "^0.2.3",
|
|
35
|
+
"@stdlib/math-base-napi-quinary": "^0.2.3",
|
|
36
|
+
"@stdlib/math-base-napi-ternary": "^0.3.1",
|
|
37
|
+
"@stdlib/math-base-napi-unary": "^0.2.4",
|
|
38
|
+
"@stdlib/utils-define-read-only-property": "^0.2.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {},
|
|
41
41
|
"engines": {
|
|
@@ -69,11 +69,6 @@
|
|
|
69
69
|
"namespace",
|
|
70
70
|
"ns"
|
|
71
71
|
],
|
|
72
|
-
"__stdlib__": {
|
|
73
|
-
"envs": {
|
|
74
|
-
"browser": false
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
72
|
"funding": {
|
|
78
73
|
"type": "opencollective",
|
|
79
74
|
"url": "https://opencollective.com/stdlib"
|