Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/AbhijitRaut04/stdlib int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
AbhijitRaut04 committed Oct 2, 2024
2 parents 0dfc0bb + 8b91936 commit 80cc6cc
Show file tree
Hide file tree
Showing 1,643 changed files with 63,376 additions and 16,008 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,35 @@ jobs:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}

# Define a job which closes a pull request if a pull request is considered stale:
stale:

# Define job name:
name: 'Check for stale label'

# Only run this job if the pull request has a specific label:
if: "${{ github.event.label.name == 'autoclose: Stale' }}"

# Define job permissions:
permissions:
contents: read
issues: write
pull-requests: write

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

# Define the sequence of job steps:
steps:
# Close the pull request:
- name: 'Close pull request'
run: gh pr close "$NUMBER" --comment "$BODY"
env:
GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: |
This pull request has been automatically closed because it has been inactive for an extended period after changes were requested. If you still wish to pursue this contribution, feel free to reopen the pull request or submit a new one.
We appreciate your interest in contributing to stdlib!
2 changes: 1 addition & 1 deletion .github/workflows/check_licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/generate_pr_commit_message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@ name: generate_pr_commit_message

# Workflow triggers:
on:
pull_request:
pull_request_target:
types:
- labeled

# Global permissions:
permissions:
# Allow read-only access to the repository contents:
contents: read

# Allow write access to issues, assignees, labels, and milestones:
issues: write

# Allow write access to pull requests:
pull-requests: write

# Workflow jobs:
Expand Down Expand Up @@ -71,7 +76,7 @@ jobs:
# Post commit message as PR comment:
- name: 'Post commit message as PR comment'
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_changed_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint_random_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down Expand Up @@ -426,7 +426,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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
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 @@ -180,7 +180,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
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 @@ -180,7 +180,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
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 @@ -179,7 +179,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
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 @@ -180,7 +180,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux_test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
BUILD_TASK: ['test-install']

# Define the list of Node.js versions on which to run this job:
NODE_VERSION: ['20', '18', '16', '14', '12', '10', '8', '6', '4', '0.12', '0.10']
NODE_VERSION: ['20', '18', '16'] # ['20', '18', '16', '14', '12', '10', '8', '6', '4', '0.12', '0.10']

# Define the list of package managers to test:
PACKAGE_MANAGER: ['npm']
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
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 @@ -166,7 +166,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
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 @@ -165,7 +165,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
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 @@ -166,7 +166,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos_test_npm_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
BUILD_TASK: ['test-npm-install']

# Define the list of Node.js versions:
NODE_VERSION: ['20', '18', '16', '14', '12', '10', '8', '6', '4', '0.12', '0.10']
NODE_VERSION: ['20', '18', '16']

# Define the list of operating systems:
OS: ['macOS-latest']
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.NODE_VERSION }}
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/markdown_equations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16' # 'lts/*'
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
Expand Down 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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
title: 'docs: update Markdown equation elements'
body: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/markdown_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16' # 'lts/*'
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/markdown_pkg_urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16' # 'lts/*'
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
Expand Down 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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
title: 'docs: update Markdown stdlib package URLs'
body: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/markdown_related_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '20' # 'lts/*'
timeout-minutes: 5
Expand Down 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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
title: 'docs: update related packages sections'
body: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/markdown_tocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16' # 'lts/*'
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
Expand Down 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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
title: 'docs: update namespace table of contents'
body: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/namespace_declarations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16' # 'lts/*'
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
- name: 'Create pull request'
id: cpr
# Pin action to full length commit SHA
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
title: 'feat: update namespace TypeScript declarations'
body: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/namespace_exports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16' # 'lts/*'
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
Expand Down 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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
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 @@ -60,7 +60,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 16
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/random_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
# Pin action to full length commit SHA
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '18' # 'lts/*'
timeout-minutes: 5
Expand Down
Loading

0 comments on commit 80cc6cc

Please sign in to comment.