Skip to content

Commit 2fe634a

Browse files
Merge branch 'stdlib-js:develop' into feat/rempio2f
2 parents 66e8128 + fe0ad15 commit 2fe634a

File tree

1,255 files changed

+40930
-6330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,255 files changed

+40930
-6330
lines changed

.github/workflows/autoclose.yml

-31
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ jobs:
3737
# Only run this job if the pull request has a specific label:
3838
if: "${{ github.event.label.name == 'autoclose: EditorConfig' }}"
3939

40-
# Define job permissions:
41-
permissions:
42-
contents: read
43-
pull-requests: write
44-
4540
# Define the type of virtual host machine:
4641
runs-on: ubuntu-latest
4742

@@ -73,11 +68,6 @@ jobs:
7368
# Only run this job if the pull request has a specific label:
7469
if: "${{ github.event.label.name == 'autoclose: Contributor Guidelines' }}"
7570

76-
# Define job permissions:
77-
permissions:
78-
contents: read
79-
pull-requests: write
80-
8171
# Define the type of virtual host machine:
8272
runs-on: ubuntu-latest
8373

@@ -109,11 +99,6 @@ jobs:
10999
# Only run this job if the pull request has a specific label:
110100
if: "${{ github.event.label.name == 'autoclose: Project Conventions' }}"
111101

112-
# Define job permissions:
113-
permissions:
114-
contents: read
115-
pull-requests: write
116-
117102
# Define the type of virtual host machine:
118103
runs-on: ubuntu-latest
119104

@@ -149,11 +134,6 @@ jobs:
149134
# Only run this job if the pull request has a specific label:
150135
if: "${{ github.event.label.name == 'autoclose: Spam' }}"
151136

152-
# Define job permissions:
153-
permissions:
154-
contents: read
155-
pull-requests: write
156-
157137
# Define the type of virtual host machine:
158138
runs-on: ubuntu-latest
159139

@@ -189,12 +169,6 @@ jobs:
189169
# Only run this job if the pull request has a specific label:
190170
if: "${{ github.event.label.name == 'autoclose: Stale' }}"
191171

192-
# Define job permissions:
193-
permissions:
194-
contents: read
195-
issues: write
196-
pull-requests: write
197-
198172
# Define the type of virtual host machine:
199173
runs-on: ubuntu-latest
200174

@@ -221,11 +195,6 @@ jobs:
221195
# Only run this job if the pull request has a specific label:
222196
if: "${{ github.event.label.name == 'autoclose: Git History' }}"
223197

224-
# Define job permissions:
225-
permissions:
226-
contents: read
227-
pull-requests: write
228-
229198
# Define the type of virtual host machine:
230199
runs-on: ubuntu-latest
231200

.github/workflows/check_commit_metadata.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,10 @@ jobs:
5353
# Pin action to full length commit SHA
5454
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5555
with:
56-
# Specify whether to remove untracked files before checking out the repository:
57-
clean: true
58-
59-
# Limit clone depth to the most recent commit:
60-
fetch-depth: 1
61-
62-
# Specify whether to download Git-LFS files:
63-
lfs: false
56+
# Ensure we have access to the scripts directory:
57+
sparse-checkout: |
58+
.github/workflows/scripts
59+
sparse-checkout-cone-mode: false
6460
timeout-minutes: 10
6561

6662
# Extract commit metadata from commit messages as JSON:

.github/workflows/check_contributing_guidelines_acceptance.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ permissions:
5050
# Allow read-only access to the repository contents:
5151
contents: read
5252

53-
# Allow write access to pull requests:
54-
pull-requests: write
55-
5653
# Workflow jobs:
5754
jobs:
5855

@@ -75,14 +72,10 @@ jobs:
7572
# Pin action to full length commit SHA
7673
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7774
with:
78-
# Specify whether to remove untracked files before checking out the repository:
79-
clean: true
80-
81-
# Limit clone depth to the most recent commit:
82-
fetch-depth: 1
83-
84-
# Specify whether to download Git-LFS files:
85-
lfs: false
75+
# Ensure we have access to the scripts directory:
76+
sparse-checkout: |
77+
.github/workflows/scripts
78+
sparse-checkout-cone-mode: false
8679
timeout-minutes: 10
8780

8881
# Check contributing guidelines acceptance:

.github/workflows/create_address_commit_comment_issues.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,10 @@ jobs:
5555
# Pin action to full length commit SHA
5656
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5757
with:
58-
# Specify whether to remove untracked files before checking out the repository:
59-
clean: false
60-
61-
# Limit clone depth to the most recent commit:
62-
fetch-depth: 1
63-
64-
# Specify whether to download Git-LFS files:
65-
lfs: false
58+
# Ensure we have access to the scripts directory:
59+
sparse-checkout: |
60+
.github/workflows/scripts
61+
sparse-checkout-cone-mode: false
6662
timeout-minutes: 10
6763

6864
# Create issues from commit comments:

.github/workflows/generate_pr_commit_message.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ permissions:
3030
# Allow read-only access to the repository contents:
3131
contents: read
3232

33-
# Allow write access to issues, assignees, labels, and milestones:
34-
issues: write
35-
36-
# Allow write access to pull requests:
37-
pull-requests: write
38-
3933
# Workflow jobs:
4034
jobs:
4135

@@ -62,8 +56,10 @@ jobs:
6256
# Pin action to full length commit SHA
6357
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6458
with:
65-
# Fetch all commits to ensure we have the full commit history:
66-
fetch-depth: 0
59+
# Ensure we have access to the scripts directory:
60+
sparse-checkout: |
61+
.github/workflows/scripts
62+
sparse-checkout-cone-mode: false
6763

6864
# Generate commit message:
6965
- name: 'Generate commit message'

.github/workflows/good_first_issue.yml

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
# Define job permissions:
4141
permissions:
4242
contents: read
43-
pull-requests: write
4443

4544
# Define the type of virtual host machine:
4645
runs-on: ubuntu-latest

.github/workflows/label_good_first_prs.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343

4444
# Define job permissions:
4545
permissions:
46+
# Allow read-only access to the repository contents:
4647
contents: read
47-
pull-requests: write
4848

4949
# Define the type of virtual host machine:
5050
runs-on: ubuntu-latest
@@ -56,14 +56,10 @@ jobs:
5656
# Pin action to full length commit SHA
5757
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5858
with:
59-
# Specify whether to remove untracked files before checking out the repository:
60-
clean: true
61-
62-
# Limit clone depth to the most recent commit:
63-
fetch-depth: 1
64-
65-
# Specify whether to download Git-LFS files:
66-
lfs: false
59+
# Ensure we have access to the scripts directory:
60+
sparse-checkout: |
61+
.github/workflows/scripts
62+
sparse-checkout-cone-mode: false
6763
timeout-minutes: 10
6864

6965
# Check whether any of the referenced issues is a "Good First Issue":

.github/workflows/labeler.yml

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
# Define job permissions:
5050
permissions:
5151
contents: read
52-
pull-requests: write
5352

5453
# Define the type of virtual host machine:
5554
runs-on: ubuntu-latest

.github/workflows/lint_pr_title.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
# Specify whether to remove untracked files before checking out the repository:
6363
clean: false
6464

65-
# Limit clone depth to the most recent 100 commits:
66-
fetch-depth: 100
65+
# Limit clone depth to the most recent commit:
66+
fetch-depth: 1
6767

6868
# Specify whether to download Git-LFS files:
6969
lfs: false
@@ -90,5 +90,7 @@ jobs:
9090
run: |
9191
echo "Pull request titles should follow stdlib's Git commit message conventions."
9292
echo "Linting pull request title..."
93-
make lint-commit-message GIT_COMMIT_MESSAGE="${PR_TITLE}"
93+
PR_TITLE_FILE="${GITHUB_WORKSPACE}/pr_title.txt"
94+
printf '%s\n' "$PR_TITLE" > "$PR_TITLE_FILE"
95+
make lint-commit-files FILES="$PR_TITLE_FILE"
9496
timeout-minutes: 5

.github/workflows/too_many_good_first_prs.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
# Define job permissions:
4444
permissions:
4545
contents: read
46-
pull-requests: write
4746

4847
# Define the type of virtual host machine:
4948
runs-on: ubuntu-latest
@@ -55,14 +54,10 @@ jobs:
5554
# Pin action to full length commit SHA
5655
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5756
with:
58-
# Specify whether to remove untracked files before checking out the repository:
59-
clean: true
60-
61-
# Limit clone depth to the most recent commit:
62-
fetch-depth: 1
63-
64-
# Specify whether to download Git-LFS files:
65-
lfs: false
57+
# Ensure we have access to the scripts directory:
58+
sparse-checkout: |
59+
.github/workflows/scripts
60+
sparse-checkout-cone-mode: false
6661
timeout-minutes: 10
6762

6863
# Prevent contributors from opening too many "Good First PR"s:

.mailmap

+3-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ Ori Miles <[email protected]> orimiles5
141141
Philipp Burckhardt <[email protected]> <[email protected]>
142142
Philipp Burckhardt <[email protected]> Planeshifter
143143

144-
145-
Pranav Goswami <[email protected]> Pranav
144+
145+
146+
Pranav Goswami <[email protected]> Pranav
146147

147148
Pranjal Jha <[email protected]> PraneGIT
148149

CONTRIBUTORS

+9-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Ahmed Khaled <[email protected]>
1616
Aksshay Balasubramanian <[email protected]>
1717
Aleksandr <[email protected]>
1818
Ali Salesi <[email protected]>
19+
AlyAbdelmoneim <[email protected]>
1920
Aman Bhansali <[email protected]>
2021
AmanBhadkariya <[email protected]>
2122
Amit Jimiwal <[email protected]>
@@ -33,6 +34,7 @@ Dan Rose <[email protected]>
3334
Daniel Killenberger <[email protected]>
3435
Daniel Yu <[email protected]>
3536
Debashis Maharana <[email protected]>
37+
Deep Trivedi <[email protected]>
3638
Desh Deepak Kant <[email protected]>
3739
3840
Dhanyabad behera <[email protected]>
@@ -57,8 +59,10 @@ Harshita Kalani <[email protected]>
5759
Hemant M Mehta <[email protected]>
5860
Hridyanshu <[email protected]>
5961
Jaimin Godhani <[email protected]>
62+
Jaison D Souza <[email protected]>
6063
Jalaj Kumar <[email protected]>
6164
James Gelok <[email protected]>
65+
6266
Jaysukh Makvana <[email protected]>
6367
Jenish Thapa <[email protected]>
6468
Jithin KS <[email protected]>
@@ -70,6 +74,7 @@ Justin Dennison <[email protected]>
7074
Justyn Shelby <[email protected]>
7175
Karan Anand <[email protected]>
7276
Karthik Prakash <[email protected]>
77+
Kaushikgtm <[email protected]>
7378
Kohantika Nath <[email protected]>
7479
Krishnam Agarwal <[email protected]>
7580
Krishnendu Das <[email protected]>
@@ -97,13 +102,14 @@ Oneday12323 <[email protected]>
97102
Ori Miles <[email protected]>
98103
Philipp Burckhardt <[email protected]>
99104
Prajwal Kulkarni <[email protected]>
100-
Pranav Goswami <[email protected]>
105+
Pranav Goswami <[email protected]>
101106
Pranjal Jha <[email protected]>
102107
Prashant Kumar Yadav <[email protected]>
103108
Pratik Singh <[email protected]>
104109
Pratyush Kumar Chouhan <[email protected]>
105110
Priyansh Prajapati <[email protected]>
106111
Priyanshu Agarwal <[email protected]>
112+
Pulkit Gupta <[email protected]>
107113
Pushpendra Chandravanshi <[email protected]>
108114
Raunak Kumar Gupta <[email protected]>
109115
Rejoan Sardar <[email protected]>
@@ -117,6 +123,7 @@ Rutam Kathale <[email protected]>
117123
Ruthwik Chikoti <[email protected]>
118124
Ryan Seal <[email protected]>
119125
Rylan Yang <[email protected]>
126+
SHIVAM YADAV <[email protected]>
120127
Sai Srikar Dumpeti <[email protected]>
121128
Sarthak Paandey <[email protected]>
122129
Saurabh Singh <[email protected]>
@@ -158,3 +165,4 @@ pranav-1720 <[email protected]>
158165
rahulrangers <[email protected]>
159166
160167
168+
satansin123 <[email protected]>

lib/node_modules/@stdlib/_tools/github/rank-followers/lib/pipeline.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ function toArray( obj ) {
4040
var out;
4141
var i;
4242
keys = objectKeys( obj );
43-
out = new Array( keys.length );
43+
out = [];
4444
for ( i = 0; i < keys.length; i++ ) {
45-
out[ i ] = obj[ keys[i] ];
45+
out.push( obj[ keys[ i ] ] );
4646
}
4747
return out;
4848
}
@@ -78,9 +78,9 @@ function pipeline( opts, clbk ) {
7878
if ( error ) {
7979
return done( error );
8080
}
81-
usernames = new Array( data.length );
81+
usernames = [];
8282
for ( i = 0; i < data.length; i++ ) {
83-
usernames[ i ] = data[ i ].login;
83+
usernames.push( data[ i ].login );
8484
}
8585
options = {
8686
'useragent': opts.useragent,

lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* @module @stdlib/_tools/makie/plugins/makie-install-node-addons
2525
*
2626
* @example
27-
* var plugin = require( '@stdlib/_tools/makie/plugins/makie-install-node-addons' );
2827
* var makie = require( '@stdlib/_tools/makie' );
28+
* var plugin = require( '@stdlib/_tools/makie/plugins/makie-install-node-addons' );
2929
* var opts = {
3030
* 'plugins': {
3131
* 'benchmark': plugin

lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var debug = logger( 'pkg-deps:sync' );
5858
* var pkgs = [ '/foo/bar/baz' ];
5959
*
6060
* var deps = pkgDeps( pkgs );
61-
* // returns [{...}]
61+
* // e.g., returns [{...}]
6262
*/
6363
function pkgDeps( pkgs, options ) {
6464
var results;

0 commit comments

Comments
 (0)