graphql-query-depth-limit-esm 2.0.4 → 2.0.5
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/README.md +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
Production-ready GraphQL query depth limiting as a validation rule. Prevents denial-of-service attacks from deeply nested queries by enforcing a configurable maximum depth.
|
|
13
13
|
|
|
14
|
-
**[Interactive demo](https://lafittemehdy.github.io/graphql-query-depth-limit-esm/)** — see depth analysis in action with preset queries, an AST tree viewer, and a depth gauge.
|
|
15
|
-
|
|
16
14
|
## Interactive Demo
|
|
17
15
|
|
|
18
16
|
**[Try it live](https://lafittemehdy.github.io/graphql-query-depth-limit-esm/)** or run locally:
|
|
@@ -23,7 +21,7 @@ npm install
|
|
|
23
21
|
npm run dev
|
|
24
22
|
```
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
Preset queries (simple lookups through deeply nested attacks), an AST tree viewer with depth badges, and a depth gauge with pass/fail verdict.
|
|
27
25
|
|
|
28
26
|
## Features
|
|
29
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphql-query-depth-limit-esm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "GraphQL query depth limiting validation rule with directive support, ignore rules, and fragment cycle detection",
|
|
5
5
|
"author": "Lafitte Mehdy (https://github.com/lafittemehdy)",
|
|
6
6
|
"license": "MIT",
|