@graphql-toolkit/url-loader
Advanced tools
Comparing version 0.10.4-alpha-6a4c019.0 to 0.10.4-alpha-8beb188.1
@@ -6,18 +6,18 @@ 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) { return e; } else { | ||
var n = {}; | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
}); | ||
if (e && e.__esModule) { return e; } else { | ||
var n = {}; | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
}); | ||
} | ||
n['default'] = e; | ||
return n; | ||
} | ||
n['default'] = e; | ||
return n; | ||
} | ||
} | ||
@@ -55,3 +55,3 @@ | ||
const [moduleName, fetchFnName] = options.customFetch.split('#'); | ||
fetch = await new Promise(function (resolve) { resolve(_interopNamespace(require(moduleName))); }).then(module => (fetchFnName ? module[fetchFnName] : module)); | ||
fetch = await new Promise(function (resolve) { resolve(_interopNamespace(require(moduleName))); }).then((module) => (fetchFnName ? module[fetchFnName] : module)); | ||
} | ||
@@ -115,1 +115,2 @@ } | ||
exports.UrlLoader = UrlLoader; | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -0,0 +0,0 @@ import { IntrospectionOptions } from 'graphql'; |
@@ -31,3 +31,3 @@ import { parse, getIntrospectionQuery, buildClientSchema, print } from 'graphql'; | ||
const [moduleName, fetchFnName] = options.customFetch.split('#'); | ||
fetch$1 = await import(moduleName).then(module => (fetchFnName ? module[fetchFnName] : module)); | ||
fetch$1 = await import(moduleName).then((module) => (fetchFnName ? module[fetchFnName] : module)); | ||
} | ||
@@ -91,1 +91,2 @@ } | ||
export { UrlLoader }; | ||
//# sourceMappingURL=index.esm.js.map |
{ | ||
"name": "@graphql-toolkit/url-loader", | ||
"version": "0.10.4-alpha-6a4c019.0+6a4c019", | ||
"version": "0.10.4-alpha-8beb188.1+8beb188", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -18,3 +18,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@graphql-toolkit/common": "0.10.4-alpha-6a4c019.0+6a4c019", | ||
"@graphql-toolkit/common": "0.10.4-alpha-8beb188.1+8beb188", | ||
"cross-fetch": "3.0.4", | ||
@@ -21,0 +21,0 @@ "graphql-tools-fork": "9.0.1", |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
22932
7
213