graphql 15.5.3 → 15.6.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/index.d.ts CHANGED
@@ -230,6 +230,7 @@ export {
230
230
  Visitor,
231
231
  VisitFn,
232
232
  VisitorKeyMap,
233
+ ASTVisitorKeyMap,
233
234
  // AST nodes
234
235
  ASTNode,
235
236
  ASTKindToNode,
@@ -17,6 +17,7 @@ export {
17
17
  Visitor,
18
18
  VisitFn,
19
19
  VisitorKeyMap,
20
+ ASTVisitorKeyMap,
20
21
  } from './visitor';
21
22
 
22
23
  export {
@@ -49,9 +49,18 @@ export type VisitFn<TAnyNode, TVisitedNode = TAnyNode> = (
49
49
 
50
50
  /**
51
51
  * A KeyMap describes each the traversable properties of each kind of node.
52
+ *
53
+ * @deprecated Please using ASTVisitorKeyMap instead
52
54
  */
53
55
  export type VisitorKeyMap<T> = { [P in keyof T]: ReadonlyArray<keyof T[P]> };
54
56
 
57
+ /**
58
+ * A KeyMap describes each the traversable properties of each kind of node.
59
+ */
60
+ export type ASTVisitorKeyMap = {
61
+ [P in keyof ASTKindToNode]?: ReadonlyArray<keyof ASTKindToNode[P]>;
62
+ };
63
+
55
64
  // TODO: Should be `[]`, but that requires TypeScript@3
56
65
  type EmptyTuple = Array<never>;
57
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql",
3
- "version": "15.5.3",
3
+ "version": "15.6.0",
4
4
  "description": "A Query Language and Runtime which can target any service.",
5
5
  "license": "MIT",
6
6
  "main": "index",
package/version.js CHANGED
@@ -13,7 +13,7 @@ exports.versionInfo = exports.version = void 0;
13
13
  /**
14
14
  * A string containing the version of the GraphQL.js library
15
15
  */
16
- var version = '15.5.3';
16
+ var version = '15.6.0';
17
17
  /**
18
18
  * An object containing the components of the GraphQL.js version string
19
19
  */
@@ -21,8 +21,8 @@ var version = '15.5.3';
21
21
  exports.version = version;
22
22
  var versionInfo = Object.freeze({
23
23
  major: 15,
24
- minor: 5,
25
- patch: 3,
24
+ minor: 6,
25
+ patch: 0,
26
26
  preReleaseTag: null
27
27
  });
28
28
  exports.versionInfo = versionInfo;
package/version.js.flow CHANGED
@@ -7,14 +7,14 @@
7
7
  /**
8
8
  * A string containing the version of the GraphQL.js library
9
9
  */
10
- export const version = '15.5.3';
10
+ export const version = '15.6.0';
11
11
 
12
12
  /**
13
13
  * An object containing the components of the GraphQL.js version string
14
14
  */
15
15
  export const versionInfo = Object.freeze({
16
16
  major: 15,
17
- minor: 5,
18
- patch: 3,
17
+ minor: 6,
18
+ patch: 0,
19
19
  preReleaseTag: null,
20
20
  });
package/version.mjs CHANGED
@@ -6,14 +6,14 @@
6
6
  /**
7
7
  * A string containing the version of the GraphQL.js library
8
8
  */
9
- export var version = '15.5.3';
9
+ export var version = '15.6.0';
10
10
  /**
11
11
  * An object containing the components of the GraphQL.js version string
12
12
  */
13
13
 
14
14
  export var versionInfo = Object.freeze({
15
15
  major: 15,
16
- minor: 5,
17
- patch: 3,
16
+ minor: 6,
17
+ patch: 0,
18
18
  preReleaseTag: null
19
19
  });