Skip to content

Commit 4b410da

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents b96003d + 0902607 commit 4b410da

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/deps.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ function namespaceDeps( ns, level, dev ) {
117117
if ( pkg === ns ) {
118118
continue;
119119
}
120-
if ( startsWith( pkg, ns ) ) {
120+
if (
121+
startsWith( pkg, ns ) ||
122+
( ns === '@stdlib/plot/ctor' && startsWith( pkg, '@stdlib/plot' ) )
123+
) {
121124
fileDeps = namespaceDeps( pkg, level, dev );
122125
for ( j = 0; j < fileDeps.length; j++ ) {
123126
if (

lib/node_modules/@stdlib/_tools/remark/plugins/remark-img-equations-src-urls/lib/git.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@
2222

2323
var exec = require( 'child_process' ).execSync;
2424
var logger = require( 'debug' );
25+
var trim = require( '@stdlib/string/trim' );
2526

2627

2728
// VARIABLES //
2829

2930
var debug = logger( 'remark-img-equations-src-urls:git' );
3031

3132
// Regular expression to extract a repository slug:
32-
var RE = /(?:.+github\.com)(?:\/|:)(.+)(?:\.(?:.+)|\s*$)/;
33+
var RE = /(?:.+github\.com)(?:\/|:)(.+)(?:\.(?:.+)|$)/;
3334

3435

3536
// MAIN //
@@ -52,7 +53,8 @@ function git() {
5253

5354
// Get the local git repository path and remove any newline characters:
5455
dir = exec( 'git rev-parse --show-toplevel' );
55-
dir = dir.toString().match( /(.+)/ )[ 1 ];
56+
dir = trim( dir.toString() );
57+
dir = dir.match( /(.+)/ )[ 1 ];
5658
debug( 'Local repository directory: %s', dir );
5759

5860
opts = {
@@ -62,7 +64,7 @@ function git() {
6264
// Get the remote origin:
6365
cmd = 'git config --get remote.origin.url';
6466
out = exec( cmd, opts );
65-
origin = out.toString();
67+
origin = trim( out.toString() );
6668
debug( 'Remote origin: %s', origin );
6769

6870
// Extract the repository slug:
@@ -72,7 +74,8 @@ function git() {
7274
// Get the current Git hash and remove any newline characters:
7375
cmd = 'git rev-parse HEAD';
7476
out = exec( cmd, opts );
75-
hash = out.toString().match( /(.+)/ )[ 1 ];
77+
out = trim( out.toString() );
78+
hash = out.match( /(.+)/ )[ 1 ];
7679
debug( 'Current hash: %s', hash );
7780

7881
hslug = rslug+'/'+hash;

lib/node_modules/@stdlib/math/base/special/cinv/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ limitations under the License.
2424
2525
<section class="intro">
2626

27-
The inverse or reciprocal of a non-zero complex number `z = a + bi` is defined as
27+
The inverse (or reciprocal) of a non-zero complex number `z = a + bi` is defined as
2828

2929
<!-- <equation class="equation" label="eq:complex_inverse" align="center" raw="{\frac {1}{z}}=\frac{\bar{z}}{z{\bar{z}}} = \frac{a}{a^{2}+b^{2}} - \frac{b}{a^2+b^2}i." alt="Complex Inverse" > -->
3030

lib/node_modules/@stdlib/stats/base/dists/truncated-normal/pdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var i;
128128

129129
for ( i = 0; i < 25; i++ ) {
130130
a = ( randu() * 80.0 ) - 40.0;
131-
b = a + (randu() * 80.0);
131+
b = a + ( randu() * 80.0 );
132132
x = ( randu() * 40.0 ) + a;
133133
mu = ( randu() * 20.0 ) - 10.0;
134134
sigma = ( randu() * 10.0 ) + 2.0;

lib/node_modules/@stdlib/stats/base/dists/truncated-normal/pdf/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Unary = ( x: number ) => number;
3131
*/
3232
interface PDF {
3333
/**
34-
* Evaluates the probability density function (PDF) for a truncated normal distribution with endpoints `a` and `b`, location parameter `mu` and scale parameter `sigma` at a value `x`.
34+
* Evaluates the probability density function (PDF) for a truncated normal distribution with endpoints `a` and `b`, location parameter `mu`, and scale parameter `sigma` at a value `x`.
3535
*
3636
* @param x - input value
3737
* @param a - minimum support
@@ -63,7 +63,7 @@ interface PDF {
6363
( x: number, a: number, b: number, mu: number, sigma: number ): number;
6464

6565
/**
66-
* Returns a function for evaluating the probability density function (PDF) for a truncated normal distribution with endpoints `a` and `b`, mean `mu` and standard deviation `sigma`.
66+
* Returns a function for evaluating the probability density function (PDF) for a truncated normal distribution with endpoints `a` and `b`, mean `mu`, and standard deviation `sigma`.
6767
*
6868
* @param a - minimum support
6969
* @param b - maximum support

lib/node_modules/@stdlib/stats/base/dists/truncated-normal/pdf/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var i;
3131

3232
for ( i = 0; i < 25; i++ ) {
3333
a = ( randu() * 80.0 ) - 40.0;
34-
b = a + (randu() * 80.0);
34+
b = a + ( randu() * 80.0 );
3535
x = ( randu() * 40.0 ) + a;
3636
mu = ( randu() * 20.0 ) - 10.0;
3737
sigma = ( randu() * 10.0 ) + 2.0;

0 commit comments

Comments
 (0)