Skip to content

Commit

Permalink
Merge branch 'stdlib-js:develop' into C-quantile
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhraghuvanshii authored Jan 8, 2025
2 parents 7dd3b54 + 6def8d6 commit 20cba01
Show file tree
Hide file tree
Showing 3,713 changed files with 121,852 additions and 34,814 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ REPL:
Statistics:
- changed-files:
- any-glob-to-all-files: '**/stats/**/*'

Tools:
- changed-files:
- any-glob-to-all-files: '**/_tools/**/*'
2 changes: 1 addition & 1 deletion .github/workflows/check_licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/labeler_needs_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
# Pin action to a known commit SHA for reproducibility:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
script: |
await github.rest.issues.addLabels({
'owner': context.repo.owner,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_random_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ jobs:
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'style: fix lint errors'
add-paths: ${{ steps.random-files.outputs.files }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_test_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_test_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_test_npm_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_equations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
id: cpr
if: steps.svg-equations.outputs.changed == 'true' || steps.equation-elements.outputs.changed == 'true'
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'docs: update Markdown equation elements'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
# Upload the log files:
- name: 'Upload log files'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_pkg_urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
id: cpr
if: steps.update-markdown-pkg-urls.outputs.changed == 'true'
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'docs: update Markdown stdlib package URLs'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_related_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
id: cpr
if: steps.update-related-packages.outputs.changed == 'true'
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'docs: update related packages sections'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_src_attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
# Upload the log files:
- name: 'Upload log files'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_tocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'docs: update namespace table of contents'
body: |
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/namespace_declarations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,23 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'feat: update namespace TypeScript declarations'
body: |
This PR
- updates namespace TypeScript declarations
## Reviewer Checklist
- [ ] **Check the scope of the changes** (following [Conventional Commits](https://www.conventionalcommits.org)):
- Are these **new APIs**? Then this is a `feat`.
- Are these **changes to existing APIs** that could break compatibility? Then this is a `feat!` (i.e., a breaking change).
- Are these **only documentation** changes to existing APIs? Then this is `docs`.
- [ ] Update the PR title to align with the change type (`feat`, `feat!`, or `docs`).
- [ ] Approve the PR once you are confident about the classification and changes made.
commit-message: 'feat: update namespace TypeScript declarations'
committer: 'stdlib-bot <[email protected]>'
signoff: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/namespace_exports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'feat: update namespace exports'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
# Upload the download data:
- name: 'Upload data'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
name: npm_downloads
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ossf_scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
# Upload the results as artifacts:
- name: "Upload artifact"
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: SARIF file
path: results.sarif
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scaffold_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
# Create a pull request:
- name: 'Create pull request'
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
token: ${{ secrets.PULL_REQUEST_TOKEN }}
commit-message: 'feat: add `${{ steps.scaffold.outputs.alias }}`'
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/scripts/add_trailing_newlines
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set -o pipefail
# VARIABLES #

# List of file extensions to process:
extensions=("js" "mjs" "cjs" "json" "ts" "py" "jl" "R" "c" "h" "cpp" "hpp" "f" "sh" "awk" "html" "xml" "css" "md" "yml" "gypi" "bib" "tex")
extensions=("js" "mjs" "cjs" "json" "ts" "py" "jl" "R" "c" "h" "cpp" "hpp" "f" "sh" "awk" "html" "xml" "css" "md" "yml" "gyp" "gypi" "bib" "tex" "mk")


# FUNCTIONS #
Expand Down Expand Up @@ -70,13 +70,19 @@ main() {
convert_line_endings "$file"

extension="${file##*.}"
filename=$(basename "$file")

local match_found=false
for ext in "${extensions[@]}"; do
if [[ "$ext" == "$extension" ]]; then
match_found=true
break
fi
done
if [[ "$filename" == "Makefile" ]]; then
match_found=true
elif [[ "$file" == *.* ]]; then
for ext in "${extensions[@]}"; do
if [[ "$ext" == "$extension" ]]; then
match_found=true
break
fi
done
fi
if [[ "$match_found" == true ]]; then
if [[ "$(tail -c1 "$file"; echo x)" != $'\nx' ]]; then
echo "Adding newline to: $file"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/standalone_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
# Archive list of to be published packages:
- name: 'Archive package list'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: ordered-pkg-list
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_cli_permissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'fix: make CLI scripts executable'
commit-message: 'fix: make CLI scripts executable'
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: 'Create pull request'
if: steps.update-contributors.outputs.changed == 'true'
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
id: cpr
with:
title: 'docs: update list of contributors'
Expand All @@ -105,6 +105,13 @@ jobs:
- updates the list of contributors
## Reviewer Checklist
- [ ] For any **new contributors**, check if their full names are listed on their GitHub profile or in social links.
- [ ] If so, on the PR branch **update** the `.mailmap` file accordingly to ensure proper attribution.
- [ ] If updating `.mailmap`, **regenerate** the contributors file by running `make update-contributors` on the PR branch afterward.
- [ ] Approve the PR after verifying the changes.
commit-message: 'docs: update list of contributors'
committer: 'stdlib-bot <[email protected]>'
signoff: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_error_databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
if: steps.check_changes.outputs.has_changes == 'true'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'feat: update error databases'
body-path: /tmp/body.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_package_meta_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'chore: update package meta data'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_repl_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
title: 'docs: update REPL namespace documentation'
body: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows_test_npm_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
# Install MSYS2:
- name: 'Install MSYS2'
# Pin action to full length commit SHA
uses: msys2/setup-msys2@c52d1fa9c7492275e60fe763540fb601f5f232a1 # v2.25.0
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
with:
# Set the MSYS system:
msystem: MINGW64
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
# Upload the log file:
- name: 'Upload log file'
# Pin action to full length commit SHA
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: always()
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
Expand Down
6 changes: 6 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ Chinmay Joshi <[email protected]> Chinmay J
Debashis Maharana <[email protected]> <[email protected]>
Debashis Maharana <[email protected]> DebashisMaharana

Dhruv Arvind Singh <[email protected]> DhruvArvindSingh
Dhruv Arvind Singh <[email protected]> Dhruv/

Dorrin Sotoudeh <[email protected]> <[email protected]>
Dorrin Sotoudeh <[email protected]> dorrin-sot

Expand Down Expand Up @@ -216,6 +219,9 @@ Vaibhav Patel <[email protected]> ProCoderVP
Varad Gupta <[email protected]> <[email protected]>
Varad Gupta <[email protected]> vr-varad

Vivek Maurya <[email protected]> <[email protected]>
Vivek Maurya <[email protected]> vivekmaurya001

# Y

Yaswanth Kosuru <[email protected]> yaswanth
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Daniel Killenberger <[email protected]>
Daniel Yu <[email protected]>
Debashis Maharana <[email protected]>
Desh Deepak Kant <[email protected]>
Dhruv Arvind Singh <[email protected]>
Divyansh Seth <[email protected]>
Dominic Lim <[email protected]>
Dominik Moritz <[email protected]>
Expand Down Expand Up @@ -117,7 +118,7 @@ UtkershBasnet <[email protected]>
Vaibhav Patel <[email protected]>
Varad Gupta <[email protected]>
Vinit Pandit <[email protected]>
Vivek maurya <[email protected].com>
Vivek Maurya <vm8118134@gmail.com>
Xiaochuan Ye <[email protected]>
Yaswanth Kosuru <[email protected]>
Yernar Yergaziyev <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Copyright (c) 2016-2024 The Stdlib Authors.
Copyright (c) 2016-2025 The Stdlib Authors.
Loading

0 comments on commit 20cba01

Please sign in to comment.