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 23, 2022
1 parent d3e2592 commit 4901102
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 32 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
10 changes: 5 additions & 5 deletions .github/workflows/npm_downloads.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 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
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
5 changes: 5 additions & 0 deletions native-class/lib/tostringtag.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

'use strict';

// MODULES //

var Symbol = require( '@stdlib/symbol/ctor' );


// MAIN //

var toStrTag = ( typeof Symbol === 'function' ) ? Symbol.toStringTag : '';
Expand Down
1 change: 1 addition & 0 deletions nonenumerable-property-symbols/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

var getOwnPropertySymbols = require( './../../property-symbols' );
var isNonEnumerableProperty = require( '@stdlib/assert/is-nonenumerable-property' );
var Object = require( '@stdlib/object/ctor' );


// MAIN //
Expand Down

0 comments on commit 4901102

Please sign in to comment.