graphql-http 1.11.0 → 1.13.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/README.md CHANGED
@@ -744,13 +744,21 @@ Having said this, graphql-http is mostly aimed for library authors and simple se
744
744
 
745
745
  If you want a feature-full server with bleeding edge technologies, you're recommended to use one of the following.
746
746
 
747
- | Name | Audit |
748
- | ------------------------------------------------------------------ | -------------------------------------------------------- |
749
- | [graphql-yoga](https://www.the-guild.dev/graphql/yoga-server) | [✅ Compliant](/implementations/graphql-yoga/README.md) |
750
- | [hotchocolate](https://chillicream.com/docs/hotchocolate) | [✅ Compliant](/implementations/hotchocolate/README.md) |
751
- | [pioneer](https://pioneer.dexclaimation.com/) | [✅ Compliant](/implementations/pioneer/README.md) |
752
- | [postgraphile](https://www.graphile.org/postgraphile/) | [✅ Compliant](/implementations/postgraphile/README.md) |
753
- | [apollo-server](https://www.apollographql.com/docs/apollo-server/) | [✅ Compliant](/implementations/apollo-server/README.md) |
747
+ <!-- <ServersTable> -->
748
+ <!-- prettier-ignore-start -->
749
+ | Name | Audit |
750
+ |------|-------|
751
+ | [apollo-server](https://www.apollographql.com/docs/apollo-server) | [✅ Compliant](/implementations/apollo-server/README.md) |
752
+ | [deno](https://deno.com/blog/build-a-graphql-server-with-deno) | [✅ Compliant](/implementations/deno/README.md) |
753
+ | [graph-client](https://github.com/graphprotocol/graph-client) | [✅ Compliant](/implementations/graph-client/README.md) |
754
+ | [graphql-helix](https://www.graphql-helix.com) | [✅ Compliant](/implementations/graphql-helix/README.md) |
755
+ | [graphql-yoga](https://www.the-guild.dev/graphql/yoga-server) | [✅ Compliant](/implementations/graphql-yoga/README.md) |
756
+ | [hotchocolate](https://chillicream.com/docs/hotchocolate) | [✅ Compliant](/implementations/hotchocolate/README.md) |
757
+ | [pioneer](https://pioneer.dexclaimation.com) | [✅ Compliant](/implementations/pioneer/README.md) |
758
+ | [postgraphile](https://www.graphile.org/postgraphile) | [✅ Compliant](/implementations/postgraphile/README.md) |
759
+ <!-- prettier-ignore-end -->
760
+
761
+ <!-- </ServersTable> -->
754
762
 
755
763
  ## [Documentation](docs/)
756
764
 
@@ -23,6 +23,11 @@ export type AuditName = `${AuditRequirement} ${string}`;
23
23
  * @category Audits
24
24
  */
25
25
  export interface Audit {
26
+ /**
27
+ * Uniquely represents the audit. Helps with pinning audits
28
+ * without depending on the human readable audit name.
29
+ */
30
+ id: string;
26
31
  name: AuditName;
27
32
  fn: () => Promise<AuditResult>;
28
33
  }
@@ -32,6 +37,11 @@ export interface Audit {
32
37
  * @category Audits
33
38
  */
34
39
  export interface AuditOk {
40
+ /**
41
+ * Uniquely represents the passing audit. Helps with pinning audits
42
+ * without depending on the human readable audit name.
43
+ */
44
+ id: string;
35
45
  name: AuditName;
36
46
  status: 'ok';
37
47
  }
@@ -46,9 +56,15 @@ export interface AuditOk {
46
56
  * @category Audits
47
57
  */
48
58
  export interface AuditFail {
59
+ /**
60
+ * Uniquely represents the failing audit. Helps with pinning audits
61
+ * without depending on the human readable audit name.
62
+ */
63
+ id: string;
49
64
  name: AuditName;
50
65
  status: 'warn' | 'error';
51
66
  reason: string;
67
+ response: Response;
52
68
  }
53
69
  /**
54
70
  * Result of the performed audit. See `AuditOk` and `AuditFail` for more information.
@@ -23,6 +23,11 @@ export type AuditName = `${AuditRequirement} ${string}`;
23
23
  * @category Audits
24
24
  */
25
25
  export interface Audit {
26
+ /**
27
+ * Uniquely represents the audit. Helps with pinning audits
28
+ * without depending on the human readable audit name.
29
+ */
30
+ id: string;
26
31
  name: AuditName;
27
32
  fn: () => Promise<AuditResult>;
28
33
  }
@@ -32,6 +37,11 @@ export interface Audit {
32
37
  * @category Audits
33
38
  */
34
39
  export interface AuditOk {
40
+ /**
41
+ * Uniquely represents the passing audit. Helps with pinning audits
42
+ * without depending on the human readable audit name.
43
+ */
44
+ id: string;
35
45
  name: AuditName;
36
46
  status: 'ok';
37
47
  }
@@ -46,9 +56,15 @@ export interface AuditOk {
46
56
  * @category Audits
47
57
  */
48
58
  export interface AuditFail {
59
+ /**
60
+ * Uniquely represents the failing audit. Helps with pinning audits
61
+ * without depending on the human readable audit name.
62
+ */
63
+ id: string;
49
64
  name: AuditName;
50
65
  status: 'warn' | 'error';
51
66
  reason: string;
67
+ response: Response;
52
68
  }
53
69
  /**
54
70
  * Result of the performed audit. See `AuditOk` and `AuditFail` for more information.