Skip to content

Commit

Permalink
Bump the all-dependencies group across 1 directory with 18 updates (#123
Browse files Browse the repository at this point in the history
)

* 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]>
  • Loading branch information
dependabot[bot] and idastambuk authored Feb 3, 2025
1 parent 2f8aa66 commit 0e30a1d
Show file tree
Hide file tree
Showing 3 changed files with 978 additions and 992 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,32 @@
"license": "Apache-2.0",
"dependencies": {
"@grafana/async-query-data": "0.4.0",
"@grafana/plugin-ui": "^0.9.3"
"@grafana/plugin-ui": "^0.10.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@grafana/data": "11.4.0",
"@grafana/data": "11.5.1",
"@grafana/eslint-config": "^8.0.0",
"@grafana/runtime": "11.4.0",
"@grafana/runtime": "11.5.1",
"@grafana/tsconfig": "^2.0.0",
"@grafana/ui": "11.4.0",
"@grafana/ui": "11.5.1",
"@rollup/plugin-node-resolve": "^16.0.0",
"@stylistic/eslint-plugin-ts": "^2.10.0",
"@stylistic/eslint-plugin-ts": "^3.0.1",
"@swc/core": "^1.7.28",
"@swc/jest": "^0.2.36",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.2.0",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.14",
"@types/node": "22.10.7",
"@types/lodash": "4.17.15",
"@types/node": "22.13.0",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"cspell": "8.17.2",
"cspell": "8.17.3",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^10.0.1",
Expand All @@ -72,7 +72,7 @@
"react-router-dom": "^7.1.1",
"react-select-event": "^5.5.1",
"rimraf": "^6.0.1",
"rollup": "4.31.0",
"rollup": "4.34.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-node-externals": "^8.0.0"
Expand Down
10 changes: 10 additions & 0 deletions src/tests/setupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ Object.defineProperty(global, 'matchMedia', {
dispatchEvent: jest.fn(),
})),
});

// mock the intersection observer and just say everything is in view
const mockIntersectionObserver = jest
.fn()
.mockImplementation((callback: (arg: IntersectionObserverEntry[]) => void) => ({
observe: jest.fn(),
unobserve: jest.fn(),
disconnect: jest.fn(),
}));
global.IntersectionObserver = mockIntersectionObserver;
Loading

0 comments on commit 0e30a1d

Please sign in to comment.