@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 CHANGED
@@ -1,3 +1,29 @@
1
+ ![Storm Software's logo banner](https://public.storm-cdn.com/storm-software/banner-1280x320.gif)
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
  ![Storm Software's logo banner](https://public.storm-cdn.com/storm-software/optimized/banner-1280x320.gif)
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
- ![Storm Software's logo banner](https://public.storm-cdn.com/storm-software/banner-1280x320.gif)
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
- [![Version](https://img.shields.io/badge/version-0.5.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/stryke/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
+ [![Version](https://img.shields.io/badge/version-0.5.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/stryke/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
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
- <b>Be sure to ⭐ this repository on <a href="https://github.com/storm-software/stryke" target="_blank">GitHub</a> so you can keep up to date on any daily progress!</b>
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 />
@@ -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;
@@ -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,GAClB,EAAY,EAAM,EAAI,EAAM,OAAS"}
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.14",
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": "91cfc26c66c3042fd25e7c39d65f2a9cc88fb920"
197
+ "gitHead": "39561a587f720280def647651f4aad70bca3333b"
198
198
  }