Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Oct 26, 2022
1 parent 4e5fd94 commit 7e7e11b
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

# Cancel existing workflow runs:
- name: 'Cancel existing workflow runs'
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.11.0
with:
workflow_id: >-
benchmark.yml,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run this workflow weekly:
schedule:
# cron: '<minutes> <hours> <day_of_month> <month> <day_of_week>'
- cron: '0 8 * * 6'
- cron: '48 12 * * 5'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand All @@ -50,7 +50,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand All @@ -60,7 +60,7 @@ jobs:
id: package_name
run: |
name=`node -e 'console.log(require("./package.json").name)' | tr -d '\n'`
echo "::set-output name=package_name::$name"
echo "package_name=$name" >> $GITHUB_OUTPUT
timeout-minutes: 5

# Fetch download data:
Expand All @@ -72,7 +72,7 @@ jobs:
data=$(curl "$url")
mkdir ./tmp
echo "$data" > ./tmp/npm_downloads.json
echo "::set-output name=data::$data"
echo "data=$data" >> $GITHUB_OUTPUT
timeout-minutes: 5

# Print summary of download data:
Expand All @@ -84,7 +84,7 @@ jobs:
# Upload the download data:
- name: 'Upload data'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
name: npm_downloads
Expand All @@ -99,7 +99,7 @@ jobs:

# Send data to events server:
- name: 'Post data'
uses: distributhor/workflow-webhook@v2
uses: distributhor/workflow-webhook@v3
env:
webhook_url: ${{ secrets.STDLIB_NPM_DOWNLOADS_URL }}
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -198,9 +198,9 @@ jobs:
git fetch --all
git ls-remote --exit-code --heads origin deno
if [ $? -eq 0 ]; then
echo "::set-output name=remote-exists::true"
echo "remote-exists=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=remote-exists::false"
echo "remote-exists=false" >> $GITHUB_OUTPUT
fi
# If `deno` exists, delete everything in branch and merge `production` into it
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -364,9 +364,9 @@ jobs:
git fetch --all
git ls-remote --exit-code --heads origin umd
if [ $? -eq 0 ]; then
echo "::set-output name=remote-exists::true"
echo "remote-exists=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=remote-exists::false"
echo "remote-exists=false" >> $GITHUB_OUTPUT
fi
# If `umd` exists, delete everything in branch and merge `production` into it
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
# Install Node.js
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand All @@ -417,7 +417,7 @@ jobs:
id: extract-alias
run: |
alias=$(grep -E 'require\(' README.md | head -n 1 | sed -E 's/^var ([a-zA-Z0-9_]+) = .+/\1/')
echo "::set-output name=alias::${alias}"
echo "alias=${alias}" >> $GITHUB_OUTPUT
# Create Universal Module Definition (UMD) Node.js bundle:
- name: 'Create Universal Module Definition (UMD) Node.js bundle'
Expand Down Expand Up @@ -528,9 +528,9 @@ jobs:
git fetch --all
git ls-remote --exit-code --heads origin esm
if [ $? -eq 0 ]; then
echo "::set-output name=remote-exists::true"
echo "remote-exists=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=remote-exists::false"
echo "remote-exists=false" >> $GITHUB_OUTPUT
fi
# If `esm` exists, delete everything in branch and merge `production` into it
Expand Down Expand Up @@ -572,7 +572,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -695,10 +695,10 @@ jobs:
VERSION_CHANGE_PKG_JSON=$(git diff HEAD~1 HEAD package.json | grep '"version":')
if [ -z "$VERSION_CHANGE_PKG_JSON" ]; then
echo "This workflow was not triggered by a version bump."
echo "::set-output name=bump::false"
echo "bump=false" >> $GITHUB_OUTPUT
else
echo "This workflow was triggered by a version bump."
echo "::set-output name=bump::true"
echo "bump=true" >> $GITHUB_OUTPUT
fi
# Configure git:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

# Cancel any running or queued workflow runs:
- name: 'Cancel running or queued workflow runs'
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.11.0
with:
workflow_id: >-
benchmark.yml,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run workflow on a weekly schedule:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
- cron: '48 12 * * 5'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 17

Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 17

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -88,11 +88,11 @@ jobs:
id: extract-coverage
run: |
coverage=`cat reports/coverage/lcov-report/index.html | grep "fraction" | grep -oP '\d+/\d+' | printf %s "$(cat)" | jq -R -s -c 'split("\n")'`
echo "::set-output name=coverage::$coverage"
echo "coverage=$coverage" >> $GITHUB_OUTPUT
# Format coverage as Markdown table row:
table=`echo $coverage | sed -e 's/,/|/g; s/"/ /g; s/\[/|/; s/\]/|/'`
echo "::set-output name=table::$table"
echo "table=$table" >> $GITHUB_OUTPUT
# Print coverage report to GitHub Actions log:
- name: 'Print coverage report to GitHub Actions log'
Expand All @@ -115,7 +115,7 @@ jobs:

# Send data to events server:
- name: 'Post data'
uses: distributhor/workflow-webhook@v2
uses: distributhor/workflow-webhook@v3
env:
webhook_url: ${{ secrets.STDLIB_COVERAGE_URL }}
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run workflow on a weekly schedule:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
- cron: '48 12 * * 5'

# Run workflow upon completion of `publish` workflow run:
workflow_run:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
3 changes: 2 additions & 1 deletion data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,8 @@ base.floorsd,"\nbase.floorsd( x:number, n:integer[, b:integer] )\n Rounds a n
base.fresnel,"\nbase.fresnel( [out:Array|TypedArray|Object,] x:number )\n Computes the Fresnel integrals S(x) and C(x).\n"
base.fresnelc,"\nbase.fresnelc( x:number )\n Computes the Fresnel integral C(x).\n"
base.fresnels,"\nbase.fresnels( x:number )\n Computes the Fresnel integral S(x).\n"
base.frexp,"\nbase.frexp( [out:Array|TypedArray|Object,] x:number )\n Splits a double-precision floating-point number into a normalized fraction\n and an integer power of two.\n"
base.frexp,"\nbase.frexp( x:number )\n Splits a double-precision floating-point number into a normalized fraction\n and an integer power of two.\n"
base.frexp.assign,"\nbase.frexp.assign( x:number, out:Array<number>, stride:integer, offset:integer )\n Splits a double-precision floating-point number into a normalized fraction\n and an integer power of two and assigns results to a provided output array.\n"
base.fromBinaryString,"\nbase.fromBinaryString( bstr:string )\n Creates a double-precision floating-point number from a literal bit\n representation.\n"
base.fromBinaryStringf,"\nbase.fromBinaryStringf( bstr:string )\n Creates a single-precision floating-point number from an IEEE 754 literal\n bit representation.\n"
base.fromBinaryStringUint8,"\nbase.fromBinaryStringUint8( bstr:string )\n Creates an unsigned 8-bit integer from a literal bit representation.\n"
Expand Down
2 changes: 1 addition & 1 deletion data/data.json

Large diffs are not rendered by default.

0 comments on commit 7e7e11b

Please sign in to comment.