UNPKG

@shencom/utils-tree

Version:
79 lines (40 loc) 4.2 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [1.3.1](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.3.0...@shencom/utils-tree@1.3.1) (2024-10-14) ### Bug Fixes - **@shencom/utils-tree:** 调整 ts 报错 ([5703b94](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/5703b94b95f200ef6652062439ea5ec7befd4c21)) ### Features - **tree:** 修改 TreeFilter 和 TreeFilterChildEmpty 函数 ([4a8df62](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/4a8df620dd716d2c428e184adc90c6b970442967)) # [1.3.0](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.2.0...@shencom/utils-tree@1.3.0) (2024-03-14) ### Features - **@shencom/utils:** 添加 packages 的类型声明文件 ([30b59a9](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/30b59a96731fd5b3bd1d664a0cad15194daa5d7c)) # [1.2.0](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.1.0...@shencom/utils-tree@1.2.0) (2023-12-19) ### Features - **@shencom/utils-tree:** 添加 TreeFilter 方法 ([6ae5db8](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/6ae5db87f9a1171bd7a325c65c6e3d3796d0bc00)) # [1.1.0](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1...@shencom/utils-tree@1.1.0) (2023-08-11) ### Features - **packages/utils-tree:** 添加 TreeForEach 方法 ([b186ce0](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/b186ce0e9c7d4bb63cd3631f815c0eab4108e88e)) ## [1.0.1](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.6...@shencom/utils-tree@1.0.1) (2023-04-20) **Note:** Version bump only for package @shencom/utils-tree ## [1.0.1-alpha.6](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.5...@shencom/utils-tree@1.0.1-alpha.6) (2023-04-18) **Note:** Version bump only for package @shencom/utils-tree ## [1.0.1-alpha.5](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.4...@shencom/utils-tree@1.0.1-alpha.5) (2023-04-18) **Note:** Version bump only for package @shencom/utils-tree ## [1.0.1-alpha.4](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.3...@shencom/utils-tree@1.0.1-alpha.4) (2023-04-17) ### Features - **shencom/utils-tree:** 添加 TreeFindParentByKey 方法,通过树形数据中的某个 key 的值,查找所有的父级节点,返回数据中包含自身 ([bbb8833](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/bbb8833d0b1f2f3b7a61d97b8e50af2ea36caaca)) ## [1.0.1-alpha.3](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.2...@shencom/utils-tree@1.0.1-alpha.3) (2023-04-17) ### Bug Fixes - **shencom/utils-tree:** 修改 TreeFindParentIds 返回自身 id ([95c0d38](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/95c0d388c2ce34fdc2cdd276b22da8eef25bdb98)) ## [1.0.1-alpha.2](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.1...@shencom/utils-tree@1.0.1-alpha.2) (2023-04-16) ### Features - **shencom/utils-tree:** 添加 TreeFindParentNodes 方法,修改 TreeFindParentIds 返回值错误问题 ([e0b7155](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/e0b71553ab8e77503cd6cb5123c233e02dd09976)) ## [1.0.1-alpha.1](https://gitlab.shencom.cn/web/tools/npm-monorepo/compare/@shencom/utils-tree@1.0.1-alpha.0...@shencom/utils-tree@1.0.1-alpha.1) (2023-04-06) ### Bug Fixes - **shencom/utils-tree:** 修改构建输出格式 ([170cdca](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/170cdca56411875863d3563110d86fd1cb2e77bb)) ### Features - **shencom/utils-tree:** 添加 TreeMapOption 方法 ([38d8edf](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/38d8edf70cfc389177da8d5853c6c47dfda04e73)) ## 1.0.1-alpha.0 (2023-03-28) ### Features - **shencom/utils-tree:** 添加树形数据结构相关工具方法 ([fb40ad7](https://gitlab.shencom.cn/web/tools/npm-monorepo/commit/fb40ad7da55877ca3538a02aa9ba358042faee6c))