Skip to content

Commit 3b81211

Browse files
committed
Auto-generated commit
1 parent 982a469 commit 3b81211

File tree

10 files changed

+65
-36
lines changed

10 files changed

+65
-36
lines changed

.github/.keepalive

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-07-01T01:51:42.127Z
1+
2024-08-01T01:58:50.087Z

.github/workflows/productionize.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696
97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "[email protected]"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "[email protected]"
198198
git config --local user.name "stdlib-bot"
@@ -366,8 +366,8 @@ jobs:
366366
# Pin action to full length commit SHA
367367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
368368

369-
# Configure git:
370-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
371371
run: |
372372
git config --local user.email "[email protected]"
373373
git config --local user.name "stdlib-bot"
@@ -539,8 +539,8 @@ jobs:
539539
# Pin action to full length commit SHA
540540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
541541

542-
# Configure git:
543-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
544544
run: |
545545
git config --local user.email "[email protected]"
546546
git config --local user.name "stdlib-bot"
@@ -735,8 +735,8 @@ jobs:
735735
echo "bump=true" >> $GITHUB_OUTPUT
736736
fi
737737
738-
# Configure git:
739-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
740740
if: steps.check-if-bump.outputs.bump
741741
run: |
742742
git config --local user.email "[email protected]"

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "[email protected]"
7979
git config --local user.name "stdlib-bot"
@@ -206,7 +206,7 @@ jobs:
206206
# Publish package to npm:
207207
- name: 'Publish package to npm'
208208
# Pin action to full length commit SHA
209-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
210210
with:
211211
token: ${{ secrets.NPM_TOKEN }}
212212
access: public

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ docs/**/node_modules/
101101
pids
102102
*.pid
103103
*.seed
104+
yarn.lock
105+
package-lock.json
104106

105107
# Typescript #
106108
##############

.npmrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

+32-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-07-01)
7+
## Unreleased (2024-08-01)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15-
- [`a591e05`](https://github.com/stdlib-js/stdlib/commit/a591e052cf1b1515c267781b914c6a482e150425) - **test:** fix test configuration _(by Athan Reines)_
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
1616

1717
</details>
1818

@@ -36,3 +36,33 @@ A total of 1 person contributed to this release. Thank you to this contributor:
3636

3737
<!-- /.release -->
3838

39+
<section class="release" id="v0.2.1">
40+
41+
## 0.2.1 (2024-02-22)
42+
43+
No changes reported for this release.
44+
45+
</section>
46+
47+
<!-- /.release -->
48+
49+
<section class="release" id="v0.2.0">
50+
51+
## 0.2.0 (2024-02-14)
52+
53+
No changes reported for this release.
54+
55+
</section>
56+
57+
<!-- /.release -->
58+
59+
<section class="release" id="v0.1.0">
60+
61+
## 0.1.0 (2024-01-17)
62+
63+
No changes reported for this release.
64+
65+
</section>
66+
67+
<!-- /.release -->
68+

CONTRIBUTORS

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Muhammad Haris <[email protected]>
5151
Naresh Jagadeesan <[email protected]>
5252
NightKnight <[email protected]>
5353
Nithin Katta <[email protected]>
54+
Nourhan Hasan <[email protected]>
5455
Ognjen Jevremović <[email protected]>
5556
Oneday12323 <[email protected]>
5657
Philipp Burckhardt <[email protected]>

benchmark/c/benchmark.c

+7-10
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark `float64_is_same_value`.
21-
*/
2219
#include "stdlib/number/float64/base/assert/is_same_value.h"
2320
#include <stdlib.h>
2421
#include <stdio.h>
@@ -35,7 +32,7 @@
3532
/**
3633
* Prints the TAP version.
3734
*/
38-
void print_version( void ) {
35+
static void print_version( void ) {
3936
printf( "TAP version 13\n" );
4037
}
4138

@@ -45,7 +42,7 @@ void print_version( void ) {
4542
* @param total total number of tests
4643
* @param passing total number of passing tests
4744
*/
48-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4946
printf( "#\n" );
5047
printf( "1..%d\n", total ); // TAP plan
5148
printf( "# total %d\n", total );
@@ -59,7 +56,7 @@ void print_summary( int total, int passing ) {
5956
*
6057
* @param elapsed elapsed time in seconds
6158
*/
62-
void print_results( double elapsed ) {
59+
static void print_results( double elapsed ) {
6360
double rate = (double)ITERATIONS / elapsed;
6461
printf( " ---\n" );
6562
printf( " iterations: %d\n", ITERATIONS );
@@ -73,18 +70,18 @@ void print_results( double elapsed ) {
7370
*
7471
* @return clock time
7572
*/
76-
double tic( void ) {
73+
static double tic( void ) {
7774
struct timeval now;
7875
gettimeofday( &now, NULL );
7976
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
8077
}
8178

8279
/**
83-
* Generates a random number on the interval [0,1].
80+
* Generates a random number on the interval [0,1).
8481
*
8582
* @return random number
8683
*/
87-
double rand_double( void ) {
84+
static double rand_double( void ) {
8885
int r = rand();
8986
return (double)r / ( (double)RAND_MAX + 1.0 );
9087
}
@@ -94,7 +91,7 @@ double rand_double( void ) {
9491
*
9592
* @return elapsed time in seconds
9693
*/
97-
double benchmark( void ) {
94+
static double benchmark( void ) {
9895
double elapsed;
9996
double x;
10097
double t;

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/napi-argv": "^0.2.1",
43+
"@stdlib/napi-argv": "^0.2.2",
4444
"@stdlib/napi-argv-double": "^0.2.1",
45-
"@stdlib/napi-export": "^0.2.1",
46-
"@stdlib/utils-library-manifest": "^0.2.1"
45+
"@stdlib/napi-export": "^0.2.2",
46+
"@stdlib/utils-library-manifest": "^0.2.2"
4747
},
4848
"devDependencies": {
49-
"@stdlib/assert-is-boolean": "^0.2.1",
50-
"@stdlib/boolean-ctor": "^0.2.1",
51-
"@stdlib/utils-try-require": "^0.2.1",
49+
"@stdlib/assert-is-boolean": "^0.2.2",
50+
"@stdlib/boolean-ctor": "^0.2.2",
51+
"@stdlib/utils-try-require": "^0.2.2",
5252
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5353
"istanbul": "^0.4.1",
5454
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
55-
"@stdlib/bench-harness": "^0.2.1"
55+
"@stdlib/bench-harness": "^0.2.2"
5656
},
5757
"engines": {
5858
"node": ">=0.10.0",

src/addon.c

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
/**
2727
* Receives JavaScript callback invocation data.
2828
*
29-
* @private
3029
* @param env environment under which the function is invoked
3130
* @param info callback data
3231
* @return Node-API value

0 commit comments

Comments
 (0)