Skip to content

Commit ee7dec3

Browse files
authored
Merge branch 'stdlib-js:develop' into table
2 parents ec04cbd + b063947 commit ee7dec3

File tree

6,085 files changed

+265113
-33031
lines changed

Some content is hidden

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

6,085 files changed

+265113
-33031
lines changed

.github/workflows/check_licenses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Checkout the repository:
6060
- name: 'Checkout repository'
6161
# Pin action to full length commit SHA
62-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
62+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6363
with:
6464
# Specify whether to remove untracked files before checking out the repository:
6565
clean: false

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# Checkout the repository:
9494
- name: 'Checkout repository'
9595
# Pin action to full length commit SHA
96-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
96+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
9797
with:
9898
# Specify whether to remove untracked files before checking out the repository:
9999
clean: false

.github/workflows/lint_autofix.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
# Checkout the repository:
8484
- name: 'Checkout repository'
8585
# Pin action to full length commit SHA
86-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
86+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
8787
with:
8888
# Refers to the branch name of the branch being pushed:
8989
ref: ${{ steps.pr-details.outputs.branch }}
@@ -149,6 +149,12 @@ jobs:
149149
files="${{ steps.changed-files.outputs.files }}"
150150
. "$GITHUB_WORKSPACE/.github/workflows/scripts/add_trailing_newlines" "$files"
151151
152+
# Remove related packages from README.md files:
153+
- name: 'Remove related packages from README.md files'
154+
run: |
155+
files="${{ steps.changed-files.outputs.files }}"
156+
. "$GITHUB_WORKSPACE/.github/workflows/scripts/remove_related_packages" "$files"
157+
152158
# Disable Git hooks:
153159
- name: 'Disable Git hooks'
154160
run: |

.github/workflows/lint_changed_files.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Checkout the repository:
5353
- name: 'Checkout repository'
5454
# Pin action to full length commit SHA
55-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
55+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5656
with:
5757
# Specify whether to remove untracked files before checking out the repository:
5858
clean: true
@@ -189,6 +189,15 @@ jobs:
189189
190190
# Lint JavaScript source files:
191191
files=$(echo "${{ steps.changed-files.outputs.files }}" | tr ' ' '\n' | grep '\.js$' | grep -v -e '/examples' -e '/test' -e '/benchmark' -e '^dist/' | tr '\n' ' ' | sed 's/ $//')
192+
193+
# Build native addons if present:
194+
packages=$(echo "${files}" | tr ' ' '\n' | sed 's/^lib\/node_modules\///g' | sed 's/\/lib\/.*//g' | sort | uniq)
195+
for pkg in ${packages}; do
196+
if [ -f "lib/node_modules/${pkg}/binding.gyp" ]; then
197+
NODE_ADDONS_PATTERN="${pkg}" make install-node-addons
198+
fi
199+
done
200+
192201
if [[ -n "${files}" ]]; then
193202
make lint-javascript-files FILES="${files}"
194203
fi

.github/workflows/lint_random_files.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# Checkout the repository:
9494
- name: 'Checkout repository'
9595
# Pin action to full length commit SHA
96-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
96+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
9797
with:
9898
# Specify whether to remove untracked files before checking out the repository:
9999
clean: true
@@ -272,6 +272,15 @@ jobs:
272272
273273
# Lint JavaScript source files:
274274
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | grep '\.js$' | grep -v -e '/examples' -e '/test' -e '/benchmark' -e '^dist/' | tr '\n' ' ')
275+
276+
# Build native addons if present:
277+
packages=$(echo "${files}" | tr ' ' '\n' | sed 's/^lib\/node_modules\///g' | sed 's/\/lib\/.*//g' | sort | uniq)
278+
for pkg in ${packages}; do
279+
if [ -f "lib/node_modules/${pkg}/binding.gyp" ]; then
280+
NODE_ADDONS_PATTERN="${pkg}" make install-node-addons
281+
fi
282+
done
283+
275284
if [[ -n "${files}" ]]; then
276285
make lint-javascript-files FIX="${FIX}" FAST_FAIL=0 FILES="${files}"
277286
fi
@@ -417,7 +426,7 @@ jobs:
417426
if: ${{ github.event.inputs.fix == 'true' }} && ( success() || failure() )
418427
id: cpr
419428
# Pin action to full length commit SHA
420-
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
429+
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
421430
with:
422431
title: 'style: fix lint errors'
423432
add-paths: ${{ steps.random-files.outputs.files }}

.github/workflows/linux_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
# Checkout the repository:
138138
- name: 'Checkout repository'
139139
# Pin action to full length commit SHA
140-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
140+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
141141
with:
142142
# Specify whether to remove untracked files before checking out the repository:
143143
clean: false

.github/workflows/linux_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
# Checkout the repository:
138138
- name: 'Checkout repository'
139139
# Pin action to full length commit SHA
140-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
140+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
141141
with:
142142
# Specify whether to remove untracked files before checking out the repository:
143143
clean: false

.github/workflows/linux_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
# Checkout the repository:
137137
- name: 'Checkout repository'
138138
# Pin action to full length commit SHA
139-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
139+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
140140
with:
141141
# Specify whether to remove untracked files before checking out the repository:
142142
clean: false

.github/workflows/linux_test_cov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
# Checkout the repository:
138138
- name: 'Checkout repository'
139139
# Pin action to full length commit SHA
140-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
140+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
141141
with:
142142
# Specify whether to remove untracked files before checking out the repository:
143143
clean: false

.github/workflows/linux_test_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
# Checkout the repository:
168168
- name: 'Checkout repository'
169169
# Pin action to full length commit SHA
170-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
170+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
171171
with:
172172
# Specify whether to remove untracked files before checking out the repository:
173173
clean: false

0 commit comments

Comments
 (0)