Skip to content

Commit 0e30a1d

Browse files
Bump the all-dependencies group across 1 directory with 18 updates (#123)
* Bump the all-dependencies group across 1 directory with 18 updates Bumps the all-dependencies group with 18 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@grafana/plugin-ui](https://github.com/grafana/plugin-ui) | `0.9.5` | `0.10.1` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.18.0` | `9.19.0` | | [@grafana/data](https://github.com/grafana/grafana/tree/HEAD/packages/grafana-data) | `11.4.0` | `11.5.1` | | [@grafana/runtime](https://github.com/grafana/grafana/tree/HEAD/packages/grafana-runtime) | `11.4.0` | `11.5.1` | | [@grafana/ui](https://github.com/grafana/grafana/tree/HEAD/packages/grafana-ui) | `11.4.0` | `11.5.1` | | [@stylistic/eslint-plugin-ts](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-ts) | `2.13.0` | `3.0.1` | | [@swc/core](https://github.com/swc-project/swc) | `1.10.8` | `1.10.12` | | [@testing-library/user-event](https://github.com/testing-library/user-event) | `14.6.0` | `14.6.1` | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.14` | `4.17.15` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.10.7` | `22.13.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.20.0` | `8.22.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.20.0` | `8.22.0` | | [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `8.17.2` | `8.17.3` | | [eslint](https://github.com/eslint/eslint) | `9.18.0` | `9.19.0` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `50.6.2` | `50.6.3` | | [lefthook](https://github.com/evilmartians/lefthook) | `1.10.9` | `1.10.10` | | [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.1.3` | `7.1.5` | | [rollup](https://github.com/rollup/rollup) | `4.31.0` | `4.34.1` | Signed-off-by: dependabot[bot] <[email protected]> * Add mock for Intersection observer --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: idastambuk <[email protected]>
1 parent 2f8aa66 commit 0e30a1d

File tree

3 files changed

+978
-992
lines changed

3 files changed

+978
-992
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,32 @@
2828
"license": "Apache-2.0",
2929
"dependencies": {
3030
"@grafana/async-query-data": "0.4.0",
31-
"@grafana/plugin-ui": "^0.9.3"
31+
"@grafana/plugin-ui": "^0.10.1"
3232
},
3333
"devDependencies": {
3434
"@eslint/eslintrc": "^3.1.0",
3535
"@eslint/js": "^9.13.0",
36-
"@grafana/data": "11.4.0",
36+
"@grafana/data": "11.5.1",
3737
"@grafana/eslint-config": "^8.0.0",
38-
"@grafana/runtime": "11.4.0",
38+
"@grafana/runtime": "11.5.1",
3939
"@grafana/tsconfig": "^2.0.0",
40-
"@grafana/ui": "11.4.0",
40+
"@grafana/ui": "11.5.1",
4141
"@rollup/plugin-node-resolve": "^16.0.0",
42-
"@stylistic/eslint-plugin-ts": "^2.10.0",
42+
"@stylistic/eslint-plugin-ts": "^3.0.1",
4343
"@swc/core": "^1.7.28",
4444
"@swc/jest": "^0.2.36",
4545
"@testing-library/jest-dom": "6.6.3",
4646
"@testing-library/react": "16.2.0",
4747
"@testing-library/react-hooks": "8.0.1",
4848
"@testing-library/user-event": "^14.5.2",
4949
"@types/jest": "29.5.14",
50-
"@types/lodash": "4.17.14",
51-
"@types/node": "22.10.7",
50+
"@types/lodash": "4.17.15",
51+
"@types/node": "22.13.0",
5252
"@types/react": "18.3.12",
5353
"@types/react-dom": "18.3.1",
5454
"@typescript-eslint/eslint-plugin": "^8.12.2",
5555
"@typescript-eslint/parser": "^8.12.2",
56-
"cspell": "8.17.2",
56+
"cspell": "8.17.3",
5757
"esbuild": "^0.24.0",
5858
"eslint": "^9.13.0",
5959
"eslint-config-prettier": "^10.0.1",
@@ -72,7 +72,7 @@
7272
"react-router-dom": "^7.1.1",
7373
"react-select-event": "^5.5.1",
7474
"rimraf": "^6.0.1",
75-
"rollup": "4.31.0",
75+
"rollup": "4.34.1",
7676
"rollup-plugin-dts": "^6.1.1",
7777
"rollup-plugin-esbuild": "^6.1.1",
7878
"rollup-plugin-node-externals": "^8.0.0"

src/tests/setupTests.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ Object.defineProperty(global, 'matchMedia', {
1818
dispatchEvent: jest.fn(),
1919
})),
2020
});
21+
22+
// mock the intersection observer and just say everything is in view
23+
const mockIntersectionObserver = jest
24+
.fn()
25+
.mockImplementation((callback: (arg: IntersectionObserverEntry[]) => void) => ({
26+
observe: jest.fn(),
27+
unobserve: jest.fn(),
28+
disconnect: jest.fn(),
29+
}));
30+
global.IntersectionObserver = mockIntersectionObserver;

0 commit comments

Comments
 (0)