From 4d293e16fe3bdd2f875d3798824688e770430ece Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Mon, 9 Sep 2024 00:23:10 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 161 ++++++++++++++++++++++++++++++++-------------- CONTRIBUTORS | 7 ++ README.md | 4 +- dist/index.js | 2 +- dist/index.js.map | 4 +- lib/index.js | 9 +++ package.json | 5 +- 7 files changed, 137 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dab08f2..c6a2dbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ > Package changelog. -
+
-## 0.3.0 (2024-07-29) +## Unreleased (2024-09-09)
@@ -20,9 +20,7 @@ ##### Features -- [`d626ffa`](https://github.com/stdlib-js/stdlib/commit/d626ffac9f0504be236c94afd4b920032272c8bf) - update namespace TypeScript declarations [(#2394)](https://github.com/stdlib-js/stdlib/pull/2394) -- [`4fdb218`](https://github.com/stdlib-js/stdlib/commit/4fdb218a0272d18ce2f70d769695bceca33a7653) - add `isBooleanArray` to namespace -- [`57347fd`](https://github.com/stdlib-js/stdlib/commit/57347fdd4382c4a71935e7ae06d992d04d08f802) - add `isBooleanDataType` to namespace +- [`cc56538`](https://github.com/stdlib-js/stdlib/commit/cc5653806325fe7b63037dfa49108be8016de3fc) - add `hasEqualValues` to namespace
@@ -34,9 +32,9 @@ -
+
-#### [@stdlib/array/base/assert/has-same-values](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/has-same-values) +#### [@stdlib/array/base/assert/has-equal-values](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/has-equal-values)
@@ -44,7 +42,7 @@ ##### Features -- [`a7947d0`](https://github.com/stdlib-js/stdlib/commit/a7947d0856e5c65f863841b0205c05b6f6cc2eec) - add boolean dtype support to `array/base/assert/has-same-values` [(#2404)](https://github.com/stdlib-js/stdlib/pull/2404) +- [`4cdf27e`](https://github.com/stdlib-js/stdlib/commit/4cdf27e87b904ab762b3e7c1034dd27f7466383c) - add `array/base/assert/has-equal-values`
@@ -56,19 +54,97 @@ -
+
+ + -#### [@stdlib/array/base/assert/is-accessor-array](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/is-accessor-array) +
+ +### Contributors + +A total of 1 person contributed to this release. Thank you to this contributor: + +- Athan Reines + +
+ + + +
+ +### Commits + +
+ +- [`cc56538`](https://github.com/stdlib-js/stdlib/commit/cc5653806325fe7b63037dfa49108be8016de3fc) - **feat:** add `hasEqualValues` to namespace _(by Athan Reines)_ +- [`58d6b23`](https://github.com/stdlib-js/stdlib/commit/58d6b233f341a5cee452bd74953d260482242931) - **style:** disable lint rule _(by Athan Reines)_ +- [`4cdf27e`](https://github.com/stdlib-js/stdlib/commit/4cdf27e87b904ab762b3e7c1034dd27f7466383c) - **feat:** add `array/base/assert/has-equal-values` _(by Athan Reines)_ + +
+ +
+ + + +
+ + + +
+ +## 0.3.0 (2024-07-29) + +
+ +### Packages + +
+ +#### [@stdlib/array/base/assert](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert) + +
+ +
+ +##### Features + +- [`d626ffa`](https://github.com/stdlib-js/stdlib/commit/d626ffac9f0504be236c94afd4b920032272c8bf) - update namespace TypeScript declarations [(#2394)](https://github.com/stdlib-js/stdlib/pull/2394) +- [`4fdb218`](https://github.com/stdlib-js/stdlib/commit/4fdb218a0272d18ce2f70d769695bceca33a7653) - add `isBooleanArray` to namespace +- [`57347fd`](https://github.com/stdlib-js/stdlib/commit/57347fdd4382c4a71935e7ae06d992d04d08f802) - add `isBooleanDataType` to namespace + +
+ + + +
+ +
+ + + +
+ +#### [@stdlib/array/base/assert/has-same-values](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/has-same-values)
-No changes reported for this release.
+
+ +##### Features + +- [`a7947d0`](https://github.com/stdlib-js/stdlib/commit/a7947d0856e5c65f863841b0205c05b6f6cc2eec) - add boolean dtype support to `array/base/assert/has-same-values` [(#2404)](https://github.com/stdlib-js/stdlib/pull/2404) + +
+ + + +
-
+
#### [@stdlib/array/base/assert/is-boolean-](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/is-boolean-) @@ -90,7 +166,7 @@ No changes reported for this release. -
+
#### [@stdlib/array/base/assert/is-booleanarray](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/is-booleanarray) @@ -155,6 +231,8 @@ A total of 3 people contributed to this release. Thank you to the following cont +
+ ## 0.2.1 (2024-02-25)
@@ -182,8 +260,7 @@ A total of 3 people contributed to this release. Thank you to the following cont ##### BREAKING CHANGES -- [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb): update namespace TypeScript declarations -- [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb): rename exported aliases +- [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb): rename exported aliases - To migrate, users should consult the relevant namespace documentation and associated commits in order to determine which aliases have been renamed. @@ -227,8 +304,7 @@ A total of 3 people contributed to this release. Thank you to the following cont ### BREAKING CHANGES -- [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb): update namespace TypeScript declarations -- [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb): rename exported aliases +- [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb): rename exported aliases - To migrate, users should consult the relevant namespace documentation and associated commits in order to determine which aliases have been renamed. @@ -265,6 +341,12 @@ A total of 1 person contributed to this release. Thank you to this contributor: +
+ + + +
+ ## 0.2.0 (2024-02-15)
@@ -352,18 +434,6 @@ A total of 1 person contributed to this release. Thank you to this contributor: -
- -#### [@stdlib/array/base/assert/is-accessor-array](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/is-accessor-array) - -
- -No changes reported for this release.
- -
- - -
#### [@stdlib/array/base/assert/is-complex-floating-point-](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/is-complex-floating-point-) @@ -658,11 +728,10 @@ No changes reported for this release. ### Contributors -A total of 3 people contributed to this release. Thank you to the following contributors: +A total of 2 people contributed to this release. Thank you to the following contributors: - Athan Reines - Philipp Burckhardt -- Philipp Burckhardt
@@ -720,6 +789,12 @@ A total of 3 people contributed to this release. Thank you to the following cont +
+ + + +
+ ## 0.1.0 (2023-09-24)
@@ -747,8 +822,7 @@ A total of 3 people contributed to this release. Thank you to the following cont ##### BREAKING CHANGES -- [`e29732d`](https://github.com/stdlib-js/stdlib/commit/e29732dee616e2d94e91f87f78afd8aceb806017): update minimum TypeScript version -- [`e29732d`](https://github.com/stdlib-js/stdlib/commit/e29732dee616e2d94e91f87f78afd8aceb806017): update minimum TypeScript version to 4.1 +- [`e29732d`](https://github.com/stdlib-js/stdlib/commit/e29732dee616e2d94e91f87f78afd8aceb806017): update minimum TypeScript version to 4.1 - To migrate, users should upgrade their TypeScript version to at least version 4.1. @@ -856,8 +930,7 @@ A total of 3 people contributed to this release. Thank you to the following cont ### BREAKING CHANGES -- [`e29732d`](https://github.com/stdlib-js/stdlib/commit/e29732dee616e2d94e91f87f78afd8aceb806017): update minimum TypeScript version -- [`e29732d`](https://github.com/stdlib-js/stdlib/commit/e29732dee616e2d94e91f87f78afd8aceb806017): update minimum TypeScript version to 4.1 +- [`e29732d`](https://github.com/stdlib-js/stdlib/commit/e29732dee616e2d94e91f87f78afd8aceb806017): update minimum TypeScript version to 4.1 - To migrate, users should upgrade their TypeScript version to at least version 4.1. @@ -904,25 +977,17 @@ A total of 2 people contributed to this release. Thank you to the following cont -## 0.0.1 (2023-02-02) - -
- -### Packages -
- - -
+ -### Commits +
-
+## 0.0.1 (2023-02-02) -
+No changes reported for this release.
- + diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 26a1c46..8610d91 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -26,11 +26,13 @@ EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com> Frank Kovacs Golden Kumar <103646877+AuenKr@users.noreply.github.com> Gunj Joshi +HarshaNP <96897754+GittyHarsha@users.noreply.github.com> Harshita Kalani Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com> Jaimin Godhani <112328542+Jai0401@users.noreply.github.com> James Gelok Jaysukh Makvana +Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com> Jithin KS Joel Mathew Koshy Joey Reed @@ -46,6 +48,7 @@ Marcus Fantham Matt Cochrane Mihir Pandit <129577900+MSP20086@users.noreply.github.com> Milan Raj +Mohammad Kaif <98884589+Kaif987@users.noreply.github.com> Momtchil Momtchev Muhammad Haris Naresh Jagadeesan @@ -70,6 +73,7 @@ Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Rutam <138517416+performant23@users.noreply.github.com> Ryan Seal Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com> +SarthakPaandey <145528240+SarthakPaandey@users.noreply.github.com> Seyyed Parsa Neshaei Shashank Shekhar Singh Shivam <11shivam00@gmail.com> @@ -84,8 +88,10 @@ Stephannie JimĂ©nez Gacha Suraj kumar <125961509+kumarsuraj212003@users.noreply.github.com> Tirtadwipa Manunggal Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com> +Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com> Utkarsh Utkarsh Raj +Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com> Varad Gupta Xiaochuan Ye Yernar Yergaziyev @@ -94,3 +100,4 @@ nishant-s7 <97207366+nishant-s7@users.noreply.github.com> orimiles5 <97595296+orimiles5@users.noreply.github.com> rainn <88160429+AmCodesLame@users.noreply.github.com> rei2hu +yaswanth <116426380+yaswanthkosuru@users.noreply.github.com> diff --git a/README.md b/README.md index e1a2157..65a66be 100644 --- a/README.md +++ b/README.md @@ -173,8 +173,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-assert.svg [npm-url]: https://npmjs.org/package/@stdlib/array-base-assert -[test-image]: https://github.com/stdlib-js/array-base-assert/actions/workflows/test.yml/badge.svg?branch=v0.3.0 -[test-url]: https://github.com/stdlib-js/array-base-assert/actions/workflows/test.yml?query=branch:v0.3.0 +[test-image]: https://github.com/stdlib-js/array-base-assert/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/array-base-assert/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-assert/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/array-base-assert?branch=main diff --git a/dist/index.js b/dist/index.js index 4fa5655..862d26d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,3 @@ -"use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"contains",require('@stdlib/array-base-assert-contains/dist'));r(e,"hasSameValues",require('@stdlib/array-base-assert-has-same-values/dist'));r(e,"isAccessorArray",require('@stdlib/array-base-assert-is-accessor-array/dist'));r(e,"isBooleanDataType",require('@stdlib/array-base-assert-is-boolean-data-type/dist'));r(e,"isBooleanArray",require('@stdlib/array-base-assert-is-booleanarray/dist'));r(e,"isComplexFloatingPointDataType",require('@stdlib/array-base-assert-is-complex-floating-point-data-type/dist'));r(e,"isComplexTypedArray",require('@stdlib/array-base-assert-is-complex-typed-array/dist'));r(e,"isComplex64Array",require('@stdlib/array-base-assert-is-complex64array/dist'));r(e,"isComplex128Array",require('@stdlib/array-base-assert-is-complex128array/dist'));r(e,"isDataType",require('@stdlib/array-base-assert-is-data-type/dist'));r(e,"isFloatingPointDataType",require('@stdlib/array-base-assert-is-floating-point-data-type/dist'));r(e,"isIntegerDataType",require('@stdlib/array-base-assert-is-integer-data-type/dist'));r(e,"isMostlySafeDataTypeCast",require('@stdlib/array-base-assert-is-mostly-safe-data-type-cast/dist'));r(e,"isNumericDataType",require('@stdlib/array-base-assert-is-numeric-data-type/dist'));r(e,"isRealDataType",require('@stdlib/array-base-assert-is-real-data-type/dist'));r(e,"isRealFloatingPointDataType",require('@stdlib/array-base-assert-is-real-floating-point-data-type/dist'));r(e,"isSafeDataTypeCast",require('@stdlib/array-base-assert-is-safe-data-type-cast/dist'));r(e,"isSameKindDataTypeCast",require('@stdlib/array-base-assert-is-same-kind-data-type-cast/dist'));r(e,"isSignedIntegerDataType",require('@stdlib/array-base-assert-is-signed-integer-data-type/dist'));r(e,"isUnsignedIntegerDataType",require('@stdlib/array-base-assert-is-unsigned-integer-data-type/dist'));module.exports=e; +"use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"contains",require('@stdlib/array-base-assert-contains/dist'));r(e,"hasEqualValues",require('@stdlib/array-base-assert-has-equal-values/dist'));r(e,"hasSameValues",require('@stdlib/array-base-assert-has-same-values/dist'));r(e,"isAccessorArray",require('@stdlib/array-base-assert-is-accessor-array/dist'));r(e,"isBooleanDataType",require('@stdlib/array-base-assert-is-boolean-data-type/dist'));r(e,"isBooleanArray",require('@stdlib/array-base-assert-is-booleanarray/dist'));r(e,"isComplexFloatingPointDataType",require('@stdlib/array-base-assert-is-complex-floating-point-data-type/dist'));r(e,"isComplexTypedArray",require('@stdlib/array-base-assert-is-complex-typed-array/dist'));r(e,"isComplex64Array",require('@stdlib/array-base-assert-is-complex64array/dist'));r(e,"isComplex128Array",require('@stdlib/array-base-assert-is-complex128array/dist'));r(e,"isDataType",require('@stdlib/array-base-assert-is-data-type/dist'));r(e,"isFloatingPointDataType",require('@stdlib/array-base-assert-is-floating-point-data-type/dist'));r(e,"isIntegerDataType",require('@stdlib/array-base-assert-is-integer-data-type/dist'));r(e,"isMostlySafeDataTypeCast",require('@stdlib/array-base-assert-is-mostly-safe-data-type-cast/dist'));r(e,"isNumericDataType",require('@stdlib/array-base-assert-is-numeric-data-type/dist'));r(e,"isRealDataType",require('@stdlib/array-base-assert-is-real-data-type/dist'));r(e,"isRealFloatingPointDataType",require('@stdlib/array-base-assert-is-real-floating-point-data-type/dist'));r(e,"isSafeDataTypeCast",require('@stdlib/array-base-assert-is-safe-data-type-cast/dist'));r(e,"isSameKindDataTypeCast",require('@stdlib/array-base-assert-is-same-kind-data-type-cast/dist'));r(e,"isSignedIntegerDataType",require('@stdlib/array-base-assert-is-signed-integer-data-type/dist'));r(e,"isUnsignedIntegerDataType",require('@stdlib/array-base-assert-is-unsigned-integer-data-type/dist'));module.exports=e; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map diff --git a/dist/index.js.map b/dist/index.js.map index c93484f..0693fc1 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../lib/index.js"], - "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2022 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name contains\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/contains}\n*/\nsetReadOnly( ns, 'contains', require( '@stdlib/array-base-assert-contains' ) );\n\n/**\n* @name hasSameValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-same-values}\n*/\nsetReadOnly( ns, 'hasSameValues', require( '@stdlib/array-base-assert-has-same-values' ) );\n\n/**\n* @name isAccessorArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-accessor-array}\n*/\nsetReadOnly( ns, 'isAccessorArray', require( '@stdlib/array-base-assert-is-accessor-array' ) );\n\n/**\n* @name isBooleanDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-boolean-data-type}\n*/\nsetReadOnly( ns, 'isBooleanDataType', require( '@stdlib/array-base-assert-is-boolean-data-type' ) );\n\n/**\n* @name isBooleanArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-booleanarray}\n*/\nsetReadOnly( ns, 'isBooleanArray', require( '@stdlib/array-base-assert-is-booleanarray' ) );\n\n/**\n* @name isComplexFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isComplexFloatingPointDataType', require( '@stdlib/array-base-assert-is-complex-floating-point-data-type' ) );\n\n/**\n* @name isComplexTypedArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-typed-array}\n*/\nsetReadOnly( ns, 'isComplexTypedArray', require( '@stdlib/array-base-assert-is-complex-typed-array' ) );\n\n/**\n* @name isComplex64Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex64array}\n*/\nsetReadOnly( ns, 'isComplex64Array', require( '@stdlib/array-base-assert-is-complex64array' ) );\n\n/**\n* @name isComplex128Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex128array}\n*/\nsetReadOnly( ns, 'isComplex128Array', require( '@stdlib/array-base-assert-is-complex128array' ) );\n\n/**\n* @name isDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-data-type}\n*/\nsetReadOnly( ns, 'isDataType', require( '@stdlib/array-base-assert-is-data-type' ) );\n\n/**\n* @name isFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isFloatingPointDataType', require( '@stdlib/array-base-assert-is-floating-point-data-type' ) );\n\n/**\n* @name isIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-integer-data-type}\n*/\nsetReadOnly( ns, 'isIntegerDataType', require( '@stdlib/array-base-assert-is-integer-data-type' ) );\n\n/**\n* @name isMostlySafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-mostly-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isMostlySafeDataTypeCast', require( '@stdlib/array-base-assert-is-mostly-safe-data-type-cast' ) );\n\n/**\n* @name isNumericDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-numeric-data-type}\n*/\nsetReadOnly( ns, 'isNumericDataType', require( '@stdlib/array-base-assert-is-numeric-data-type' ) );\n\n/**\n* @name isRealDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-data-type}\n*/\nsetReadOnly( ns, 'isRealDataType', require( '@stdlib/array-base-assert-is-real-data-type' ) );\n\n/**\n* @name isRealFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isRealFloatingPointDataType', require( '@stdlib/array-base-assert-is-real-floating-point-data-type' ) );\n\n/**\n* @name isSafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isSafeDataTypeCast', require( '@stdlib/array-base-assert-is-safe-data-type-cast' ) );\n\n/**\n* @name isSameKindDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-same-kind-data-type-cast}\n*/\nsetReadOnly( ns, 'isSameKindDataTypeCast', require( '@stdlib/array-base-assert-is-same-kind-data-type-cast' ) );\n\n/**\n* @name isSignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-signed-integer-data-type}\n*/\nsetReadOnly( ns, 'isSignedIntegerDataType', require( '@stdlib/array-base-assert-is-signed-integer-data-type' ) );\n\n/**\n* @name isUnsignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-unsigned-integer-data-type}\n*/\nsetReadOnly( ns, 'isUnsignedIntegerDataType', require( '@stdlib/array-base-assert-is-unsigned-integer-data-type' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"], - "mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,WAAY,QAAS,oCAAqC,CAAE,EAS7ED,EAAaC,EAAI,gBAAiB,QAAS,2CAA4C,CAAE,EASzFD,EAAaC,EAAI,kBAAmB,QAAS,6CAA8C,CAAE,EAS7FD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,2CAA4C,CAAE,EAS1FD,EAAaC,EAAI,iCAAkC,QAAS,+DAAgE,CAAE,EAS9HD,EAAaC,EAAI,sBAAuB,QAAS,kDAAmD,CAAE,EAStGD,EAAaC,EAAI,mBAAoB,QAAS,6CAA8C,CAAE,EAS9FD,EAAaC,EAAI,oBAAqB,QAAS,8CAA+C,CAAE,EAShGD,EAAaC,EAAI,aAAc,QAAS,wCAAyC,CAAE,EASnFD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,2BAA4B,QAAS,yDAA0D,CAAE,EASlHD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,6CAA8C,CAAE,EAS5FD,EAAaC,EAAI,8BAA+B,QAAS,4DAA6D,CAAE,EASxHD,EAAaC,EAAI,qBAAsB,QAAS,kDAAmD,CAAE,EASrGD,EAAaC,EAAI,yBAA0B,QAAS,uDAAwD,CAAE,EAS9GD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,4BAA6B,QAAS,yDAA0D,CAAE,EAKnH,OAAO,QAAUA", + "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2022 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name contains\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/contains}\n*/\nsetReadOnly( ns, 'contains', require( '@stdlib/array-base-assert-contains' ) );\n\n/**\n* @name hasEqualValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-equal-values}\n*/\nsetReadOnly( ns, 'hasEqualValues', require( '@stdlib/array-base-assert-has-equal-values' ) );\n\n/**\n* @name hasSameValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-same-values}\n*/\nsetReadOnly( ns, 'hasSameValues', require( '@stdlib/array-base-assert-has-same-values' ) );\n\n/**\n* @name isAccessorArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-accessor-array}\n*/\nsetReadOnly( ns, 'isAccessorArray', require( '@stdlib/array-base-assert-is-accessor-array' ) );\n\n/**\n* @name isBooleanDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-boolean-data-type}\n*/\nsetReadOnly( ns, 'isBooleanDataType', require( '@stdlib/array-base-assert-is-boolean-data-type' ) );\n\n/**\n* @name isBooleanArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-booleanarray}\n*/\nsetReadOnly( ns, 'isBooleanArray', require( '@stdlib/array-base-assert-is-booleanarray' ) );\n\n/**\n* @name isComplexFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isComplexFloatingPointDataType', require( '@stdlib/array-base-assert-is-complex-floating-point-data-type' ) );\n\n/**\n* @name isComplexTypedArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-typed-array}\n*/\nsetReadOnly( ns, 'isComplexTypedArray', require( '@stdlib/array-base-assert-is-complex-typed-array' ) );\n\n/**\n* @name isComplex64Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex64array}\n*/\nsetReadOnly( ns, 'isComplex64Array', require( '@stdlib/array-base-assert-is-complex64array' ) );\n\n/**\n* @name isComplex128Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex128array}\n*/\nsetReadOnly( ns, 'isComplex128Array', require( '@stdlib/array-base-assert-is-complex128array' ) );\n\n/**\n* @name isDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-data-type}\n*/\nsetReadOnly( ns, 'isDataType', require( '@stdlib/array-base-assert-is-data-type' ) );\n\n/**\n* @name isFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isFloatingPointDataType', require( '@stdlib/array-base-assert-is-floating-point-data-type' ) );\n\n/**\n* @name isIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-integer-data-type}\n*/\nsetReadOnly( ns, 'isIntegerDataType', require( '@stdlib/array-base-assert-is-integer-data-type' ) );\n\n/**\n* @name isMostlySafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-mostly-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isMostlySafeDataTypeCast', require( '@stdlib/array-base-assert-is-mostly-safe-data-type-cast' ) );\n\n/**\n* @name isNumericDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-numeric-data-type}\n*/\nsetReadOnly( ns, 'isNumericDataType', require( '@stdlib/array-base-assert-is-numeric-data-type' ) );\n\n/**\n* @name isRealDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-data-type}\n*/\nsetReadOnly( ns, 'isRealDataType', require( '@stdlib/array-base-assert-is-real-data-type' ) );\n\n/**\n* @name isRealFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isRealFloatingPointDataType', require( '@stdlib/array-base-assert-is-real-floating-point-data-type' ) );\n\n/**\n* @name isSafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isSafeDataTypeCast', require( '@stdlib/array-base-assert-is-safe-data-type-cast' ) );\n\n/**\n* @name isSameKindDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-same-kind-data-type-cast}\n*/\nsetReadOnly( ns, 'isSameKindDataTypeCast', require( '@stdlib/array-base-assert-is-same-kind-data-type-cast' ) );\n\n/**\n* @name isSignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-signed-integer-data-type}\n*/\nsetReadOnly( ns, 'isSignedIntegerDataType', require( '@stdlib/array-base-assert-is-signed-integer-data-type' ) );\n\n/**\n* @name isUnsignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-unsigned-integer-data-type}\n*/\nsetReadOnly( ns, 'isUnsignedIntegerDataType', require( '@stdlib/array-base-assert-is-unsigned-integer-data-type' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"], + "mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,WAAY,QAAS,oCAAqC,CAAE,EAS7ED,EAAaC,EAAI,iBAAkB,QAAS,4CAA6C,CAAE,EAS3FD,EAAaC,EAAI,gBAAiB,QAAS,2CAA4C,CAAE,EASzFD,EAAaC,EAAI,kBAAmB,QAAS,6CAA8C,CAAE,EAS7FD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,2CAA4C,CAAE,EAS1FD,EAAaC,EAAI,iCAAkC,QAAS,+DAAgE,CAAE,EAS9HD,EAAaC,EAAI,sBAAuB,QAAS,kDAAmD,CAAE,EAStGD,EAAaC,EAAI,mBAAoB,QAAS,6CAA8C,CAAE,EAS9FD,EAAaC,EAAI,oBAAqB,QAAS,8CAA+C,CAAE,EAShGD,EAAaC,EAAI,aAAc,QAAS,wCAAyC,CAAE,EASnFD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,2BAA4B,QAAS,yDAA0D,CAAE,EASlHD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,6CAA8C,CAAE,EAS5FD,EAAaC,EAAI,8BAA+B,QAAS,4DAA6D,CAAE,EASxHD,EAAaC,EAAI,qBAAsB,QAAS,kDAAmD,CAAE,EASrGD,EAAaC,EAAI,yBAA0B,QAAS,uDAAwD,CAAE,EAS9GD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,4BAA6B,QAAS,yDAA0D,CAAE,EAKnH,OAAO,QAAUA", "names": ["setReadOnly", "ns"] } diff --git a/lib/index.js b/lib/index.js index b2057c7..77bc3db 100644 --- a/lib/index.js +++ b/lib/index.js @@ -45,6 +45,15 @@ var ns = {}; */ setReadOnly( ns, 'contains', require( '@stdlib/array-base-assert-contains' ) ); +/** +* @name hasEqualValues +* @memberof ns +* @readonly +* @type {Function} +* @see {@link module:@stdlib/array/base/assert/has-equal-values} +*/ +setReadOnly( ns, 'hasEqualValues', require( '@stdlib/array-base-assert-has-equal-values' ) ); + /** * @name hasSameValues * @memberof ns diff --git a/package.json b/package.json index e01195e..678b8c7 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ }, "dependencies": { "@stdlib/array-base-assert-contains": "^0.2.2", - "@stdlib/array-base-assert-has-same-values": "^0.2.1", + "@stdlib/array-base-assert-has-equal-values": "github:stdlib-js/array-base-assert-has-equal-values#main", + "@stdlib/array-base-assert-has-same-values": "^0.3.0", "@stdlib/array-base-assert-is-accessor-array": "^0.2.2", "@stdlib/array-base-assert-is-boolean-data-type": "^0.0.1", "@stdlib/array-base-assert-is-booleanarray": "^0.0.2", @@ -59,7 +60,7 @@ "@stdlib/utils-define-read-only-property": "^0.2.2" }, "devDependencies": { - "@stdlib/array-base-accessor": "^0.2.1", + "@stdlib/array-base-accessor": "^0.2.2", "@stdlib/array-base-accessor-getter": "^0.2.2", "@stdlib/array-base-arraylike2object": "^0.2.1", "@stdlib/array-base-getter": "^0.2.2",