Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"clean-dist": "rimraf \"packages/**/dist\" && rimraf \".bob\"",
"lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --ext .ts .",
"postbuild": "tsx scripts/postbuild.ts",
"postinstall": "patch-package && husky install",
"postinstall": "patch-package",
"prerelease": "yarn build",
"prettier": "prettier --cache --ignore-path .prettierignore --write --list-different .",
"prettier:check": "prettier --cache --ignore-path .prettierignore --check .",
Expand Down Expand Up @@ -68,7 +68,7 @@
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-standard": "5.0.0",
"globby": "11.1.0",
"graphql": "16.9.0",
"graphql": "16.10.0",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.11",
Expand All @@ -84,7 +84,7 @@
},
"resolutions": {
"esbuild": "0.24.0",
"graphql": "16.9.0"
"graphql": "16.10.0"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-tag-pluck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@vue/compiler-sfc": "3.5.13",
"astrojs-compiler-sync": "^1.0.0",
"content-tag": "^3.0.0",
"svelte": "5.13.0",
"svelte": "5.14.0",
"svelte2tsx": "0.7.30"
},
"publishConfig": {
Expand Down
13 changes: 4 additions & 9 deletions packages/loaders/url/tests/sync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import { printSchemaWithDirectives } from '@graphql-tools/utils';
import { UrlLoader } from '../src';

describe('sync', () => {
const TEST_API = `https://swapi-graphql.netlify.app/graphql`;
const loader = new UrlLoader();
it('should handle introspection', () => {
const [{ schema }] = loader.loadSync(
`https://swapi-graphql.netlify.app/.netlify/functions/index`,
{},
);
const [{ schema }] = loader.loadSync(TEST_API, {});
expect(schema).toBeInstanceOf(GraphQLSchema);
expect(printSchemaWithDirectives(schema!).trim()).toMatchInlineSnapshot(`
"schema {
Expand Down Expand Up @@ -1016,11 +1014,8 @@ describe('sync', () => {
}"
`);
});
it('should handle queries', () => {
const [{ schema }] = loader.loadSync(
`https://swapi-graphql.netlify.app/.netlify/functions/index`,
{},
);
it.skip('should handle queries', () => {
const [{ schema }] = loader.loadSync(TEST_API, {});
const result = graphqlSync({
schema: schema!,
source: /* GraphQL */ `
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6707,10 +6707,10 @@ graphql-yoga@5.10.6, graphql-yoga@^5.0.0:
lru-cache "^10.0.0"
tslib "^2.8.1"

"graphql@14 - 16", graphql@16.9.0, graphql@^14.5.3, graphql@^16.6.0:
version "16.9.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.9.0.tgz#1c310e63f16a49ce1fbb230bd0a000e99f6f115f"
integrity sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==
"graphql@14 - 16", graphql@16.10.0, graphql@^14.5.3, graphql@^16.6.0:
version "16.10.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.10.0.tgz#24c01ae0af6b11ea87bf55694429198aaa8e220c"
integrity sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==

gray-matter@^4.0.3:
version "4.0.3"
Expand Down Expand Up @@ -11365,10 +11365,10 @@ svelte2tsx@0.7.30:
dedent-js "^1.0.1"
pascal-case "^3.1.1"

svelte@5.13.0:
version "5.13.0"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.13.0.tgz#15ecf6522b27e6c95041ca8a63684d5c903c54e4"
integrity sha512-ZG4VmBNze/j2KxT2GEeUm8Jr3RLYQ3P5Y9/flUDCgaAxgzx4ZRTdiyh+PCr7qRlOr5M8uidIqr+3DwUFVrdL+A==
svelte@5.14.0:
version "5.14.0"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.14.0.tgz#5871f95104d799902681422535bd9e18c88f8516"
integrity sha512-xHrS9dd2Ci9GJd2sReNFqJztoe515wB4OzsPw4A8L2M6lddLFkREkWDJnM5DAND30Zyvjwc1icQVzH0F+Sdx5A==
dependencies:
"@ampproject/remapping" "^2.3.0"
"@jridgewell/sourcemap-codec" "^1.5.0"
Expand Down
Loading