diff --git a/package.json b/package.json index 1969517..d0fcf3b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@types/vscode": "^1.72.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", - "@vscode/test-electron": "^2.1.5", + "@vscode/test-electron": "^2.3.9", "eslint": "^8.24.0", "eslint-plugin-prettier": "^5.0.0", "glob": "^10.3.3", @@ -169,4 +169,4 @@ } ] } -} +} \ No newline at end of file diff --git a/src/test/suite/helper.ts b/src/test/suite/helper.ts index f5476ef..01248f7 100644 --- a/src/test/suite/helper.ts +++ b/src/test/suite/helper.ts @@ -1,5 +1,5 @@ -import { Client } from "../../client"; import * as vscode from "vscode"; +import { Client } from "../../client"; export async function activateFQLExtension() { const ext = vscode.extensions.getExtension("fauna.fauna-vscode"); @@ -20,7 +20,7 @@ export async function sleep(ms: number) { export function getClient(): Client { if (process.env.VSCODE_DB_SECRET) { - return getDevDB(process.env.VSCODE_DB_SECRET); + return getDB(process.env.VSCODE_DB_SECRET); } else { return getLocalClient(); } @@ -33,9 +33,9 @@ export function getLocalClient(): Client { }); } -export function getDevDB(secret: string): Client { +export function getDB(secret: string): Client { return new Client({ - endpoint: new URL("https://db.dev.faunadb.net"), + endpoint: new URL("https://db.fauna.com"), secret: secret, }); } diff --git a/yarn.lock b/yarn.lock index 3b9e46d..028a3ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -244,15 +244,15 @@ "@typescript-eslint/types" "6.0.0" eslint-visitor-keys "^3.4.1" -"@vscode/test-electron@^2.1.5": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@vscode/test-electron/-/test-electron-2.3.3.tgz#e648700d5848eccfda99efa5d839356cfbe8cd4e" - integrity sha512-hgXCkDP0ibboF1K6seqQYyHAzCURgTwHS/6QU7slhwznDLwsRwg9bhfw1CZdyUEw8vvCmlrKWnd7BlQnI0BC4w== +"@vscode/test-electron@^2.3.9": + version "2.3.9" + resolved "https://registry.yarnpkg.com/@vscode/test-electron/-/test-electron-2.3.9.tgz#f61181392634b408411e4302aef6e1cd2dd41474" + integrity sha512-z3eiChaCQXMqBnk2aHHSEkobmC2VRalFQN0ApOAtydL172zXGxTwGrRtviT5HnUB+Q+G3vtEYFtuQkYqBzYgMA== dependencies: http-proxy-agent "^4.0.1" https-proxy-agent "^5.0.0" jszip "^3.10.1" - semver "^7.3.8" + semver "^7.5.2" acorn-jsx@^5.3.2: version "5.3.2" @@ -1483,13 +1483,20 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -semver@^7.3.7, semver@^7.3.8, semver@^7.5.0: +semver@^7.3.7, semver@^7.5.0: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" +semver@^7.5.2: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + serialize-javascript@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8"