tree-processor 0.11.0 → 0.11.1

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/README.en.md CHANGED
@@ -9,10 +9,11 @@
9
9
  <div align="center">
10
10
 
11
11
  ![version](https://img.shields.io/npm/v/tree-processor?style=flat-square&label=version)
12
- ![npm downloads (2 months)](https://img.shields.io/badge/downloads-1.7K%2F2mo-brightgreen?style=flat-square)
12
+ ![npm downloads (2 months)](https://img.shields.io/badge/downloads-1.8K%2F2mo-brightgreen?style=flat-square)
13
13
  ![bundle size](https://img.shields.io/badge/bundle-15KB-blue?style=flat-square)
14
+ ![performance](https://img.shields.io/badge/performance-%3C%200.03ms-brightgreen?style=flat-square)
14
15
  ![License](https://img.shields.io/badge/license-MIT-green?style=flat-square)
15
- ![coverage](https://img.shields.io/badge/coverage-99%25-brightgreen?style=flat-square)
16
+ ![coverage](https://img.shields.io/badge/coverage-97%25-green?style=flat-square)
16
17
 
17
18
  A lightweight tree-structured data processing utility library written in TypeScript, providing 50+ APIs including traversal, search, modification, conversion, query, analysis, and validation.
18
19
 
@@ -34,7 +35,7 @@ A lightweight tree-structured data processing utility library written in TypeScr
34
35
  - [Clone and Copy Methods](#clone-and-copy-methods)
35
36
  - [Relationship Query Methods](#relationship-query-methods)
36
37
  - [Data Validation Methods](#data-validation-methods)
37
- - [Aggregation Analysis Methods](#aggregation-analysis-methods)
38
+ - [Statistical Analysis Methods](#statistical-analysis-methods)
38
39
  - [Custom Field Names](#custom-field-names)
39
40
  - [Testing](#testing)
40
41
  - [Development](#development)
@@ -1542,9 +1543,9 @@ console.log(t.isSafeTreeDepth(customTree, 2, fieldNames)) // false
1542
1543
 
1543
1544
  ---
1544
1545
 
1545
- ## Aggregation Analysis Methods
1546
+ ## Statistical Analysis Methods
1546
1547
 
1547
- Methods for aggregating, statistics, and analyzing tree-structured data.
1548
+ Methods for statistical analysis of tree-structured data.
1548
1549
 
1549
1550
  ### reduceTree
1550
1551
 
package/README.md CHANGED
@@ -9,10 +9,11 @@
9
9
  <div align="center">
10
10
 
11
11
  ![version](https://img.shields.io/npm/v/tree-processor?style=flat-square&label=version)
12
- ![npm downloads (2 months)](https://img.shields.io/badge/downloads-1.7K%2F2mo-brightgreen?style=flat-square)
12
+ ![npm downloads (2 months)](https://img.shields.io/badge/downloads-1.8K%2F2mo-brightgreen?style=flat-square)
13
13
  ![bundle size](https://img.shields.io/badge/bundle-15KB-blue?style=flat-square)
14
+ ![performance](https://img.shields.io/badge/performance-%3C%200.03ms-brightgreen?style=flat-square)
14
15
  ![License](https://img.shields.io/badge/license-MIT-green?style=flat-square)
15
- ![coverage](https://img.shields.io/badge/coverage-99%25-brightgreen?style=flat-square)
16
+ ![coverage](https://img.shields.io/badge/coverage-97%25-green?style=flat-square)
16
17
 
17
18
  一个轻量级的树结构数据处理工具库,使用 TypeScript 编写,提供50+ API,包括遍历、查找、修改、转换、查询、分析、验证等完整功能。
18
19
 
@@ -34,7 +35,7 @@
34
35
  - [克隆复制方法](#克隆复制方法)
35
36
  - [关系查询方法](#关系查询方法)
36
37
  - [数据验证方法](#数据验证方法)
37
- - [聚合分析方法](#聚合分析方法)
38
+ - [统计分析方法](#统计分析方法)
38
39
  - [自定义字段名](#自定义字段名)
39
40
  - [测试](#测试)
40
41
  - [开发](#开发)
@@ -1542,9 +1543,9 @@ console.log(t.isSafeTreeDepth(customTree, 2, fieldNames)) // false
1542
1543
 
1543
1544
  ---
1544
1545
 
1545
- ## 聚合分析方法
1546
+ ## 统计分析方法
1546
1547
 
1547
- 对树结构数据进行聚合、统计和分析的方法。
1548
+ 对树结构数据进行统计和分析的方法。
1548
1549
 
1549
1550
  ### reduceTree
1550
1551
 
package/dist/stats.html CHANGED
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
4929
4929
  </script>
4930
4930
  <script>
4931
4931
  /*<!--*/
4932
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"tree-processor.umd.js","children":[{"name":"src/index.ts","uid":"4041ac9a-1"}]}],"isRoot":true},"nodeParts":{"4041ac9a-1":{"renderedLength":43265,"gzipLength":5705,"brotliLength":5045,"metaUid":"4041ac9a-0"}},"nodeMetas":{"4041ac9a-0":{"id":"/src/index.ts","moduleParts":{"tree-processor.umd.js":"4041ac9a-1"},"imported":[],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.57.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4932
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"tree-processor.esm.js","children":[{"name":"src/index.ts","uid":"956e6e15-1"}]}],"isRoot":true},"nodeParts":{"956e6e15-1":{"renderedLength":43265,"gzipLength":5705,"brotliLength":5045,"metaUid":"956e6e15-0"}},"nodeMetas":{"956e6e15-0":{"id":"/src/index.ts","moduleParts":{"tree-processor.esm.js":"956e6e15-1"},"imported":[],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.57.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
4933
 
4934
4934
  const run = () => {
4935
4935
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tree-processor",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Lightweight tree-structured data processing library with 50+ APIs (traversal, search, modification, conversion, query, analysis, validation). Supports ESM/CJS/UMD, tree-shaking, zero dependencies",
5
5
  "main": "dist/tree-processor.cjs.js",
6
6
  "module": "dist/tree-processor.esm.js",