@stryke/type-checks 0.5.14 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -4
- package/README.md +2 -2
- package/dist/is-set-array.cjs +1 -1
- package/dist/is-set-array.mjs +1 -1
- package/dist/is-set-array.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Changelog for Stryke - Type Checks
|
|
4
|
+
|
|
5
|
+
## [0.5.15](https://github.com/storm-software/stryke/releases/tag/type-checks%400.5.15) (12/30/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **type-checks:** Added `Array.isArray` to `isSetArray` check to improve typing
|
|
10
|
+
([cdf8253](https://github.com/storm-software/stryke/commit/cdf8253))
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Update `README.md` markdown files
|
|
15
|
+
([634a715](https://github.com/storm-software/stryke/commit/634a715))
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated **types** to **v0.10.29**
|
|
20
|
+
|
|
21
|
+
## [0.5.14](https://github.com/storm-software/stryke/releases/tag/type-checks%400.5.14) (12/19/2025)
|
|
22
|
+
|
|
23
|
+
### Updated Dependencies
|
|
24
|
+
|
|
25
|
+
- Updated **types** to **v0.10.28**
|
|
26
|
+
|
|
1
27
|

|
|
2
28
|
|
|
3
29
|
# Changelog for Stryke - Type Checks
|
|
@@ -13,10 +39,6 @@
|
|
|
13
39
|
|
|
14
40
|
- Updated **types** to **v0.10.27**
|
|
15
41
|
|
|
16
|
-

|
|
17
|
-
|
|
18
|
-
# Changelog for Stryke - Type Checks
|
|
19
|
-
|
|
20
42
|
## [0.5.12](https://github.com/storm-software/stryke/releases/tag/type-checks%400.5.12) (12/18/2025)
|
|
21
43
|
|
|
22
44
|
### Updated Dependencies
|
package/README.md
CHANGED
|
@@ -28,13 +28,13 @@ This package is part of Storm Software's **💥 Stryke** monorepo. Stryke packag
|
|
|
28
28
|
|
|
29
29
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
30
30
|
|
|
31
|
-
[](https://prettier.io/) [](https://prettier.io/) [](http://commitizen.github.io/cz-cli/)  
|
|
32
32
|
|
|
33
33
|
> [!IMPORTANT] Important
|
|
34
34
|
> This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
|
|
35
35
|
|
|
36
36
|
<div align="center">
|
|
37
|
-
<
|
|
37
|
+
<a href="https://github.com/storm-software/stryke" target="_blank"><b>Be sure to ⭐ this repository on GitHub so you can keep up to date on any daily progress!</b></a>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
40
40
|
<br />
|
package/dist/is-set-array.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./is-array-like.cjs`),t=t=>e.isArrayLike(t)&&t.length>0;exports.isSetArray=t;
|
|
1
|
+
const e=require(`./is-array-like.cjs`),t=t=>(Array.isArray(t)||e.isArrayLike(t))&&t.length>0;exports.isSetArray=t;
|
package/dist/is-set-array.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{isArrayLike as e}from"./is-array-like.mjs";const t=t=>e(t)&&t.length>0;export{t as isSetArray};
|
|
1
|
+
import{isArrayLike as e}from"./is-array-like.mjs";const t=t=>(Array.isArray(t)||e(t))&&t.length>0;export{t as isSetArray};
|
|
2
2
|
//# sourceMappingURL=is-set-array.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-array.mjs","names":[],"sources":["../src/is-set-array.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isArrayLike } from \"./is-array-like\";\n\n/**\n * Check if the provided value is a non-empty array-like object\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is a non-empty array-like object\n */\nexport const isSetArray = (value: any): boolean => {\n return isArrayLike(value) && value.length > 0;\n};\n"],"mappings":"kDA0BA,MAAa,EAAc,
|
|
1
|
+
{"version":3,"file":"is-set-array.mjs","names":[],"sources":["../src/is-set-array.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isArrayLike } from \"./is-array-like\";\n\n/**\n * Check if the provided value is a non-empty array-like object\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is a non-empty array-like object\n */\nexport const isSetArray = (value: any): boolean => {\n return (Array.isArray(value) || isArrayLike(value)) && value.length > 0;\n};\n"],"mappings":"kDA0BA,MAAa,EAAc,IACjB,MAAM,QAAQ,EAAM,EAAI,EAAY,EAAM,GAAK,EAAM,OAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stryke/type-checks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various type-check functions to validate TypeScript values.",
|
|
6
6
|
"repository": {
|
|
@@ -194,5 +194,5 @@
|
|
|
194
194
|
"types": "./dist/index.d.cts",
|
|
195
195
|
"devDependencies": { "tsdown": "^0.17.2" },
|
|
196
196
|
"publishConfig": { "access": "public" },
|
|
197
|
-
"gitHead": "
|
|
197
|
+
"gitHead": "39561a587f720280def647651f4aad70bca3333b"
|
|
198
198
|
}
|