Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-toolkit/url-loader

Package Overview
Dependencies
Maintainers
3
Versions
698
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-toolkit/url-loader - npm Package Compare versions

Comparing version 0.10.4-alpha-6a4c019.0 to 0.10.4-alpha-8beb188.1

index.cjs.js.map

33

index.cjs.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc