diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index f92a6c5..f4575e9 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -94,8 +94,8 @@ jobs: node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );" fi - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -191,8 +191,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -366,8 +366,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -539,8 +539,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -735,8 +735,8 @@ jobs: echo "bump=true" >> $GITHUB_OUTPUT fi - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' if: steps.check-if-bump.outputs.bump run: | git config --local user.email "noreply@stdlib.io" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b1d4bb8..2888b88 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -72,8 +72,8 @@ jobs: node-version: 20 timeout-minutes: 5 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -206,7 +206,7 @@ jobs: # Publish package to npm: - name: 'Publish package to npm' # Pin action to full length commit SHA - uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1 + uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1 with: token: ${{ secrets.NPM_TOKEN }} access: public diff --git a/.gitignore b/.gitignore index 49b206b..4fdc97c 100644 --- a/.gitignore +++ b/.gitignore @@ -101,6 +101,8 @@ docs/**/node_modules/ pids *.pid *.seed +yarn.lock +package-lock.json # Typescript # ############## diff --git a/.npmrc b/.npmrc index 5af9067..58dbd10 100644 --- a/.npmrc +++ b/.npmrc @@ -27,5 +27,5 @@ shrinkwrap = false # Disable automatically "saving" dependencies on install: save = false -# Generate provenance metadata: -provenance = true +# Do not generate provenance metadata: +provenance = false diff --git a/CHANGELOG.md b/CHANGELOG.md index b5f0372..4daf353 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ > Package changelog. -
+
-## Unreleased (2024-07-06) +## 0.3.0 (2024-07-29)
@@ -32,6 +32,8 @@
+- [`8d4c46b`](https://github.com/stdlib-js/stdlib/commit/8d4c46b10ca912401e0ff0caa37a17cd3c443c2f) - **refactor:** update paths _(by Athan Reines)_ +- [`18b3c79`](https://github.com/stdlib-js/stdlib/commit/18b3c79c5035c7082618b7379cd6576e64393a96) - **refactor:** update paths _(by Athan Reines)_ - [`e47b1be`](https://github.com/stdlib-js/stdlib/commit/e47b1be3a80eb9a7ab1fa9f421a133a580ce4366) - **refactor:** reduce code duplication _(by Athan Reines)_ - [`dc36936`](https://github.com/stdlib-js/stdlib/commit/dc369364ee617f8f62b40d951a0f0d34f795da6e) - **feat:** add boolean dtype support to `strided/base/mskunary` [(#2520)](https://github.com/stdlib-js/stdlib/pull/2520) _(by Jaysukh Makvana)_ - [`cf3f92e`](https://github.com/stdlib-js/stdlib/commit/cf3f92eddd20ec1a4106c8a34f7d7705a9a99dbc) - **fix:** update include paths _(by Athan Reines)_ @@ -64,6 +66,53 @@ A total of 2 people contributed to this release. Thank you to the following cont ## 0.2.1 (2024-02-25) +No changes reported for this release. + +
+ + + +
+ +## 0.2.0 (2024-02-14) + +
+ +### Commits + +
+ +- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_ +- [`7db5611`](https://github.com/stdlib-js/stdlib/commit/7db56115b014aa41e4a3458629286ae3bd99c4e7) - **docs:** update links and fix headings _(by Athan Reines)_ +- [`f9c75ce`](https://github.com/stdlib-js/stdlib/commit/f9c75ce726ed4e5fade8622315bb98094dad8561) - **build:** remove tslint directives _(by Philipp Burckhardt)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 2 people contributed to this release. Thank you to the following contributors: + +- Athan Reines +- Philipp Burckhardt + +
+ + + +
+ + + +
+ +## 0.1.0 (2023-09-24) +
### Features @@ -103,9 +152,6 @@ A total of 2 people contributed to this release. Thank you to the following cont
-- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_ -- [`7db5611`](https://github.com/stdlib-js/stdlib/commit/7db56115b014aa41e4a3458629286ae3bd99c4e7) - **docs:** update links and fix headings _(by Athan Reines)_ -- [`f9c75ce`](https://github.com/stdlib-js/stdlib/commit/f9c75ce726ed4e5fade8622315bb98094dad8561) - **build:** remove tslint directives _(by Philipp Burckhardt)_ - [`ca91187`](https://github.com/stdlib-js/stdlib/commit/ca9118749c1e8f3ad1f722ef69e3dc602e57b6c7) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_ - [`0a81f83`](https://github.com/stdlib-js/stdlib/commit/0a81f837f2eb6e7c0fec6bf5d25066f6c11095a9) - **fix:** resolve C lint errors _(by Athan Reines)_ - [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_ @@ -133,3 +179,83 @@ A total of 2 people contributed to this release. Thank you to the following cont +
+ +## 0.0.8 (2022-02-16) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.7 (2021-08-22) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.6 (2021-07-06) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.5 (2021-06-27) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.4 (2021-06-16) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.3 (2021-06-15) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.2 (2021-06-14) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.1 (2021-06-14) + +No changes reported for this release. + +
+ + + diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 7ec15a7..26a1c46 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -51,6 +51,7 @@ Muhammad Haris Naresh Jagadeesan NightKnight Nithin Katta <88046362+nithinkatta@users.noreply.github.com> +Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com> Ognjen Jevremović Oneday12323 <107678750+Oneday12323@users.noreply.github.com> Philipp Burckhardt diff --git a/README.md b/README.md index de9420c..9ea8071 100644 --- a/README.md +++ b/README.md @@ -6647,8 +6647,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/strided-base-mskunary.svg [npm-url]: https://npmjs.org/package/@stdlib/strided-base-mskunary -[test-image]: https://github.com/stdlib-js/strided-base-mskunary/actions/workflows/test.yml/badge.svg?branch=main -[test-url]: https://github.com/stdlib-js/strided-base-mskunary/actions/workflows/test.yml?query=branch:main +[test-image]: https://github.com/stdlib-js/strided-base-mskunary/actions/workflows/test.yml/badge.svg?branch=v0.3.0 +[test-url]: https://github.com/stdlib-js/strided-base-mskunary/actions/workflows/test.yml?query=branch:v0.3.0 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/strided-base-mskunary/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/strided-base-mskunary?branch=main diff --git a/benchmark/benchmark.accessors.js b/benchmark/benchmark.accessors.js index b687abe..4eb0a98 100644 --- a/benchmark/benchmark.accessors.js +++ b/benchmark/benchmark.accessors.js @@ -29,8 +29,8 @@ var cidentityf = require( '@stdlib/math-base-special-cidentityf' ); var filledarray = require( '@stdlib/array-filled' ); var filledarrayBy = require( '@stdlib/array-filled-by' ); var Complex64Array = require( '@stdlib/array-complex64' ); -var realf = require( '@stdlib/complex-realf' ); -var imagf = require( '@stdlib/complex-imagf' ); +var realf = require( '@stdlib/complex-float32-real' ); +var imagf = require( '@stdlib/complex-float32-imag' ); var pkg = require( './../package.json' ).name; var mskunary = require( './../lib/main.js' ); diff --git a/benchmark/benchmark.ndarray.accessors.js b/benchmark/benchmark.ndarray.accessors.js index b3b9c97..339b058 100644 --- a/benchmark/benchmark.ndarray.accessors.js +++ b/benchmark/benchmark.ndarray.accessors.js @@ -29,8 +29,8 @@ var cidentityf = require( '@stdlib/math-base-special-cidentityf' ); var filledarray = require( '@stdlib/array-filled' ); var filledarrayBy = require( '@stdlib/array-filled-by' ); var Complex64Array = require( '@stdlib/array-complex64' ); -var realf = require( '@stdlib/complex-realf' ); -var imagf = require( '@stdlib/complex-imagf' ); +var realf = require( '@stdlib/complex-float32-real' ); +var imagf = require( '@stdlib/complex-float32-imag' ); var pkg = require( './../package.json' ).name; var mskunary = require( './../lib/ndarray.js' ); diff --git a/examples/accessors.js b/examples/accessors.js index d4398d4..45c1cf4 100644 --- a/examples/accessors.js +++ b/examples/accessors.js @@ -23,8 +23,8 @@ var bernoulli = require( '@stdlib/random-base-bernoulli' ).factory; var filledarray = require( '@stdlib/array-filled' ); var filledarrayBy = require( '@stdlib/array-filled-by' ); var Complex64Array = require( '@stdlib/array-complex64' ); -var realf = require( '@stdlib/complex-realf' ); -var imagf = require( '@stdlib/complex-imagf' ); +var realf = require( '@stdlib/complex-float32-real' ); +var imagf = require( '@stdlib/complex-float32-imag' ); var Complex64 = require( '@stdlib/complex-float32-ctor' ); var mskunary = require( './../lib' ); diff --git a/package.json b/package.json index 867b3a0..1e85d94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/strided-base-mskunary", - "version": "0.2.1", + "version": "0.3.0", "description": "Apply a unary callback to elements in a strided input array according to elements in a strided mask array and assign results to elements in a strided output array.", "license": "Apache-2.0", "author": { @@ -42,54 +42,54 @@ "dependencies": { "@stdlib/array-base-accessor-getter": "^0.2.1", "@stdlib/array-base-accessor-setter": "^0.2.1", - "@stdlib/array-base-assert-is-accessor-array": "^0.2.1", - "@stdlib/array-base-getter": "^0.2.1", - "@stdlib/array-base-setter": "^0.2.1", + "@stdlib/array-base-assert-is-accessor-array": "^0.2.2", + "@stdlib/array-base-getter": "^0.2.2", + "@stdlib/array-base-setter": "^0.2.2", "@stdlib/array-dtype": "^0.2.1", - "@stdlib/complex-float32-ctor": "^0.0.1", - "@stdlib/complex-float64-ctor": "^0.0.1", - "@stdlib/strided-base-stride2offset": "github:stdlib-js/strided-base-stride2offset#main", + "@stdlib/complex-float32-ctor": "^0.0.2", + "@stdlib/complex-float64-ctor": "^0.0.3", + "@stdlib/strided-base-stride2offset": "^0.1.0", "@stdlib/types": "^0.3.2", - "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1", - "@stdlib/utils-library-manifest": "^0.2.1" + "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2", + "@stdlib/utils-library-manifest": "^0.2.2" }, "devDependencies": { "@stdlib/array-complex64": "^0.2.1", "@stdlib/array-filled": "^0.2.1", "@stdlib/array-filled-by": "^0.2.1", - "@stdlib/array-float32": "^0.2.1", - "@stdlib/array-float64": "^0.2.1", - "@stdlib/array-uint8": "^0.2.1", - "@stdlib/complex-imagf": "^0.2.1", - "@stdlib/complex-realf": "^0.2.1", - "@stdlib/fs-read-dir": "^0.2.1", - "@stdlib/fs-read-file": "^0.2.1", - "@stdlib/fs-read-json": "^0.2.1", - "@stdlib/fs-unlink": "^0.2.1", - "@stdlib/fs-write-file": "^0.2.1", - "@stdlib/math-base-assert-is-nan": "^0.2.1", - "@stdlib/math-base-special-abs": "^0.2.1", - "@stdlib/math-base-special-cidentityf": "^0.2.1", - "@stdlib/math-base-special-identity": "^0.2.1", - "@stdlib/math-base-special-pow": "^0.2.1", - "@stdlib/ndarray-base-bytes-per-element": "^0.2.1", - "@stdlib/ndarray-base-char2dtype": "^0.2.1", - "@stdlib/ndarray-base-dtype-char": "^0.2.1", - "@stdlib/ndarray-base-dtype-desc": "^0.2.1", - "@stdlib/ndarray-base-dtype2c": "^0.2.1", - "@stdlib/ndarray-safe-casts": "^0.2.1", + "@stdlib/array-float32": "^0.2.2", + "@stdlib/array-float64": "^0.2.2", + "@stdlib/array-uint8": "^0.2.2", + "@stdlib/complex-float32-imag": "^0.1.1", + "@stdlib/complex-float32-real": "^0.1.1", + "@stdlib/fs-read-dir": "^0.2.2", + "@stdlib/fs-read-file": "^0.2.2", + "@stdlib/fs-read-json": "^0.2.2", + "@stdlib/fs-unlink": "^0.2.2", + "@stdlib/fs-write-file": "^0.2.2", + "@stdlib/math-base-assert-is-nan": "^0.2.2", + "@stdlib/math-base-special-abs": "^0.2.2", + "@stdlib/math-base-special-cidentityf": "^0.2.2", + "@stdlib/math-base-special-identity": "^0.2.2", + "@stdlib/math-base-special-pow": "^0.3.0", + "@stdlib/ndarray-base-bytes-per-element": "^0.2.2", + "@stdlib/ndarray-base-char2dtype": "^0.2.2", + "@stdlib/ndarray-base-dtype-char": "^0.2.2", + "@stdlib/ndarray-base-dtype-desc": "^0.2.2", + "@stdlib/ndarray-base-dtype2c": "^0.2.2", + "@stdlib/ndarray-safe-casts": "^0.3.0", "@stdlib/random-base-bernoulli": "^0.2.1", "@stdlib/random-base-discrete-uniform": "^0.2.1", - "@stdlib/strided-dtypes": "^0.2.1", - "@stdlib/string-replace": "^0.2.1", - "@stdlib/string-substring-after": "^0.2.1", - "@stdlib/string-substring-before": "^0.2.1", - "@stdlib/string-uppercase": "^0.2.1", - "@stdlib/time-current-year": "^0.2.1", + "@stdlib/strided-dtypes": "^0.3.0", + "@stdlib/string-replace": "^0.2.2", + "@stdlib/string-substring-after": "^0.2.2", + "@stdlib/string-substring-before": "^0.2.2", + "@stdlib/string-uppercase": "^0.3.0", + "@stdlib/time-current-year": "^0.2.2", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git", - "@stdlib/bench-harness": "^0.2.1" + "@stdlib/bench-harness": "^0.2.2" }, "engines": { "node": ">=0.10.0", diff --git a/test/test.main.js b/test/test.main.js index 76ebe28..3c2f061 100644 --- a/test/test.main.js +++ b/test/test.main.js @@ -28,7 +28,7 @@ var Float32Array = require( '@stdlib/array-float32' ); var Uint8Array = require( '@stdlib/array-uint8' ); var Complex64Array = require( '@stdlib/array-complex64' ); var Complex64 = require( '@stdlib/complex-float32-ctor' ); -var realf = require( '@stdlib/complex-realf' ); +var realf = require( '@stdlib/complex-float32-real' ); var mskunary = require( './../lib/main.js' ); diff --git a/test/test.ndarray.js b/test/test.ndarray.js index c43053f..2057cc2 100644 --- a/test/test.ndarray.js +++ b/test/test.ndarray.js @@ -28,7 +28,7 @@ var Float32Array = require( '@stdlib/array-float32' ); var Uint8Array = require( '@stdlib/array-uint8' ); var Complex64Array = require( '@stdlib/array-complex64' ); var Complex64 = require( '@stdlib/complex-float32-ctor' ); -var realf = require( '@stdlib/complex-realf' ); +var realf = require( '@stdlib/complex-float32-real' ); var mskunary = require( './../lib/ndarray.js' );