more major bumps (#7244)

* major bumps

* fix prettier api change

* remove prettier

* refresh lock
This commit is contained in:
Jack Kavanagh 2024-04-05 17:46:06 +01:00 committed by GitHub
parent 63ab3857cb
commit 6d5902711e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 731 additions and 813 deletions

1534
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,14 +8,14 @@
"types": "dist/send-request/index.d.ts",
"dependencies": {
"@getinsomnia/node-libcurl": "^2.4.1-9",
"@segment/analytics-node": "1.0.0",
"@segment/analytics-node": "2.1.0",
"@stoplight/spectral-core": "^1.18.3",
"@stoplight/spectral-formats": "^1.6.0",
"@stoplight/spectral-rulesets": "^1.18.1",
"aws4": "^1.12.0",
"axios": "^1.6.8",
"clone": "^2.1.2",
"color": "^3.1.2",
"color": "^4.2.3",
"fuzzysort": "^1.2.1",
"hawk": "9.0.2",
"hkdf": "0.0.2",

View File

@ -44,7 +44,7 @@
"@grpc/proto-loader": "^0.7.12",
"@jest/globals": "^29.7.0",
"@seald-io/nedb": "^4.0.4",
"@segment/analytics-node": "1.0.0",
"@segment/analytics-node": "2.1.0",
"@sentry/electron": "^3.0.7",
"@stoplight/spectral-core": "^1.18.3",
"@stoplight/spectral-formats": "^1.6.0",
@ -56,7 +56,7 @@
"chai": "^4.3.4",
"chai-json-schema": "1.5.1",
"clone": "^2.1.2",
"color": "^3.1.2",
"color": "^4.2.3",
"content-disposition": "^0.5.4",
"dompurify": "^3.0.11",
"electron-context-menu": "^3.6.1",

View File

@ -262,7 +262,7 @@ export const GraphQLEditor: FC<Props> = ({
const { editorIndentWithTabs, editorIndentSize } = settings;
const beautifyRequestBody = async () => {
const { body } = state;
const prettyQuery = (await import('prettier')).format(body.query, {
const prettyQuery = await (await import('prettier')).format(body.query, {
parser: 'graphql',
useTabs: editorIndentWithTabs,
tabWidth: editorIndentSize,