From 99e437d6bdf06bfa67da54252acee6605e9df578 Mon Sep 17 00:00:00 2001 From: Tadayoshi Sato Date: Tue, 19 Nov 2024 16:03:27 +0900 Subject: [PATCH] chore(deps): remove jquery from dependencies --- packages/hawtio/package.json | 2 -- packages/hawtio/src/setupTests.ts | 1 - yarn.lock | 25 ------------------------- 3 files changed, 28 deletions(-) diff --git a/packages/hawtio/package.json b/packages/hawtio/package.json index c918bd6a..92327fea 100644 --- a/packages/hawtio/package.json +++ b/packages/hawtio/package.json @@ -50,7 +50,6 @@ "@types/dagre": "^0.7.52", "@types/dagre-layout": "^0.8.5", "@types/jest": "^29.5.14", - "@types/jquery": "^3.5.31", "@types/node": "^22.9.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", @@ -58,7 +57,6 @@ "dagre": "^0.8.5", "eventemitter3": "^5.0.1", "jolokia.js": "^2.1.8", - "jquery": "^3.7.1", "js-logger": "^1.6.1", "jwt-decode": "^4.0.0", "keycloak-js": "^26.0.2", diff --git a/packages/hawtio/src/setupTests.ts b/packages/hawtio/src/setupTests.ts index 5f6d5124..da72fba5 100644 --- a/packages/hawtio/src/setupTests.ts +++ b/packages/hawtio/src/setupTests.ts @@ -23,7 +23,6 @@ fetchMock.mockResponse(req => { return Promise.resolve(res) }) -// To fix "jQuery is not defined" error // eslint-disable-next-line @typescript-eslint/no-explicit-any declare const global: any diff --git a/yarn.lock b/yarn.lock index 9923d70b..0c752c3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2043,7 +2043,6 @@ __metadata: "@types/dagre": "npm:^0.7.52" "@types/dagre-layout": "npm:^0.8.5" "@types/jest": "npm:^29.5.14" - "@types/jquery": "npm:^3.5.31" "@types/node": "npm:^22.9.0" "@types/react": "npm:^18.3.12" "@types/react-dom": "npm:^18.3.1" @@ -2056,7 +2055,6 @@ __metadata: jest-fetch-mock: "npm:^3.0.3" jest-watch-typeahead: "npm:^2.2.2" jolokia.js: "npm:^2.1.8" - jquery: "npm:^3.7.1" js-logger: "npm:^1.6.1" jwt-decode: "npm:^4.0.0" keycloak-js: "npm:^26.0.2" @@ -3839,15 +3837,6 @@ __metadata: languageName: node linkType: hard -"@types/jquery@npm:^3.5.31": - version: 3.5.31 - resolution: "@types/jquery@npm:3.5.31" - dependencies: - "@types/sizzle": "npm:*" - checksum: 10/c14b3db4d2c34eb44b30ae119f1983d9d94231a02d44357b08f3ef406852c777edd928eb35875e879515a96eb8eb2188ed5572a0de35f322019bf6de858ce610 - languageName: node - linkType: hard - "@types/jsdom@npm:^20.0.0": version: 20.0.1 resolution: "@types/jsdom@npm:20.0.1" @@ -4073,13 +4062,6 @@ __metadata: languageName: node linkType: hard -"@types/sizzle@npm:*": - version: 2.3.3 - resolution: "@types/sizzle@npm:2.3.3" - checksum: 10/586a9fb1f6ff3e325e0f2cc1596a460615f0bc8a28f6e276ac9b509401039dd242fa8b34496d3a30c52f5b495873922d09a9e76c50c2ab2bcc70ba3fb9c4e160 - languageName: node - linkType: hard - "@types/sockjs@npm:^0.3.36": version: 0.3.36 resolution: "@types/sockjs@npm:0.3.36" @@ -10400,13 +10382,6 @@ __metadata: languageName: node linkType: hard -"jquery@npm:^3.7.1": - version: 3.7.1 - resolution: "jquery@npm:3.7.1" - checksum: 10/17be9929f5fa37697d9848284f0d108c543318ef79ec794e130cd0c49f6c050d60c803a69e8cfa16fa19f5ff7cdb814a6905cceab0831186560c65ed113cd579 - languageName: node - linkType: hard - "js-logger@npm:^1.6.1": version: 1.6.1 resolution: "js-logger@npm:1.6.1"