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 Jun 15, 2021
1 parent 6cf7b64 commit b6e74b2
Show file tree
Hide file tree
Showing 40 changed files with 146 additions and 126 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: benchmark

on:
workflow_dispatch:

jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 15
- name: Install production and development dependencies
run: |
npm install
- name: Run benchmarks
run: |
npm run benchmark
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 15
- name: Install production and development dependencies
run: |
npm install
- name: Run examples
run: |
npm run examples
npm run examples
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 15
- name: Increment version
run: |
git config --local user.email "[email protected]"
Expand All @@ -31,4 +31,4 @@ jobs:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#npm-ci'
if: failure()
if: failure()
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 15
- name: Install production and development dependencies
id: install
run: |
Expand All @@ -26,4 +26,4 @@ jobs:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#npm-ci'
if: failure()
if: failure()
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 15
- name: Install production and development dependencies
run: |
npm install
Expand All @@ -21,4 +21,4 @@ jobs:
uses: codecov/codecov-action@v1
with:
directory: reports/coverage
flags: unittests
flags: unittests
4 changes: 2 additions & 2 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 15
- name: Install production dependencies via npm
run: |
npm install --only=prod
Expand All @@ -24,4 +24,4 @@ jobs:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#npm-ci'
if: failure()
if: failure()
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Code of Conduct

stdlib expects community participants to adhere to the project Code of Conduct. The [full text](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md) is available in the main project repository.
stdlib expects community participants to adhere to the project Code of Conduct. The [full text](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md) is available in the main project repository.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contribution Guidelines

Woot woot! If you are new to stdlib, welcome! And thanks for your interest! Guidelines for how to contribute to the project are [available](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) in the main project repository.
Woot woot! If you are new to stdlib, welcome! And thanks for your interest! Guidelines for how to contribute to the project are [available](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) in the main project repository.
2 changes: 1 addition & 1 deletion has-arraybuffer-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tape( 'if `ArrayBuffer` is supported, detection result is `true`', function test

mocked = proxyquire( './../lib/main.js', {
'./arraybuffer.js': Mock,
'@stdlib/assert/is-arraybuffer': isBuffer
'./../../is-arraybuffer': isBuffer
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down
2 changes: 1 addition & 1 deletion has-dataview-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `DataView` is supported, detection result is `true`', function test( t

mocked = proxyquire( './../lib/main.js', {
'./dataview.js': Mock,
'@stdlib/assert/is-dataview': isDataView
'./../../is-dataview': isDataView
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down
6 changes: 3 additions & 3 deletions has-float32array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ tape( 'if `Float32Array` is supported, detection result is `true`', function tes
}
mocked = proxyquire( './../lib/main.js', {
'./float32array.js': Mock,
'@stdlib/assert/is-float32array': isArray
'./../../is-float32array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -93,13 +93,13 @@ tape( 'if `Float32Array` is not supported, detection result is `false`', functio

mocked = proxyquire( './../lib/main.js', {
'./float32array.js': Mock2,
'@stdlib/assert/is-float32array': isArray
'./../../is-float32array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./float32array.js': Mock3,
'@stdlib/assert/is-float32array': isArray
'./../../is-float32array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-float64array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Float64Array` is supported, detection result is `true`', function tes
}
mocked = proxyquire( './../lib/main.js', {
'./float64array.js': Mock,
'@stdlib/assert/is-float64array': isArray
'./../../is-float64array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -92,13 +92,13 @@ tape( 'if `Float64Array` is not supported, detection result is `false`', functio

mocked = proxyquire( './../lib/main.js', {
'./float64array.js': Mock2,
'@stdlib/assert/is-float64array': isArray
'./../../is-float64array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./float64array.js': Mock3,
'@stdlib/assert/is-float64array': isArray
'./../../is-float64array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-int16array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Int16Array` is supported, detection result is `true`', function test(
}
mocked = proxyquire( './../lib/main.js', {
'./int16array.js': Mock,
'@stdlib/assert/is-int16array': isArray
'./../../is-int16array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -92,13 +92,13 @@ tape( 'if `Int16Array` is not supported, detection result is `false`', function

mocked = proxyquire( './../lib/main.js', {
'./int16array.js': Mock2,
'@stdlib/assert/is-int16array': isArray
'./../../is-int16array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./int16array.js': Mock3,
'@stdlib/assert/is-int16array': isArray
'./../../is-int16array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-int32array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Int32Array` is supported, detection result is `true`', function test(
}
mocked = proxyquire( './../lib/main.js', {
'./int32array.js': Mock,
'@stdlib/assert/is-int32array': isArray
'./../../is-int32array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -92,13 +92,13 @@ tape( 'if `Int32Array` is not supported, detection result is `false`', function

mocked = proxyquire( './../lib/main.js', {
'./int32array.js': Mock2,
'@stdlib/assert/is-int32array': isArray
'./../../is-int32array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./int32array.js': Mock3,
'@stdlib/assert/is-int32array': isArray
'./../../is-int32array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-int8array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Int8Array` is supported, detection result is `true`', function test(
}
mocked = proxyquire( './../lib/main.js', {
'./int8array.js': Mock,
'@stdlib/assert/is-int8array': isArray
'./../../is-int8array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -92,13 +92,13 @@ tape( 'if `Int8Array` is not supported, detection result is `false`', function t

mocked = proxyquire( './../lib/main.js', {
'./int8array.js': Mock2,
'@stdlib/assert/is-int8array': isArray
'./../../is-int8array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./int8array.js': Mock3,
'@stdlib/assert/is-int8array': isArray
'./../../is-int8array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
8 changes: 4 additions & 4 deletions has-node-buffer-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Buffer` is supported, detection result is `true` (no `from` method; N
}
mocked = proxyquire( './../lib/main.js', {
'./buffer.js': Mock,
'@stdlib/assert/is-buffer': isBuffer
'./../../is-buffer': isBuffer
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -88,7 +88,7 @@ tape( 'if `Buffer` is supported, detection result is `true` (has `from` method;

mocked = proxyquire( './../lib/main.js', {
'./buffer.js': Mock,
'@stdlib/assert/is-buffer': isBuffer
'./../../is-buffer': isBuffer
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -146,13 +146,13 @@ tape( 'if `Buffer` is not supported, detection result is `false`', function test

mocked = proxyquire( './../lib/main.js', {
'./buffer.js': Mock2,
'@stdlib/assert/is-buffer': isBuffer
'./../../is-buffer': isBuffer
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./buffer.js': Mock3,
'@stdlib/assert/is-buffer': isBuffer
'./../../is-buffer': isBuffer
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-sharedarraybuffer-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ tape( 'if `SharedArrayBuffer` is supported, detection result is `true`', functio

mocked = proxyquire( './../lib/main.js', {
'./sharedarraybuffer.js': Mock,
'@stdlib/assert/is-sharedarraybuffer': isBuffer
'./../../is-sharedarraybuffer': isBuffer
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -141,7 +141,7 @@ tape( 'if `SharedArrayBuffer` is not supported, detected result is `false` (no s
}
mocked = proxyquire( './../lib/main.js', {
'./sharedarraybuffer.js': Mock,
'@stdlib/assert/is-sharedarraybuffer': isBuffer
'./../../is-sharedarraybuffer': isBuffer
});
t.strictEqual( mocked(), false, 'detection result is `false`' );
t.end();
Expand Down Expand Up @@ -183,7 +183,7 @@ tape( 'if `SharedArrayBuffer` is not supported, detected result is `false` (no b
}
mocked = proxyquire( './../lib/main.js', {
'./sharedarraybuffer.js': Mock,
'@stdlib/assert/is-sharedarraybuffer': isBuffer
'./../../is-sharedarraybuffer': isBuffer
});
t.strictEqual( mocked(), false, 'detection result is `false`' );
t.end();
Expand Down
2 changes: 1 addition & 1 deletion has-tostringtag-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tape( 'feature detection result is a boolean', function test( t ) {

tape( 'if `Symbols` are not supported, detection result is `false`', function test( t ) {
var detect = proxyquire( './../lib/main.js', {
'@stdlib/assert/has-symbol-support': hasSupport
'./../../has-symbol-support': hasSupport
});

t.strictEqual( detect(), false, 'detection result is `true`' );
Expand Down
6 changes: 3 additions & 3 deletions has-uint16array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Uint16Array` is supported, detection result is `true`', function test
}
mocked = proxyquire( './../lib/main.js', {
'./uint16array.js': Mock,
'@stdlib/assert/is-uint16array': isArray
'./../../is-uint16array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -93,13 +93,13 @@ tape( 'if `Uint16Array` is not supported, detection result is `false`', function

mocked = proxyquire( './../lib/main.js', {
'./uint16array.js': Mock2,
'@stdlib/assert/is-uint16array': isArray
'./../../is-uint16array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./uint16array.js': Mock3,
'@stdlib/assert/is-uint16array': isArray
'./../../is-uint16array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-uint32array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Uint32Array` is supported, detection result is `true`', function test
}
mocked = proxyquire( './../lib/main.js', {
'./uint32array.js': Mock,
'@stdlib/assert/is-uint32array': isArray
'./../../is-uint32array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -93,13 +93,13 @@ tape( 'if `Uint32Array` is not supported, detection result is `false`', function

mocked = proxyquire( './../lib/main.js', {
'./uint32array.js': Mock2,
'@stdlib/assert/is-uint32array': isArray
'./../../is-uint32array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./uint32array.js': Mock3,
'@stdlib/assert/is-uint32array': isArray
'./../../is-uint32array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
6 changes: 3 additions & 3 deletions has-uint8array-support/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tape( 'if `Uint8Array` is supported, detection result is `true`', function test(
}
mocked = proxyquire( './../lib/main.js', {
'./uint8array.js': Mock,
'@stdlib/assert/is-uint8array': isArray
'./../../is-uint8array': isArray
});
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );

Expand Down Expand Up @@ -93,13 +93,13 @@ tape( 'if `Uint8Array` is not supported, detection result is `false`', function

mocked = proxyquire( './../lib/main.js', {
'./uint8array.js': Mock2,
'@stdlib/assert/is-uint8array': isArray
'./../../is-uint8array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

mocked = proxyquire( './../lib/main.js', {
'./uint8array.js': Mock3,
'@stdlib/assert/is-uint8array': isArray
'./../../is-uint8array': isArray
});
t.strictEqual( mocked(), false, 'detection result is `false`' );

Expand Down
Loading

0 comments on commit b6e74b2

Please sign in to comment.