@graphql-tools/delegate
Advanced tools
Comparing version 6.0.10-alpha-fa07fd1.0 to 6.0.10
@@ -5,4 +5,7 @@ 'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
const graphql = require('graphql'); | ||
const utils = require('@graphql-tools/utils'); | ||
const AggregateError = _interopDefault(require('aggregate-error')); | ||
@@ -730,3 +733,3 @@ const OBJECT_SUBSCHEMA_SYMBOL = Symbol('initialSubschema'); | ||
if (errors.length > 1) { | ||
const combinedError = new utils.CombinedError(errors); | ||
const combinedError = new AggregateError(errors); | ||
return combinedError; | ||
@@ -1286,3 +1289,3 @@ } | ||
if (errors.length > 1) { | ||
const combinedError = new utils.CombinedError(errors); | ||
const combinedError = new AggregateError(errors); | ||
throw combinedError; | ||
@@ -1289,0 +1292,0 @@ } |
import { Kind, typeFromAST, visit, visitWithTypeInfo, getNamedType, isAbstractType, TypeInfo, isObjectType, isInterfaceType, TypeNameMetaFieldDef, getNullableType, isLeafType, isCompositeType, isListType, isSchema, getOperationAST, execute, subscribe, validate, defaultFieldResolver, parse } from 'graphql'; | ||
import { applySchemaTransforms, serializeInputValue, updateArgument, implementsAbstractType, CombinedError, relocatedError, getErrorsByPathSegment, ERROR_SYMBOL, mergeDeep, getErrors, setErrors, slicedError, collectFields, getResponseKeyFromInfo, mapAsyncIterator, concatInlineFragments } from '@graphql-tools/utils'; | ||
import { applySchemaTransforms, serializeInputValue, updateArgument, implementsAbstractType, relocatedError, getErrorsByPathSegment, ERROR_SYMBOL, mergeDeep, getErrors, setErrors, slicedError, collectFields, getResponseKeyFromInfo, mapAsyncIterator, concatInlineFragments } from '@graphql-tools/utils'; | ||
import AggregateError from 'aggregate-error'; | ||
@@ -725,3 +726,3 @@ const OBJECT_SUBSCHEMA_SYMBOL = Symbol('initialSubschema'); | ||
if (errors.length > 1) { | ||
const combinedError = new CombinedError(errors); | ||
const combinedError = new AggregateError(errors); | ||
return combinedError; | ||
@@ -1281,3 +1282,3 @@ } | ||
if (errors.length > 1) { | ||
const combinedError = new CombinedError(errors); | ||
const combinedError = new AggregateError(errors); | ||
throw combinedError; | ||
@@ -1284,0 +1285,0 @@ } |
{ | ||
"name": "@graphql-tools/delegate", | ||
"version": "6.0.10-alpha-fa07fd1.0", | ||
"version": "6.0.10", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -10,4 +10,5 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/schema": "6.0.10-alpha-fa07fd1.0", | ||
"@graphql-tools/utils": "6.0.10-alpha-fa07fd1.0", | ||
"@graphql-tools/schema": "6.0.10", | ||
"@graphql-tools/utils": "6.0.10", | ||
"aggregate-error": "3.0.1", | ||
"tslib": "~2.0.0" | ||
@@ -14,0 +15,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
384396
3109
1
5
+ Addedaggregate-error@3.0.1
+ Added@graphql-tools/schema@6.0.10(transitive)
+ Added@graphql-tools/utils@6.0.10(transitive)
+ Addedaggregate-error@3.0.1(transitive)
+ Addedclean-stack@2.2.0(transitive)
+ Addedindent-string@4.0.0(transitive)
- Removed@graphql-tools/schema@6.0.10-alpha-fa07fd1.0(transitive)
- Removed@graphql-tools/utils@6.0.10-alpha-fa07fd1.0(transitive)
Updated@graphql-tools/schema@6.0.10
Updated@graphql-tools/utils@6.0.10