@mgdis/stencil-helpers 2.2.0 → 2.2.2

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.
@@ -62,5 +62,15 @@ declare class MockCustomEvent extends Event {
62
62
  * @returns custom event mock
63
63
  */
64
64
  export declare const setupSubmitEventMock: () => typeof MockCustomEvent;
65
+ /**
66
+ * Utility function that mocks the `requestAnimationFrame` API. Recommended to execute inside `test`.
67
+ * @example
68
+ * ```
69
+ * setUpRequestAnimationFrameMock(jest.runOnlyPendingTimers);
70
+ * ```
71
+ * @param faketimer - recommended to use jest.runOnlyPendingTimers()
72
+ * @returns custom setUpRequestAnimationFrameMock mock
73
+ */
74
+ export declare const setUpRequestAnimationFrameMock: (faketimer: () => void) => (callback: FrameRequestCallback) => number;
65
75
  export {};
66
76
  //# sourceMappingURL=unit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../src/tests/unit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAElG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,yCAA0C,+BAA+B,KAAG,OAAO,gBAgCxH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,uBAAuB,4BAA6B,6BAA6B,KAAG,OAAO,cAgCvG,CAAC;AAEF,cAAM,eAAgB,SAAQ,KAAK;IACjC;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;CACb;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,QAAO,OAAO,eAY9C,CAAC"}
1
+ {"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../src/tests/unit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAElG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,yCAA0C,+BAA+B,KAAG,OAAO,gBAgCxH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,uBAAuB,4BAA6B,6BAA6B,KAAG,OAAO,cAgCvG,CAAC;AAEF,cAAM,eAAgB,SAAQ,KAAK;IACjC;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;CACb;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,QAAO,OAAO,eAY9C,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,cAAc,MAAM,IAAI,gBACxB,oBAAoB,WAe9D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mgdis/stencil-helpers",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "license": "ISC",
5
5
  "author": "Nicolas Jouanno <jouanno-n@mgdis.fr>",
6
6
  "maintainers": [
@@ -21,33 +21,25 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@stencil/core": "4.22.2"
24
+ "@stencil/core": "4.23.2"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/node": "20.17.6",
28
- "@vitest/coverage-istanbul": "1.6.0",
29
- "@vitest/coverage-v8": "1.6.0",
30
- "typedoc": "0.26.11",
31
- "typedoc-plugin-markdown": "4.2.10",
32
- "vite": "5.4.11",
33
- "vite-plugin-dts": "4.3.0",
34
- "vitest": "1.6.0",
35
- "@core-ui/eslint-config-custom": "1.0.13",
36
- "@core-ui/prettier-config": "1.0.3",
37
- "@core-ui/tsconfig": "1.0.4",
38
- "@core-ui/typedoc-config": "1.0.1",
39
- "@core-ui/vitest-config": "1.0.1"
27
+ "@types/node": "22.10.7",
28
+ "@vitest/coverage-istanbul": "2.1.8",
29
+ "@vitest/coverage-v8": "2.1.8",
30
+ "typedoc": "0.27.6",
31
+ "typedoc-plugin-markdown": "4.4.1",
32
+ "vite": "6.0.9",
33
+ "vite-plugin-dts": "4.5.0",
34
+ "vitest": "2.1.8",
35
+ "@core-ui/vitest-config": "1.0.2",
36
+ "@core-ui/typedoc-config": "1.0.2",
37
+ "@core-ui/tsconfig": "1.0.5"
40
38
  },
41
39
  "scripts": {
42
40
  "build": "vite build",
43
41
  "doc": "typedoc",
44
42
  "test": "TZ=UTC vitest",
45
- "coverage": "TZ=UTC vitest run --coverage",
46
- "lint": "pnpm lint:es && pnpm lint:prettier",
47
- "lint:fix": "pnpm lint:es:fix && pnpm lint:prettier:fix",
48
- "lint:es": "eslint '**/*.{ts,tsx}' --ignore-path ../../.gitignore",
49
- "lint:es:fix": "eslint '**/*.{ts,tsx}' --fix --ignore-path ../../.gitignore",
50
- "lint:prettier": "prettier --check '**/*.{js,ts,json}' --ignore-path ../../.gitignore",
51
- "lint:prettier:fix": "prettier --write '**/*.{js,ts,json}' --ignore-path ../../.gitignore"
43
+ "coverage": "TZ=UTC vitest run --coverage"
52
44
  }
53
45
  }