From 3ae332fba2be207fc853d377b1416d10fa51370a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 19:12:12 +0100 Subject: [PATCH] fix(deps): update dependency graphql-scalars to ^1.22.4 (#816) * fix(deps): update dependency graphql-scalars to ^1.22.4 * test: reflect asserts for bigint scalar --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Rostislav Simonik --- package.json | 2 +- tests/e2e/kitchen-sink.test.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d21c4a44e..586ec3a49 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "dindist": "^1.0.2", "expand-tilde": "^2.0.2", "fs-jetpack": "^5.1.0", - "graphql-scalars": "^1.22.2", + "graphql-scalars": "^1.22.4", "kleur": "^4.1.5", "lodash": "^4.17.21", "ono": "^7.1.3", diff --git a/tests/e2e/kitchen-sink.test.ts b/tests/e2e/kitchen-sink.test.ts index 40fa1e7eb..c16406b52 100644 --- a/tests/e2e/kitchen-sink.test.ts +++ b/tests/e2e/kitchen-sink.test.ts @@ -447,7 +447,7 @@ it('A full-featured project type checks, generates expected GraphQL schema, and expect(typeof foo.someJsonField).toEqual('object') expect(typeof foo.someDateTimeField).toEqual('string') expect(typeof foo.someBytesField).toEqual('object') - expect(typeof GQLScalars.BigIntResolver.parseValue(foo.someBigIntField)).toEqual('bigint') + expect(typeof GQLScalars.BigIntResolver.parseValue(foo.someBigIntField)).toEqual('number') } finally { d(`stopping server`) diff --git a/yarn.lock b/yarn.lock index 0eaca1db8..486b6be5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4370,10 +4370,10 @@ graphql-request@^6.1.0: "@graphql-typed-document-node/core" "^3.2.0" cross-fetch "^3.1.5" -graphql-scalars@^1.22.2: - version "1.22.2" - resolved "https://registry.yarnpkg.com/graphql-scalars/-/graphql-scalars-1.22.2.tgz#6326e6fe2d0ad4228a9fea72a977e2bf26b86362" - integrity sha512-my9FB4GtghqXqi/lWSVAOPiTzTnnEzdOXCsAC2bb5V7EFNQjVjwy3cSSbUvgYOtDuDibd+ZsCDhz+4eykYOlhQ== +graphql-scalars@^1.22.4: + version "1.22.4" + resolved "https://registry.yarnpkg.com/graphql-scalars/-/graphql-scalars-1.22.4.tgz#af092b142bcfd5c1f8c53cb70ee1955ecd4ddb03" + integrity sha512-ILnv7jq5VKHLUyoaTFX7lgYrjCd6vTee9i8/B+D4zJKJT5TguOl0KkpPEbXHjmeor8AZYrVsrYUHdqRBMX1pjA== dependencies: tslib "^2.5.0"