@graphql-tools/executor-common 1.0.4-hive-router-query-planner-63f789d9d5f592b9f4a80900f8c350e5a4789a60 → 1.0.4-hive-router-query-planner-43447abcb1cffa9bd6a64a6ff2925b5ba07cea20

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphql-tools/executor-common
2
2
 
3
- ## 1.0.4-hive-router-query-planner-63f789d9d5f592b9f4a80900f8c350e5a4789a60
3
+ ## 1.0.4-hive-router-query-planner-43447abcb1cffa9bd6a64a6ff2925b5ba07cea20
4
4
  ### Patch Changes
5
5
 
6
6
 
package/dist/index.cjs CHANGED
@@ -1,12 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@envelop/core');
4
- var utils = require('@graphql-tools/utils');
5
4
  var graphql = require('graphql');
6
5
 
7
- const defaultPrintFn = utils.memoize1(function defaultPrintFn2(document) {
8
- return graphql.stripIgnoredCharacters(core.getDocumentString(document, graphql.print));
9
- });
6
+ function stripAndPrint(document) {
7
+ return graphql.stripIgnoredCharacters(graphql.print(document));
8
+ }
9
+ const defaultPrintFn = function defaultPrintFn2(document) {
10
+ return core.getDocumentString(document, stripAndPrint);
11
+ };
10
12
  function serializeExecutionRequest({
11
13
  executionRequest,
12
14
  excludeQuery,
package/dist/index.js CHANGED
@@ -1,10 +1,12 @@
1
1
  import { getDocumentString } from '@envelop/core';
2
- import { memoize1 } from '@graphql-tools/utils';
3
2
  import { stripIgnoredCharacters, print } from 'graphql';
4
3
 
5
- const defaultPrintFn = memoize1(function defaultPrintFn2(document) {
6
- return stripIgnoredCharacters(getDocumentString(document, print));
7
- });
4
+ function stripAndPrint(document) {
5
+ return stripIgnoredCharacters(print(document));
6
+ }
7
+ const defaultPrintFn = function defaultPrintFn2(document) {
8
+ return getDocumentString(document, stripAndPrint);
9
+ };
8
10
  function serializeExecutionRequest({
9
11
  executionRequest,
10
12
  excludeQuery,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/executor-common",
3
- "version": "1.0.4-hive-router-query-planner-63f789d9d5f592b9f4a80900f8c350e5a4789a60",
3
+ "version": "1.0.4-hive-router-query-planner-43447abcb1cffa9bd6a64a6ff2925b5ba07cea20",
4
4
  "type": "module",
5
5
  "description": "A set of utils for faster development of GraphQL tools",
6
6
  "repository": {