@graphql-tools/links
Advanced tools
Comparing version 9.0.12 to 9.0.13-alpha-20241122095055-27efcb12a2a7ebe82e45e510811c27fe7dff7d95
@@ -6,5 +6,6 @@ "use strict"; | ||
const apolloImport = tslib_1.__importStar(require("@apollo/client")); | ||
const utils_1 = require("@graphql-tools/utils"); | ||
const apollo = apolloImport?.default ?? apolloImport; | ||
function getFinalPromise(object) { | ||
return Promise.resolve(object).then(resolvedObject => { | ||
return (0, utils_1.mapMaybePromise)(object, resolvedObject => { | ||
if (resolvedObject == null) { | ||
@@ -11,0 +12,0 @@ return resolvedObject; |
import * as apolloImport from '@apollo/client'; | ||
import { mapMaybePromise } from '@graphql-tools/utils'; | ||
const apollo = apolloImport?.default ?? apolloImport; | ||
function getFinalPromise(object) { | ||
return Promise.resolve(object).then(resolvedObject => { | ||
return mapMaybePromise(object, resolvedObject => { | ||
if (resolvedObject == null) { | ||
@@ -6,0 +7,0 @@ return resolvedObject; |
{ | ||
"name": "@graphql-tools/links", | ||
"version": "9.0.12", | ||
"version": "9.0.13-alpha-20241122095055-27efcb12a2a7ebe82e45e510811c27fe7dff7d95", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -12,3 +12,3 @@ "sideEffects": false, | ||
"@graphql-tools/delegate": "^10.1.2", | ||
"@graphql-tools/utils": "^10.5.6", | ||
"@graphql-tools/utils": "10.6.0-alpha-20241122095055-27efcb12a2a7ebe82e45e510811c27fe7dff7d95", | ||
"apollo-upload-client": "17.0.0", | ||
@@ -15,0 +15,0 @@ "form-data": "^4.0.0", |
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
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
14826
281
2