From c70179e05c52cc56eceb6936aa46af89e6020884 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Mon, 1 Jan 2024 01:56:39 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 2 +- .github/workflows/benchmark.yml | 6 ++-- .github/workflows/examples.yml | 6 ++-- .github/workflows/npm_downloads.yml | 10 +++--- .github/workflows/productionize.yml | 34 +++++++++---------- .github/workflows/publish.yml | 6 ++-- .github/workflows/test.yml | 6 ++-- .github/workflows/test_bundles.yml | 16 ++++----- .github/workflows/test_coverage.yml | 10 +++--- .github/workflows/test_install.yml | 6 ++-- .npmignore | 1 + CONTRIBUTORS | 1 + README.md | 2 +- SECURITY.md | 5 +++ benchmark/benchmark.copy_within.js | 2 +- benchmark/benchmark.copy_within.length.js | 2 +- benchmark/benchmark.data.js | 2 +- benchmark/benchmark.entries.js | 2 +- benchmark/benchmark.every.js | 2 +- benchmark/benchmark.every.length.js | 2 +- benchmark/benchmark.fill.js | 2 +- benchmark/benchmark.fill.length.js | 2 +- benchmark/benchmark.filter.js | 2 +- benchmark/benchmark.filter.length.js | 2 +- benchmark/benchmark.find.js | 2 +- benchmark/benchmark.find.length.js | 2 +- benchmark/benchmark.find_index.js | 2 +- benchmark/benchmark.find_index.length.js | 2 +- benchmark/benchmark.for_each.js | 2 +- benchmark/benchmark.for_each.length.js | 2 +- benchmark/benchmark.from.js | 2 +- benchmark/benchmark.includes.js | 2 +- benchmark/benchmark.includes.length.js | 2 +- benchmark/benchmark.index_of.js | 2 +- benchmark/benchmark.index_of.length.js | 2 +- benchmark/benchmark.join.js | 2 +- benchmark/benchmark.join.length.js | 2 +- benchmark/benchmark.js | 2 +- benchmark/benchmark.keys.js | 2 +- benchmark/benchmark.last_index_of.js | 2 +- benchmark/benchmark.last_index_of.length.js | 2 +- benchmark/benchmark.length.js | 2 +- benchmark/benchmark.map.js | 2 +- benchmark/benchmark.map.length.js | 2 +- benchmark/benchmark.of.js | 2 +- benchmark/benchmark.properties.js | 2 +- benchmark/benchmark.reduce.js | 2 +- benchmark/benchmark.reduce.length.js | 2 +- benchmark/benchmark.reduce_right.js | 2 +- benchmark/benchmark.reduce_right.length.js | 2 +- benchmark/benchmark.reverse.js | 2 +- benchmark/benchmark.reverse.length.js | 2 +- benchmark/benchmark.set.js | 2 +- benchmark/benchmark.set.length.js | 2 +- benchmark/benchmark.slice.js | 2 +- benchmark/benchmark.slice.length.js | 2 +- benchmark/benchmark.some.js | 2 +- benchmark/benchmark.some.length.js | 2 +- benchmark/benchmark.sort.js | 2 +- benchmark/benchmark.sort.length.js | 2 +- benchmark/benchmark.subarray.js | 2 +- benchmark/benchmark.subarray.length.js | 2 +- benchmark/benchmark.to_locale_string.js | 2 +- .../benchmark.to_locale_string.length.js | 2 +- benchmark/benchmark.to_string.js | 2 +- benchmark/benchmark.to_string.length.js | 2 +- benchmark/benchmark.values.js | 2 +- package.json | 4 +-- 68 files changed, 114 insertions(+), 107 deletions(-) create mode 100644 SECURITY.md diff --git a/.github/.keepalive b/.github/.keepalive index 487de1c..44c4896 100644 --- a/.github/.keepalive +++ b/.github/.keepalive @@ -1 +1 @@ -2023-12-01T02:13:02.461Z +2024-01-01T01:56:36.426Z diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ab56cca..30656c4 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,15 +41,15 @@ jobs: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Install Node.js: - name: 'Install Node.js' # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index c1c45e7..c92f5c4 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -41,15 +41,15 @@ jobs: # Checkout repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Install Node.js: - name: 'Install Node.js' # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml index cfeef64..f6004c8 100644 --- a/.github/workflows/npm_downloads.yml +++ b/.github/workflows/npm_downloads.yml @@ -45,8 +45,8 @@ jobs: steps: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 timeout-minutes: 10 # Install Node.js: @@ -54,7 +54,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Resolve package name: @@ -102,8 +102,8 @@ jobs: # Send data to events server: - name: 'Post data' - # Pin action to full length commit SHA corresponding to v3.0.3: - uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 + # Pin action to full length commit SHA + uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 # v3.0.3 env: webhook_url: ${{ secrets.STDLIB_NPM_DOWNLOADS_URL }} webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }} diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index 265afda..e1e3539 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -61,8 +61,8 @@ jobs: steps: # Checkout main branch of repository: - name: 'Checkout main branch' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: main @@ -71,7 +71,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Create production branch: @@ -134,8 +134,8 @@ jobs: # Checkout the repository: - name: 'Checkout repository' if: ${{ github.event.inputs.require-passing-tests == 'true' }} - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: # Use the `production` branch: ref: production @@ -146,7 +146,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: @@ -188,8 +188,8 @@ jobs: steps: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Configure git: - name: 'Configure git' @@ -259,7 +259,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: @@ -364,8 +364,8 @@ jobs: steps: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Configure git: - name: 'Configure git' @@ -427,7 +427,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: @@ -538,8 +538,8 @@ jobs: steps: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Configure git: - name: 'Configure git' @@ -609,7 +609,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: @@ -719,8 +719,8 @@ jobs: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: fetch-depth: 2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b8977f..1345024 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -61,15 +61,15 @@ jobs: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Install Node.js: - name: 'Install Node.js' # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Configure git: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2535b74..1e7ce51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,15 +58,15 @@ jobs: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Install Node.js: - name: 'Install Node.js' # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: diff --git a/.github/workflows/test_bundles.yml b/.github/workflows/test_bundles.yml index 0d26143..4c30492 100644 --- a/.github/workflows/test_bundles.yml +++ b/.github/workflows/test_bundles.yml @@ -49,8 +49,8 @@ jobs: steps: # Checkout UMD branch of the repository: - name: 'Checkout branch with UMD build' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: umd @@ -59,7 +59,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 17 + node-version: 20 # Try loading the UMD bundle: - name: 'Try loading UMD bundle' @@ -116,8 +116,8 @@ jobs: # Checkout ES modules branch of the repository: - name: 'Checkout branch with ESM build' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: esm @@ -126,7 +126,7 @@ jobs: # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 17 + node-version: 20 # Try loading the ES module bundle: - name: 'Try loading ESM' @@ -161,8 +161,8 @@ jobs: # Checkout Deno branch of the repository: - name: 'Checkout branch with Deno build' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: deno diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index 5b2b1ea..1b9adfa 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -46,15 +46,15 @@ jobs: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Install Node.js: - name: 'Install Node.js' # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: @@ -119,8 +119,8 @@ jobs: # Send data to events server: - name: 'Post data' - # Pin action to full length commit SHA corresponding to v3.0.3: - uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 + # Pin action to full length commit SHA + uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 # v3.0.3 env: webhook_url: ${{ secrets.STDLIB_COVERAGE_URL }} webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }} diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index e068b7d..99d8639 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -58,15 +58,15 @@ jobs: # Checkout the repository: - name: 'Checkout repository' - # Pin action to full length commit SHA corresponding to v4.1.0 - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + # Pin action to full length commit SHA + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 # Install Node.js: - name: 'Install Node.js' # Pin action to full length commit SHA corresponding to v3.8.1 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16 + node-version: 20 timeout-minutes: 5 # Install dependencies: diff --git a/.npmignore b/.npmignore index d369eec..5c7f09d 100644 --- a/.npmignore +++ b/.npmignore @@ -18,6 +18,7 @@ # Files # ######### +CITATION.cff CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 188cda8..726c1ec 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -15,6 +15,7 @@ Dorrin Sotoudeh Frank Kovacs Harshita Kalani James Gelok +Jaysukh Makvana Jithin KS Joey Reed Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com> diff --git a/README.md b/README.md index 5ccd122..3a29fc0 100644 --- a/README.md +++ b/README.md @@ -1497,7 +1497,7 @@ See [LICENSE][stdlib-license]. ## Copyright -Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. +Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..9702d4c --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,5 @@ +# Security + +> Policy for reporting security vulnerabilities. + +See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security). diff --git a/benchmark/benchmark.copy_within.js b/benchmark/benchmark.copy_within.js index b6f8677..8b4f9ae 100644 --- a/benchmark/benchmark.copy_within.js +++ b/benchmark/benchmark.copy_within.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.copy_within.length.js b/benchmark/benchmark.copy_within.length.js index 6063b6a..843a7da 100644 --- a/benchmark/benchmark.copy_within.length.js +++ b/benchmark/benchmark.copy_within.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.data.js b/benchmark/benchmark.data.js index 4ced139..f446c51 100644 --- a/benchmark/benchmark.data.js +++ b/benchmark/benchmark.data.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.entries.js b/benchmark/benchmark.entries.js index b0427cb..8d5a7d9 100644 --- a/benchmark/benchmark.entries.js +++ b/benchmark/benchmark.entries.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.every.js b/benchmark/benchmark.every.js index b2407ce..10903ca 100644 --- a/benchmark/benchmark.every.js +++ b/benchmark/benchmark.every.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.every.length.js b/benchmark/benchmark.every.length.js index 6bf7ea8..53c0e9f 100644 --- a/benchmark/benchmark.every.length.js +++ b/benchmark/benchmark.every.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.fill.js b/benchmark/benchmark.fill.js index 145d1ef..be6ada4 100644 --- a/benchmark/benchmark.fill.js +++ b/benchmark/benchmark.fill.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.fill.length.js b/benchmark/benchmark.fill.length.js index 3d36993..eb3c4e2 100644 --- a/benchmark/benchmark.fill.length.js +++ b/benchmark/benchmark.fill.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.filter.js b/benchmark/benchmark.filter.js index 724e719..54dee9a 100644 --- a/benchmark/benchmark.filter.js +++ b/benchmark/benchmark.filter.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.filter.length.js b/benchmark/benchmark.filter.length.js index dd1a6ec..cb02e3e 100644 --- a/benchmark/benchmark.filter.length.js +++ b/benchmark/benchmark.filter.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.find.js b/benchmark/benchmark.find.js index 293ae59..0fe4a3b 100644 --- a/benchmark/benchmark.find.js +++ b/benchmark/benchmark.find.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.find.length.js b/benchmark/benchmark.find.length.js index c94e08f..4a7dcdd 100644 --- a/benchmark/benchmark.find.length.js +++ b/benchmark/benchmark.find.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.find_index.js b/benchmark/benchmark.find_index.js index 475627e..abd0575 100644 --- a/benchmark/benchmark.find_index.js +++ b/benchmark/benchmark.find_index.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.find_index.length.js b/benchmark/benchmark.find_index.length.js index 347eddf..3468bd9 100644 --- a/benchmark/benchmark.find_index.length.js +++ b/benchmark/benchmark.find_index.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.for_each.js b/benchmark/benchmark.for_each.js index fe74266..d87c651 100644 --- a/benchmark/benchmark.for_each.js +++ b/benchmark/benchmark.for_each.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.for_each.length.js b/benchmark/benchmark.for_each.length.js index 4f8053f..75b0a97 100644 --- a/benchmark/benchmark.for_each.length.js +++ b/benchmark/benchmark.for_each.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.from.js b/benchmark/benchmark.from.js index 0a807c8..2f61f63 100644 --- a/benchmark/benchmark.from.js +++ b/benchmark/benchmark.from.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var ITERATOR_SYMBOL = require( '@stdlib/symbol-iterator' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.includes.js b/benchmark/benchmark.includes.js index d5741e7..388b18e 100644 --- a/benchmark/benchmark.includes.js +++ b/benchmark/benchmark.includes.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.includes.length.js b/benchmark/benchmark.includes.length.js index 5ffa7cd..e3a11ae 100644 --- a/benchmark/benchmark.includes.length.js +++ b/benchmark/benchmark.includes.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.index_of.js b/benchmark/benchmark.index_of.js index bab8a1a..f7b89f7 100644 --- a/benchmark/benchmark.index_of.js +++ b/benchmark/benchmark.index_of.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.index_of.length.js b/benchmark/benchmark.index_of.length.js index 956325f..9c3a8a3 100644 --- a/benchmark/benchmark.index_of.length.js +++ b/benchmark/benchmark.index_of.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.join.js b/benchmark/benchmark.join.js index 6f68e40..22091b9 100644 --- a/benchmark/benchmark.join.js +++ b/benchmark/benchmark.join.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.join.length.js b/benchmark/benchmark.join.length.js index a829dd3..dfa07e2 100644 --- a/benchmark/benchmark.join.length.js +++ b/benchmark/benchmark.join.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index 9a938fa..d50ee60 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var ctor = require( './../lib' ); diff --git a/benchmark/benchmark.keys.js b/benchmark/benchmark.keys.js index 5affbd1..bb5e6e1 100644 --- a/benchmark/benchmark.keys.js +++ b/benchmark/benchmark.keys.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.last_index_of.js b/benchmark/benchmark.last_index_of.js index 00d3186..2c13e01 100644 --- a/benchmark/benchmark.last_index_of.js +++ b/benchmark/benchmark.last_index_of.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.last_index_of.length.js b/benchmark/benchmark.last_index_of.length.js index a12636b..ac1d785 100644 --- a/benchmark/benchmark.last_index_of.length.js +++ b/benchmark/benchmark.last_index_of.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.length.js b/benchmark/benchmark.length.js index 1b5b1e3..47f5aa0 100644 --- a/benchmark/benchmark.length.js +++ b/benchmark/benchmark.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.map.js b/benchmark/benchmark.map.js index ad1d2b1..dc774c3 100644 --- a/benchmark/benchmark.map.js +++ b/benchmark/benchmark.map.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.map.length.js b/benchmark/benchmark.map.length.js index f1d9587..49873fc 100644 --- a/benchmark/benchmark.map.length.js +++ b/benchmark/benchmark.map.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.of.js b/benchmark/benchmark.of.js index fb8a45b..982b699 100644 --- a/benchmark/benchmark.of.js +++ b/benchmark/benchmark.of.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.properties.js b/benchmark/benchmark.properties.js index be1c41d..0382f07 100644 --- a/benchmark/benchmark.properties.js +++ b/benchmark/benchmark.properties.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isArrayBuffer = require( '@stdlib/assert-is-arraybuffer' ); var isNonNegativeInteger = require( '@stdlib/assert-is-nonnegative-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.reduce.js b/benchmark/benchmark.reduce.js index c377afa..c39439e 100644 --- a/benchmark/benchmark.reduce.js +++ b/benchmark/benchmark.reduce.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.reduce.length.js b/benchmark/benchmark.reduce.length.js index 23d8d61..788414d 100644 --- a/benchmark/benchmark.reduce.length.js +++ b/benchmark/benchmark.reduce.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.reduce_right.js b/benchmark/benchmark.reduce_right.js index 1306999..5dac142 100644 --- a/benchmark/benchmark.reduce_right.js +++ b/benchmark/benchmark.reduce_right.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.reduce_right.length.js b/benchmark/benchmark.reduce_right.length.js index 487c93a..bc918e3 100644 --- a/benchmark/benchmark.reduce_right.length.js +++ b/benchmark/benchmark.reduce_right.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.reverse.js b/benchmark/benchmark.reverse.js index 32013c3..eb0c585 100644 --- a/benchmark/benchmark.reverse.js +++ b/benchmark/benchmark.reverse.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.reverse.length.js b/benchmark/benchmark.reverse.length.js index 297d479..0356ade 100644 --- a/benchmark/benchmark.reverse.length.js +++ b/benchmark/benchmark.reverse.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.set.js b/benchmark/benchmark.set.js index 419bb41..4e6a9db 100644 --- a/benchmark/benchmark.set.js +++ b/benchmark/benchmark.set.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.set.length.js b/benchmark/benchmark.set.length.js index 7e1e9d1..f99b6a1 100644 --- a/benchmark/benchmark.set.length.js +++ b/benchmark/benchmark.set.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var randi = require( '@stdlib/random-base-randi' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.slice.js b/benchmark/benchmark.slice.js index 6499769..65d3981 100644 --- a/benchmark/benchmark.slice.js +++ b/benchmark/benchmark.slice.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.slice.length.js b/benchmark/benchmark.slice.length.js index 1e6627a..a888ad0 100644 --- a/benchmark/benchmark.slice.length.js +++ b/benchmark/benchmark.slice.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.some.js b/benchmark/benchmark.some.js index 6eb2cef..62f9ef4 100644 --- a/benchmark/benchmark.some.js +++ b/benchmark/benchmark.some.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.some.length.js b/benchmark/benchmark.some.length.js index 1681ba9..2c9b51d 100644 --- a/benchmark/benchmark.some.length.js +++ b/benchmark/benchmark.some.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.sort.js b/benchmark/benchmark.sort.js index 58b0661..2242051 100644 --- a/benchmark/benchmark.sort.js +++ b/benchmark/benchmark.sort.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var randi = require( '@stdlib/random-base-randi' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.sort.length.js b/benchmark/benchmark.sort.length.js index 83a76a5..75ac51f 100644 --- a/benchmark/benchmark.sort.length.js +++ b/benchmark/benchmark.sort.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var randi = require( '@stdlib/random-base-randi' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); diff --git a/benchmark/benchmark.subarray.js b/benchmark/benchmark.subarray.js index 562145c..7c02e41 100644 --- a/benchmark/benchmark.subarray.js +++ b/benchmark/benchmark.subarray.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.subarray.length.js b/benchmark/benchmark.subarray.length.js index 0eae32d..5ddd613 100644 --- a/benchmark/benchmark.subarray.length.js +++ b/benchmark/benchmark.subarray.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var isInt16Array = require( '@stdlib/assert-is-int16array' ); var pkg = require( './../package.json' ).name; diff --git a/benchmark/benchmark.to_locale_string.js b/benchmark/benchmark.to_locale_string.js index 9e0bd74..92caf42 100644 --- a/benchmark/benchmark.to_locale_string.js +++ b/benchmark/benchmark.to_locale_string.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.to_locale_string.length.js b/benchmark/benchmark.to_locale_string.length.js index 26e6b1c..fb1f9bc 100644 --- a/benchmark/benchmark.to_locale_string.length.js +++ b/benchmark/benchmark.to_locale_string.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.to_string.js b/benchmark/benchmark.to_string.js index 6e6d5d9..7dbdb7b 100644 --- a/benchmark/benchmark.to_string.js +++ b/benchmark/benchmark.to_string.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.to_string.length.js b/benchmark/benchmark.to_string.length.js index 86cd942..a56cce7 100644 --- a/benchmark/benchmark.to_string.length.js +++ b/benchmark/benchmark.to_string.length.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pow = require( '@stdlib/math-base-special-pow' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/benchmark/benchmark.values.js b/benchmark/benchmark.values.js index a34f4ca..b83c8b0 100644 --- a/benchmark/benchmark.values.js +++ b/benchmark/benchmark.values.js @@ -20,7 +20,7 @@ // MODULES // -var bench = require( '@stdlib/bench' ); +var bench = require( '@stdlib/bench-harness' ); var pkg = require( './../package.json' ).name; var Int16Array = require( './../lib' ); diff --git a/package.json b/package.json index 19c7244..4480d4d 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ "@stdlib/assert-is-function": "^0.1.1", "@stdlib/assert-is-int16array": "^0.1.1", "@stdlib/assert-is-nonnegative-integer": "^0.1.0", - "@stdlib/bench": "^0.2.1", "@stdlib/math-base-special-pow": "^0.1.0", "@stdlib/math-base-special-round": "^0.1.1", "@stdlib/random-base-randi": "^0.1.0", @@ -55,7 +54,8 @@ "proxyquire": "^2.0.0", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", - "tap-min": "git+https://github.com/Planeshifter/tap-min.git" + "tap-min": "git+https://github.com/Planeshifter/tap-min.git", + "@stdlib/bench-harness": "^0.1.2" }, "engines": { "node": ">=0.10.0",