vite-uni-dev-tool 0.0.7 → 0.0.8

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.
Files changed (46) hide show
  1. package/README.md +9 -1
  2. package/dev/components/Code/index.vue +227 -0
  3. package/dev/components/ConsoleList/Code.vue +1 -1
  4. package/dev/components/ConsoleList/ConsoleItem.vue +38 -12
  5. package/dev/components/ConsoleList/RunJSInput.vue +59 -0
  6. package/dev/components/ConsoleList/index.vue +24 -8
  7. package/dev/components/DevTool/index.vue +1 -1
  8. package/dev/components/DevToolButton/index.vue +10 -10
  9. package/dev/components/DevToolWindow/index.vue +21 -2
  10. package/dev/components/FilterInput/index.vue +1 -1
  11. package/dev/components/JsonPretty/components/CheckController/index.vue +22 -5
  12. package/dev/components/JsonPretty/components/TreeNode/index.vue +16 -15
  13. package/dev/components/JsonPretty/index.vue +77 -75
  14. package/dev/components/JsonPretty/type.ts +2 -0
  15. package/dev/components/NetworkList/NetworkDetail.vue +1 -1
  16. package/dev/components/RunJS/index.vue +128 -0
  17. package/dev/components/SettingList/index.vue +1 -1
  18. package/dev/components/UniEvent/UniEventItem.vue +72 -3
  19. package/dev/components/UniEvent/index.vue +10 -1
  20. package/dev/components/UploadList/UploadDetail.vue +1 -1
  21. package/dev/components/VirtualList/index.vue +112 -0
  22. package/dev/components/WebSocket/WebSocketList.vue +1 -1
  23. package/dev/const.ts +97 -26
  24. package/dev/core.ts +0 -2
  25. package/dev/devConsole/index.ts +21 -4
  26. package/dev/devEvent/index.ts +85 -1
  27. package/dev/devIntercept/index.ts +27 -21
  28. package/dev/devRunJS/index.ts +170 -0
  29. package/dev/devStore/index.ts +13 -3
  30. package/dev/index.d.ts +3 -2
  31. package/dev/index.js +1 -1
  32. package/dev/plugins/uniDevTool/uniDevTool.d.ts +2 -1
  33. package/dev/plugins/uniDevTool/uniDevTool.d.ts.map +1 -1
  34. package/dev/plugins/uniDevTool/uniDevTool.js +36 -38
  35. package/dev/plugins/uniGlobalComponents/uniGlobalComponents.d.ts +2 -1
  36. package/dev/plugins/uniGlobalComponents/uniGlobalComponents.d.ts.map +1 -1
  37. package/dev/plugins/uniGlobalComponents/uniGlobalComponents.js +7 -9
  38. package/dev/plugins/utils/index.d.ts +10 -2
  39. package/dev/plugins/utils/index.d.ts.map +1 -1
  40. package/dev/plugins/utils/index.js +1 -1
  41. package/dev/type.ts +38 -2
  42. package/dev/utils/index.ts +10 -1
  43. package/dev/utils/language.ts +53 -0
  44. package/dev/utils/object.ts +64 -1
  45. package/dev/utils/string.ts +5 -5
  46. package/package.json +2 -2
@@ -102,11 +102,11 @@ const stockReg =
102
102
  * 解析栈信息
103
103
  *
104
104
  * @export
105
- * @param {string} stock
105
+ * @param {string} stack
106
106
  * @return {*}
107
107
  */
108
- export function parseStock(stock: string) {
109
- const match = stock.match(stockReg);
108
+ export function parseStock(stack: string) {
109
+ const match = stack.match(stockReg);
110
110
  return {
111
111
  info: match?.[1] ?? '',
112
112
  path: match?.[2] ?? '',
@@ -116,6 +116,6 @@ export function parseStock(stock: string) {
116
116
  }
117
117
 
118
118
  const mockWXReg = /https?:\/\/usr/;
119
- export function isMockWX(stock: string) {
120
- return mockWXReg.test(stock);
119
+ export function isMockWX(stack: string) {
120
+ return mockWXReg.test(stack);
121
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-uni-dev-tool",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "vite-uni-dev-tool, debug, uni-app, 一处编写,到处调试",
5
5
  "keywords": [
6
6
  "vite",
@@ -40,4 +40,4 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  }
43
- }
43
+ }