Skip to content

Commit 0e85054

Browse files
committed
Auto-generated commit
1 parent da8b229 commit 0e85054

8 files changed

Lines changed: 41 additions & 39 deletions

File tree

.github/workflows/productionize.yml

Lines changed: 10 additions & 10 deletions
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 "noreply@stdlib.io"
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 "noreply@stdlib.io"
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 "noreply@stdlib.io"
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 "noreply@stdlib.io"
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 "noreply@stdlib.io"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
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 "noreply@stdlib.io"
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

.npmrc

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-07-18)
7+
## Unreleased (2024-07-28)
88

99
<section class="features">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
2526
- [`e3a3679`](https://github.com/stdlib-js/stdlib/commit/e3a3679f1e733cf02ce47cdc4bd0137bd37bef41) - **refactor:** update paths _(by Athan Reines)_
2627
- [`d6bba38`](https://github.com/stdlib-js/stdlib/commit/d6bba3883b442a2338fb2dbc6a97c6fe6b69edd5) - **feat:** add `complex/float32/base/mul` _(by Athan Reines)_
2728

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Muhammad Haris <harriskhan047@outlook.com>
5151
Naresh Jagadeesan <naresh.naresh000@gmail.com>
5252
NightKnight <Ahmedatwa866@yahoo.com>
5353
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
54+
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
5455
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
5556
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
5657
Philipp Burckhardt <pburckhardt@outlook.com>

benchmark/c/benchmark.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Prints the TAP version.
3131
*/
32-
void print_version() {
32+
static void print_version( void ) {
3333
printf( "TAP version 13\n" );
3434
}
3535

@@ -39,7 +39,7 @@ void print_version() {
3939
* @param total total number of tests
4040
* @param passing total number of passing tests
4141
*/
42-
void print_summary( int total, int passing ) {
42+
static void print_summary( int total, int passing ) {
4343
printf( "#\n" );
4444
printf( "1..%d\n", total ); // TAP plan
4545
printf( "# total %d\n", total );
@@ -53,7 +53,7 @@ void print_summary( int total, int passing ) {
5353
*
5454
* @param elapsed elapsed time in seconds
5555
*/
56-
void print_results( double elapsed ) {
56+
static void print_results( double elapsed ) {
5757
double rate = (double)ITERATIONS / elapsed;
5858
printf( " ---\n" );
5959
printf( " iterations: %d\n", ITERATIONS );
@@ -67,18 +67,18 @@ void print_results( double elapsed ) {
6767
*
6868
* @return clock time
6969
*/
70-
double tic() {
70+
static double tic( void ) {
7171
struct timeval now;
7272
gettimeofday( &now, NULL );
7373
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7474
}
7575

7676
/**
77-
* Generates a random number on the interval [0,1].
77+
* Generates a random number on the interval [0,1).
7878
*
7979
* @return random number
8080
*/
81-
float rand_float() {
81+
static float rand_float( void ) {
8282
int r = rand();
8383
return (float)r / ( (float)RAND_MAX + 1.0f );
8484
}
@@ -88,7 +88,7 @@ float rand_float() {
8888
*
8989
* @return elapsed time in seconds
9090
*/
91-
double benchmark() {
91+
static double benchmark( void ) {
9292
double elapsed;
9393
float re;
9494
float im;

benchmark/c/native/benchmark.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Prints the TAP version.
3434
*/
35-
void print_version() {
35+
static void print_version( void ) {
3636
printf( "TAP version 13\n" );
3737
}
3838

@@ -42,7 +42,7 @@ void print_version() {
4242
* @param total total number of tests
4343
* @param passing total number of passing tests
4444
*/
45-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4646
printf( "#\n" );
4747
printf( "1..%d\n", total ); // TAP plan
4848
printf( "# total %d\n", total );
@@ -56,7 +56,7 @@ void print_summary( int total, int passing ) {
5656
*
5757
* @param elapsed elapsed time in seconds
5858
*/
59-
void print_results( double elapsed ) {
59+
static void print_results( double elapsed ) {
6060
double rate = (double)ITERATIONS / elapsed;
6161
printf( " ---\n" );
6262
printf( " iterations: %d\n", ITERATIONS );
@@ -70,18 +70,18 @@ void print_results( double elapsed ) {
7070
*
7171
* @return clock time
7272
*/
73-
double tic() {
73+
static double tic( void ) {
7474
struct timeval now;
7575
gettimeofday( &now, NULL );
7676
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7777
}
7878

7979
/**
80-
* Generates a random number on the interval [0,1].
80+
* Generates a random number on the interval [0,1).
8181
*
8282
* @return random number
8383
*/
84-
float rand_float() {
84+
static float rand_float( void ) {
8585
int r = rand();
8686
return (float)r / ( (float)RAND_MAX + 1.0f );
8787
}
@@ -91,7 +91,7 @@ float rand_float() {
9191
*
9292
* @return elapsed time in seconds
9393
*/
94-
double benchmark() {
94+
static double benchmark( void ) {
9595
double elapsed;
9696
float re;
9797
float im;

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,24 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/complex-float32-ctor": "^0.0.1",
44-
"@stdlib/complex-float32-imag": "^0.1.0",
45-
"@stdlib/complex-float32-real": "^0.1.0",
46-
"@stdlib/complex-float32-reim": "^0.1.0",
43+
"@stdlib/complex-float32-ctor": "^0.0.2",
44+
"@stdlib/complex-float32-imag": "^0.1.1",
45+
"@stdlib/complex-float32-real": "^0.1.1",
46+
"@stdlib/complex-float32-reim": "^0.1.2",
4747
"@stdlib/math-base-napi-binary": "^0.2.1",
48-
"@stdlib/number-float64-base-to-float32": "^0.2.1",
48+
"@stdlib/number-float64-base-to-float32": "^0.2.2",
4949
"@stdlib/types": "^0.3.2",
50-
"@stdlib/utils-library-manifest": "^0.2.1"
50+
"@stdlib/utils-library-manifest": "^0.2.2"
5151
},
5252
"devDependencies": {
53-
"@stdlib/math-base-assert-is-nanf": "^0.2.1",
53+
"@stdlib/math-base-assert-is-nanf": "^0.2.2",
5454
"@stdlib/random-base-discrete-uniform": "^0.2.1",
5555
"@stdlib/random-base-uniform": "^0.2.1",
56-
"@stdlib/utils-try-require": "^0.2.1",
56+
"@stdlib/utils-try-require": "^0.2.2",
5757
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5858
"istanbul": "^0.4.1",
5959
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
60-
"@stdlib/bench-harness": "^0.2.1"
60+
"@stdlib/bench-harness": "^0.2.2"
6161
},
6262
"engines": {
6363
"node": ">=0.10.0",

0 commit comments

Comments
 (0)