diff --git a/packages/datagateway-common/package.json b/packages/datagateway-common/package.json index bf8f05482..cb1b46024 100644 --- a/packages/datagateway-common/package.json +++ b/packages/datagateway-common/package.json @@ -60,7 +60,7 @@ "eslint-config-prettier": "8.10.0", "eslint-config-react-app": "7.0.0", "eslint-plugin-cypress": "2.15.1", - "eslint-plugin-prettier": "4.2.1", + "eslint-plugin-prettier": "5.1.3", "jest-fail-on-console": "3.1.1", "lint-staged": "13.3.0", "react": "17.0.2", diff --git a/packages/datagateway-dataview/package.json b/packages/datagateway-dataview/package.json index 3529f637d..7f93d3912 100644 --- a/packages/datagateway-dataview/package.json +++ b/packages/datagateway-dataview/package.json @@ -26,7 +26,7 @@ "date-fns": "2.30.0", "eslint-config-prettier": "8.10.0", "eslint-plugin-cypress": "2.15.1", - "eslint-plugin-prettier": "4.2.1", + "eslint-plugin-prettier": "5.1.3", "history": "4.10.1", "i18next": "22.0.3", "i18next-browser-languagedetector": "7.2.0", diff --git a/packages/datagateway-download/package.json b/packages/datagateway-download/package.json index 58b082748..d78467b1c 100644 --- a/packages/datagateway-download/package.json +++ b/packages/datagateway-download/package.json @@ -22,7 +22,7 @@ "date-fns-tz": "2.0.0", "eslint-config-prettier": "8.10.0", "eslint-plugin-cypress": "2.15.1", - "eslint-plugin-prettier": "4.2.1", + "eslint-plugin-prettier": "5.1.3", "history": "4.10.1", "i18next": "22.0.3", "i18next-browser-languagedetector": "7.2.0", diff --git a/packages/datagateway-search/package.json b/packages/datagateway-search/package.json index 9a31d29ef..8b03b3c85 100644 --- a/packages/datagateway-search/package.json +++ b/packages/datagateway-search/package.json @@ -27,7 +27,7 @@ "date-fns": "2.30.0", "eslint-config-prettier": "8.10.0", "eslint-plugin-cypress": "2.15.1", - "eslint-plugin-prettier": "4.2.1", + "eslint-plugin-prettier": "5.1.3", "history": "4.10.1", "i18next": "22.0.3", "i18next-browser-languagedetector": "7.2.0", diff --git a/yarn.lock b/yarn.lock index 88f09467a..f8d4a7c7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2675,6 +2675,13 @@ __metadata: languageName: node linkType: hard +"@pkgr/core@npm:^0.1.0": + version: 0.1.1 + resolution: "@pkgr/core@npm:0.1.1" + checksum: 6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba + languageName: node + linkType: hard + "@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.3": version: 0.5.10 resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.10" @@ -5004,26 +5011,6 @@ __metadata: languageName: node linkType: hard -"body-parser@npm:1.20.1": - version: 1.20.1 - resolution: "body-parser@npm:1.20.1" - dependencies: - bytes: 3.1.2 - content-type: ~1.0.4 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.11.0 - raw-body: 2.5.1 - type-is: ~1.6.18 - unpipe: 1.0.0 - checksum: f1050dbac3bede6a78f0b87947a8d548ce43f91ccc718a50dd774f3c81f2d8b04693e52acf62659fad23101827dd318da1fb1363444ff9a8482b886a3e4a5266 - languageName: node - linkType: hard - "body-parser@npm:1.20.2": version: 1.20.2 resolution: "body-parser@npm:1.20.2" @@ -5869,13 +5856,6 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.5.0": - version: 0.5.0 - resolution: "cookie@npm:0.5.0" - checksum: 1f4bd2ca5765f8c9689a7e8954183f5332139eb72b6ff783d8947032ec1fdf43109852c178e21a953a30c0dd42257828185be01b49d1eb1a67fd054ca588a180 - languageName: node - linkType: hard - "cookie@npm:0.6.0": version: 0.6.0 resolution: "cookie@npm:0.6.0" @@ -6423,7 +6403,7 @@ __metadata: eslint-config-prettier: 8.10.0 eslint-config-react-app: 7.0.0 eslint-plugin-cypress: 2.15.1 - eslint-plugin-prettier: 4.2.1 + eslint-plugin-prettier: 5.1.3 hex-to-rgba: 2.0.1 history: 4.10.1 i18next: 22.0.3 @@ -6499,7 +6479,7 @@ __metadata: eslint-config-prettier: 8.10.0 eslint-config-react-app: 7.0.0 eslint-plugin-cypress: 2.15.1 - eslint-plugin-prettier: 4.2.1 + eslint-plugin-prettier: 5.1.3 express: 4.19.2 history: 4.10.1 i18next: 22.0.3 @@ -6571,7 +6551,7 @@ __metadata: eslint-config-prettier: 8.10.0 eslint-config-react-app: 7.0.0 eslint-plugin-cypress: 2.15.1 - eslint-plugin-prettier: 4.2.1 + eslint-plugin-prettier: 5.1.3 history: 4.10.1 i18next: 22.0.3 i18next-browser-languagedetector: 7.2.0 @@ -6642,7 +6622,7 @@ __metadata: eslint-config-prettier: 8.10.0 eslint-config-react-app: 7.0.0 eslint-plugin-cypress: 2.15.1 - eslint-plugin-prettier: 4.2.1 + eslint-plugin-prettier: 5.1.3 express: 4.19.2 history: 4.10.1 i18next: 22.0.3 @@ -7720,18 +7700,23 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:4.2.1": - version: 4.2.1 - resolution: "eslint-plugin-prettier@npm:4.2.1" +"eslint-plugin-prettier@npm:5.1.3": + version: 5.1.3 + resolution: "eslint-plugin-prettier@npm:5.1.3" dependencies: prettier-linter-helpers: ^1.0.0 + synckit: ^0.8.6 peerDependencies: - eslint: ">=7.28.0" - prettier: ">=2.0.0" + "@types/eslint": ">=8.0.0" + eslint: ">=8.0.0" + eslint-config-prettier: "*" + prettier: ">=3.0.0" peerDependenciesMeta: + "@types/eslint": + optional: true eslint-config-prettier: optional: true - checksum: b9e839d2334ad8ec7a5589c5cb0f219bded260839a857d7a486997f9870e95106aa59b8756ff3f37202085ebab658de382b0267cae44c3a7f0eb0bcc03a4f6d6 + checksum: eb2a7d46a1887e1b93788ee8f8eb81e0b6b2a6f5a66a62bc6f375b033fc4e7ca16448da99380be800042786e76cf5c0df9c87a51a2c9b960ed47acbd7c0b9381 languageName: node linkType: hard @@ -8098,7 +8083,7 @@ __metadata: languageName: node linkType: hard -"express@npm:4.19.2": +"express@npm:4.19.2, express@npm:^4.17.3": version: 4.19.2 resolution: "express@npm:4.19.2" dependencies: @@ -8137,45 +8122,6 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.17.3": - version: 4.18.2 - resolution: "express@npm:4.18.2" - dependencies: - accepts: ~1.3.8 - array-flatten: 1.1.1 - body-parser: 1.20.1 - content-disposition: 0.5.4 - content-type: ~1.0.4 - cookie: 0.5.0 - cookie-signature: 1.0.6 - debug: 2.6.9 - depd: 2.0.0 - encodeurl: ~1.0.2 - escape-html: ~1.0.3 - etag: ~1.8.1 - finalhandler: 1.2.0 - fresh: 0.5.2 - http-errors: 2.0.0 - merge-descriptors: 1.0.1 - methods: ~1.1.2 - on-finished: 2.4.1 - parseurl: ~1.3.3 - path-to-regexp: 0.1.7 - proxy-addr: ~2.0.7 - qs: 6.11.0 - range-parser: ~1.2.1 - safe-buffer: 5.2.1 - send: 0.18.0 - serve-static: 1.15.0 - setprototypeof: 1.2.0 - statuses: 2.0.1 - type-is: ~1.6.18 - utils-merge: 1.0.1 - vary: ~1.1.2 - checksum: 3c4b9b076879442f6b968fe53d85d9f1eeacbb4f4c41e5f16cc36d77ce39a2b0d81b3f250514982110d815b2f7173f5561367f9110fcc541f9371948e8c8b037 - languageName: node - linkType: hard - "extend@npm:~3.0.2": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -13544,18 +13490,6 @@ __metadata: languageName: node linkType: hard -"raw-body@npm:2.5.1": - version: 2.5.1 - resolution: "raw-body@npm:2.5.1" - dependencies: - bytes: 3.1.2 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - unpipe: 1.0.0 - checksum: 5362adff1575d691bb3f75998803a0ffed8c64eabeaa06e54b4ada25a0cd1b2ae7f4f5ec46565d1bec337e08b5ac90c76eaa0758de6f72a633f025d754dec29e - languageName: node - linkType: hard - "raw-body@npm:2.5.2": version: 2.5.2 resolution: "raw-body@npm:2.5.2" @@ -15471,6 +15405,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.8.6": + version: 0.8.8 + resolution: "synckit@npm:0.8.8" + dependencies: + "@pkgr/core": ^0.1.0 + tslib: ^2.6.2 + checksum: 9ed5d33abb785f5f24e2531efd53b2782ca77abf7912f734d170134552b99001915531be5a50297aa45c5701b5c9041e8762e6cd7a38e41e2461c1e7fccdedf8 + languageName: node + linkType: hard + "tailwindcss@npm:^3.0.2": version: 3.2.4 resolution: "tailwindcss@npm:3.2.4" @@ -15793,7 +15737,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.6.0, tslib@npm:^2.0.3, tslib@npm:^2.1.0": +"tslib@npm:2.6.0": version: 2.6.0 resolution: "tslib@npm:2.6.0" checksum: c01066038f950016a18106ddeca4649b4d76caa76ec5a31e2a26e10586a59fceb4ee45e96719bf6c715648e7c14085a81fee5c62f7e9ebee68e77a5396e5538f @@ -15807,6 +15751,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.6.2": + version: 2.6.2 + resolution: "tslib@npm:2.6.2" + checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0"