Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 28, 2024
1 parent f89f9c4 commit 0692bba
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 48 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 94,8 @@ jobs:
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 ) );"
fi
# Configure git:
- name: 'Configure git'
# Configure Git:
- name: 'Configure Git'
run: |
git config --local user.email "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -191,8 191,8 @@ jobs:
# Pin action to full length commit SHA
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

# Configure git:
- name: 'Configure git'
# Configure Git:
- name: 'Configure Git'
run: |
git config --local user.email "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -366,8 366,8 @@ jobs:
# Pin action to full length commit SHA
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

# Configure git:
- name: 'Configure git'
# Configure Git:
- name: 'Configure Git'
run: |
git config --local user.email "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -539,8 539,8 @@ jobs:
# Pin action to full length commit SHA
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

# Configure git:
- name: 'Configure git'
# Configure Git:
- name: 'Configure Git'
run: |
git config --local user.email "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -735,8 735,8 @@ jobs:
echo "bump=true" >> $GITHUB_OUTPUT
fi
# Configure git:
- name: 'Configure git'
# Configure Git:
- name: 'Configure Git'
if: steps.check-if-bump.outputs.bump
run: |
git config --local user.email "[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 72,8 @@ jobs:
node-version: 20
timeout-minutes: 5

# Configure git:
- name: 'Configure git'
# Configure Git:
- name: 'Configure Git'
run: |
git config --local user.email "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -206,7 206,7 @@ jobs:
# Publish package to npm:
- name: 'Publish package to npm'
# Pin action to full length commit SHA
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
Expand Down
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 27,5 @@ shrinkwrap = false
# Disable automatically "saving" dependencies on install:
save = false

# Generate provenance metadata:
provenance = true
# Do not generate provenance metadata:
provenance = false
73 changes: 69 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,7 @@
<section class="release" id="unreleased">

## Unreleased (2024-07-18)
## Unreleased (2024-07-28)

<section class="bug-fixes">

Expand All @@ -22,6 22,7 @@

<details>

- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
- [`ddd4403`](https://github.com/stdlib-js/stdlib/commit/ddd44032f9d8a6d318c80e3b239ff72280ffc599) - **refactor:** update paths _(by Athan Reines)_
- [`b9703b5`](https://github.com/stdlib-js/stdlib/commit/b9703b569dc2f0a67e604e388a0d188b08138b48) - **refactor:** update paths _(by Athan Reines)_
- [`8d4c46b`](https://github.com/stdlib-js/stdlib/commit/8d4c46b10ca912401e0ff0caa37a17cd3c443c2f) - **refactor:** update paths _(by Athan Reines)_
Expand Down Expand Up @@ -57,6 58,53 @@ A total of 1 person contributed to this release. Thank you to this contributor:

## 0.2.1 (2024-02-24)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.2.0">

## 0.2.0 (2024-02-14)

<section class="commits">

### Commits

<details>

- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
- [`37c6c77`](https://github.com/stdlib-js/stdlib/commit/37c6c77ce78430486c95f3034dd1c836fac8b65d) - **style:** resolve C lint errors _(by Athan Reines)_
- [`7eb7d96`](https://github.com/stdlib-js/stdlib/commit/7eb7d96f3860d0b1229b905caceb1b6641ee43c5) - **docs:** update links _(by Athan Reines)_

</details>

</section>

<!-- /.commits -->

<section class="contributors">

### Contributors

A total of 2 people contributed to this release. Thank you to the following contributors:

- Athan Reines
- Philipp Burckhardt

</section>

<!-- /.contributors -->

</section>

<!-- /.release -->

<section class="release" id="v0.1.0">

## 0.1.0 (2023-09-24)

<section class="features">

### Features
Expand Down Expand Up @@ -96,9 144,6 @@ A total of 1 person contributed to this release. Thank you to this contributor:

<details>

- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
- [`37c6c77`](https://github.com/stdlib-js/stdlib/commit/37c6c77ce78430486c95f3034dd1c836fac8b65d) - **style:** resolve C lint errors _(by Athan Reines)_
- [`7eb7d96`](https://github.com/stdlib-js/stdlib/commit/7eb7d96f3860d0b1229b905caceb1b6641ee43c5) - **docs:** update links _(by Athan Reines)_
- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
- [`32a2827`](https://github.com/stdlib-js/stdlib/commit/32a282799ffd272d2a0554e81755a14923564e51) - **fix:** update import paths for complex type defs _(by Athan Reines)_
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
Expand Down Expand Up @@ -126,3 171,23 @@ A total of 2 people contributed to this release. Thank you to the following cont

<!-- /.release -->

<section class="release" id="v0.0.2">

## 0.0.2 (2022-11-06)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.0.1">

## 0.0.1 (2022-02-16)

No changes reported for this release.

</section>

<!-- /.release -->

1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 51,7 @@ Muhammad Haris <[email protected]>
Naresh Jagadeesan <[email protected]>
NightKnight <[email protected]>
Nithin Katta <88046362 [email protected]>
Nourhan Hasan <109472010 [email protected]>
Ognjen Jevremović <[email protected]>
Oneday12323 <107678750 [email protected]>
Philipp Burckhardt <[email protected]>
Expand Down
17 changes: 7 additions & 10 deletions benchmark/c/benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 16,6 @@
* limitations under the License.
*/

/**
* Benchmark `csubf`.
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
Expand All @@ -32,7 29,7 @@
/**
* Prints the TAP version.
*/
void print_version() {
static void print_version( void ) {
printf( "TAP version 13\n" );
}

Expand All @@ -42,7 39,7 @@ void print_version() {
* @param total total number of tests
* @param passing total number of passing tests
*/
void print_summary( int total, int passing ) {
static void print_summary( int total, int passing ) {
printf( "#\n" );
printf( "1..%d\n", total ); // TAP plan
printf( "# total %d\n", total );
Expand All @@ -56,7 53,7 @@ void print_summary( int total, int passing ) {
*
* @param elapsed elapsed time in seconds
*/
void print_results( double elapsed ) {
static void print_results( double elapsed ) {
double rate = (double)ITERATIONS / elapsed;
printf( " ---\n" );
printf( " iterations: %d\n", ITERATIONS );
Expand All @@ -70,18 67,18 @@ void print_results( double elapsed ) {
*
* @return clock time
*/
double tic() {
static double tic( void ) {
struct timeval now;
gettimeofday( &now, NULL );
return (double)now.tv_sec (double)now.tv_usec/1.0e6;
}

/**
* Generates a random number on the interval [0,1].
* Generates a random number on the interval [0,1).
*
* @return random number
*/
float rand_float() {
static float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX 1.0f );
}
Expand All @@ -91,7 88,7 @@ float rand_float() {
*
* @return elapsed time in seconds
*/
double benchmark() {
static double benchmark( void ) {
double elapsed;
float re;
float im;
Expand Down
17 changes: 7 additions & 10 deletions benchmark/c/native/benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 16,6 @@
* limitations under the License.
*/

/**
* Benchmark `csubf`.
*/
#include "stdlib/math/base/ops/csubf.h"
#include "stdlib/complex/float32/ctor.h"
#include "stdlib/complex/float32/reim.h"
Expand All @@ -36,7 33,7 @@
/**
* Prints the TAP version.
*/
void print_version() {
static void print_version( void ) {
printf( "TAP version 13\n" );
}

Expand All @@ -46,7 43,7 @@ void print_version() {
* @param total total number of tests
* @param passing total number of passing tests
*/
void print_summary( int total, int passing ) {
static void print_summary( int total, int passing ) {
printf( "#\n" );
printf( "1..%d\n", total ); // TAP plan
printf( "# total %d\n", total );
Expand All @@ -60,7 57,7 @@ void print_summary( int total, int passing ) {
*
* @param elapsed elapsed time in seconds
*/
void print_results( double elapsed ) {
static void print_results( double elapsed ) {
double rate = (double)ITERATIONS / elapsed;
printf( " ---\n" );
printf( " iterations: %d\n", ITERATIONS );
Expand All @@ -74,18 71,18 @@ void print_results( double elapsed ) {
*
* @return clock time
*/
double tic() {
static double tic( void ) {
struct timeval now;
gettimeofday( &now, NULL );
return (double)now.tv_sec (double)now.tv_usec/1.0e6;
}

/**
* Generates a random number on the interval [0,1].
* Generates a random number on the interval [0,1).
*
* @return random number
*/
float rand_float() {
static float rand_float( void ) {
int r = rand();
return (float)r / ( (float)RAND_MAX 1.0f );
}
Expand All @@ -95,7 92,7 @@ float rand_float() {
*
* @return elapsed time in seconds
*/
double benchmark() {
static double benchmark( void ) {
double elapsed;
float re;
float im;
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 40,24 @@
"url": "https://github.com/stdlib-js/stdlib/issues"
},
"dependencies": {
"@stdlib/complex-float32-ctor": "^0.0.1",
"@stdlib/complex-float32-imag": "^0.1.0",
"@stdlib/complex-float32-real": "^0.1.0",
"@stdlib/complex-float32-reim": "^0.1.0",
"@stdlib/complex-float32-ctor": "^0.0.2",
"@stdlib/complex-float32-imag": "^0.1.1",
"@stdlib/complex-float32-real": "^0.1.1",
"@stdlib/complex-float32-reim": "^0.1.2",
"@stdlib/math-base-napi-binary": "^0.2.1",
"@stdlib/number-float64-base-to-float32": "^0.2.1",
"@stdlib/number-float64-base-to-float32": "^0.2.2",
"@stdlib/types": "^0.3.2",
"@stdlib/utils-library-manifest": "^0.2.1"
"@stdlib/utils-library-manifest": "^0.2.2"
},
"devDependencies": {
"@stdlib/math-base-assert-is-nanf": "^0.2.1",
"@stdlib/math-base-assert-is-nanf": "^0.2.2",
"@stdlib/random-base-discrete-uniform": "^0.2.1",
"@stdlib/random-base-uniform": "^0.2.1",
"@stdlib/utils-try-require": "^0.2.1",
"@stdlib/utils-try-require": "^0.2.2",
"tape": "git https://github.com/kgryte/tape.git#fix/globby",
"istanbul": "^0.4.1",
"tap-min": "git https://github.com/Planeshifter/tap-min.git",
"@stdlib/bench-harness": "^0.2.1"
"@stdlib/bench-harness": "^0.2.2"
},
"engines": {
"node": ">=0.10.0",
Expand Down

0 comments on commit 0692bba

Please sign in to comment.