@we-debug/miniprogram 0.48.0 → 0.49.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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.49.1](https://github.com/dlhandsome/we-debug/compare/v0.49.0...v0.49.1) (2025-10-31)
7
+
8
+ **Note:** Version bump only for package @we-debug/miniprogram
9
+
10
+
11
+
12
+
13
+
14
+ # [0.49.0](https://github.com/dlhandsome/we-debug/compare/v0.48.0...v0.49.0) (2025-10-31)
15
+
16
+
17
+ ### Features
18
+
19
+ * 添加文本编码器功能并更新相关引用 ([62c2267](https://github.com/dlhandsome/we-debug/commit/62c2267fa6bbe020a334d74f88b9e684516cba9c))
20
+
21
+
22
+
23
+
24
+
6
25
  # [0.48.0](https://github.com/dlhandsome/we-debug/compare/v0.47.4...v0.48.0) (2025-10-31)
7
26
 
8
27
  **Note:** Version bump only for package @we-debug/miniprogram
@@ -2,6 +2,7 @@ import Debug from '@we-debug/core';
2
2
 
3
3
  const store = Debug.store;
4
4
  const { isFunc } = Debug.util;
5
+ const textEncoder = Debug.textEncoder;
5
6
 
6
7
  const prefix = 'debug:tableview-';
7
8
 
@@ -91,7 +92,7 @@ Component({
91
92
  calculateDataSize(data) {
92
93
  try {
93
94
  const jsonString = JSON.stringify(data);
94
- const bytes = new TextEncoder().encode(jsonString).length;
95
+ const bytes = textEncoder.encode(jsonString).length;
95
96
 
96
97
  if (bytes < 1024) {
97
98
  return `${bytes} B`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/miniprogram",
3
- "version": "0.48.0",
3
+ "version": "0.49.1",
4
4
  "description": "we-debug miniprogram component",
5
5
  "author": {
6
6
  "name": "dlhandsome"
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@we-debug/core": "0.48.0"
29
+ "@we-debug/core": "0.49.1"
30
30
  },
31
31
  "readme": "ERROR: No README data found!",
32
32
  "_id": "@we-debug/core@0.3.5",
33
33
  "_commitid": "6c3f04b",
34
- "gitHead": "3515f68849560ba3f2f406b329d0ae05bc278185"
34
+ "gitHead": "1f2133736ec3b000dd5fbb005af01ce80c8e995a"
35
35
  }