houdini 1.5.3 → 2.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cmd-cjs/index.js +29435 -22707
- package/build/cmd-esm/index.js +27980 -21253
- package/build/codegen/generators/artifacts/index.d.ts +8 -0
- package/build/codegen/generators/runtime/index.d.ts +2 -7
- package/build/codegen/generators/runtime/pluginRuntime.d.ts +8 -1
- package/build/codegen/index.d.ts +3 -2
- package/build/codegen/transforms/fragmentVariables.d.ts +1 -1
- package/build/codegen/transforms/list.d.ts +2 -2
- package/build/codegen/transforms/paginate.d.ts +2 -34
- package/build/codegen/utils/flattenSelections.d.ts +1 -1
- package/build/codegen-cjs/index.js +24805 -19718
- package/build/codegen-esm/index.js +24979 -19892
- package/build/lib/fs.d.ts +3 -2
- package/build/lib/index.d.ts +1 -0
- package/build/lib/router/conventions.d.ts +1 -1
- package/build/lib/router/manifest.d.ts +1 -1
- package/build/lib/typescript.d.ts +1 -1
- package/build/lib/watchAndRun.d.ts +61 -0
- package/build/lib-cjs/index.js +27118 -21197
- package/build/lib-esm/index.js +25693 -19775
- package/build/runtime-cjs/cache/cache.js +22 -1
- package/build/runtime-cjs/cache/gc.js +1 -0
- package/build/runtime-cjs/cache/index.js +0 -2
- package/build/runtime-cjs/cache/lists.js +9 -0
- package/build/runtime-cjs/cache/staleManager.js +26 -1
- package/build/runtime-cjs/cache/storage.js +4 -0
- package/build/runtime-cjs/cache/subscription.js +1 -0
- package/build/runtime-cjs/client/documentStore.js +28 -2
- package/build/runtime-cjs/client/index.js +17 -1
- package/build/runtime-cjs/client/plugins/cache.js +8 -2
- package/build/runtime-cjs/client/plugins/fetch.js +14 -6
- package/build/runtime-cjs/client/plugins/fetchParams.js +2 -0
- package/build/runtime-cjs/client/plugins/fragment.js +1 -0
- package/build/runtime-cjs/client/plugins/index.js +9 -1
- package/build/runtime-cjs/client/plugins/injectedPlugins.js +0 -2
- package/build/runtime-cjs/client/plugins/mutation.js +6 -0
- package/build/runtime-cjs/client/plugins/optimisticKeys.js +10 -3
- package/build/runtime-cjs/client/plugins/query.js +4 -0
- package/build/runtime-cjs/client/utils/index.js +4 -0
- package/build/runtime-cjs/imports/config.js +0 -2
- package/build/runtime-cjs/imports/pluginConfig.js +0 -2
- package/build/runtime-cjs/index.js +12 -6
- package/build/runtime-cjs/lib/config.js +4 -0
- package/build/runtime-cjs/lib/deepEquals.js +2 -4
- package/build/runtime-cjs/lib/index.js +13 -0
- package/build/runtime-cjs/lib/pagination.js +2 -1
- package/build/runtime-cjs/lib/types.js +11 -1
- package/build/runtime-cjs/public/cache.js +11 -0
- package/build/runtime-cjs/public/record.js +5 -0
- package/build/runtime-cjs/router/jwt.js +15 -28
- package/build/runtime-cjs/router/match.js +2 -4
- package/build/runtime-cjs/router/server.js +6 -1
- package/build/runtime-cjs/router/session.js +1 -1
- package/build/runtime-esm/cache/cache.js +22 -1
- package/build/runtime-esm/cache/gc.js +1 -0
- package/build/runtime-esm/cache/lists.js +9 -0
- package/build/runtime-esm/cache/staleManager.js +26 -1
- package/build/runtime-esm/cache/storage.js +4 -0
- package/build/runtime-esm/cache/subscription.js +1 -0
- package/build/runtime-esm/client/documentStore.js +28 -2
- package/build/runtime-esm/client/index.js +13 -1
- package/build/runtime-esm/client/plugins/cache.js +4 -2
- package/build/runtime-esm/client/plugins/fetch.js +14 -6
- package/build/runtime-esm/client/plugins/fetchParams.js +2 -0
- package/build/runtime-esm/client/plugins/fragment.js +1 -0
- package/build/runtime-esm/client/plugins/mutation.js +6 -0
- package/build/runtime-esm/client/plugins/optimisticKeys.js +6 -3
- package/build/runtime-esm/client/plugins/query.js +4 -0
- package/build/runtime-esm/lib/deepEquals.js +2 -4
- package/build/runtime-esm/lib/pagination.js +2 -1
- package/build/runtime-esm/lib/types.js +9 -0
- package/build/runtime-esm/public/cache.js +11 -0
- package/build/runtime-esm/public/record.js +5 -0
- package/build/runtime-esm/router/jwt.js +15 -28
- package/build/runtime-esm/router/match.js +2 -4
- package/build/runtime-esm/router/server.js +6 -1
- package/build/runtime-esm/router/session.js +1 -1
- package/build/test-cjs/index.js +26344 -21258
- package/build/test-esm/index.js +24972 -19886
- package/build/vite/hmr.d.ts +5 -0
- package/build/vite/imports.d.ts +2 -2
- package/build/vite/schema.d.ts +0 -3
- package/build/vite-cjs/index.js +34848 -32101
- package/build/vite-esm/index.js +31526 -28780
- package/package.json +13 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.0",
|
|
4
4
|
"description": "The disappearing GraphQL clients",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"type": "module",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@babel/types": "^7.
|
|
19
|
+
"@babel/types": "^7.25.4",
|
|
20
20
|
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
|
21
21
|
"@types/glob": "^8.0.0",
|
|
22
22
|
"@types/minimatch": "^5.1.2",
|
|
23
|
-
"@types/node": "^
|
|
23
|
+
"@types/node": "^22.5.1",
|
|
24
24
|
"@types/ungap__structured-clone": "^0.3.0",
|
|
25
25
|
"kleur": "^4.1.5",
|
|
26
26
|
"prettier": "^2.8.3",
|
|
27
|
-
"rollup": "^4.
|
|
27
|
+
"rollup": "^4.39.0",
|
|
28
28
|
"vitest": "^1.6.0",
|
|
29
29
|
"scripts": "^1.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@babel/parser": "^7.
|
|
32
|
+
"@babel/parser": "^7.25.4",
|
|
33
33
|
"@clack/prompts": "^0.6.3",
|
|
34
|
-
"@graphql-tools/merge": "^9.0.
|
|
34
|
+
"@graphql-tools/merge": "^9.0.6",
|
|
35
35
|
"@graphql-tools/schema": "^9.0.4",
|
|
36
|
-
"@kitql/helpers": "^0.8.
|
|
37
|
-
"@types/estree": "^1.0.
|
|
36
|
+
"@kitql/helpers": "^0.8.10",
|
|
37
|
+
"@types/estree": "^1.0.7",
|
|
38
38
|
"@types/fs-extra": "^9.0.13",
|
|
39
39
|
"@types/micromatch": "^4.0.2",
|
|
40
40
|
"@ungap/structured-clone": "^1.0.2",
|
|
@@ -42,21 +42,20 @@
|
|
|
42
42
|
"ast-types": "^0.16.1",
|
|
43
43
|
"commander": "^9.4.0",
|
|
44
44
|
"deepmerge": "^4.2.2",
|
|
45
|
-
"estree-walker": "
|
|
45
|
+
"estree-walker": "3.0.1",
|
|
46
46
|
"fs-extra": "^10.1.0",
|
|
47
47
|
"glob": "^11.0.1",
|
|
48
|
-
"graphql": "^
|
|
48
|
+
"graphql": "^16.10.0",
|
|
49
49
|
"graphql-yoga": "^4.0.4",
|
|
50
50
|
"memfs": "^3.4.7",
|
|
51
|
-
"micromatch": "^4.0.
|
|
51
|
+
"micromatch": "^4.0.8",
|
|
52
52
|
"minimatch": "^5.1.0",
|
|
53
53
|
"node-fetch": "^3.2.10",
|
|
54
54
|
"npx-import": "^1.1.3",
|
|
55
|
-
"recast": "^0.23.1"
|
|
56
|
-
"vite-plugin-watch-and-run": "^1.7.0"
|
|
55
|
+
"recast": "^0.23.1"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
59
|
-
"vite": "^
|
|
58
|
+
"vite": "^6.0.3"
|
|
60
59
|
},
|
|
61
60
|
"files": [
|
|
62
61
|
"build"
|