mhz-helpers 1.2.23 → 1.2.25

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.
@@ -1,12 +1,5 @@
1
- interface NodeWithProps {
2
- type: number;
3
- props: {
4
- type: number;
5
- name: string;
6
- }[];
7
- }
1
+ import { RootNode, TemplateChildNode } from '@vue/compiler-core';
8
2
  export declare function dataTest(value: string): string;
9
- export declare function removeDataTest(node: NodeWithProps): void;
3
+ export declare function removeDataTest(node: RootNode | TemplateChildNode): void;
10
4
  export declare function wait(time?: number): Promise<void>;
11
5
  export declare function withSetup<T>(composable: () => Promise<T>): Promise<void>;
12
- export {};
package/dist/index.js CHANGED
@@ -2718,11 +2718,11 @@ var Si = class extends we {
2718
2718
  }
2719
2719
  trackResult(t, e) {
2720
2720
  return new Proxy(t, {
2721
- get: (n, r) => (this.trackProp(r), e?.(r), r === "promise" && !this.options.experimental_prefetchInRender && this.#a.status === "pending" && this.#a.reject(
2721
+ get: (n, r) => (this.trackProp(r), e?.(r), r === "promise" && (this.trackProp("data"), !this.options.experimental_prefetchInRender && this.#a.status === "pending" && this.#a.reject(
2722
2722
  new Error(
2723
2723
  "experimental_prefetchInRender feature flag is not enabled"
2724
2724
  )
2725
- ), Reflect.get(n, r))
2725
+ )), Reflect.get(n, r))
2726
2726
  });
2727
2727
  }
2728
2728
  trackProp(t) {
@@ -4861,7 +4861,9 @@ function Ma(t) {
4861
4861
  return `[data-test="${t}"]`;
4862
4862
  }
4863
4863
  function ka(t) {
4864
- t.type === 1 && (t.props = t.props.filter((e) => e.type === 6 ? e.name !== "data-test" : !0));
4864
+ t.type === 1 && "props" in t && (t.props = t.props.filter(
4865
+ (e) => e.type === 6 ? e.name !== "data-test" : !0
4866
+ ));
4865
4867
  }
4866
4868
  async function La(t) {
4867
4869
  await new Promise((e) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mhz-helpers",
3
3
  "description": "Mhz helpers and composables",
4
- "version": "1.2.23",
4
+ "version": "1.2.25",
5
5
  "author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -24,40 +24,40 @@
24
24
  "test:cov": "vitest run --coverage"
25
25
  },
26
26
  "dependencies": {
27
- "@tanstack/vue-query": "5.90.2",
27
+ "@tanstack/vue-query": "5.90.5",
28
28
  "@vueuse/core": "13.9.0",
29
29
  "@vueuse/integrations": "13.9.0",
30
30
  "async-validator": "4.2.5",
31
31
  "axios": "1.12.2",
32
32
  "vue": "3.5.22",
33
- "vue-router": "4.5.1"
33
+ "vue-router": "4.6.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@eslint/js": "9.37.0",
37
- "@types/node": "24.7.2",
36
+ "@eslint/js": "9.38.0",
37
+ "@types/node": "24.8.1",
38
38
  "@vitejs/plugin-vue": "6.0.1",
39
39
  "@vitest/coverage-istanbul": "3.2.4",
40
- "eslint": "9.37.0",
40
+ "eslint": "9.38.0",
41
41
  "eslint-config-prettier": "10.1.8",
42
42
  "eslint-import-resolver-typescript": "4.4.4",
43
43
  "eslint-plugin-import-x": "4.16.1",
44
44
  "eslint-plugin-sonarjs": "3.0.5",
45
45
  "eslint-plugin-prettier": "5.5.4",
46
46
  "eslint-plugin-unicorn": "61.0.2",
47
- "eslint-plugin-vue": "10.5.0",
47
+ "eslint-plugin-vue": "10.5.1",
48
48
  "globals": "16.4.0",
49
- "happy-dom": "20.0.0",
49
+ "happy-dom": "20.0.5",
50
50
  "postcss-html": "1.8.0",
51
51
  "prettier": "3.6.2",
52
52
  "stylelint": "16.25.0",
53
- "stylelint-config-recess-order": "7.3.0",
53
+ "stylelint-config-recess-order": "7.4.0",
54
54
  "stylelint-config-recommended-scss": "16.0.2",
55
55
  "stylelint-config-recommended-vue": "1.6.1",
56
56
  "stylelint-order": "7.0.0",
57
57
  "stylelint-prettier": "5.0.3",
58
58
  "typescript": "5.9.3",
59
- "typescript-eslint": "8.46.0",
60
- "vite": "7.1.9",
59
+ "typescript-eslint": "8.46.1",
60
+ "vite": "7.1.10",
61
61
  "vite-plugin-dts": "4.5.4",
62
62
  "vitest": "3.2.4",
63
63
  "vue-eslint-parser": "10.2.0",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "peerDependencies": {
68
68
  "vue": "3.5.22",
69
- "vue-router": "4.5.1"
69
+ "vue-router": "4.6.3"
70
70
  },
71
71
  "engines": {
72
72
  "npm": ">=11.6.1",