diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml new file mode 100644 index 00000000..e51e34ea --- /dev/null +++ b/.github/workflows/benchmark.yml @@ -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 diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 7668c70a..0c19f10d 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -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 \ No newline at end of file + npm run examples diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 164619bb..ae05f51e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 "noreply@stdlib.io" @@ -31,4 +31,4 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} channel: '#npm-ci' - if: failure() \ No newline at end of file + if: failure() diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72b66f4e..3c991081 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | @@ -26,4 +26,4 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} channel: '#npm-ci' - if: failure() \ No newline at end of file + if: failure() diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index debbfd56..0e8045d7 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -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 @@ -21,4 +21,4 @@ jobs: uses: codecov/codecov-action@v1 with: directory: reports/coverage - flags: unittests \ No newline at end of file + flags: unittests diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 039afb6e..ee70831f 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -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 @@ -24,4 +24,4 @@ jobs: status: ${{ job.status }} steps: ${{ toJson(steps) }} channel: '#npm-ci' - if: failure() \ No newline at end of file + if: failure() diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index abd0ae4e..35b70c93 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -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. \ No newline at end of file +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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8b60dead..5f594438 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. \ No newline at end of file +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. diff --git a/constructor-name/test/test.js b/constructor-name/test/test.js index ca4a6468..c18f12d8 100644 --- a/constructor-name/test/test.js +++ b/constructor-name/test/test.js @@ -150,7 +150,7 @@ tape( 'the function supports environments lacking `Function.name` support', func var v; constructorName = proxyquire( './../lib/main.js', { - '@stdlib/utils/native-class': nativeClass + './../../native-class': nativeClass }); function Foo() { diff --git a/enumerable-properties-in/test/test.js b/enumerable-properties-in/test/test.js index d7d96591..51cc0fe9 100644 --- a/enumerable-properties-in/test/test.js +++ b/enumerable-properties-in/test/test.js @@ -124,7 +124,7 @@ tape( 'the function returns an array of an object\'s own and inherited enumerabl var i; enumerablePropertiesIn = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); symbols = [ '__a__', '__b__', '__c__' ]; diff --git a/enumerable-property-symbols-in/test/test.js b/enumerable-property-symbols-in/test/test.js index caafffbd..997e4e12 100644 --- a/enumerable-property-symbols-in/test/test.js +++ b/enumerable-property-symbols-in/test/test.js @@ -123,7 +123,7 @@ tape( 'the function returns an array of an object\'s own and inherited enumerabl var i; enumerablePropertySymbolsIn = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); syms = [ diff --git a/enumerable-property-symbols/test/test.js b/enumerable-property-symbols/test/test.js index 53189eb5..5656d531 100644 --- a/enumerable-property-symbols/test/test.js +++ b/enumerable-property-symbols/test/test.js @@ -122,7 +122,7 @@ tape( 'the function returns an array of an object\'s own enumerable symbol prope var i; enumerablePropertySymbols = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); syms = [ diff --git a/get-prototype-of/test/test.polyfill.js b/get-prototype-of/test/test.polyfill.js index ef0c5942..8d7200ff 100644 --- a/get-prototype-of/test/test.polyfill.js +++ b/get-prototype-of/test/test.polyfill.js @@ -143,7 +143,7 @@ tape( 'the function returns `null` for bizarre values', function test( t ) { var proto; getPrototypeOf = proxyquire( './../lib/polyfill.js', { - '@stdlib/utils/native-class': nativeClass, + './../../native-class': nativeClass, './proto.js': getProto }); diff --git a/keys/test/test.has_automation_equality_bug.js b/keys/test/test.has_automation_equality_bug.js index 26699607..3946399b 100644 --- a/keys/test/test.has_automation_equality_bug.js +++ b/keys/test/test.has_automation_equality_bug.js @@ -35,7 +35,7 @@ tape( 'main export is a boolean', function test( t ) { tape( 'the exported value is `false` if an environment does not have a `window` global', function test( t ) { var bool = proxyquire( './../lib/has_automation_equality_bug.js', { - '@stdlib/utils/type-of': mock + './../../type-of': mock }); t.strictEqual( bool, false, 'returns expected value' ); diff --git a/nonenumerable-properties-in/test/test.js b/nonenumerable-properties-in/test/test.js index 2a709d84..e0967337 100644 --- a/nonenumerable-properties-in/test/test.js +++ b/nonenumerable-properties-in/test/test.js @@ -155,7 +155,7 @@ tape( 'the function returns an array of an object\'s own and inherited non-enume var i; nonEnumerablePropertiesIn = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); symbols = [ '__a__', '__b__', '__c__' ]; diff --git a/nonenumerable-property-symbols-in/test/test.js b/nonenumerable-property-symbols-in/test/test.js index 403d9db4..99f2abc7 100644 --- a/nonenumerable-property-symbols-in/test/test.js +++ b/nonenumerable-property-symbols-in/test/test.js @@ -128,7 +128,7 @@ tape( 'the function returns an array of an object\'s own and inherited non-enume var i; nonEnumerablePropertySymbolsIn = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); syms = [ diff --git a/nonenumerable-property-symbols/test/test.js b/nonenumerable-property-symbols/test/test.js index 7a467f95..82494676 100644 --- a/nonenumerable-property-symbols/test/test.js +++ b/nonenumerable-property-symbols/test/test.js @@ -122,7 +122,7 @@ tape( 'the function returns an array of an object\'s own non-enumerable symbol p var i; nonEnumerablePropertySymbols = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); syms = [ diff --git a/package.json b/package.json index f013732f..7f568495 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "scripts": { "test": "make test", "test-cov": "make test-cov", - "examples": "make examples" + "examples": "make examples", + "benchmark": "make benchmark" }, "homepage": "https://github.com/stdlib-js/stdlib", "repository": { diff --git a/writable-properties-in/test/test.js b/writable-properties-in/test/test.js index 7442ae2f..d44763b9 100644 --- a/writable-properties-in/test/test.js +++ b/writable-properties-in/test/test.js @@ -155,7 +155,7 @@ tape( 'the function returns an array of an object\'s own and inherited writable var i; writablePropertiesIn = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); symbols = [ '__a__', '__b__', '__c__' ]; diff --git a/writable-property-symbols-in/test/test.js b/writable-property-symbols-in/test/test.js index 7f3fa9b5..e7be3ee3 100644 --- a/writable-property-symbols-in/test/test.js +++ b/writable-property-symbols-in/test/test.js @@ -128,7 +128,7 @@ tape( 'the function returns an array of an object\'s own and inherited writable var i; writablePropertySymbolsIn = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); syms = [ diff --git a/writable-property-symbols/test/test.js b/writable-property-symbols/test/test.js index b0281e23..bc1f8a23 100644 --- a/writable-property-symbols/test/test.js +++ b/writable-property-symbols/test/test.js @@ -122,7 +122,7 @@ tape( 'the function returns an array of an object\'s own writable symbol propert var i; writablePropertySymbols = proxyquire( './../lib/main.js', { - '@stdlib/utils/property-symbols': propertySymbols + './../../property-symbols': propertySymbols }); syms = [