Skip to content

Commit d7093c3

Browse files
Update get-value to v4 (#4505)
Updates `get-value` to v4. The package exposes a named runtime export but still publishes default-only TypeScript metadata, so the existing typed default import is retained with a narrow lint exception.\n\nThe full lint pass plus the focused `@graphiql/react` build and 26 tests pass. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Trevor Scheer <trevor.scheer@gmail.com>
1 parent 038d820 commit d7093c3

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

packages/graphiql-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@radix-ui/react-visually-hidden": "^1.2",
5858
"clsx": "^1.2.1",
5959
"framer-motion": "^13.2",
60-
"get-value": "^3.0.1",
60+
"get-value": "^4.1.0",
6161
"graphql-language-service": "^5.7.0",
6262
"jsonc-parser": "^3.3.1",
6363
"markdown-it": "^15.0.1",

packages/graphiql-react/src/stores/execution.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import {
1111
import { ExecutionResult, GraphQLError, print } from 'graphql';
1212
import { getFragmentDependenciesForAST } from 'graphql-language-service';
1313
import setValue from 'set-value';
14+
// The published package types only expose the default export.
15+
// oxlint-disable-next-line import/no-named-as-default
1416
import getValue from 'get-value';
1517

1618
import type { StateCreator } from 'zustand';

pnpm-lock.yaml

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)